AWK experts - how would I code around this in awk...
anothermindbomb at gmail.com
Mon Feb 22 00:21:17 UTC 2010
On Sun, Feb 21, 2010 at 7:48 PM, Doug Robinson <dkrr at telus.net> wrote:
> fold FOLD that is the command I have been trying to
> remember. Sysadmin time was 30 years ago. I like this solution best!
> tr -d "\n\r" <oldfile | fold -w 20 >newfile
> My guess is that it will prove fastest esp. with a multi core cpu;
> common these days.
fold... I'd forgotten about it entirely! I was looking at butchering
"column" output... completely missed fold.
I'll see if there's a version on AIX 5.3L...
I've gone from writing C, to awk, to perl and now we might be down to
1 line and 2 commands... Kudos to you all! :)
When one person suffers from a delusion it is insanity. When many
people suffer from a delusion it is called religion.
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
More information about the ubuntu-users