On Tue, Feb 5, 2019, at 21:40, k...@shike2.com wrote:
> >> "My 2c": I would prefer shell "printf" than "echo -n -e"
> > 
> > yeah, good point. Any of which works.
> 
> Yes, but echo -n is not POSIX.

-n is mentioned, but its meaning is not defined ("defined by
implementation"). -e isn't mentioned at all.

For maximum portability, printf is usually the best choice
as soon as you start doing more than printing raw strings.

Reply via email to