I'm not quite versed on the terminal, but the few things I've known and read lead me to believe that printf is much more powerful and confortable than echo but work for similar (if not same) purposes. So I asked myself, is it sensible to alias echo to printf so I can forget about any issues with echo? Or is there something I don't see like portability or else?
If needed, system is Ubuntu 20.04 running on WSL2 on Windows 10.
But it prompts a doubt on me, isn't the appropriate response to the first difference changing double quotes for single?
And I will check that man, although I'm afraid I might not understand all of it
– tms8bltrn Feb 14 '22 at 14:20%
is not special tobash
orecho
, but toprintf
– pLumo Feb 14 '22 at 14:20