(command.CommandList
  children: [
    (command.ShAssignment
      left: <Id.Lit_VarLike 'result='>
      pairs: [
        (AssignPair
          left: <Id.Lit_VarLike 'result='>
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'result='> name:result)
          op: assign_op.Equal
          rhs: {(DQ ($ Id.VSub_Number 4))}
        )
      ]
      redirects: []
    )
    (command.Case
      case_kw: <Id.KW_Case case>
      to_match: (case_arg.Word w:{(DQ ($ Id.VSub_Number 1))})
      arms_start: <Id.KW_In in>
      arms: [
        (CaseArm
          left: <Id.Lit_Star '*'>
          pattern: (pat.Words words:[{<Id.Lit_Star '*'> <c> <Id.Lit_Star '*'>}])
          middle: <Id.Right_CasePat _>
          action: [
            (command.AndOr
              children: [
                (command.Simple
                  blame_tok: <'./compile'>
                  more_env: []
                  words: [{<'./compile'>} {($ Id.VSub_Number 2) <.c>}]
                  redirects: [
                    (Redir
                      op: <Id.Redir_Great '>'>
                      loc: (redir_loc.Fd fd:1)
                      arg: {<'/dev/null'>}
                    )
                    (Redir
                      op: <Id.Redir_GreatAnd '2>&'>
                      loc: (redir_loc.Fd fd:2)
                      arg: {<1>}
                    )
                  ]
                  do_fork: T
                )
                (command.ShAssignment
                  left: <Id.Lit_VarLike 'result='>
                  pairs: [
                    (AssignPair
                      left: <Id.Lit_VarLike 'result='>
                      lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'result='> name:result)
                      op: assign_op.Equal
                      rhs: {(DQ ($ Id.VSub_Number 3))}
                    )
                  ]
                  redirects: []
                )
              ]
              ops: [<Id.Op_DPipe _>]
            )
          ]
          right: <Id.Op_DSemi _>
        )
      ]
      arms_end: <Id.KW_Esac esac>
      redirects: []
    )
    (command.Case
      case_kw: <Id.KW_Case case>
      to_match: (case_arg.Word w:{(DQ ($ Id.VSub_Number 1))})
      arms_start: <Id.KW_In in>
      arms: [
        (CaseArm
          left: <Id.Lit_Star '*'>
          pattern: (pat.Words words:[{<Id.Lit_Star '*'> <l> <Id.Lit_Star '*'>}])
          middle: <Id.Right_CasePat _>
          action: [
            (command.AndOr
              children: [
                (command.Simple
                  blame_tok: <'./load'>
                  more_env: []
                  words: [{<'./load'>} {($ Id.VSub_Number 2)}]
                  redirects: [
                    (Redir
                      op: <Id.Redir_Great '>'>
                      loc: (redir_loc.Fd fd:1)
                      arg: {<'/dev/null'>}
                    )
                    (Redir
                      op: <Id.Redir_GreatAnd '2>&'>
                      loc: (redir_loc.Fd fd:2)
                      arg: {<1>}
                    )
                  ]
                  do_fork: T
                )
                (command.ShAssignment
                  left: <Id.Lit_VarLike 'result='>
                  pairs: [
                    (AssignPair
                      left: <Id.Lit_VarLike 'result='>
                      lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'result='> name:result)
                      op: assign_op.Equal
                      rhs: {(DQ ($ Id.VSub_Number 3))}
                    )
                  ]
                  redirects: []
                )
              ]
              ops: [<Id.Op_DPipe _>]
            )
          ]
          right: <Id.Op_DSemi _>
        )
      ]
      arms_end: <Id.KW_Esac esac>
      redirects: []
    )
    (command.Case
      case_kw: <Id.KW_Case case>
      to_match: (case_arg.Word w:{(DQ ($ Id.VSub_Number 1))})
      arms_start: <Id.KW_In in>
      arms: [
        (CaseArm
          left: <Id.Lit_Star '*'>
          pattern: (pat.Words words:[{<Id.Lit_Star '*'> <r> <Id.Lit_Star '*'>}])
          middle: <Id.Right_CasePat _>
          action: [
            (command.AndOr
              children: [
                (command.Simple
                  blame_tok: <'./'>
                  more_env: []
                  words: [{<'./'> ($ Id.VSub_Number 2)}]
                  redirects: [
                    (Redir
                      op: <Id.Redir_Great '>'>
                      loc: (redir_loc.Fd fd:1)
                      arg: {<'/dev/null'>}
                    )
                    (Redir
                      op: <Id.Redir_GreatAnd '2>&'>
                      loc: (redir_loc.Fd fd:2)
                      arg: {<1>}
                    )
                  ]
                  do_fork: T
                )
                (command.ShAssignment
                  left: <Id.Lit_VarLike 'result='>
                  pairs: [
                    (AssignPair
                      left: <Id.Lit_VarLike 'result='>
                      lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'result='> name:result)
                      op: assign_op.Equal
                      rhs: {(DQ ($ Id.VSub_Number 3))}
                    )
                  ]
                  redirects: []
                )
              ]
              ops: [<Id.Op_DPipe _>]
            )
          ]
          right: <Id.Op_DSemi _>
        )
      ]
      arms_end: <Id.KW_Esac esac>
      redirects: []
    )
    (command.Simple
      blame_tok: <rm>
      more_env: []
      words: [{<rm>} {<-f>} {($ Id.VSub_Number 2) <.o>} {($ Id.VSub_Number 2)}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <exec>
      more_env: []
      words: [{<exec>} {<cat>} {(DQ ($ Id.VSub_DollarName result))}]
      redirects: []
      do_fork: T
    )
  ]
)