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