Path: csiph.com!xmission!news.glorb.com!usenet.stanford.edu!not-for-mail From: Daniel Colascione 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: 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" 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com gnu.bash.bug:11579 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --gFmJlVLFj26TVPE78AmrfhIdBWdKk23CP Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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?= --gFmJlVLFj26TVPE78AmrfhIdBWdKk23CP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJWEtTpAAoJEN4WImmbpWBlAqIP/3Sqj7q1TE6CvXSkrZEpv2pb 2l5/7873CcMe/fadGd6F4HAgCiRDubkhOni28lij2tz10g5RdpB3vWNwW41dqaWd SsnFupHcpESuPkPvbg/paEHUmeyhJ8YGhZUnX9S6S8e7BkvQDBshZMdvX4lq1Bem gcRJrzDW4fBAtjhRLaFw+VpU22YnQGJvv7zA7XMxL8kMQcUHFUxJXmHGiJS36VQA gSnZN9e5dXpHU56th5Twb5F3aScRMNY+dKt00NCZSwHHCxdr2sjDy69cZx0N065H 3rz9m+qSgb1V847W0A9wK7jfUV2pL7lbOvlrR/YFccsE5866SGJ92rPAKpoIX3J5 vvt4YdbZ6WEjz/kBcZAWnasu1PGpx1cRKeNNCmODBqG4tzH5FAPnv9RNvCpBtyac +3Neitd4auJEoKCo9BYDWrrWkvmQjTELsqAHS07aVfLNclXj77YEAixaRaH3+ZUH XV2+dXFAEX8f8TTgOAaQ5ekoht552L3gs5FAFi5v1kZj4XNKOPGPiIO/j82cM1il 0nediywcAzT/NkZnHcwy6ZadMbdN+ATzh6ykL7vpd0A+MMs0kZ+EoDU1H2/eGi3U c3NMnCImYXZRaCGCbBSDrtnpC07UIWCP4r6xzmcYGhW0iEGrkZzhXJ2VOSyMF2g+ 2KDlg2tX6mVNK94DxY/+ =JALE -----END PGP SIGNATURE----- --gFmJlVLFj26TVPE78AmrfhIdBWdKk23CP--