This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 124543 - Allow #! lines in scripts to specify language instead of extension.
Summary: Allow #! lines in scripts to specify language instead of extension.
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@platform
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-01 04:08 UTC by kjmcdonald
Modified: 2009-01-06 14:56 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


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.