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 239389 - Editor does not know how to treat $# in bash scripts
Summary: Editor does not know how to treat $# in bash scripts
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: sh (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-11 21:38 UTC by _ wadechandler
Modified: 2014-02-18 03:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ wadechandler 2013-12-11 21:38:19 UTC
In bash scripts $# contains the number of arguments passed to the script. The NetBeans editor is treating everything after the # as a comment. It should treat $# special.
Comment 1 Alexander Simon 2014-02-17 10:01:58 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/693946f2281e
Comment 2 Quality Engineering 2014-02-18 03:14:41 UTC
Integrated into 'main-silver', will be available in build *201402180001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/693946f2281e
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #239389 Editor does not know how to treat $# in bash scripts