Hacker News new | past | comments | ask | show | jobs | submit login

I was going to say it'd be easier to have a single script, eg

    #!/bin/sh
    busybox $0 $@
and then every command required could just be a hardlink to the same script, instead of replicating it over and over again for hardcoded command names.

Then I realised the whole point is to posit a world where $0 doesn't exist, and we're not allowed to be clever about it.




In such a world, shells would probably have something like a $SCRIPT_NAME to work around this.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: