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

support spaces in groovysh command arguments

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.3
    • 2.4.0-beta-3
    • Groovysh
    • None

    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

              melix Cédric Champeau
              stunksys Korbinian Schmid
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: