(command.AndOr ops: [Op_DAmp] children: [ (command.FuncDef name: _wvdial 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] ) (assign_pair lhs: (lhs_expr.LhsName name:split spids:[21]) op: Equal spids: [21] ) ] spids: [11] ) (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: [{(--config)}] action: [ (C {(_filedir)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [41 42 53 16777215] ) ] spids: [34 38 56] ) (command.AndOr ops: [Op_DAmp] children: [ (C {($ VSub_DollarName '$split')}) (command.ControlFlow token:<ControlFlow_Return return>) ] ) (command.Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:config spids:[70]) op: Equal spids: [70] ) (assign_pair lhs: (lhs_expr.LhsName name:i spids:[72]) op: Equal spids: [72] ) (assign_pair lhs: (lhs_expr.LhsName name:IFS spids:[74]) op: Equal rhs: { (word_part.SingleQuotedPart left: <Left_DollarSingleQuote "$'"> tokens: [<Char_OneChar '\\n'>] spids: [75 77] ) } spids: [74] ) ] spids: [68] ) (command.Case to_match: {($ VSub_DollarName '$cur')} arms: [ (case_arm pat_list: [{(-) (Lit_Other '*')}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[93]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(SQ <'$( _parse_help "$1" )'>)} {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [96 112] ) } ] ) } spids: [93] ) ] spids: [93] ) (command.AndOr ops: [Op_DAmp] children: [ (command.DBracket expr: (bool_expr.BoolBinary op_id: BoolBinary_GlobDEqual left: {($ VSub_DollarName '$COMPREPLY')} right: {(Lit_Other '*') (BoolBinary_GlobEqual '=')} ) ) (C {(compopt)} {(-o)} {(nospace)}) ] ) ] spids: [88 90 137 16777215] ) (case_arm pat_list: [{(Lit_Other '*')}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:config spids:[148]) op: Equal rhs: {(DQ (/etc/wvdial.conf)) (word_part.SingleQuotedPart left: <Left_DollarSingleQuote "$'"> tokens: [<Char_OneChar '\\n'>] spids: [152 154] ) (DQ ($ VSub_DollarName '$HOME') (/.wvdialrc)) } spids: [148] ) ] spids: [148] ) (command.ForExpr init: (arith_expr.BinaryAssign op_id: Arith_Equal left: (lhs_expr.LhsName name:i spids:[169]) 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:[181]) ) 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: [196 201] ) ) } right: {(DQ (--config))} ) ) terminator: <Op_Semi ';'> ) ] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:config spids:[216]) op: Equal rhs: { (word_part.BracedVarSub token: <VSub_Name words> bracket_op: (bracket_op.ArrayIndex expr: (arith_expr.ArithBinary op_id: Arith_Plus left: (arith_expr.ArithVarRef token: <Lit_ArithVarLike i> ) right: (arith_expr.ArithWord w: {(Lit_Digits 1)} ) ) ) spids: [217 224] ) } spids: [216] ) ] spids: [216] ) (command.ControlFlow token: <ControlFlow_Break break> ) ] spids: [16777215 213] ) ] spids: [16777215 230] ) ] spids: [188 233] ) ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[244]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (command.Pipeline children: [ (command.SimpleCommand words: [ {(sed)} {(-ne)} { (DQ ('s|^') (Lit_Other '\\') ('[Dialer ') (Lit_Other '\\') ('(') ($ VSub_DollarName '$cur') ('.*') (Lit_Other '\\') (')') (Lit_Other '\\') (']') (Lit_Other '$') ('|') (Lit_Other '\\') ('1|p') ) } {($ VSub_DollarName '$config')} ] redirects: [ (redir.Redir op: <Redir_Great '2>'> fd: 2 arg_word: {(/dev/null)} ) ] ) (C {(command)} {(grep)} {(-v)} {(SQ <'^Defaults$'>)}) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [247 289] ) } ] ) } spids: [244] ) ] spids: [244] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[297]) op: Equal rhs: { (word_part.BracedVarSub token: <VSub_Name COMPREPLY> suffix_op: (suffix_op.PatSub pat: {(' ')} replace: {(word_part.EscapedLiteralPart token:<Lit_EscapedChar '\\\\'>) (' ') } replace_mode: Lit_Slash spids: [300] ) spids: [298 306] ) } spids: [297] ) ] spids: [297] ) ] spids: [140 141 309 16777215] ) ] spids: [81 85 312] ) ] spids: [8] ) spids: [4 7] ) (C {(complete)} {(-F)} {(_wvdial)} {(wvdial)}) ] )