(command.CommandList
  children: [
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:tmpfiles)
          op: assign_op.Equal
          rhs: {(DQ )}
          spids: [7]
        )
      ]
    )
    (C {(trap)} {(SQ (Token id:Id.Lit_Chars val:'rm -fr $tmpfiles' span_id:14))} {(1)} {(2)} {(3)} {(15)})
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:tmpfiles)
          op: assign_op.Equal
          rhs: {(DQ ($ Id.VSub_DollarName '$tmpfiles') (' t-select-out.out t-select-out.tmp'))}
          spids: [26]
        )
      ]
    )
    (C {(rm)} {(-f)} {(t-select-out.tmp)})
    (command.Simple
      words: [{(./test-select-fd) (${ Id.VSub_Name EXEEXT)} {(w)} {(1)} {(t-select-out.tmp)}]
      redirects: [
        (redir.Redir
          op: (Token id:Id.Redir_Great val:'>' span_id:54)
          fd: -1
          arg_word: {(t-select-out.out)}
        )
      ]
    )
    (command.AndOr
      ops: [Id.Op_DPipe]
      children: [
        (C {(test)} 
          {
            (command_sub
              left_token: (Token id:Id.Left_Backtick val:'`' span_id:60)
              command_list: (command.CommandList children:[(C {(cat)} {(t-select-out.tmp)})])
            )
          } {(Id.Lit_Equals '=')} {(DQ (1))}
        )
        (command.ControlFlow
          token: (Token id:Id.ControlFlow_Exit val:exit span_id:76)
          arg_word: {(1)}
        )
      ]
    )
    (command.If
      arms: [
        (if_arm
          cond: [
            (command.Sentence
              child: (C {(false)})
              terminator: (Token id:Id.Op_Semi val:';' span_id:88)
            )
          ]
          action: [
            (C {(rm)} {(-f)} {(t-select-out.tmp)})
            (command.Subshell
              command_list: 
                (command.CommandList
                  children: [
                    (command.Pipeline
                      children: [
                        (command.BraceGroup
                          children: [
                            (command.Sentence
                              child: (C {(echo)} {(abc)})
                              terminator: (Token id:Id.Op_Semi val:';' span_id:110)
                            )
                            (command.Sentence
                              child: 
                                (C {(./test-select-fd) (${ Id.VSub_Name EXEEXT)} {(w)} {(1)} 
                                  {(t-select-out.tmp)}
                                )
                              terminator: (Token id:Id.Op_Semi val:';' span_id:122)
                            )
                          ]
                        )
                        (command.BraceGroup
                          children: [
                            (command.Sentence
                              child: (C {(sleep)} {(1)})
                              terminator: (Token id:Id.Op_Semi val:';' span_id:133)
                            )
                            (command.Sentence
                              child: (C {(cat)})
                              terminator: (Token id:Id.Op_Semi val:';' span_id:136)
                            )
                          ]
                        )
                      ]
                      negated: F
                    )
                  ]
                )
              redirects: [
                (redir.Redir
                  op: (Token id:Id.Redir_Great val:'>' span_id:142)
                  fd: -1
                  arg_word: {(/dev/null)}
                )
              ]
            )
            (command.AndOr
              ops: [Id.Op_DPipe]
              children: [
                (C {(test)} 
                  {
                    (command_sub
                      left_token: (Token id:Id.Left_Backtick val:'`' span_id:149)
                      command_list: (command.CommandList children:[(C {(cat)} {(t-select-out.tmp)})])
                    )
                  } {(Id.Lit_Equals '=')} {(DQ (0))}
                )
                (command.ControlFlow
                  token: (Token id:Id.ControlFlow_Exit val:exit span_id:165)
                  arg_word: {(1)}
                )
              ]
            )
          ]
          spids: [85 90]
        )
      ]
    )
    (C {(rm)} {(-f)} {(t-select-out.tmp)})
    (command.Subshell
      command_list: 
        (command.CommandList
          children: [
            (command.Pipeline
              children: [
                (command.BraceGroup
                  children: [
                    (command.Sentence
                      child: (C {(sleep)} {(1)})
                      terminator: (Token id:Id.Op_Semi val:';' span_id:185)
                    )
                    (command.Sentence
                      child: (C {(echo)} {(abc)})
                      terminator: (Token id:Id.Op_Semi val:';' span_id:190)
                    )
                    (command.Sentence
                      child: 
                        (C {(./test-select-fd) (${ Id.VSub_Name EXEEXT)} {(w)} {(1)} {(t-select-out.tmp)})
                      terminator: (Token id:Id.Op_Semi val:';' span_id:202)
                    )
                  ]
                )
                (C {(cat)})
              ]
              negated: F
            )
          ]
        )
      redirects: [
        (redir.Redir
          op: (Token id:Id.Redir_Great val:'>' span_id:211)
          fd: -1
          arg_word: {(/dev/null)}
        )
      ]
    )
    (command.AndOr
      ops: [Id.Op_DPipe]
      children: [
        (C {(test)} 
          {
            (command_sub
              left_token: (Token id:Id.Left_Backtick val:'`' span_id:217)
              command_list: (command.CommandList children:[(C {(cat)} {(t-select-out.tmp)})])
            )
          } {(Id.Lit_Equals '=')} {(DQ (1))}
        )
        (command.ControlFlow
          token: (Token id:Id.ControlFlow_Exit val:exit span_id:233)
          arg_word: {(1)}
        )
      ]
    )
    (C {(rm)} {(-f)} {(t-select-out.tmp)})
    (command.Simple
      words: [{(./test-select-fd) (${ Id.VSub_Name EXEEXT)} {(w)} {(1)} {(t-select-out.tmp)}]
      redirects: [
        (redir.Redir
          op: (Token id:Id.Redir_Great val:'>' span_id:259)
          fd: -1
          arg_word: {(/dev/null)}
        )
      ]
    )
    (command.AndOr
      ops: [Id.Op_DPipe]
      children: [
        (C {(test)} 
          {
            (command_sub
              left_token: (Token id:Id.Left_Backtick val:'`' span_id:265)
              command_list: (command.CommandList children:[(C {(cat)} {(t-select-out.tmp)})])
            )
          } {(Id.Lit_Equals '=')} {(DQ (1))}
        )
        (command.ControlFlow
          token: (Token id:Id.ControlFlow_Exit val:exit span_id:281)
          arg_word: {(1)}
        )
      ]
    )
    (C {(rm)} {(-fr)} {($ Id.VSub_DollarName '$tmpfiles')})
    (command.ControlFlow token:(Token id:Id.ControlFlow_Exit val:exit span_id:293) arg_word:{(0)})
  ]
)