[Top][All Lists]

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

sed -i and lineend

From: olli
Subject: sed -i and lineend
Date: 26 Jan 2006 01:52:47 -0800
User-agent: G2/0.2


I have GNU sed Version 4.1.4 from under Windows2000

if I use the -i option every time I get as a result a file with UNIX
lineends despite the original file is a DOS-file. Without the -i option
the original DOS-file isn't converted to Unix but for my problem I need

Is there a simple solution (no further step like sed -n p) I can
integrate into my one line script?
Thanks in advance


reply via email to

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