Hi,
Mats Erik Andersson wrote:
> On the other hand the non-portability of
> built-in "echo" must be taken care of with "/bin/echo".
"printf" (in POSIX) accepts a %b specifier to emulate old-fashioned
echo. So all the behaviors are available:
bash POSIX sh
echo printf '%s\n'
echo -n printf '%s'
echo -e printf '%b\n'
echo -ne printf '%b'
Of course this is orthogonal to the question of which one the LSB
init functions should use. I have no opinion on that.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/20120530165847.GA15519@burratino