>>>>> "Michael" == Michael Hagedorn <[email protected]> writes:

Hi,

 Michael> but it didn't work (output stayed the same). I tried it with
 Michael> some string that appears in the message and that worked.  I
 Michael> wonder if the printf doe something to the '\r'.

 Michael> Any advise?

Works here:

echo -en 'hello\r\nworld\r\n' | sed "s/$(printf '\r')//" | hexdump -C
00000000  68 65 6c 6c 6f 0a 77 6f  72 6c 64 0a              |hello.world.|
0000000c

-- 
Bye, Peter Korsgaard
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to