bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sed3.02 win32


From: Eli Zaretskii
Subject: Re: sed3.02 win32
Date: Wed, 12 Sep 2001 15:45:32 +0300

> From: "Christoph SIEBERT" <address@hidden>
> Date: Wed, 12 Sep 2001 12:37:03 +0200
> 
> FYI:
> It appears that there is still a problem with the newline "\n" in the sed 
> version 3.02 for win32.
> The command I tried to run is
> cmd> set | grep -i "^PATH=" | sed -e s/;/\n/
> but a newline could not be inserted where the semicolon separator was found.

Sed doesn't support the \n notation.  I'm guessing that on Unix, the
shell converts that into a literal newline character.  But on Windows,
Sed gets the original "\n" string and doesn't convert that to a
newline.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]