10 Forms of Bash Shell Parameter Expansion

from blog Blog on hjr265.me, | ↗ original
If I look at my search history with the word “bash” in it, the most frequently searched phrases turn out to be like “trim suffix bash” and “set bash variable if empty”. It seems I write Bash scripts frequently enough to need these, but not frequently enough to remember these simple Bash shell parameter expansion forms. In this blog post I am...