On Sep 24, 2015, at 12:20 PM, Tim Dawson <tadaw...@tpcsvc.com> wrote:
> 
> The "#! <shell>" is a *nix thing that exists in every *nix I have ever seen, 
> for as long as I know (mid 1980's for me . . ) and is used to specify what 
> shell is to be loaded to run that script

More specifically, this dates back to when the first two bytes of an 
a.out-format executable file were the "magic" values used to determine how to 
load it. The ASCII code for "#!" does not match any of those magic values, and 
has the added benefit of being the start of a shell comment line.

-- 
Charles Lepple
clepple@gmail




_______________________________________________
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to