(CommandList children: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LeftVar name:COMPARE) rhs:{(DQ ($ VSub_Number "$1"))} spids:[19])] spids: [19] ) (FuncDef name: mine_commands body: (BraceGroup children: [ (Pipeline children: [ (C {(awk)} {(SQ <"{print $1}">)} {(build/logs/cmdlines.) ($ VSub_Number "$1") (.) (Lit_Other "*")} ) (C {(sort)} {(-u)}) ] negated: False ) ] spids: [35] ) spids: [29 34] ) (ForEach iter_name: i iter_words: [ { (CommandSubPart command_list: (Pipeline children: [ (C {(ls)} {(-1)} {(build/logs/cmdlines.) (Lit_Other "*")}) (C {(sed)} {(SQ <"s@.*/cmdlines\\.\\([^.]*\\).*@\\1@">)}) (C {(sort)} {(-u)}) ] negated: False ) spids: [68 89] ) } ] do_arg_iter: False body: (DoGroup child: (CommandList children: [ (AndOr children: [ (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$COMPARE"))} {(Lit_Other "=") (Lit_Other "=")} {(DQ ($ VSub_Name "$i"))} {(Lit_Other "]")} ) (C {(continue)}) ] op_id: Op_DAmp ) (C {(echo)}) (C {(echo)} {(-n)} {(Checking)} {($ VSub_Name "$i") (Lit_Other ":")}) (If arms: [ (if_arm cond: (C {(Lit_Other "[")} {(-z)} {(DQ ($ VSub_Name "$COMPARE"))} {(Lit_Other "]")}) action: (C {(echo)} { (CommandSubPart command_list: (C {(mine_commands)} {($ VSub_Name "$i")}) spids: [155 159] ) } ) spids: [-1 146] ) ] else_action: (C {(echo)} { (CommandSubPart command_list: (Pipeline children: [ (C {(sort)} { (CommandSubPart command_list: (C {(mine_commands)} {($ VSub_Name "$COMPARE")}) spids: [174 178] ) } {(CommandSubPart command_list:(C {(mine_commands)} {($ VSub_Name "$i")}) spids:[180184])} ) (C {(uniq)} {(-u)}) ] negated: False ) spids: [171 191] ) } ) spids: [162 194] ) ] ) spids: [91 196] ) spids: [67 -1] ) ] )