On Wed, 13 Jun 2018 23:46:02 -0400, Lowell Gilbert wrote: >Polytropon <freebsd at edvax.de> writes: >> It is actually the same file; check with "ls -li". :-) > >Which doesn't mean it has the same behaviour if called by different >names. #!/bin/dash case $(basename $0) in foo) printf "foo\n";; bar) printf "bar\n";; esac exit