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


Groups > gnu.bash.bug > #15300

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

From Mohamed Akram <mohd.akram@outlook.com>
Newsgroups gnu.bash.bug
Subject Setting nullglob causes variables containing backslashes to be expanded to an empty string
Date 2019-08-06 18:18 +0000
Message-ID <mailman.966.1565121040.1985.bug-bash@gnu.org> (permalink)
References <5202404D-4B1E-4627-9FDE-2E0C5608A5B7@outlook.com>

Show all headers | View raw


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:

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


Thread

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

csiph-web