This is the mail archive of the
cygwin
mailing list for the Cygwin project.
bash quoting bug
- From: Joe Buehler <jbuehler at spirentcom dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 07 Nov 2006 12:59:20 -0500
- Subject: bash quoting bug
- Reply-to: jbuehler at spirentcom dot com
I see that there have been some bash problems recently. I am
reporting this in case it hasn't been handled in an upcoming
release of bash:
$ bash -c 'echo `echo "\\""`'
bash: -c: line 0: unexpected EOF while looking for matching ``'
bash: -c: line 1: syntax error: unexpected end of file
$ bash --version
GNU bash, version 3.1.17(9)-release (i686-pc-cygwin)
Copyright (C) 2005 Free Software Foundation, Inc.
$
The proper output is a " character.
--
Joe Buehler
--
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/