(CommandList children: [ (AndOr children: [ (FuncDef name: _postconf body: (BraceGroup children: [ (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs:(LhsName name:cur) op:Equal spids:[13]) (assign_pair lhs:(LhsName name:prev) op:Equal spids:[15]) (assign_pair lhs:(LhsName name:words) op:Equal spids:[17]) (assign_pair lhs:(LhsName name:cword) op:Equal spids:[19]) ] spids: [11] ) (AndOr children: [(C {(_init_completion)}) (ControlFlow token:<ControlFlow_Return return>)] op_id: Op_DPipe ) (Assignment keyword: Assign_Local pairs: [(assign_pair lhs:(LhsName name:eqext) op:Equal spids:[32])] spids: [30] ) (Case to_match: {($ VSub_Name '$prev')} arms: [ (case_arm pat_list: [{(-b)} {(-t)}] action: [ (C {(_filedir)}) (ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [43 46 57 16777215] ) (case_arm pat_list: [{(-c)}] action: [ (C {(_filedir)} {(-d)}) (ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [60 61 74 16777215] ) (case_arm pat_list: [{(-e)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:cur) op: Equal rhs: { (BracedVarSub token: <VSub_Name cur> suffix_op: (StringUnary op_id: VOp1_Pound arg_word: {('[') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) (EscapedLiteralPart token: <Lit_EscapedChar "\\'"> ) (']') } ) spids: [82 89] ) } spids: [81] ) ] spids: [81] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:eqext) op: Equal rhs: {(SQ <'='>)} spids: [92] ) ] spids: [92] ) ] spids: [77 78 98 16777215] ) ] spids: [36 40 101] ) (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: {($ VSub_Name '$cur')} right: {(-) (Lit_Other '*')} ) ) terminator: <Op_Semi ';'> ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:COMPREPLY) op: Equal rhs: { (ArrayLiteralPart words: [ { (CommandSubPart command_list: (CommandList children: [ (C {(compgen)} {(-W)} {(SQ <'$( _parse_usage "$1" )'>)} {(--)} {(DQ ($ VSub_Name '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [125 141] ) } ] ) } spids: [122] ) ] spids: [122] ) (ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [16777215 119] ) ] spids: [16777215 151] ) (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (LhsName name:len) op: Equal rhs: {(BracedVarSub token:<VSub_Name cur> prefix_op:VSub_Pound spids:[158 161])} spids: [157] ) (assign_pair lhs: (LhsName name:idx) op: Equal rhs: {(0)} spids: [163] ) (assign_pair lhs:(LhsName name:pval) op:Equal spids:[166]) ] spids: [155] ) (ForEach iter_name: pval iter_words: [ { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (SimpleCommand words: [{(/usr/sbin/postconf)}] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [179] ) ] ) (C {(cut)} {(-d)} {(SQ <' '>)} {(-f)} {(1)}) ] negated: False ) ] ) left_token: <Left_CommandSub '$('> spids: [175 196] ) } ] do_arg_iter: False body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: {(DQ ($ VSub_Name '$cur'))} right: { (DQ (BracedVarSub token: <VSub_Name pval> suffix_op: (Slice begin: (ArithWord w:{(Lit_Digits 0)}) length: (ArithWord w:{($ VSub_Name '$len')}) ) spids: [213 219] ) ) } ) ) terminator: <Op_Semi ';'> ) ] action: [ (C {(COMPREPLY) (Lit_Other '[') ($ VSub_Name '$idx') (Lit_Other ']') (Lit_Other '=') (DQ ($ VSub_Name '$pval') ($ VSub_Name '$eqext')) } ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:idx) op: Equal rhs: { (ArithSubPart anode: (ArithBinary op_id: Arith_Plus left: (ArithWord w:{($ VSub_Name '$idx')}) right: (ArithWord w:{(Lit_Digits 1)}) ) spids: [240 245] ) } spids: [239] ) ] spids: [239] ) ] spids: [16777215 225] ) ] spids: [16777215 248] ) ] spids: [199 251] ) spids: [174 197] ) (ControlFlow token:<ControlFlow_Return return> arg_word:{(0)}) ] spids: [8] ) spids: [4 7] ) (C {(complete)} {(-F)} {(_postconf)} {(postconf)}) ] op_id: Op_DAmp ) ] )