[ale] SED
Thorsten Hofrichter
thholr at alef.gcsu.edu
Wed Dec 1 08:05:44 EST 1999
Thanks to everyone for their quick response, shortly after I sent it I figured
tr out and managed to use it instead, but now I know the sed way too and that
makes me feel a better. It is nice to see a list where people can ask general
questions and get them answered
Thorsten
Gregory McLean wrote:
> ->
> -> 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