News for hackers. Stuff that matters.
Re:Bash code generator for command-line arguments by stormbrew on Friday October 02, 2020 @01:22PM (#24664833)
just fyi, `shift` doesn't affect $0, it slides the window of $1..$N back, so you don't want to shift after grabbing $0 and you don't want to change the option loop if you do this.

And you can just use $0 everywhere so there's technically no reason to pull it out into a $executable variable, but tbh that gets a bit confusing in functions.

There are no comments on this comment yet.