X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Joe Buehler Subject: bash quoting bug Date: Tue, 07 Nov 2006 12:59:20 -0500 Lines: 16 Message-ID: Reply-To: jbuehler AT spirentcom DOT com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin 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/