> so far i remember is echo less portable than printf. "less portable" as in "the behaviour of printf is more consistent and better documented across platforms", yes. But (a proprietary version of) echo is probably available on more platforms than printf is.
As long as you use echo - without options - with only one argument - to echo static strings without control characters or escape sequences and that do not start with a dash you're safe using echo, every Unix flavour has an echo that can do that. To print anything more complex, printf is safer. But then again, we're talking about Linux here, so portability is not an issue, and a Busybox user has access to a good echo he can configure himself. :) -- Laurent _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
