Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-413

groovy shell script error messages when no args

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0-beta-6
    • None
    • None
    • Mac OS X, CVS HEAD

    Description

      Typing just "groovy" on the command line with no arguments spews the following error messages:

      /usr/local/projects/Java/groovy/bin/groovy: line 45: [: =: unary operator expected
      /usr/local/projects/Java/groovy/bin/groovy: line 45: [: =: unary operator expected
      Usage: Groovy groovyScript [arguments]

      The script should not barf on line 45

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jimm Jim Menard
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: