On Fri, 17 Jun 2011, Bernd Petrovitsch wrote:
>
> I wouldn't call
> echo -n $quoted | tr "\000" "\012"
> (which converts \0 into \n) impossible and I consider "tr" a standard
> utility.

What happens if you try it this way:

        $ echo -n "$quoted" | tr '\0' '\n'

or this way:

        $ tr '\0' '\n' <<-EOF
                $quoted
        EOF


Cheers,

-- 
Cristian
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to