I cannot figure out how to print -n with echo. Even ChatGPT does not know. The closest what is suggested is printf -- "-n\n".

After reading the manual, I came up with this monstrosity: echo -e "\x2Dn".

Next - Previous