Skip to content
  • The major issue currently plaguing me right now is redirection when it begins with an integer.

    Example:

    ./appleSauce.sh 2&>1

    Produces:

    [
       {
          "cmd": "./appleSauce.sh",
          "args": [
             2
          ],
          "div": {
             "redirect": "&>",
             "addend": 1
          }
       }
    ]

    However, it should produce this:

    [
       {
          "cmd": "./appleSauce.sh",
          "args": [],
          "div": {
             "redirect": "&>",
             "addend": 1,
             "augend": 2
          }
       }
    ]
  • Follow the discussion here.

  • ./appleSauce.sh testing pew pew 2&>1 ./foobaz.sh

    The above now produces the following:

    [
       {
          "cmd": "./appleSauce.sh",
          "args": [
             "testing",
             "pew",
             "pew"
          ],
          "div": {
             "redirect": "&>",
             "augend": 2,
             "addend": 1
          }
       },
       {
          "cmd": "./foobaz.sh",
          "args": [],
          "div": null
       }
    ]
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment