tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: rc.d/network



On Fri, Sep 19, 2008 at 05:56:34PM -0400, Christos Zoulas wrote:
> On Sep 20,  3:27am, kre%munnari.OZ.AU@localhost (Robert Elz) wrote:
> -- Subject: Re: rc.d/network
> 
> |     Date:        Fri, 19 Sep 2008 19:32:33 +0000 (UTC)
> |     From:        christos%astron.com@localhost (Christos Zoulas)
> |     Message-ID:  <gb0uoh$omi$1%ger.gmane.org@localhost>
> | 
> |   | Why "IFS=';' eval set -- \$argslist" instead of "set -- $argslist"?
> | 
...
> | 
> | but then IFS needs to be explicitly set back to its old value afterwards,
> | with the IFS= prefix to eval (or just set) the shell takes care of that.
> 
> Great! Thanks for clarifying. This is a neat trick :-)
> 
> christos

Except, of course, as has been later discovered, the above 'trick'
doesn't work because the shell treats assigments on 'special builtin'
command as permanent.
FWIW bash appears to be broken here.

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index