What/when could possibly break if I don't include \[\] around the color code in bash script?
21803
Terminal prompt not wrapping correctly
66271
Where has the trailing newline char gone from my command substitution?
19800
Why I can't escape spaces on a bash script?
6411
Allowing line break at ',' in inline math mode?
48922
Get color output in bash
81146
bash: Dynamic colorful prompt
67145
Colour highlighting output based on regex in shell
54569
How can I escape white space in a bash loop list?
124765
How does bash interpret the equal operator with no surrounding spaces in a conditional?
97025
Can I get $$...$$ to behave like \[...\]?
110398
"Friendly" terminal color names in shell scripts?
101523
Why is using `<<-` frowned upon and how can I avoid it?
7122
How to escape literal percent sign when NO_BACKSLASH_ESCAPES option is enabled?
21319
Why should there be spaces around '[' and ']' in Bash?
7907
What characters do I need to escape when using sed in a sh script?
103479
Is there any reason why I get ^[[A when I press up arrow at the console login screen?
102882
In bash, how do I escape an exclamation mark?