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


Groups > gnu.bash.bug > #15300 > unrolled thread

Setting nullglob causes variables containing backslashes to be expanded to an empty string

Started byMohamed Akram <mohd.akram@outlook.com>
First post2019-08-06 18:18 +0000
Last post2019-08-06 18:18 +0000
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Setting nullglob causes variables containing backslashes to be expanded to an empty string Mohamed Akram <mohd.akram@outlook.com> - 2019-08-06 18:18 +0000

#15300 — Setting nullglob causes variables containing backslashes to be expanded to an empty string

FromMohamed Akram <mohd.akram@outlook.com>
Date2019-08-06 18:18 +0000
SubjectSetting nullglob causes variables containing backslashes to be expanded to an empty string
Message-ID<mailman.966.1565121040.1985.bug-bash@gnu.org>
Bash version: GNU bash, version 5.0.7(1)-release (x86_64-apple-darwin18.5.0)

Example:

shopt -s nullglob
a='\x30'
echo $a

Expected output:

\x30

Actual output:

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web