This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: /usr/bin/env - Incorrect parsing of #! line?
- From: "Gerald S. Williams" <gsw at agere dot com>
- To: <cygwin at cygwin dot com>
- Date: Thu, 14 Feb 2002 14:55:40 -0500
- Subject: RE: /usr/bin/env - Incorrect parsing of #! line?
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/