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.

Re: for; do; done regression ?

2011-01-11 Thread Marc Herbert
Le 10/01/2011 17:05, Roman Rakus a écrit : > I will say the same on both lists - why to execute another process if > you can do the same in the current one? No gain. Not every "for" loop is in the critical path. Especially not in shell script.