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