(CommandList
  children: [
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:currentVersion) op:Equal rhs:{(DQ (1.11.1))} spids:[7])]
      spids: [7]
    )
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:multiline) op:Equal rhs:{(DQ (0))} spids:[12])]
      spids: [12]
    )
    (FuncDef
      name: getConfiguredClient
      body: 
        (BraceGroup
          children: [
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (SimpleCommand
                          words: [{(command)} {(-v)} {(curl)}]
                          redirects: [
                            (Redir
                              op: <Redir_AndGreat '&>'>
                              fd: 16777215
                              arg_word: {(/dev/null)}
                            )
                          ]
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:configuredClient)
                          op: Equal
                          rhs: {(DQ (curl))}
                          spids: [46]
                        )
                      ]
                      spids: [46]
                    )
                  ]
                  spids: [16777215 43]
                )
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (SimpleCommand
                          words: [{(command)} {(-v)} {(wget)}]
                          redirects: [
                            (Redir
                              op: <Redir_AndGreat '&>'>
                              fd: 16777215
                              arg_word: {(/dev/null)}
                            )
                          ]
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:configuredClient)
                          op: Equal
                          rhs: {(DQ (wget))}
                          spids: [69]
                        )
                      ]
                      spids: [69]
                    )
                  ]
                  spids: [52 66]
                )
              ]
              else_action: [
                (SimpleCommand
                  words: [
                    {(echo)}
                    {(DQ ('Error: This tool requires either curl or  wget to be installed.'))}
                  ]
                  redirects: [(Redir op:<Redir_GreatAnd '>&'> fd:16777215 arg_word:{(2)})]
                )
                (ControlFlow token:<ControlFlow_Return return> arg_word:{(1)})
              ]
              spids: [75 93]
            )
          ]
          spids: [26]
        )
      spids: [22 25]
    )
    (FuncDef
      name: update
      body: 
        (BraceGroup
          children: [
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:repositoryName)
                  op: Equal
                  rhs: {(DQ (Bash-Snippets))}
                  spids: [117]
                )
              ]
              spids: [117]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:githubUserName)
                  op: Equal
                  rhs: {(DQ (alexanderepstein))}
                  spids: [126]
                )
              ]
              spids: [126]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:nameOfInstallFile)
                  op: Equal
                  rhs: {(DQ (install.sh))}
                  spids: [135]
                )
              ]
              spids: [135]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:latestVersion)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (C {(httpGet)} 
                                    {(https) (Lit_Other ':') (//api.github.com/repos/) 
                                      ($ VSub_Name '$githubUserName') (/) ($ VSub_Name '$repositoryName') (/tags)
                                    }
                                  )
                                  (C {(grep)} {(-Eo)} {(SQ <'"name":.*?[^\\\\]",'>)})
                                  (C {(head)} {(-1)})
                                  (C {(grep)} {(-Eo)} {(DQ ('[0-9.]+'))})
                                ]
                                negated: F
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [145 181]
                      )
                    }
                  spids: [144]
                )
              ]
              spids: [144]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (DBracket
                          expr: 
                            (LogicalOr
                              left: 
                                (BoolBinary
                                  op_id: BoolBinary_GlobDEqual
                                  left: {($ VSub_Name '$currentVersion')}
                                  right: {(DQ )}
                                )
                              right: 
                                (LogicalOr
                                  left: 
                                    (BoolBinary
                                      op_id: BoolBinary_GlobDEqual
                                      left: {($ VSub_Name '$repositoryName')}
                                      right: {(DQ )}
                                    )
                                  right: 
                                    (LogicalOr
                                      left: 
                                        (BoolBinary
                                          op_id: BoolBinary_GlobDEqual
                                          left: {($ VSub_Name '$githubUserName')}
                                          right: {(DQ )}
                                        )
                                      right: 
                                        (BoolBinary
                                          op_id: BoolBinary_GlobDEqual
                                          left: {($ VSub_Name '$nameOfInstallFile')}
                                          right: {(DQ )}
                                        )
                                    )
                                )
                            )
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (SimpleCommand
                      words: [
                        {(echo)}
                        {(DQ ('Error: update utility has not been configured correctly.'))}
                      ]
                      redirects: [(Redir op:<Redir_GreatAnd '>&'> fd:16777215 arg_word:{(2)})]
                    )
                    (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)})
                  ]
                  spids: [16777215 228]
                )
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (DBracket
                          expr: 
                            (BoolBinary
                              op_id: BoolBinary_GlobDEqual
                              left: {($ VSub_Name '$latestVersion')}
                              right: {(DQ )}
                            )
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (SimpleCommand
                      words: [{(echo)} {(DQ ('Error: no active internet connection'))}]
                      redirects: [(Redir op:<Redir_GreatAnd '>&'> fd:16777215 arg_word:{(2)})]
                    )
                    (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)})
                  ]
                  spids: [246 259]
                )
              ]
              else_action: [
                (If
                  arms: [
                    (if_arm
                      cond: [
                        (Sentence
                          child: 
                            (DBracket
                              expr: 
                                (BoolBinary
                                  op_id: BoolBinary_GlobNEqual
                                  left: {(DQ ($ VSub_Name '$latestVersion'))}
                                  right: {(DQ ($ VSub_Name '$currentVersion'))}
                                )
                            )
                          terminator: <Op_Semi ';'>
                        )
                      ]
                      action: [
                        (C {(echo)} {(DQ ('Version ') ($ VSub_Name '$latestVersion') (' available'))})
                        (C {(echo)} {(-n)} 
                          {
                            (DQ ('Do you wish to update ') ($ VSub_Name '$repositoryName') (' [Y/n]: '))
                          }
                        )
                        (C {(read)} {(-r)} {(answer)})
                        (If
                          arms: [
                            (if_arm
                              cond: [
                                (Sentence
                                  child: 
                                    (DBracket
                                      expr: 
                                        (LogicalOr
                                          left: 
                                            (BoolBinary
                                              op_id: BoolBinary_GlobDEqual
                                              left: {(DQ ($ VSub_Name '$answer'))}
                                              right: {(DQ (Y))}
                                            )
                                          right: 
                                            (BoolBinary
                                              op_id: BoolBinary_GlobDEqual
                                              left: {(DQ ($ VSub_Name '$answer'))}
                                              right: {(DQ (y))}
                                            )
                                        )
                                    )
                                  terminator: <Op_Semi ';'>
                                )
                              ]
                              action: [
                                (AndOr
                                  ops: [Op_DPipe]
                                  children: [
                                    (C {(cd)} {(TildeSubPart token:<Lit_TildeLike '~'>)})
                                    (BraceGroup
                                      children: [
                                        (Sentence
                                          child: (C {(echo)} {(SQ <'Update Failed'>)})
                                          terminator: <Op_Semi ';'>
                                        )
                                        (Sentence
                                          child: 
                                            (ControlFlow
                                              token: <ControlFlow_Exit exit>
                                              arg_word: {(1)}
                                            )
                                          terminator: <Op_Semi ';'>
                                        )
                                      ]
                                      spids: [365]
                                    )
                                  ]
                                )
                                (If
                                  arms: [
                                    (if_arm
                                      cond: [
                                        (Sentence
                                          child: 
                                            (DBracket
                                              expr: 
                                                (BoolUnary
                                                  op_id: BoolUnary_d
                                                  child: 
                                                    {(Lit_TildeLike '~') (/) 
                                                      ($ VSub_Name '$repositoryName')
                                                    }
                                                )
                                            )
                                          terminator: <Op_Semi ';'>
                                        )
                                      ]
                                      action: [
                                        (Sentence
                                          child: 
                                            (AndOr
                                              ops: [Op_DPipe]
                                              children: [
                                                (C {(rm)} {(-r)} {(-f)} {($ VSub_Name '$repositoryName')})
                                                (BraceGroup
                                                  children: [
                                                    (Sentence
                                                      child: 
                                                        (C {(echo)} 
                                                          {
                                                            (DQ 
                                                              (
'Permissions Error: try running the update as sudo'
                                                              )
                                                            )
                                                          }
                                                        )
                                                      terminator: <Op_Semi ';'>
                                                    )
                                                    (Sentence
                                                      child: 
                                                        (ControlFlow
                                                          token: <ControlFlow_Exit exit>
                                                          arg_word: {(1)}
                                                        )
                                                      terminator: <Op_Semi ';'>
                                                    )
                                                  ]
                                                  spids: [409]
                                                )
                                              ]
                                            )
                                          terminator: <Op_Semi ';'>
                                        )
                                      ]
                                      spids: [16777215 397]
                                    )
                                  ]
                                  spids: [16777215 427]
                                )
                                (AndOr
                                  ops: [Op_DPipe]
                                  children: [
                                    (C {(git)} {(clone)} 
                                      {
                                        (DQ ('https://github.com/') ($ VSub_Name '$githubUserName') (/) 
                                          ($ VSub_Name '$repositoryName')
                                        )
                                      }
                                    )
                                    (BraceGroup
                                      children: [
                                        (Sentence
                                          child: 
                                            (C {(echo)} {(DQ ("Couldn't download latest version"))})
                                          terminator: <Op_Semi ';'>
                                        )
                                        (Sentence
                                          child: 
                                            (ControlFlow
                                              token: <ControlFlow_Exit exit>
                                              arg_word: {(1)}
                                            )
                                          terminator: <Op_Semi ';'>
                                        )
                                      ]
                                      spids: [443]
                                    )
                                  ]
                                )
                                (AndOr
                                  ops: [Op_DPipe]
                                  children: [
                                    (C {(cd)} {($ VSub_Name '$repositoryName')})
                                    (BraceGroup
                                      children: [
                                        (Sentence
                                          child: (C {(echo)} {(SQ <'Update Failed'>)})
                                          terminator: <Op_Semi ';'>
                                        )
                                        (Sentence
                                          child: 
                                            (ControlFlow
                                              token: <ControlFlow_Exit exit>
                                              arg_word: {(1)}
                                            )
                                          terminator: <Op_Semi ';'>
                                        )
                                      ]
                                      spids: [467]
                                    )
                                  ]
                                )
                                (AndOr
                                  ops: [Op_DPipe Op_DPipe]
                                  children: [
                                    (SimpleCommand
                                      words: [
                                        {(git)}
                                        {(checkout)}
                                        {(DQ (v) ($ VSub_Name '$latestVersion'))}
                                      ]
                                      redirects: [
                                        (Redir
                                          op: <Redir_Great '2>'>
                                          fd: 2
                                          arg_word: {(/dev/null)}
                                        )
                                      ]
                                    )
                                    (SimpleCommand
                                      words: [{(git)} {(checkout)} {(DQ ($ VSub_Name '$latestVersion'))}]
                                      redirects: [
                                        (Redir
                                          op: <Redir_Great '2>'>
                                          fd: 2
                                          arg_word: {(/dev/null)}
                                        )
                                      ]
                                    )
                                    (C {(echo)} 
                                      {
                                        (DQ 
                                          (
"Couldn't git checkout to stable release, updating to latest commit."
                                          )
                                        )
                                      }
                                    )
                                  ]
                                )
                                (C {(chmod)} {(a) (Lit_Other '+') (x)} {(install.sh)})
                                (AndOr
                                  ops: [Op_DPipe]
                                  children: [
                                    (C {(./) ($ VSub_Name '$nameOfInstallFile')} {(DQ (update))})
                                    (ControlFlow
                                      token: <ControlFlow_Exit exit>
                                      arg_word: {(1)}
                                    )
                                  ]
                                )
                                (C {(cd)} {(..)})
                                (AndOr
                                  ops: [Op_DPipe]
                                  children: [
                                    (C {(rm)} {(-r)} {(-f)} {($ VSub_Name '$repositoryName')})
                                    (BraceGroup
                                      children: [
                                        (Sentence
                                          child: 
                                            (C {(echo)} 
                                              {
                                                (DQ 
                                                  (
'Permissions Error: update succesfull but cannot delete temp files located at ~/'
                                                  ) ($ VSub_Name '$repositoryName') (' delete this directory with sudo')
                                                )
                                              }
                                            )
                                          terminator: <Op_Semi ';'>
                                        )
                                        (Sentence
                                          child: 
                                            (ControlFlow
                                              token: <ControlFlow_Exit exit>
                                              arg_word: {(1)}
                                            )
                                          terminator: <Op_Semi ';'>
                                        )
                                      ]
                                      spids: [562]
                                    )
                                  ]
                                )
                              ]
                              spids: [16777215 356]
                            )
                          ]
                          else_action: [(ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)})]
                          spids: [581 589]
                        )
                      ]
                      spids: [16777215 297]
                    )
                  ]
                  else_action: [
                    (C {(echo)} 
                      {(DQ ($ VSub_Name '$repositoryName') (' is already the latest version'))}
                    )
                  ]
                  spids: [592 603]
                )
              ]
              spids: [277 606]
            )
          ]
          spids: [102]
        )
      spids: [98 101]
    )
    (FuncDef
      name: httpGet
      body: 
        (BraceGroup
          children: [
            (Case
              to_match: {(DQ ($ VSub_Name '$configuredClient'))}
              arms: [
                (case_arm
                  pat_list: [{(curl)}]
                  action: [(C {(curl)} {(-A)} {(curl)} {(-s)} {(DQ ($ VSub_At '$@'))})]
                  spids: [628 629 642 16777215]
                )
                (case_arm
                  pat_list: [{(wget)}]
                  action: [(C {(wget)} {(-qO-)} {(DQ ($ VSub_At '$@'))})]
                  spids: [645 646 655 16777215]
                )
              ]
              spids: [619 625 658]
            )
          ]
          spids: [616]
        )
      spids: [612 615]
    )
    (FuncDef
      name: makeqr
      body: 
        (BraceGroup
          children: [
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:input)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (C {(echo)} {($ VSub_Name '$input')})
                                  (C {(sed)} {(s/) (DQ (' ')) (/) (Lit_Other '%') (20/g)})
                                ]
                                negated: F
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [671 688]
                      )
                    }
                  spids: [670]
                )
              ]
              spids: [670]
            )
            (C {(httpGet)} {(qrenco.de/) ($ VSub_Name '$input')})
          ]
          spids: [667]
        )
      spids: [663 666]
    )
    (FuncDef
      name: makeMultiLineQr
      body: 
        (BraceGroup
          children: [
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (DBracket
                          expr: 
                            (BoolBinary
                              op_id: BoolBinary_GlobNEqual
                              left: {($ VSub_Name '$configuredClient')}
                              right: {(DQ (curl))}
                            )
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (C {(echo)} {(DQ ('Multiline currently only supports curl!'))})
                    (ControlFlow token:<ControlFlow_Return return> arg_word:{(1)})
                  ]
                  spids: [16777215 727]
                )
              ]
              else_action: [
                (Pipeline
                  children: [
                    (C {(printf)} {(DQ ('%s'))} {(DQ ($ VSub_Star '$*'))})
                    (C {(curl)} 
                      {(-F-) (Lit_Other '=') (EscapedLiteralPart token:<Lit_EscapedChar '\\<'>) (-)} {(qrenco.de)}
                    )
                  ]
                  negated: F
                )
              ]
              spids: [745 770]
            )
          ]
          spids: [709]
        )
      spids: [705 708]
    )
    (FuncDef
      name: checkInternet
      body: 
        (BraceGroup
          children: [
            (Pipeline
              children: [
                (C {(echo)} {(-e)} 
                  {(DQ ('GET http://google.com HTTP/1.0') (Lit_Other '\\') (n) (Lit_Other '\\') (n))}
                )
                (SimpleCommand
                  words: [{(nc)} {(google.com)} {(80)}]
                  redirects: [
                    (Redir op:<Redir_Great '>'> fd:16777215 arg_word:{(/dev/null)})
                    (Redir op:<Redir_GreatAnd '2>&'> fd:2 arg_word:{(1)})
                  ]
                )
              ]
              negated: F
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C {(Lit_Other '[')} {($ VSub_QMark '$?')} {(-eq)} {(0)} {(Lit_Other ']')})
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [(ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})]
                  spids: [16777215 823]
                )
              ]
              else_action: [
                (SimpleCommand
                  words: [{(echo)} {(DQ ('Error: no active internet connect'))}]
                  redirects: [(Redir op:<Redir_GreatAnd '>&'> fd:16777215 arg_word:{(2)})]
                )
                (ControlFlow token:<ControlFlow_Return return> arg_word:{(1)})
              ]
              spids: [831 849]
            )
          ]
          spids: [779]
        )
      spids: [775 778]
    )
    (FuncDef
      name: usage
      body: 
        (BraceGroup
          children: [
            (C {(echo)} {(DQ (Qrify))})
            (C {(echo)} {(DQ ('Usage: qrify [stringtoturnintoqrcode]'))})
            (C {(echo)} {(DQ ('Description: Converts strings or urls into a qr code.'))})
            (C {(echo)} {(DQ ('    -u Update Bash-Snippet Tools'))})
            (C {(echo)} {(DQ ('    -m Enable multiline support (feature not working yet)'))})
            (C {(echo)} {(DQ ('    -h Show the help'))})
            (C {(echo)} {(DQ ('    -v Get the tool version'))})
            (C {(echo)} {(DQ ('Examples:'))})
            (C {(echo)} {(DQ ('    qrify this is a test string'))})
            (C {(echo)} 
              {
                (DQ ('    qrify -m two') (EscapedLiteralPart token:<Lit_EscapedChar '\\\\'>) 
                  (EscapedLiteralPart token:<Lit_EscapedChar '\\\\'>) (nlines)
                )
              }
            )
            (C {(echo)} {(DQ ('    qrify github.com # notice no http:// or https:// this will fail'))})
          ]
          spids: [858]
        )
      spids: [854 857]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [(C {(getConfiguredClient)}) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)})]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [(C {(checkInternet)}) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)})]
    )
    (WhileUntil
      keyword: <KW_While while>
      cond: [(C {(getopts)} {(m) (Lit_Other ':') (hvu) (Lit_Other '*') (Lit_Other ':')} {(option)})]
      body: 
        (DoGroup
          children: [
            (Case
              to_match: {(DQ (${ VSub_Name option))}
              arms: [
                (case_arm
                  pat_list: [{(v)}]
                  action: [
                    (AndOr
                      ops: [Op_DAmp]
                      children: [
                        (C {(echo)} {(DQ ('Version ') ($ VSub_Name '$currentVersion'))})
                        (ControlFlow
                          token: <ControlFlow_Exit exit>
                          arg_word: {(0)}
                        )
                      ]
                    )
                  ]
                  spids: [987 988 1003 16777215]
                )
                (case_arm
                  pat_list: [{(u)}]
                  action: [
                    (AndOr
                      ops: [Op_DAmp Op_DPipe]
                      children: [
                        (C {(update)})
                        (ControlFlow
                          token: <ControlFlow_Exit exit>
                          arg_word: {(0)}
                        )
                        (ControlFlow
                          token: <ControlFlow_Exit exit>
                          arg_word: {(1)}
                        )
                      ]
                    )
                  ]
                  spids: [1006 1007 1023 16777215]
                )
                (case_arm
                  pat_list: [{(h)}]
                  action: [
                    (AndOr
                      ops: [Op_DAmp]
                      children: [
                        (C {(usage)})
                        (ControlFlow
                          token: <ControlFlow_Exit exit>
                          arg_word: {(0)}
                        )
                      ]
                    )
                  ]
                  spids: [1026 1027 1037 16777215]
                )
                (case_arm
                  pat_list: [{(m)}]
                  action: [
                    (AndOr
                      ops: [Op_DAmp Op_DAmp]
                      children: [
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:multiline)
                              op: Equal
                              rhs: {(DQ (1))}
                              spids: [1043]
                            )
                          ]
                          spids: [1043]
                        )
                        (C {(echo)} {(DQ ('Error this is not a supported feature yet'))})
                        (ControlFlow
                          token: <ControlFlow_Exit exit>
                          arg_word: {(1)}
                        )
                      ]
                    )
                  ]
                  spids: [1040 1041 1062 16777215]
                )
                (case_arm
                  pat_list: [{(Lit_Other '*')}]
                  action: [
                    (AndOr
                      ops: [Op_DAmp]
                      children: [
                        (C {(usage)})
                        (ControlFlow
                          token: <ControlFlow_Exit exit>
                          arg_word: {(0)}
                        )
                      ]
                    )
                  ]
                  spids: [1065 1066 1076 16777215]
                )
              ]
              spids: [976 984 1079]
            )
          ]
          spids: [973 1081]
        )
    )
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: 
                (DBracket
                  expr: 
                    (BoolBinary
                      op_id: BoolBinary_GlobDEqual
                      left: {($ VSub_Pound '$#')}
                      right: {(DQ (0))}
                    )
                )
              terminator: <Op_Semi ';'>
            )
          ]
          action: [(C {(usage)}) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)})]
          spids: [16777215 1099]
        )
        (if_arm
          cond: [
            (Sentence
              child: 
                (DBracket
                  expr: 
                    (BoolBinary
                      op_id: BoolBinary_GlobDEqual
                      left: {($ VSub_Number '$1')}
                      right: {(DQ (help))}
                    )
                )
              terminator: <Op_Semi ';'>
            )
          ]
          action: [(C {(usage)}) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)})]
          spids: [1109 1124]
        )
        (if_arm
          cond: [
            (Sentence
              child: 
                (DBracket
                  expr: 
                    (BoolBinary
                      op_id: BoolBinary_GlobDEqual
                      left: {($ VSub_Number '$1')}
                      right: {(DQ (update))}
                    )
                )
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (AndOr
              ops: [Op_DPipe]
              children: [(C {(update)}) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)})]
            )
            (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)})
          ]
          spids: [1134 1148]
        )
      ]
      else_action: [
        (If
          arms: [
            (if_arm
              cond: [
                (Sentence
                  child: 
                    (DBracket
                      expr: 
                        (BoolBinary
                          op_id: BoolBinary_GlobDEqual
                          left: {($ VSub_Name '$multiline')}
                          right: {(DQ (0))}
                        )
                    )
                  terminator: <Op_Semi ';'>
                )
              ]
              action: [
                (Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (LhsName name:input)
                      op: Equal
                      rhs: 
                        {
                          (CommandSubPart
                            command_list: 
                              (CommandList
                                children: [(C {(printf)} {(SQ <'%s '>)} {(DQ ($ VSub_At '$@'))})]
                              )
                            left_token: <Left_CommandSub '$('>
                            spids: [1185 1195]
                          )
                        }
                      spids: [1184]
                    )
                  ]
                  spids: [1184]
                )
                (AndOr
                  ops: [Op_DPipe]
                  children: [(C {(makeqr)}) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)})]
                )
                (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)})
              ]
              spids: [16777215 1181]
            )
          ]
          else_action: [
            (AndOr
              ops: [Op_DPipe]
              children: [
                (C {(makeMultiLineQr)} 
                  {
                    (DQ 
                      (BracedVarSub
                        token: <VSub_At '@'>
                        suffix_op: (Slice begin:(ArithWord w:{(Lit_Digits 2)}))
                        spids: [1218 1222]
                      )
                    )
                  }
                )
                (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)})
              ]
            )
            (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)})
          ]
          spids: [1212 1240]
        )
      ]
      spids: [1164 1242]
    )
  ]
)