Bash auto-completion script in mini guide contains syntax error
---------------------------------------------------------------
Key: MNG-3341
URL: http://jira.codehaus.org/browse/MNG-3341
Project: Maven 2
Issue Type: Bug
Components: Documentation: Guides
Affects Versions: 2.0.8
Reporter: Daniel Harvey
Priority: Trivial
The Mini Guide "Guide to Maven 2.x auto completion using BASH" at
http://maven.apache.org/guides/mini/guide-bash-m2-completion.html contains an
extra space in one line of the script which caused it to fail.
The line
{code}
cur=${ COMP_WORDS[COMP_CWORD]}
{code}
should be
{code}
cur=${COMP_WORDS[COMP_CWORD]}
{code}
i.e. no space between "${" and "COMP_WORDS"
Works perfectly otherwise! Thanks.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira