[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] IFS can not be made local?
From: |
Chet Ramey |
Subject: |
Re: [Help-bash] IFS can not be made local? |
Date: |
Thu, 25 Feb 2016 16:30:28 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
On 2/25/16 4:12 PM, Peng Yu wrote:
> Hi, The following example shows that IFS can not be set local.
The example doesn't show that; it shows that "address@hidden" always expands to
separate arguments regardless of what IFS is set to. You should actually
check the value of IFS after the call to `cmd'.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU address@hidden http://cnswww.cns.cwru.edu/~chet/