Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1940

Command parsing problem with files for long options in gremlin.sh

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Not A Problem
    • Affects Version/s: 3.2.8
    • Fix Version/s: None
    • Component/s: console
    • Labels:
      None

      Description

      A bit of an edge case, but shows that there's still something amiss in the command parser:

      $ echo '1+1' > '-l'
      $ cat -- -l
      1+1
      $ bin/gremlin.sh --interactive -l
      bin/gremlin.sh: line 85: $3: unbound variable
      

        Attachments

          Activity

            People

            • Assignee:
              spmallette Stephen Mallette
              Reporter:
              spmallette Stephen Mallette
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: