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


Groups > gnu.bash.bug > #11841

Re: shell-expand-line drops quotation marks

From Stephane Chazelas <stephane.chazelas@gmail.com>
Newsgroups gnu.bash.bug
Subject Re: shell-expand-line drops quotation marks
Date 2015-11-05 12:27 +0000
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>

Show all headers | 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