Hacker News new | ask | show | jobs
by spoondan 2714 days ago
The “set” command lets you override the positional arguments but starting at $1. You cannot directly set $0. But you can set BASH_ARGV0, and the value of $0 changes accordingly.