Steffen Daode Nurpmeso dixit:

>But, according to the famous (to me) [1], mksh-R28/R39 did support
>\c, which made me thought it's also working like \c is supposed to
>work.

No. \c is *not* supposed to work in POSIX mode.
The implementations̲ (note the plural form) of
the echo builtin got fixed in the meantime.

You can select between them, though.

tglase@tglase:~ $ mksh -c 'echo foo\\c; echo $KSH_VERSION'
foo@(#)MIRBSD KSH R46 2013/05/02

Try set +o posix +o sh.

>I'm using echo(1) if there's nothing special and printf(1) if
>there is (because in the end it is not always a builtin,
>portably);  actually i don't care for those environments which
>cannot deal with that, i don't have any such in use (even if, now
>it's all private).

In that case, use print ;-)

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

Reply via email to