> I always change it back immediately; a nuisance in for() as it has to
> be set before and re-set inside.  I'm considering whether a new shell
> builtin would be desirable, similar to ` but always splitting on
> newlines and only newlines, regardless of $ifs.

this is one thing that byron understood in his version of rc.
he had
        x=``ifs {cmd}
the `` was required since `singleton was allowed in his version.
i think that one could just extend the grammar to allow
        x=`ifs {cmd}
and i think it would be even better if it were
        x=`splitchars {cmd}
so ifs is never set.

- erik

Reply via email to