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


Groups > gnu.bash.bug > #11579

readline and bash disagree on $'' quoting

From Daniel Colascione <dancol@dancol.org>
Newsgroups gnu.bash.bug
Subject readline and bash disagree on $'' quoting
Date 2015-10-05 12:52 -0700
Message-ID <mailman.470.1444076770.16064.bug-bash@gnu.org> (permalink)

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