Evan Klitzke personal blog

Bash $* and $@ (2017)

In Bash, there are two closely related "special parameters" for accessing how the current script was invoked: $* and $@ . For both variables, the behavior is affected by whether or not the variable is enclosed in double quotes. The following table summarizes all cases:
Points
316
HN comments
234
Submissions
1
Cited by
0 commenters

Software EngineeringTools & Productivity2020

On Hacker News

SubmittedTitle on HNPointsComments
Jan 12, 2020Bash $* and $@ (2017) by oftenwrong316234

More from Evan Klitzke

All 9 posts →

Related posts from the same era