/usr/bin/env - Incorrect parsing of #! line?
Gerald S. Williams
gsw@agere.com
Thu Feb 14 11:55:00 GMT 2002
I did a little research, and Unix #! handling is all over
the spectrum, so any Unix portability argument goes out
the window. Other than tricks involving /bin/sh, the best
you can hope for is "#!/usr/bin/env PROG".
It would be a worthwhile exercise to see if enabling full
argument parsing breaks anything (i.e., find out if this
is a win-win feature), although this is hardly likely to
be on anyone's priority list soon.
-Jerry
-O Gerald S. Williams, 22Y-103GA : mailto:gsw@agere.com O-
-O AGERE SYSTEMS, 555 UNION BLVD : office:610-712-8661 O-
-O ALLENTOWN, PA, USA 18109-3286 : mobile:908-672-7592 O-
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list