b20.1: does not handle newlines well
dominik_vogt@hp.com
dominik_vogt@hp.com
Sun Jan 31 23:52:00 GMT 1999
With bash try
# ( echo a; echo b ) | sed "s/
/x/g"
-> sed: -e expression #1, char2: Unterminated 's' command
Or try this (shouldn't work, but just in case)
# ( echo a; echo b ) | sed "s/\
/x/g"
sed: -e expression #1, char 6: No previous regular expression
Or (just to make sure):
# ( echo a; echo b ) | sed "s/\n/x/g"
a
b
I have some problems with scripts and continued lines (backslashed
newline)
too, but I can't pin it down. I think the first version should work (at
least it
does with my Linux box).
cygcheck.out attached.
Bye
Dominik
More information about the Cygwin
mailing list