(CommandList children: [ (AndOr children: [ (FuncDef name: _info 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]) (assign_pair lhs:(LhsName name:split) op:Equal spids:[21]) ] spids: [11] ) (AndOr children: [ (C {(_init_completion)} {(-s)}) (ControlFlow token:<ControlFlow_Return return>) ] op_id: Op_DPipe ) (AndOr children: [ (C {(_expand)}) (ControlFlow token:<ControlFlow_Return return> arg_word:{(0)}) ] op_id: Op_DPipe ) (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: {(DQ ($ VSub_Name '$cur'))} right: {(ExtGlobPart op:<ExtGlob_At '@('> spids:[58 63]) (Lit_Other '*') } ) ) terminator: <Op_Semi ';'> ) ] action: [ (C {(_filedir)}) (ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [16777215 69] ) ] spids: [16777215 80] ) (Case to_match: {($ VSub_Name '$prev')} arms: [ (case_arm pat_list: [ {(-k)} {(--apropos)} {(--index-search)} {(-n)} {(--node)} {(-h)} {(--help)} {(-v)} {(--version)} ] action: [(ControlFlow token:<ControlFlow_Return return>)] spids: [91 108 114 16777215] ) (case_arm pat_list: [{(-d)}] action: [ (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: { (BracedVarSub token: <VSub_Number 1> suffix_op: (StringUnary op_id: VOp1_DPound arg_word: {('*') (Lit_Slash /)} ) spids: [125 130] ) } right: {(info)} ) ) terminator: <Op_Semi ';'> ) ] action: [ (C {(_filedir)} {(-d)}) (ControlFlow token: <ControlFlow_Return return> ) ] spids: [16777215 139] ) ] spids: [16777215 150] ) ] spids: [117 118 153 16777215] ) (case_arm pat_list: [{(--directory)}] action: [(C {(_filedir)} {(-d)}) (ControlFlow token:<ControlFlow_Return return>)] spids: [156 157 168 16777215] ) (case_arm pat_list: [ {(--dribble)} {(-f)} {(--file)} {(-o)} {(--output)} {(--restore)} {(-r)} {(--raw-filename)} {(--rcfile)} ] action: [(C {(_filedir)}) (ControlFlow token:<ControlFlow_Return return>)] spids: [171 188 197 16777215] ) ] spids: [84 88 200] ) (AndOr children: [ (C {($ VSub_Name '$split')}) (ControlFlow token:<ControlFlow_Return return>) ] op_id: Op_DAmp ) (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_help "$1" )'>)} {(--)} {(DQ ($ VSub_Name '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [232 248] ) } ] ) } spids: [229] ) ] spids: [229] ) (AndOr children: [ (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: {($ VSub_Name '$COMPREPLY')} right: {(Lit_Other '*') (BoolBinary_GlobEqual '=')} ) ) (C {(compopt)} {(-o)} {(nospace)}) ] op_id: Op_DAmp ) (ControlFlow token:<ControlFlow_Return return>) ] spids: [16777215 226] ) ] spids: [16777215 276] ) (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs:(LhsName name:i) op:Equal spids:[282]) (assign_pair lhs: (LhsName name:infopath) op: Equal rhs: {(/usr/share/info)} spids: [284] ) ] spids: [280] ) (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: {($ VSub_Name '$INFOPATH')} right: {(Lit_Other '*') (Lit_Other ':')} ) ) terminator: <Op_Semi ';'> ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:infopath) op: Equal rhs: {(${ VSub_Name INFOPATH) (${ VSub_Name infopath)} spids: [306] ) ] spids: [306] ) ] spids: [16777215 303] ) (if_arm cond: [ (Sentence child: (DBracket expr: (WordTest w: { (BracedVarSub token: <VSub_Name INFOPATH> suffix_op: (StringUnary op_id:VTest_ColonPlus arg_word:{(set)}) spids: [319 323] ) } ) ) terminator: <Op_Semi ';'> ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:infopath) op: Equal rhs: {($ VSub_Name '$INFOPATH')} spids: [331] ) ] spids: [331] ) ] spids: [315 328] ) ] spids: [16777215 335] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:infopath) op: Equal rhs: {($ VSub_Name '$infopath') (Lit_Other ':')} spids: [339] ) ] spids: [339] ) (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (BoolUnary op_id:BoolUnary_n child:{($ VSub_Name '$cur')}) ) terminator: <Op_Semi ';'> ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:infopath) op: Equal rhs: { (DQ (BracedVarSub token: <VSub_Name infopath> suffix_op: (PatSub pat: {(':')} replace: {(Lit_Slash /) ($ VSub_Name '$cur') ('* ')} do_all: True do_prefix: False do_suffix: False ) spids: [360 369] ) ) } spids: [358] ) ] spids: [358] ) ] spids: [16777215 355] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:infopath) op: Equal rhs: { (DQ (BracedVarSub token: <VSub_Name infopath> suffix_op: (PatSub pat: {(':')} replace: {(Lit_Slash /) (' ')} do_all: True do_prefix: False do_suffix: False ) spids: [378 386] ) ) } spids: [376] ) ] spids: [376] ) ] spids: [373 390] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:COMPREPLY) op: Equal rhs: { (ArrayLiteralPart words: [ { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [ {(eval)} {(command)} {(ls)} {(DQ ($ VSub_Name '$infopath'))} ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [413] ) ] ) ] ) left_token: <Left_CommandSub '$('> spids: [401 416] ) } ] ) } spids: [398] ) ] spids: [398] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:COMPREPLY) op: Equal rhs: { (ArrayLiteralPart words: [ { (BracedVarSub token: <VSub_Name COMPREPLY> bracket_op: (WholeArray op_id:Lit_At) suffix_op: (StringUnary op_id: VOp1_DPound arg_word: {('*') (Lit_Slash /) ('?(:)')} ) spids: [428 437] ) } ] ) } spids: [425] ) ] spids: [425] ) (ForExpr init: (BinaryAssign op_id: Arith_Equal left: (LhsName name:i) right: (ArithWord w:{(Lit_Digits 0)}) ) cond: (ArithBinary op_id: Arith_Less left: (ArithVarRef name:i) right: (ArithWord w: { (BracedVarSub token: <VSub_Name COMPREPLY> prefix_op: VSub_Pound bracket_op: (WholeArray op_id:Lit_At) spids: [460 466] ) } ) ) update: (UnaryAssign op_id:Arith_DPlus child:(LhsName name:i)) body: (DoGroup children: [ (AndOr children: [ (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: { (BracedVarSub token: <VSub_Name COMPREPLY> bracket_op: (ArrayIndex expr:(ArithWord w:{($ VSub_Name '$i')})) spids: [482 487] ) } right: {(dir)} ) ) (C {(unset)} {(DQ ('COMPREPLY[') ($ VSub_Name '$i') (']'))}) ] op_id: Op_DAmp ) ] spids: [477 506] ) ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:COMPREPLY) op: Equal rhs: { (ArrayLiteralPart words: [ { (BracedVarSub token: <VSub_Name COMPREPLY> bracket_op: (WholeArray op_id:Lit_At) suffix_op: (StringUnary op_id: VOp1_Percent arg_word: {('.@(gz|bz2|xz|lzma)')} ) spids: [516 523] ) } ] ) } spids: [513] ) ] spids: [513] ) (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 <'${COMPREPLY[@]%.*}'>)} {(--)} { (DQ (BracedVarSub token: <VSub_Name cur> suffix_op: (PatSub pat: { (EscapedLiteralPart token: <Lit_EscapedChar '\\\\'> ) (EscapedLiteralPart token:<Lit_EscapedChar '\\\\'>) } replace: {(SQ )} do_all: True do_prefix: False do_suffix: False ) spids: [544 551] ) ) } ) ] ) left_token: <Left_CommandSub '$('> spids: [531 554] ) } ] ) } spids: [528] ) ] spids: [528] ) (ControlFlow token:<ControlFlow_Return return> arg_word:{(0)}) ] spids: [8] ) spids: [4 7] ) (C {(complete)} {(-F)} {(_info)} {(info)} {(pinfo)}) ] op_id: Op_DAmp ) ] )