(CommandList children: [ (AndOr ops: [Op_DAmp] children: [ (FuncDef name: _sbopkg 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 ops: [Op_DPipe] children: [(C {(_init_completion)}) (ControlFlow token:<ControlFlow_Return return>)] ) (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: {(DQ ($ 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" -h )'>)} {(--)} {(DQ ($ VSub_Name '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [52 68] ) } ] ) } spids: [49] ) ] spids: [49] ) (AndOr ops: [Op_DAmp] children: [ (DBracket expr: (WordTest w:{($ VSub_Name '$COMPREPLY')}) ) (ControlFlow token: <ControlFlow_Return return> ) ] ) ] spids: [16777215 46] ) ] spids: [16777215 84] ) (Case to_match: {(DQ ($ VSub_Name '$prev'))} arms: [ (case_arm pat_list: [{(-e)}] 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 <'ask continue stop'>)} {(--)} {(DQ ($ VSub_Name '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [104 120] ) } ] ) } spids: [101] ) ] spids: [101] ) (ControlFlow token:<ControlFlow_Return return>) ] spids: [97 98 128 16777215] ) (case_arm pat_list: [{(-f)}] action: [(C {(_filedir)}) (ControlFlow token:<ControlFlow_Return return>)] spids: [131 132 141 16777215] ) (case_arm pat_list: [{(-d)}] action: [(C {(_filedir)} {(-d)}) (ControlFlow token:<ControlFlow_Return return>)] spids: [144 145 156 16777215] ) (case_arm pat_list: [{(-V)}] 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)} { (DQ ('?\n') (' ') (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (SimpleCommand words: [ {(sbopkg)} {(-V)} {(Lit_Other '?')} ] redirects: [ (Redir op_id: Redir_GreatAnd fd: 2 arg_word: {(1)} spids: [183] ) ] ) (C {(cut)} {(-s)} {(-f1)}) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [175 194] ) ) } {(--)} {(DQ ($ VSub_Name '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [166 203] ) } ] ) } spids: [163] ) ] spids: [163] ) (ControlFlow token:<ControlFlow_Return return>) ] spids: [159 160 211 16777215] ) (case_arm pat_list: [{(-i)} {(-b)}] spids: [214 217 220 16777215] ) (case_arm pat_list: [{(Lit_Other '*')}] action: [(ControlFlow token:<ControlFlow_Return return>)] spids: [223 224 230 16777215] ) ] spids: [88 94 233] ) (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs:(LhsName name:i) op:Equal spids:[239]) (assign_pair lhs:(LhsName name:config) op:Equal spids:[241]) ] spids: [237] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:config) op: Equal rhs: {(DQ (/etc/sbopkg/sbopkg.conf))} spids: [244] ) ] spids: [244] ) (ForExpr init: (BinaryAssign op_id: Arith_Equal left: (LhsName name:i) right: (ArithBinary op_id: Arith_Minus left: (ArithWord w: { (BracedVarSub token: <VSub_Name words> prefix_op: VSub_Pound bracket_op: (WholeArray op_id:Lit_At) spids: [256 262] ) } ) right: (ArithWord w:{(Lit_Digits 1)}) ) ) cond: (ArithBinary op_id: Arith_Great left: (ArithVarRef name:i) right: (ArithWord w:{(Lit_Digits 0)}) ) update: (UnaryAssign op_id:Node_PostDMinus child:(LhsName name:i)) body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: { (DQ (BracedVarSub token: <VSub_Name words> bracket_op: (ArrayIndex expr:(ArithVarRef name:i)) spids: [287 292] ) ) } right: {(BoolUnary_f -f)} ) ) terminator: <Op_Semi ';'> ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:config) op: Equal rhs: { (DQ (BracedVarSub token: <VSub_Name words> bracket_op: (ArrayIndex expr: (ArithBinary op_id: Arith_Plus left: (ArithVarRef name:i) right: (ArithWord w:{(Lit_Digits 1)}) ) ) spids: [307 314] ) ) } spids: [305] ) ] spids: [305] ) (C {(__expand_tilde_by_ref)} {(config)}) (ControlFlow token: <ControlFlow_Break break> ) ] spids: [16777215 302] ) ] spids: [16777215 326] ) ] spids: [279 329] ) ) (AndOr ops: [Op_DPipe] children: [ (DBracket expr: (BoolUnary op_id:BoolUnary_r child:{(DQ ($ VSub_Name '$config'))}) ) (ControlFlow token:<ControlFlow_Return return>) ] ) (C {(.)} {($ VSub_Name '$config')}) (ForExpr init: (BinaryAssign op_id: Arith_Equal left: (LhsName name:i) right: (ArithWord w:{(Lit_Digits 1)}) ) cond: (ArithBinary op_id: Arith_Less left: (ArithVarRef name:i) right: (ArithWord w: { (BracedVarSub token: <VSub_Name words> prefix_op: VSub_Pound bracket_op: (WholeArray op_id:Lit_At) spids: [365 371] ) } ) ) update: (UnaryAssign op_id:Node_PostDPlus child:(LhsName name:i)) body: (DoGroup children: [ (Case to_match: { (DQ (BracedVarSub token: <VSub_Name words> bracket_op: (ArrayIndex expr:(ArithVarRef name:i)) spids: [387 392] ) ) } arms: [ (case_arm pat_list: [{(-V)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:REPO_NAME) op: Equal rhs: { (DQ (BracedVarSub token: <VSub_Name words> bracket_op: (ArrayIndex expr: (ArithBinary op_id: Arith_Plus left: (ArithVarRef name:i) right: (ArithWord w:{(Lit_Digits 1)}) ) ) suffix_op: (StringUnary op_id: VOp1_DPercent arg_word: {(Lit_Slash /) ('*')} ) spids: [404 414] ) ) } spids: [402] ) ] spids: [402] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:REPO_BRANCH) op: Equal rhs: { (DQ (BracedVarSub token: <VSub_Name words> bracket_op: (ArrayIndex expr: (ArithBinary op_id: Arith_Plus left: (ArithVarRef name:i) right: (ArithWord w:{(Lit_Digits 1)}) ) ) suffix_op: (StringUnary op_id: VOp1_Pound arg_word: {('*') (Lit_Slash /)} ) spids: [420 430] ) ) } spids: [418] ) ] spids: [418] ) ] spids: [398 399 434 16777215] ) (case_arm pat_list: [{(-d)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:REPO_ROOT) op: Equal rhs: { (DQ (BracedVarSub token: <VSub_Name words> bracket_op: (ArrayIndex expr: (ArithBinary op_id: Arith_Plus left: (ArithVarRef name:i) right: (ArithWord w:{(Lit_Digits 1)}) ) ) spids: [443 450] ) ) } spids: [441] ) ] spids: [441] ) ] spids: [437 438 454 16777215] ) ] spids: [384 395 457] ) ] spids: [381 460] ) ) (AndOr ops: [Op_DPipe] children: [ (DBracket expr: (BoolUnary op_id: BoolUnary_r child: {($ VSub_Name '$REPO_ROOT') (/) ($ VSub_Name '$REPO_NAME') (/) ($ VSub_Name '$REPO_BRANCH') (/SLACKBUILDS.TXT) } ) ) (ControlFlow token:<ControlFlow_Return return>) ] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:COMPREPLY) op: Equal rhs: { (ArrayLiteralPart words: [ { (CommandSubPart command_list: (CommandList children: [ (C {(sed)} {(-ne)} { (DQ ('/^SLACKBUILD NAME: ') ($ VSub_Name '$cur') ('/{s/^SLACKBUILD NAME: //;p}') ) } {($ VSub_Name '$REPO_ROOT') (/) ($ VSub_Name '$REPO_NAME') (/) ($ VSub_Name '$REPO_BRANCH') (/SLACKBUILDS.TXT) } ) ] ) left_token: <Left_CommandSub '$('> spids: [485 505] ) } { (CommandSubPart command_list: (CommandList children: [ (Sentence child: (C {(cd)} {($ VSub_Name '$QUEUEDIR')}) terminator: <Op_Semi ';'> ) (C {(compgen)} {(-f)} {(-X)} {(DQ ('!*.sqf'))} {(--)} {(DQ ($ VSub_Name '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [508 531] ) } ] ) } spids: [482] ) ] spids: [482] ) ] spids: [8] ) spids: [4 7] ) (C {(complete)} {(-F)} {(_sbopkg)} {(sbopkg)}) ] ) ] )