00:00:00 --- log: started forth/10.09.09 00:04:21 --- quit: Monevo (Quit: Monevo) 01:03:50 --- join: ygrek (debian-tor@gateway/tor-sasl/ygrek) joined #forth 01:08:17 --- quit: mathrick (Ping timeout: 276 seconds) 01:15:39 --- join: trasz (~trasz@58.wheelsystems.com) joined #forth 01:17:15 guys, if i have a string that looks like 'disk0p2' and I want to convert it into '/dev/da0s2', how can I? 01:17:31 i mean, what words to use, what keywords to search for etc? 01:24:48 so its always diskXpY and you want it converted to /dev/daXsY ? 01:25:56 --- join: mathrick (~mathrick@users177.kollegienet.dk) joined #forth 01:26:27 --- quit: mathrick (Read error: Connection reset by peer) 01:26:43 zachk: exactly. 01:27:56 --- join: mathrick (~mathrick@users177.kollegienet.dk) joined #forth 01:32:32 id say use regular expressions 01:32:41 but thats not a very forthy answer 01:32:47 * zachk is pretty new to forth 01:33:27 so you have disk0p2 as a string right? 01:33:38 you need to parse it into two Ints 01:34:14 so make a word that just eats non numerical characters 01:35:05 collect up the numerical characters 01:35:19 well i dont even think you need to conver them 01:35:34 can this go into double digits? 01:38:04 zachk: yes, it can. 01:39:22 whats the most number of digits? 01:39:43 * zachk will brb 01:41:00 zachk: two, i think. 01:41:41 trasz: how do you identify parts of this string? 01:42:07 trasz: do you need real parser or you need just to select fields? 01:45:46 trasz: read about these words: <# # #s #> hold holds scan >number skip /string compare string-prefix? 01:48:00 ASau`: thanks! 02:02:09 ASau, i started using loops :D 02:20:07 --- quit: ygrek (Ping timeout: 245 seconds) 04:44:57 --- quit: schmrkc (Ping timeout: 260 seconds) 04:45:37 --- join: schmrkc (~marcus@c83-254-197-212.bredband.comhem.se) joined #forth 04:45:37 --- quit: schmrkc (Changing host) 04:45:37 --- join: schmrkc (~marcus@sxemacs/devel/schme) joined #forth 06:08:40 trasz: http://paste.lisp.org/display/114380 06:19:55 crcx: thanks. 06:20:03 crcx: and how to glue this back into one string? 06:28:15 --- join: DocPlatypus (~skquinn@dsl253-084-021.hou1.dsl.speakeasy.net) joined #forth 06:37:52 trasz: http://paste.lisp.org/display/114380#1 06:38:40 crcx: thanks! 06:41:09 no problem 06:41:42 Your Retro looks more like Smalltalk rather than Forth. 06:44:55 is that good or bad? 07:50:37 --- quit: gnomon (Ping timeout: 252 seconds) 07:50:57 --- join: gnomon (~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com) joined #forth 08:16:50 --- quit: trasz (Ping timeout: 276 seconds) 08:33:42 --- join: qFox (~C00K13S@5356B263.cable.casema.nl) joined #forth 08:41:32 --- join: kar8nga (~kar8nga@78.104.80.26) joined #forth 08:52:05 --- join: Monevo (~nal@67.224.253.118) joined #forth 08:58:07 --- quit: kar8nga (Remote host closed the connection) 09:16:44 --- quit: Monevo (Quit: Monevo) 09:22:23 --- join: Monevo (~nal@67.224.253.118) joined #forth 10:05:55 --- join: ygrek (debian-tor@gateway/tor-sasl/ygrek) joined #forth 10:16:48 --- quit: ygrek (Remote host closed the connection) 10:18:23 --- join: kar8nga (~kar8nga@j-214.vc-graz.ac.at) joined #forth 10:19:01 --- quit: _dinya__ (Read error: Connection reset by peer) 10:20:25 --- join: dinya_ (~Denis@92.255.128.235) joined #forth 11:12:42 --- join: ygrek (debian-tor@gateway/tor-sasl/ygrek) joined #forth 11:15:40 --- join: Snoopy_1711 (Snoopy_161@178.4.24.140) joined #forth 11:18:11 --- quit: Snoopy_1611 (Ping timeout: 276 seconds) 11:20:09 --- quit: Snoopy_1711 (Ping timeout: 258 seconds) 11:23:52 --- join: Snoopy_1611 (Snoopy_161@178.4.24.66) joined #forth 11:47:26 --- quit: kar8nga (Remote host closed the connection) 11:58:59 --- join: koisoke (xef4@epilogue.org) joined #forth 13:58:52 --- quit: ygrek (Ping timeout: 245 seconds) 14:01:31 --- quit: Monevo (Quit: Monevo) 14:02:21 --- join: Monevo (~nal@67.224.253.118) joined #forth 14:07:06 --- quit: qFox (Quit: Time for cookies!) 14:20:11 --- join: kar8nga (~kar8nga@k-213.vc-graz.ac.at) joined #forth 15:12:31 --- quit: scj (Ping timeout: 240 seconds) 15:14:14 --- join: scj (syljo361@boneym.mtveurope.org) joined #forth 15:47:50 --- quit: gnomon (Ping timeout: 264 seconds) 15:48:08 --- join: gnomon (~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com) joined #forth 16:00:08 --- quit: scj (Ping timeout: 276 seconds) 16:00:10 --- quit: kar8nga (Remote host closed the connection) 16:01:27 --- join: scj (syljo361@boneym.mtveurope.org) joined #forth 16:04:54 --- join: TreyB (~trey@adsl-99-165-168-78.dsl.hstntx.sbcglobal.net) joined #forth 18:57:09 --- join: phadthai (mmondor@66.11.161.166) joined #forth 19:02:55 I tried an unmaintained Jupiter ACE emulator for X11 :) 20:40:34 crcx: ASau` probably meant that in a derisive tone 21:10:16 --- quit: crc (Ping timeout: 252 seconds) 21:12:11 --- join: crc (~charlesch@184.77.185.20) joined #forth 21:36:50 --- quit: crc (Ping timeout: 276 seconds) 21:37:24 --- join: crc (~charlesch@184.77.185.20) joined #forth 21:38:44 --- quit: gnomon (Read error: Operation timed out) 21:39:02 --- join: gnomon (~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com) joined #forth 22:06:17 --- join: alexc (~alexc@unaffiliated/alexc) joined #forth 22:15:11 --- quit: alexc (Ping timeout: 276 seconds) 22:17:17 --- quit: LionMadeOfLions (Ping timeout: 272 seconds) 22:21:08 --- join: LionMadeOfLions (~LionMadeO@70.114.156.242) joined #forth 23:59:59 --- log: ended forth/10.09.09