Busybox 'sed' handles '\r' in replacements differently than real 'sed'.
Examples from BusyBox sed: # echo 'something' | busybox sed 's/something/something\r/g' somethingr # echo 'rambo' | busybox sed 's/\r//g' ambo # echo -e 'rambo\r and \rrambo' | busybox sed 's/\r//g' ambo While outputs of the same using real 'sed': # echo 'something' | sed 's/something/something\r/g' something # echo 'rambo' | sed 's/\r//g' rambo # echo -e 'rambo\r and \rrambo' | sed 's/\r//g' rambo and rambo This make some problems with my scripts portability. None of BusyBox 'sed' applet parameters, like '-r' help to solve it. Best Regards, Tomasz Czapiewski _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
