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


Groups > gnu.bash.bug > #11841

Re: shell-expand-line drops quotation marks

Path csiph.com!xmission!news.glorb.com!usenet.stanford.edu!not-for-mail
From Stephane Chazelas <stephane.chazelas@gmail.com>
Newsgroups gnu.bash.bug
Subject Re: shell-expand-line drops quotation marks
Date Thu, 5 Nov 2015 12:27:35 +0000
Lines 22
Approved bug-bash@gnu.org
Message-ID <mailman.1771.1446732582.7904.bug-bash@gnu.org> (permalink)
References <CAAHpriOiAksOZSinXeZTnXtqT6fN0TsLuDNCW5QRY4ox-crihQ@mail.gmail.com> <563A0C7A.8030504@case.edu> <563A1A14.5060609@draigBrady.com>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset=iso-8859-1
Content-Transfer-Encoding 8bit
X-Trace usenet.stanford.edu 1446732582 25872 208.118.235.17 (5 Nov 2015 14:09:42 GMT)
X-Complaints-To action@cs.stanford.edu
To bug-bash@gnu.org
Envelope-to bug-bash@gnu.org
X-Injected-Via-Gmane http://gmane.org/
X-Gmane-NNTP-Posting-Host 2.222.9.138
Content-Disposition inline
In-Reply-To <563A1A14.5060609@draigBrady.com>
User-Agent Mutt/1.5.21 (2010-09-15)
X-detected-operating-system by eggs.gnu.org: Genre and OS details not recognized.
X-Received-From 80.91.229.3
X-Mailman-Approved-At Thu, 05 Nov 2015 09:09:41 -0500
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:11841

Show key headers only | View raw


2015-11-04 14:45:40 +0000, Pádraig Brady:
> On 04/11/15 13:47, Chet Ramey wrote:
> > On 11/3/15 7:44 PM, Keith Thompson wrote:
> >> The shell-expand-line command (bound to Escape-Ctrl-E) incorrectly removes
> >> quotation marks from
> >> the command line, often resulting in a command that differs from what the
> >> user intended to type.
> > 
> > This is the documented behavior.  shell-expand-line performs all of the
> > shell word expansions, including quote removal.
> 
> How useful is that though when the expansion gives a different meaning?
[...]

See also:

https://unix.stackexchange.com/questions/150649/resolve-all-aliases-in-a-zsh-command-line/150737#150737

-- 
Stephane

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


Thread

Re: shell-expand-line drops quotation marks Stephane Chazelas <stephane.chazelas@gmail.com> - 2015-11-05 12:27 +0000

csiph-web