Re: gnuwin32 SED for Windows and keeping CRLF output?

"Kees Zeelenberg" <[email protected]>
Newsgroups gmane.comp.windows.gnu.user
Message-ID <003801c869b3$7df1cc00$34106550@gamma>
Use the -T (--textmode) option or filter sed's output with unix2dos.

Kees Zeelenberg
----- Original Message ----- 
From: <[email protected]>
To: <[email protected]>
Sent: Thursday, February 07, 2008 1:29 PM
Subject: [GnuWin32-Users] gnuwin32 SED for Windows and keeping CRLF output?


> Hi,
>
> i am using the gnuwin32 SED for Windows (GNU sed v4.1.5) and i was
> wondering how i could preserve the CRLF on the end of the lines in
> Windows/DOS based text files.
> I want to do in place editing of some text files and keep the CRLF and
> i don't want to use SED in combination with pipelines.
>
> I believe it should be possible with one SED command, but i don't know 
> how.
>
> Anyone?
>
> Thanks in advance!
>
> Gr. Peter
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> GnuWin32-Users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gnuwin32-users
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.