shell command 'var="[a-p]"; echo $var' has as output "h", any explanation?
178
Why does my shell script choke on whitespace or other special characters?
85013
New line in bash variables
102137
What's the purpose of adding a prefix on both sides of a shell variable comparison to a string literal?
138778
How do I evaluate a variable with a string in the POSIX shell?
158457
Using | pipe character from a $variable makes it treat as just another argument in bash; how to escape it?
51442
Why does bash variable expansion retain quotes?
7431
How does ${!#} work in bash to get the last command-line argument?
156273
What is the difference between "var=${var:-word}" and "var=${var:=word}"?
122288
Variable with colon dash ${VAR:-}
35334
What is the general syntax of a Unix shell command?
25478
What does ${1+"$@"} mean in a shell script, and how does it differ from "$@"?
15296
How can I assign the output of a command to a shell variable?
124282
I just assigned a variable, but echo $variable shows something else
148295
Shell variable $_ not behaving as expected
51432
What does the "$#" special parameter mean in Bash?
33687
Why is echo a shell built in command?
120214
What's the difference between <<, <<< and < < in bash?