[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] SED
- Subject: [ale] SED
- From: ivey at gweezlebur.com (michael d. ivey)
- Date: Tue, 30 Nov 1999 22:40:11 +0000
On Tue, Nov 30, 1999 at 05:01:51PM -0500, Gregory McLean wrote:
> -> On Tue, Nov 30, 1999 at 04:30:53PM -0500, Thorsten Hofrichter wrote:
>
> -> > I need to use sed for this and have tried doing
> -> > cat filename | sed s/,/\\n/g
> -> > I have read man pages but dont understant why that would not work
> -> > Any ideas??
> ->
> -> $ cat filename | sed -e 's/,/\
> -> /'
> don't forget the 'g'lobal switch :)
you know, i did it once without /g, and then fixed it, and forgot to
put it in the email. to confirm:
$ cat filename | sed -e 's/,/\
/g'
thanks gregory.
--
-- michael d. ivey, chief thinker --- <ivey at gweezlebur.com> -----------
------ gweezle bur poetry manufacturing <http://gweezlebur.com> -------
------------------------------------------------------------------------
"Television! Teacher, mother, secret lover..." -- Homer Simpson