This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
bug or feature: `eval' vs `#!'
- To: Cygnus <cygwin at sourceware dot cygnus dot com>
- Subject: bug or feature: `eval' vs `#!'
- From: Jerome BENOIT <JGMBenoit at Wanadoo dot fr>
- Date: Fri, 09 Mar 2001 07:55:24 +0100
Hello:
Under Win98 script files with as first line
eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' && eval 'exec perl
-S $0 $ argv:q'
contrary to script files with bang mechanism (`#! <executable>')
are not identify as executable (and we cannot set them executable with
`chmod'),
and therefore the completion mechanism does NOT work for them.
Is it a bug or a feature ?
Byebye,
Jerome BENOIT
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple