sed
Rokas Masiulis
roma1390@uosis.mif.vu.lt
Sat Feb 4 19:40:00 GMT 2006
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/
More information about the Cygwin
mailing list