Akim Demaille <[EMAIL PROTECTED]> wrote
16 Mar 2000 19:16:48 +0100:

   In fact if someone has broken IFS, typically lacking nl, then the
   sanity check from Automake will fail, telling the there is a severe
   clock skew, while it's only the
   
      set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
   
   which is improperly split (ls will answer separating with nl, not
   spaces).
   
FreeBSD sh says that

     *       Expands to the positional parameters, starting from one.  When
             the expansion occurs within a double-quoted string it expands to
             a single field with the value of each parameter separated by the
             first character of the IFS variable, or by a <space> if IFS is
             unset.

So with IFS=<nl><space><tab> we get the behaviour you mention.  

I haven't followed this thread very closely, so forgive me if this is
a silly question but is the order crucial?  Couldn't we have
IFS=<space><tab><nl> instead?

--linus

Reply via email to