[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is this a bug by any chance?
From: |
Andreas Schwab |
Subject: |
Re: Is this a bug by any chance? |
Date: |
Mon, 07 Oct 2019 16:23:44 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
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."