(CommandList
  children: [
    (C {(set)} {(-e)})
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:MNTDIR)
          op: Equal
          rhs: 
            {
              (CommandSubPart
                command_list: (CommandList children:[(C {(mktemp)} {(-d)})])
                left_token: <Left_Backtick "`">
                spids: [60 64]
              )
            }
          spids: [59]
        )
      ]
      spids: [59]
    )
    (FuncDef
      name: cleanup
      body: 
        (BraceGroup
          children: [
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:RET)
                  op: Equal
                  rhs: {($ VSub_QMark "$?")}
                  spids: [78]
                )
              ]
              spids: [78]
            )
            (C {(set)} {(Lit_Other "+") (e)})
            (SimpleCommand
              words: [{(/bin/umount)} {($ VSub_Name "$MNTDIR")}]
              redirects: [(Redir op_id:Redir_Great fd:2 arg_word:{(/dev/null)} spids:[96])]
            )
            (SimpleCommand
              words: [{(/bin/rmdir)} {($ VSub_Name "$MNTDIR")}]
              redirects: [(Redir op_id:Redir_Great fd:2 arg_word:{(/dev/null)} spids:[104])]
            )
            (SimpleCommand
              words: [{(/bin/rm)} {(block)}]
              redirects: [(Redir op_id:Redir_Great fd:2 arg_word:{(/dev/null)} spids:[112])]
            )
            (C {(exit)} {($ VSub_Name "$RET")})
          ]
          spids: [71]
        )
      spids: [67 70]
    )
    (C {(trap)} {(cleanup)} {(TERM)} {(EXIT)})
    (C {(dd)} {(Lit_VarLike "if=") (/dev/zero)} {(Lit_VarLike "of=") (block)} 
      {(Lit_VarLike "count=") (1)} {(Lit_VarLike "bs=") (1M)}
    )
    (C {(mkfs.ext2)} {(block)})
    (C {(mount)} {(-o)} {(loop)} {(block)} {($ VSub_Name "$MNTDIR")})
    (SimpleCommand
      words: [{(echo)} {(DQ ("Hello from RBD"))}]
      redirects: [
        (Redir
          op_id: Redir_Great
          fd: -1
          arg_word: {($ VSub_Name "$MNTDIR") (/index.html)}
          spids: [173]
        )
      ]
    )
    (C {(umount)} {($ VSub_Name "$MNTDIR")})
    (AndOr
      children: [
        (SimpleCommand
          words: [{(rm)} {(block.tar.gz)}]
          redirects: [(Redir op_id:Redir_Great fd:2 arg_word:{(/dev/null)} spids:[187])]
        )
        (C {(Lit_Other ":")})
      ]
      op_id: Op_DPipe
    )
    (C {(tar)} {(cfz)} {(block.tar.gz)} {(block)})
  ]
)