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


Groups > gnu.bash.bug > #16525

Re: "shell-expand-line" wrongly(?) expanded $'foo' to $foo

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: "shell-expand-line" wrongly(?) expanded $'foo' to $foo
Date 2020-07-02 08:56 -0400
Organization ITS, Case Western Reserve University
Message-ID <mailman.815.1593694587.2574.bug-bash@gnu.org> (permalink)
References <CADv8-ojoKwZknUW1CrppEBBz+-zE8P3QxxzuzmM3qLyYenxcMA@mail.gmail.com> <tuyqd1iq.dag@gnui.org> <31f638e4-a486-db3b-6c26-a713f8c73f94@case.edu>

Show all headers | View raw


On 7/1/20 11:44 PM, Dmitry Alexandrov wrote:
> Clark Wang <dearvoid@gmail.com> wrote:
>> # echo $'foo'    # press ESC C-e
>> # echo $foo
> 
> + the same with $"foo".

For the same reason.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

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


Thread

Re: "shell-expand-line" wrongly(?) expanded $'foo' to $foo Chet Ramey <chet.ramey@case.edu> - 2020-07-02 08:56 -0400

csiph-web