Steffen Daode Nurpmeso dixit: > echo; echo mksh, echo: > mksh -c 'echo -e "\ttab\tul\cau\tau"'
Which of the three echo implementations in mksh? ;-) >POSIX says: POSIX says that echo isn’t portable as soon as you have something with backslashes in it or begin with a hyphen-minus (“implementation-defined”). Everything else is extensions. mksh by default implements a BSD-ish (full-featured) echo, except in POSIX mode, which implements a POSIX echo with the -n option, as required by Debian Policy. mksh does not target the XSI extension. And then there’s the special variants for MidnightBSD and, IIRC, something else I don’t recall (maybe don’t want to). In short: use mksh for all your scripts, then use the print builtin, which is portable. Period. bye, //mirabilos -- 17:08⎜«Vutral» früher gabs keine packenden smartphones und so 17:08⎜«Vutral» heute gibts frauen die sind facebooksüchtig 17:10⎜«Vutral» aber auch traurig; früher warst du als nerd voll am arsch 17:10⎜«Vutral» heute bist du als nerd der einzige der wirklich damit klarkommt
