readline behaves differently from 2.0.4 to 2.0.5
Zhou, Zhongyu
zzhou01@sprintspectrum.com
Tue May 21 12:05:00 GMT 2002
Hi,
I have just upgraded my cygwin (bash) from 2.0.4 to 2.0.5, and it broke
one of our development scripts. Basically what it did was, to drop the
backslash from the input. My readline version is 4.2a-1.
e.g.,
test.sh file
=========
contains:
cat junk.txt | while read line
do
if [ $line = "This\is\a\test" ] ; then
echo `cat junk.txt`
else
echo "This is bad"
fi
done
junk.txt file
==============
contains:
This\is\a\test
I got an output This is bad.
Can anyone help out?
Thanks.
Zhongyu Zhou
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list