Conversation with #inferno at Mon Aug 13 22:18:34 2012 on powerman-asdf@irc.freenode.net (irc) (00:22:34) perdix left the room (quit: Remote host closed the connection). (00:43:49) dreadlorde [dreadlorde@c-68-42-82-10.hsd1.mi.comcast.net] entered the room. (04:35:13) MrWGW left the room (quit: Ping timeout: 252 seconds). (04:43:38) MrWGW [MrWGW@74.124.192.8] entered the room. (07:06:19) yshurik left the room (quit: *.net *.split). (07:06:19) leetspete left the room (quit: *.net *.split). (07:06:19) `jpi left the room (quit: *.net *.split). (07:06:19) bjorkintosh left the room (quit: *.net *.split). (07:16:09) `jpi [~jpi@unaffiliated/pseud0cod3r] entered the room. (07:30:54) Gegemon [~ynv@mx1.airis.ru] entered the room. (07:59:20) yshurik [~yshurik@161.223.34.95.customer.cdi.no] entered the room. (07:59:20) leetspete [~pete@cpe-76-174-173-118.socal.res.rr.com] entered the room. (07:59:20) bjorkintosh [~bjork@ip68-13-229-200.ok.ok.cox.net] entered the room. (08:02:11) dreadlorde left the room (quit: Ping timeout: 244 seconds). (08:19:30) yshurik left the room (quit: *.net *.split). (08:19:30) leetspete left the room (quit: *.net *.split). (08:19:30) bjorkintosh left the room (quit: *.net *.split). (09:31:38) bummelum [~philip@81.7.136.100] entered the room. (09:32:50) leetspete [~pete@cpe-76-174-173-118.socal.res.rr.com] entered the room. (09:32:50) bjorkintosh [~bjork@ip68-13-229-200.ok.ok.cox.net] entered the room. (09:47:39) yshurik [~yshurik@193.69.63.210] entered the room. (11:25:31) Aram [~aram@unaffiliated/aramdune] entered the room. (15:21:06) Gegemon1 [~ynv@mx1.airis.ru] entered the room. (15:22:24) Gegemon left the room (quit: Ping timeout: 268 seconds). (15:29:57) Gegemon [~ynv@mx1.airis.ru] entered the room. (15:31:02) Gegemon1 left the room (quit: Ping timeout: 268 seconds). (15:36:57) Gegemon1 [~ynv@mx1.airis.ru] entered the room. (15:38:26) Gegemon left the room (quit: Ping timeout: 268 seconds). (15:46:23) yshurik left the room (quit: Quit: Leaving.). (16:16:36) yshurik [~yshurik@161.223.34.95.customer.cdi.no] entered the room. (16:18:37) bummelum left the room (quit: Ping timeout: 240 seconds). (16:28:18) Gegemon1 left the room (quit: Quit: Leaving.). (17:54:09) infernjoe_ left the room (quit: Quit: Ex-Chat). (18:30:55) powerman-asdf: how to process files in directory in sh's for loop in more clear way than this: (18:31:10) powerman-asdf: for dir in ${split "{echo} "{ls path/to/dir}} { ... } (18:32:00) powerman-asdf: and is it possible to get \n in single-line sh's string to replace "{echo}? (18:35:12) powerman-asdf: ok, first question is off: for dir in path/to/dir/* (18:35:17) leetspete: powerman-asdf: I usually do cr="{echo}, there's also unicode(1), so you could do cr="{unicode A}. You could probably set ifs="{echo} if you wanted to, but I don't believe the shell has a method for expressing a literal "\n". (18:35:34) leetspete: I see this a lot, but like it less: (18:35:44) leetspete: nl=' (18:35:45) leetspete: ' (18:36:14) powerman-asdf: actually, it should be lf="{echo}, not cr :) (18:36:23) leetspete: Ah, yeah, sorry. :P (18:37:29) leetspete: And that'd be crcr="{unicode A}. (18:37:46) leetspete: Excuse me for a moment, sorry. (18:37:46) powerman-asdf: ok. what about \t? (18:38:54) leetspete: \t? "{unicode -t 9} (18:40:02) powerman-asdf: nice. (18:40:07) powerman-asdf: thanks. (19:56:10) leetspete: No problem. It's a little less readable, but you can also just put a tab inside quotes. (21:03:56) bummelum [~philip@0803ds2-bi.0.fullrate.dk] entered the room. (22:16:42) The account has disconnected and you are no longer in this chat. You will automatically rejoin the chat when the account reconnects.