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

support spaces in groovysh command arguments

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.3
    • Fix Version/s: 2.4.0-beta-3
    • Component/s: Groovysh
    • Labels:
      None
    • Environment:

      Description

      It would be nice if groovysh command arguments would support strings with spaces in them. Right now the argument is only parsed until the first space is encountered, even when quoted:

      groovy:000> :load "hello world/asdf.groovy"
      File not found: "hello
      groovy:000> :load 'hello world/asdf.groovy'
      File not found: 'hello
      groovy:000> :load hello world/asdf.groovy
      File not found: hello

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                melix C├ędric Champeau
                Reporter:
                stunksys Korbinian Schmid
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: