[ale] SED

Gregory McLean gregm at comstar.net
Tue Nov 30 22:48:01 EST 1999


-> 
->         No need for a file or cat (or whitespace, for that matter :)
-> 
-> perl -le 'BEGIN{undef$/};$_=<>;y/\n//d;s/,/\n/g;print' filename
same with sed:
sed -e 's:,:\
:g' <filename>

Don't you love U*IX ? (hmm I need to do _this task_, here is at least 
three ways to do it you pick)

Ok we have beat this to death :)


Gregory McLean     | What I do is called 'fishing', if it were any easier
comstar.net inc.   |it would be called 'catching' and there would be more
programmer/analyst |people doing it. 
770 485-6016       |
----------------This is my opinion, All MINE! I tell you------------------






More information about the Ale mailing list