[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sed
From: |
Stepan Kasal |
Subject: |
Re: sed |
Date: |
Tue, 24 Aug 2004 08:29:19 +0200 |
User-agent: |
Mutt/1.4.1i |
Hello,
On Mon, Aug 23, 2004 at 09:26:22AM -0600, 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
This syntax is supported in GNU sed 4.x only.
With sed 3.x you have to create a two line file cmd.sed:
s/ /\
/g
(Yes, the first line ends with a backslash.)
and run
sed -f cmd.sed my_file
Happy sedding,
Stepan Kasal
- sed, Brett . A . Cook, 2004/08/23
- Re: sed,
Stepan Kasal <=
- Re: sed, Andreas Schwab, 2004/08/24
- RE: sed, Brett . A . Cook, 2004/08/24