(command.CommandList
  children: [
    (command.ShFunction
      name: is-shell
      body: 
        (command.BraceGroup
          children: [
            (C {(local)} {(Lit_VarLike 'path=') ($ VSub_Number '$1')})
            (C {(local)} {(shebang)})
            (command.Simple
              words: [{(read)} {(shebang)}]
              redirects: [
                (redir.Redir
                  op: <Redir_Less '<'>
                  fd: 16777215
                  arg_word: {($ VSub_DollarName '$path')}
                )
              ]
            )
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:shebang)
                  op: Equal
                  rhs: 
                    {
                      (braced_var_sub
                        token: <VSub_Name shebang>
                        suffix_op: (suffix_op.PatSub pat:{(' ')} replace:{} replace_mode:Lit_Slash)
                      )
                    }
                )
              ]
            )
            (command.DBracket
              expr: 
                (bool_expr.Binary
                  op_id: BoolBinary_GlobDEqual
                  left: {($ VSub_DollarName '$shebang')}
                  right: {(Lit_Other '*') (sh)}
                )
            )
          ]
        )
    )
    (command.ShFunction
      name: unittest
      body: 
        (command.BraceGroup
          children: [
            (command.ForEach
              iter_name: file
              iter_words: [{(bin/oil.py)} {(configure)} {(install)}]
              do_arg_iter: F
              body: 
                (command.DoGroup
                  children: [
                    (command.If
                      arms: [
                        (if_arm
                          cond: [
                            (command.Sentence
                              child: (C {(is-shell)} {($ VSub_DollarName '$file')})
                              terminator: <Op_Semi ';'>
                            )
                          ]
                          action: [(C {(echo)} {(YES)} {($ VSub_DollarName '$file')})]
                        )
                      ]
                      else_action: [(C {(echo)} {(NO)} {($ VSub_DollarName '$file')})]
                    )
                  ]
                )
            )
          ]
        )
    )
    (C {(DQ ($ VSub_At '$@'))})
  ]
)