=== r00t^2 is now known as jth4n === jth4n is now known as r00t^2 [10:49] Morning peoples, critters and everything else [17:28] I don't want to teach noobs to contribute kernel patches. lol [17:29] ChinnoDog: why not? [17:29] live a little :-) [17:30] feeling a bit dumb here but [17:30] awk '{print $0"foo"} < file should give me like [17:30] line 1foo [17:30] line 2foo [17:30] but i am getting fooline 1 [17:33] hm might be something funkey with the lineendings [17:36] mutantturkey: yo'ure missing a ' at the end of the } if you didn't just forget to retype to us [17:37] i just mistyped it [17:37] its happening with sed to [17:38] oh [17:38] mutantturkey: while read line; do awk '{print "$0 foo"}'; done < file [17:39] still not quite right [17:39] jonathan@karma:~$ cat mt.txt | while read line; do awk '{print $1 "foo"}'; done [17:39] ^ that one works. [17:39] if you run 'file file', what does it say? [17:39] lifoo [17:39] linfoo [17:39] linefoo [17:39] linerfoo [17:39] lineiestfoo [17:40] You might be adding the foo after the newline and/or carriage return [17:40] no, he isn't looping with his current syntax. [17:42] what does this output: perl -pe 's/$/foo/' file