[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sed
From: |
Bob Proulx |
Subject: |
Re: sed |
Date: |
Tue, 24 Aug 2004 10:18:06 -0600 |
User-agent: |
Mutt/1.3.28i |
Stepan Kasal wrote:
> address@hidden wrote:
> > I'm trying to use 'sed' version 3.02 with the following command line on
> > dos:
> > sed -e "s/ /\n/g" my_file
While I like and use sed very much, for this particular change I would
probably use 'tr' instead.
echo one two three | tr " " "\n"
one
two
three
echo one two three | tr " " "\012"
one
two
three
I don't know if this works under DOS or not. But I think it should.
Bob
- sed, Brett . A . Cook, 2004/08/23
- Re: sed, Stepan Kasal, 2004/08/24
- Re: sed, Andreas Schwab, 2004/08/24
- Re: sed, Stepan Kasal, 2004/08/24
- Re: sed,
Bob Proulx <=
- RE: sed, Brett . A . Cook, 2004/08/24