Re: field splitting with IFS non-whitespace

2011-01-14 Thread Chet Ramey
On 1/11/11 3:36 PM, Greg Wooledge wrote: > POSIX 2.6.5 Field Splitting [1] says, in part, > > 1. If IFS is or unset, ... > 2. If IFS is null, ... > 3. Otherwise, ... > b. Each occurrence in the input of an IFS character that is not IFS > white space, along with any adjacent IFS white space

field splitting with IFS non-whitespace

2011-01-11 Thread Greg Wooledge
POSIX 2.6.5 Field Splitting [1] says, in part, 1. If IFS is or unset, ... 2. If IFS is null, ... 3. Otherwise, ... b. Each occurrence in the input of an IFS character that is not IFS white space, along with any adjacent IFS white space, shall delimit a field, as described previously.