[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: don't work '\n' in Gnu SED for windows
From: |
Dave B |
Subject: |
Re: don't work '\n' in Gnu SED for windows |
Date: |
Thu, 21 Aug 2008 10:06:42 +0200 |
User-agent: |
Thunderbird 2.0.0.16 (X11/20080725) |
Eli Zaretskii wrote:
>> And (but I'm not sure about this as I've never tried) under windows you'll
>> probably need to use \n\r instead of just \n.
>
> No, because most Windows ports of Sed use text-mode reads, which
> strips the \r characters, and they never reach the pattern space.
Ah well. Thanks for correcting me!
--
D.