(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: [53 57] ) } spids: [52] ) ] spids: [52] ) (FuncDef name: cleanup body: (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:RET) op: Equal rhs: {($ VSub_QMark "$?")} spids: [71] ) ] spids: [71] ) (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:[89])] ) (SimpleCommand words: [{(/bin/rmdir)} {($ VSub_Name "$MNTDIR")}] redirects: [(Redir op_id:Redir_Great fd:2 arg_word:{(/dev/null)} spids:[97])] ) (SimpleCommand words: [{(/bin/rm)} {(block)}] redirects: [(Redir op_id:Redir_Great fd:2 arg_word:{(/dev/null)} spids:[105])] ) (C {(exit)} {($ VSub_Name "$RET")}) ] spids: [64] ) spids: [60 63] ) (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 iSCSI"))}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {($ VSub_Name "$MNTDIR") (/index.html)} spids: [166] ) ] ) (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:[180])] ) (C {(Lit_Other ":")}) ] op_id: Op_DPipe ) (C {(tar)} {(cfz)} {(block.tar.gz)} {(block)}) ] )