How to represent strings with control characters (like \n \t) in bash?
Storing and handling these characters does not need any special care:
Just printing it might feel complicated. “printf” is a good solution for this:
Another alternative is “echo -e” – but it is not portable.