Steffen Daode Nurpmeso dixit:

>I'm fine with using printf(1), which is the one that works the
>expected -- but for this one mksh.1 (but this is R45) says that

>  have added this as builtin as a speed hack.  Do not use in new
>  code.

Yes, it turns out printf(1) is massively less portable:
its amount of functionality differs greatly, and it’s
not even available on all OSes that were current in the
mid-2000s decade.

If you are allowed to limit script execution to Korn Shell
(this includes ksh88, ksh93 and dtksh, pdksh, mksh, MKS ksh)
use print (whose -n option prevents newline printing, and
whose -r option prevents backslash interpretation) with
a -- as argument separator.

Really.

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