[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: More fun with IFS
From: |
Andreas Schwab |
Subject: |
Re: More fun with IFS |
Date: |
Wed, 30 Jan 2013 09:17:47 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.92 (gnu/linux) |
"Chris F.A. Johnson" <chris@cfajohnson.com> writes:
>> var=${a[*]} ... one two three four # bad
>
> Looks good to me. It expands to multiple words, just as an unquoted
> $* would do.
But no field splitting is performed on the expansion, so why are the
colons lost?
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Re: More fun with IFS, Chet Ramey, 2013/01/31