Bug 124543 - Allow #! lines in scripts to specify language instead of extension.
Allow #! lines in scripts to specify language instead of extension.
Status: NEW
Product: platform
Classification: Unclassified
Component: -- Other --
6.x
All All
: P3 (vote)
: 6.x
Assigned To: issues@platform
issues@platform
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-01-01 04:08 UTC by kjmcdonald
Modified: 2009-01-06 14:56 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kjmcdonald 2008-01-01 04:08:39 UTC
Please allow more ways to determine file type, not just file extension.

Most times user-visibuile scripts are not named with .sh or any other extension. 

I would like to see the ability to look inside the file to determin file type. For UNIX and UNIX-like scripts, it would
be nice to look for patterns in the first line that begins with "#!". The remainder of the line should fully describe
the interpreter that script uses.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo