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/

Reply via email to