A Bash Special Variables Reference — $@ vs $*, Parameter Expansion, and 50+ More "$@" and "$*" look identical but behave completely differently in a for loop. ${var:-default} assigns a default without mutation, ${var:=default} with mutation. ${var%pattern} strips from the end, ${var#pattern} from the start. 52 entries, bilingual explanations, examples you can copy-paste, all searchable. Bash h

A Bash Special Variables Reference — $@ vs $*, Parameter Expansion, and 50+ More
SEN LLC·Dev.to··1 min read
D
Continue reading on Dev.to
This article was sourced from Dev.to's RSS feed. Visit the original for the complete story.