delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/11/07/13:00:19

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Joe Buehler <jbuehler AT spirentcom DOT com>
Subject: bash quoting bug
Date: Tue, 07 Nov 2006 12:59:20 -0500
Lines: 16
Message-ID: <eiqhho$m22$1@sea.gmane.org>
Reply-To: jbuehler AT spirentcom DOT com
Mime-Version: 1.0
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: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019