tech-userlevel archive

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

Re: rc.d/network



On Thu, Sep 18, 2008 at 07:59:46PM +0200, Alan Barrett wrote:
> 
> Thanks.  That's easy to fix using shell builtins:

Or consider the effect of:
   nl=$(printf '\nx'); nl="${nl%x}"
   x="a:b:c c:d"
   (IFS=:; set -- $x; IFS="$nl"; echo "$*")

        David

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


Home | Main Index | Thread Index | Old Index