This is the mail archive of the
cygwin
mailing list for the Cygwin project.
sed
- From: Rokas Masiulis <roma1390 at uosis dot mif dot vu dot lt>
- To: cygwin at cygwin dot com
- Date: Sat, 4 Feb 2006 19:58:14 +0200
- Subject: sed
Hi,
i can't force to work sed in true binary mode:
this is test case:
$ echo -en '\r\n' | sed -e '' | od -t x1
0000000 0a
0000001
but expected result is:
$ echo -en '\r\n' | od -t x1
0000000 0d 0a
0000002
on linux this thing works:
user@linux $ echo -en '\r\n' | sed -e '' | od -t x1
0000000 0d 0a
0000002
some info:
$ mount
C:\cygwin\bin on /usr/bin type system (binmode)
C:\cygwin\lib on /usr/lib type system (binmode)
C:\cygwin on / type system (binmode)
c: on /cygdrive/c type system (binmode,noumount)
e: on /cygdrive/e type system (binmode,noumount)
f: on /cygdrive/f type system (binmode,noumount)
g: on /cygdrive/g type system (binmode,noumount)
$ echo "$CYGWIN"x
x
roma1390
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/