This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
readline behaves differently from 2.0.4 to 2.0.5
- From: "Zhou, Zhongyu" <zzhou01 at sprintspectrum dot com>
- To: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Date: Tue, 21 May 2002 10:10:47 -0500
- Subject: readline behaves differently from 2.0.4 to 2.0.5
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/