Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #11579

readline and bash disagree on $'' quoting

Path csiph.com!xmission!news.glorb.com!usenet.stanford.edu!not-for-mail
From Daniel Colascione <dancol@dancol.org>
Newsgroups gnu.bash.bug
Subject readline and bash disagree on $'' quoting
Date Mon, 5 Oct 2015 12:52:09 -0700
Lines 45
Approved bug-bash@gnu.org
Message-ID <mailman.470.1444076770.16064.bug-bash@gnu.org> (permalink)
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="gFmJlVLFj26TVPE78AmrfhIdBWdKk23CP"
X-Trace usenet.stanford.edu 1444076771 16586 208.118.235.17 (5 Oct 2015 20:26:11 GMT)
X-Complaints-To action@cs.stanford.edu
To "bug-bash@gnu.org" <bug-bash@gnu.org>
Envelope-to bug-bash@gnu.org
DKIM-Signature v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Type:MIME-Version:Date:Message-ID:Subject:From:To; bh=pciB8mq088QnaOfj0GwyuRmqZTQWdz41O/kBs5N2TxE=; b=Uv943B7DMzSp55cI0ejPXbSLg4eoTZews40xwprHp1nju2C/x0k5FdwOhMXdtjS0vAixZ+x+yKkPLnZU8x8V20BZhCKFf5DF0m/0IDME1vaNplFjtPOa1w/vNis+h3YkVVDhVFYSqzZBxVqFRwh48SSzaE3EcZeBNW5niaM3lrdE1oKUuiz7gh4aVKJOdRdndK+egq9nI1Pqo7gr1Ep/8uWU7wGyksbpZClarLQYHH2zWNRsAB8n2h+ULMzF++WC0nQmUSlowHSaGCq5e8eDn3z6gOK09N+Lig7Y54NgVQNHDyfs5IzrgARBhK2EyNTqXLySlsWdXDU7smeLzwLWlw==;
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
X-detected-operating-system by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From 96.126.100.184
X-Mailman-Approved-At Mon, 05 Oct 2015 16:26:10 -0400
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.14
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-bash>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.bash.bug:11579

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Consider this command:

  foo $'foo \' bar'

As far as the bash core is concerned, this command has one argument
word. But readline, for completion, splits it up into three words:

  0: foo
  1: $'abc \'
  2: bar'

Shouldn't we be splitting the command line into the same number of words?

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

readline and bash disagree on $'' quoting Daniel Colascione <dancol@dancol.org> - 2015-10-05 12:52 -0700

csiph-web