Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #11445
| From | isabella parakiss <izaberina@gmail.com> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Problem with @Q |
| Date | 2015-08-29 08:40 +0200 |
| Message-ID | <mailman.119.1440830462.19560.bug-bash@gnu.org> (permalink) |
In the devel branch, setting IFS=\' seems to break @Q:
$ arr=(a b c)
$ echo ${arr[@]@Q} | sed -n l
'a' 'b' 'c'$ <- correct
$ echo "${arr[@]@Q}" | sed -n l
'a' 'b' 'c'$ <- correct
$ IFS=\'
$ echo ${arr[@]@Q} | sed -n l
a b c$ <- wrong(?)
$ echo "${arr[@]@Q}" | sed -n l
bash: INFORM: dequote_string: string with bare CTLESC
bash: INFORM: dequote_string: string with bare CTLESC
bash: INFORM: dequote_string: string with bare CTLESC
\001 a \001 b \001 c$ <- definitely wrong
---
xoxo iza
Back to gnu.bash.bug | Previous | Next | Find similar
Problem with @Q isabella parakiss <izaberina@gmail.com> - 2015-08-29 08:40 +0200
csiph-web