people always forget about the humble printf in shell
for example, imagine you want to some operation like sort uniq over space separated values in a string (traditional way to do arrays besides set —): instead of echo into IFS mangling etc consider:
printf ‘%s\n’ $VARS | …
want = pairs? printf ‘%s=%s\n’
and so on

@toast i would never forget the humble printf in shell

ever since i’ve learned of it it’s pretty much completely replaced echo for every possible use-case, especially considering echo has non-portable behavior for arbitrary user-defined data