DE LUCA Ben wrote:
Ive just tested it on gentoo and osx and both of them accept arguments

I also run Gentoo:


$ cat tmp.sh
#!/usr/bin/env perl -w

$ ./tmp.sh
/usr/bin/env: perl -w: No such file or directory

So it doesn't work using the shebang line in Bash, but invoking env directly with:

$ /usr/bin/env perl -w

works. So I guess we're back to square one :/


-Mike -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to