[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 |
Hello
I have GNU sed Version 4.1.4 from
http://gnuwin32.sourceforge.net/packages/sed.htm 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
in-place-substitution.
Is there a simple solution (no further step like sed -n p) I can
integrate into my one line script?
Thanks in advance
oliver
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- sed -i and lineend,
olli <=