Bash
Installation
SKILL.md
Quick Reference
| Topic | File |
|---|---|
| Arrays and loops | arrays.md |
| Parameter expansion | expansion.md |
| Error handling patterns | errors.md |
| Testing and conditionals | testing.md |
Quoting Traps
- Always quote variables—
"$var"not$var, spaces break unquoted "${arr[@]}"preserves elements—${arr[*]}joins into single string- Single quotes are literal—
'$var'doesn't expand - Quote command substitution—
"$(command)"not$(command)