Multiple arguments on a #! line

Byron Clark byron at theclarkfamily.name
Sat Jan 6 13:06:30 MST 2007


On Sat, Jan 06, 2007 at 01:00:26AM -0700, Scott Paul Robertson wrote:
> Interesting side note, on OS X the kernel handles multiple arguments:
> $ ./test.sh
> [0] /Users/spr/test
> [1] -u
> [2] -tt
> [3] ./test.sh
> 
> That got me mad because I could do what you're wanting to do on my OS X
> box, but in Linux it kept messing up.

After finding the appropriate google keywords, a great table explaining
most of the variations found in the wild:
http://www.in-ulm.de/~mascheck/various/shebang/#results

--
Byron Clark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://plug.org/pipermail/plug/attachments/20070106/26793c40/attachment.bin 


More information about the PLUG mailing list