(command.AndOr ops: [Op_DAmp Op_DAmp] children: [ (C {(_have)} {(mailmanctl)}) (command.FuncDef name: _arch body: (command.BraceGroup children: [ (command.Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:cur spids:[25]) op: Equal spids: [25] ) (assign_pair lhs: (lhs_expr.LhsName name:prev spids:[27]) op: Equal spids: [27] ) (assign_pair lhs: (lhs_expr.LhsName name:words spids:[29]) op: Equal spids: [29] ) (assign_pair lhs: (lhs_expr.LhsName name:cword spids:[31]) op: Equal spids: [31] ) (assign_pair lhs: (lhs_expr.LhsName name:split spids:[33]) op: Equal spids: [33] ) ] spids: [23] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(_init_completion)} {(-s)}) (command.ControlFlow token:<ControlFlow_Return return>) ] ) (command.Case to_match: {($ VSub_DollarName '$prev')} arms: [ (case_arm pat_list: [{(-w)} {(-g)} {(-d)} {(--welcome-msg)} {(--goodbye-msg)} {(--digest)}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[67]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(SQ <'y n'>)} {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [70 86] ) } ] ) } spids: [67] ) ] spids: [67] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [53 64 96 16777215] ) (case_arm pat_list: [{(-d)} {(--file)}] action: [ (C {(_filedir)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [99 102 113 16777215] ) ] spids: [46 50 116] ) (command.AndOr ops: [Op_DAmp] children: [ (C {($ VSub_DollarName '$split')}) (command.ControlFlow token:<ControlFlow_Return return> arg_word:{(0)}) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.BoolBinary op_id: BoolBinary_GlobDEqual left: {(DQ ($ VSub_DollarName '$cur'))} right: {(-) (Lit_Other '*')} ) ) terminator: <Op_Semi ';'> ) ] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[149]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(SQ <'--wipe --start --end --quiet --help'>)} {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [152 170] ) } ] ) } spids: [149] ) ] spids: [149] ) ] spids: [16777215 146] ) ] else_action: [ (command.Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:args spids:[180]) op: Equal rhs: {($ VSub_DollarName '$cword')} spids: [180] ) ] spids: [178] ) (command.ForExpr init: (arith_expr.BinaryAssign op_id: Arith_Equal left: (lhs_expr.LhsName name:i spids:[188]) right: (arith_expr.ArithWord w:{(Lit_Digits 1)}) ) cond: (arith_expr.ArithBinary op_id: Arith_Less left: (arith_expr.ArithVarRef token:<Lit_ArithVarLike i>) right: (arith_expr.ArithVarRef token:<Lit_ArithVarLike cword>) ) update: (arith_expr.UnaryAssign op_id: Node_PostDPlus child: (lhs_expr.LhsName name:i spids:[200]) ) body: (command.DoGroup children: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.BoolBinary op_id: BoolBinary_GlobDEqual left: { (DQ (word_part.BracedVarSub token: <VSub_Name words> bracket_op: (bracket_op.ArrayIndex expr: (arith_expr.ArithVarRef token: <Lit_ArithVarLike i> ) ) spids: [215 220] ) ) } right: {(-) (Lit_Other '*')} ) ) terminator: <Op_Semi ';'> ) ] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:args spids:[234]) op: Equal rhs: { (word_part.ArithSubPart anode: (arith_expr.ArithBinary op_id: Arith_Minus left: (arith_expr.ArithWord w: {($ VSub_DollarName '$args')} ) right: (arith_expr.ArithWord w:{(Lit_Digits 1)}) ) spids: [235 240] ) } spids: [234] ) ] spids: [234] ) ] spids: [16777215 231] ) ] spids: [16777215 243] ) ] spids: [207 246] ) ) (command.Case to_match: {($ VSub_DollarName '$args')} arms: [ (case_arm pat_list: [{(1)}] action: [(C {(_xfunc)} {(list_lists)} {(_mailman_lists)})] spids: [256 257 267 16777215] ) (case_arm pat_list: [{(2)}] action: [(C {(_filedir)})] spids: [270 271 277 16777215] ) ] spids: [249 253 280] ) ] spids: [175 283] ) ] spids: [20] ) spids: [16 19] ) (C {(complete)} {(-F)} {(_arch)} {(arch)}) ] )