Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15482
| From | Andreas Schwab <schwab@linux-m68k.org> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: Is this a bug by any chance? |
| Date | 2019-10-07 16:23 +0200 |
| Message-ID | <mailman.1227.1570458231.2651.bug-bash@gnu.org> (permalink) |
| References | (1 earlier) <99440807.4131727.1570301315442@mail.yahoo.com> <20191007124737.GM28751@eeg.ccf.org> <7892e473-d0d2-1207-8eb1-916b8571a496@passchier.net> <20191007133716.GR28751@eeg.ccf.org> <87v9t01vnz.fsf@igel.home> |
On Okt 07 2019, Greg Wooledge <wooledg@eeg.ccf.org> wrote:
> x=(1 2 3 4 5 -n '/*' 'hello world')
> for z in "${x[@]}"; do
> printf %s "$z"
> done
> echo
(IFS=; printf '%s\n' "${x[*]}")
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
Re: Is this a bug by any chance? Andreas Schwab <schwab@linux-m68k.org> - 2019-10-07 16:23 +0200
csiph-web