Cristian, Since the 'r' command requires a space before the filename it will need to be quoted. Some of your examples have quotes and some don't so you aren't always comparing the same thing.
"sed r -" is an 'r' command with no filename while the "sed 'r -'" is an 'r' command with a filename of '-'. It appears that GNU sed and BusyBox sed handle an 'r' command with no filename differently. Also note that printf doesn't issue a newline at the end of the string. This can affect the results. Ron _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
