(command.CommandList children: [ (command.FuncDef name: _cached_bugs body: (command.BraceGroup children: [ (command.AndOr ops: [Op_DAmp] children: [ (command.DBracket expr: (bool_expr.BoolUnary op_id: BoolUnary_d child: {($ VSub_DollarName '$HOME') (/.devscripts_cache/bts)} ) ) (command.Pipeline children: [ (C {(find)} {($ VSub_DollarName '$HOME') (/.devscripts_cache/bts)} {(-maxdepth)} {(1)} {(-name)} {(DQ ($ VSub_DollarName '$cur') ('[0-9]*.html'))} {(-printf)} {(DQ ('%f') (Lit_Other '\\') (n))} ) (C {(cut)} {(-d) (SQ <.>)} {(-f1)}) ] negated: F ) ] ) ] spids: [11] ) spids: [7 10] ) (command.FuncDef name: _src_packages_with_prefix body: (command.BraceGroup children: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:ppn spids:[75]) op: Equal rhs: { (word_part.BracedVarSub token: <VSub_Name cur> suffix_op: (suffix_op.Slice begin:(arith_expr.ArithWord w:{(Lit_Digits 4)})) spids: [76 80] ) } spids: [75] ) ] spids: [75] ) (C {(compgen)} {(-P)} {(DQ ('src:'))} {(-W)} {(SQ <'$( _xfunc apt-cache _apt_cache_sources "$ppn" )'>)} {(--)} {(DQ ($ VSub_DollarName '$ppn'))} ) ] spids: [72] ) spids: [68 71] ) (command.AndOr ops: [Op_DAmp] children: [ (command.FuncDef name: _bts body: (command.BraceGroup children: [ (command.Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:cur spids:[119]) op: Equal spids: [119] ) (assign_pair lhs: (lhs_expr.LhsName name:prev spids:[121]) op: Equal spids: [121] ) (assign_pair lhs: (lhs_expr.LhsName name:words spids:[123]) op: Equal spids: [123] ) (assign_pair lhs: (lhs_expr.LhsName name:cword spids:[125]) op: Equal spids: [125] ) (assign_pair lhs: (lhs_expr.LhsName name:split spids:[127]) op: Equal spids: [127] ) ] spids: [117] ) (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: [{(show)} {(bugs)}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[154]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ <'release-critical RC from: tag:\n'> <' usertag:'> ) } {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [157 174] ) } { (word_part.CommandSubPart command_list: (command.CommandList children: [(C {(_cached_bugs)})] ) left_token: <Left_CommandSub '$('> spids: [176 180] ) } { (word_part.CommandSubPart command_list: (command.CommandList children: [(C {(_src_packages_with_prefix)})] ) left_token: <Left_CommandSub '$('> spids: [182 186] ) } ] ) } spids: [154] ) ] spids: [154] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [148 151 196 16777215] ) (case_arm pat_list: [{(select)}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[203]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ < 'package: source: maintainer: submitter: severity: status: tag:\n' > <' owner: correspondent: affects: bugs: users: archive:'> ) } {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [206 223] ) } ] ) } spids: [203] ) ] spids: [203] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [199 200 233 16777215] ) (case_arm pat_list: [{(status)}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[240]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(SQ <'file: fields: verbose'>)} {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [243 259] ) } { (word_part.CommandSubPart command_list: (command.CommandList children: [(C {(_cached_bugs)})] ) left_token: <Left_CommandSub '$('> spids: [261 265] ) } ] ) } spids: [240] ) ] spids: [240] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [236 237 275 16777215] ) (case_arm pat_list: [{(block)} {(unblock)}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[284]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(SQ <'by with'>)} {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [287 303] ) } ] ) } spids: [284] ) ] spids: [284] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [278 281 313 16777215] ) (case_arm pat_list: [{(severity)}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[320]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ < 'wishlist minor normal important serious grave critical' > ) } {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [323 339] ) } ] ) } spids: [320] ) ] spids: [320] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [316 317 349 16777215] ) (case_arm pat_list: [{(limit)}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[356]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ < 'submitter date subject msgid package source tag severity owner\n' > <' affects archive'> ) } {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [359 376] ) } ] ) } spids: [356] ) ] spids: [356] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [352 353 386 16777215] ) (case_arm pat_list: [ {(clone)} {(KW_Done done)} {(reopen)} {(archive)} {(unarchive)} {(retitle)} {(summary)} {(submitter)} {(found)} {(notfound)} {(fixed)} {(notfixed)} {(merge)} {(forcemerge)} {(unmerge)} {(claim)} {(unclaim)} {(forwarded)} {(notforwarded)} {(owner)} {(noowner)} {(subscribe)} {(unsubscribe)} {(reportspam)} {(spamreport)} {(affects)} {(usertag)} {(usertags)} {(reassign)} {(tag)} {(tags)} ] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[461]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [(C {(_cached_bugs)})] ) left_token: <Left_CommandSub '$('> spids: [464 468] ) } ] ) } spids: [461] ) ] spids: [461] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [389 458 478 16777215] ) (case_arm pat_list: [{(package)}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[485]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(_xfunc)} {(apt-cache)} {(_apt_cache_packages)}) ] ) left_token: <Left_CommandSub '$('> spids: [488 496] ) } ] ) } spids: [485] ) ] spids: [485] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [481 482 506 16777215] ) (case_arm pat_list: [{(cache)}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[513]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(_xfunc)} {(apt-cache)} {(_apt_cache_packages)}) ] ) left_token: <Left_CommandSub '$('> spids: [516 524] ) } { (word_part.CommandSubPart command_list: (command.CommandList children: [(C {(_src_packages_with_prefix)})] ) left_token: <Left_CommandSub '$('> spids: [526 530] ) } { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(SQ <'from: release-critical RC'>)} {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [533 549] ) } ] ) } spids: [513] ) ] spids: [513] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [509 510 558 16777215] ) (case_arm pat_list: [{(cleancache)}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[565]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(_xfunc)} {(apt-cache)} {(_apt_cache_packages)}) ] ) left_token: <Left_CommandSub '$('> spids: [568 576] ) } { (word_part.CommandSubPart command_list: (command.CommandList children: [(C {(_src_packages_with_prefix)})] ) left_token: <Left_CommandSub '$('> spids: [578 582] ) } { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(SQ <'from: tag: usertag: ALL'>)} {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [585 601] ) } ] ) } spids: [565] ) ] spids: [565] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [561 562 610 16777215] ) (case_arm pat_list: [{(user)}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[621]) op: Equal rhs: {(word_part.ArrayLiteralPart)} spids: [621] ) ] spids: [621] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [613 614 632 16777215] ) (case_arm pat_list: [{(Lit_Other ':')}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:pos spids:[647]) op: Equal rhs: { (word_part.ArithSubPart anode: (arith_expr.ArithBinary op_id: Arith_Minus left: (arith_expr.ArithVarRef token: <Lit_ArithVarLike COMP_CWORD> ) right: (arith_expr.ArithWord w:{(Lit_Digits 2)}) ) spids: [648 655] ) } spids: [647] ) ] spids: [647] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.LogicalAnd left: (bool_expr.BoolBinary op_id: BoolBinary_gt left: {($ VSub_DollarName '$pos')} right: {(0)} ) right: (bool_expr.BoolBinary op_id: BoolBinary_GlobDEqual left: { (DQ (word_part.BracedVarSub token: <VSub_Name COMP_WORDS> bracket_op: (bracket_op.ArrayIndex expr: (arith_expr.ArithWord w: {($ VSub_DollarName '$pos')} ) ) spids: [671 676] ) ) } right: {(DQ (src))} ) ) ) terminator: <Op_Semi ';'> ) ] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[691]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(_xfunc)} {(apt-cache)} {(_apt_cache_src_packages)} ) ] ) left_token: <Left_CommandSub '$('> spids: [694 702] ) } ] ) } spids: [691] ) ] spids: [691] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [16777215 688] ) ] spids: [16777215 712] ) ] spids: [635 636 715 16777215] ) ] spids: [141 145 718] ) (command.AndOr ops: [Op_DAmp] children: [ (C {($ VSub_DollarName '$split')}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[733]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ <'--offline --online --no-offline\n'> < ' --no-action --cache --no-cache --cache-mode --cache-delay --mbox\n' > <' --mailreader --cc-addr --use-default-cc --no-use-default-cc\n'> < ' --sendmail --mutt --no-mutt --smtp-host --smtp-username\n' > <' --smtp-helo --bts-server --force-refresh --no-force-refresh\n'> < ' --only-new --include-resolved --no-include-resolved --no-ack --ack\n' > <' --interactive --force-interactive --no-interactive --quiet\n'> <' --no-conf --noconf\n'> <' show bugs select status clone done reopen archive unarchive retitle\n'> < ' summary submitter reassign found notfound fixed notfixed block unblock\n' > <' merge forcemerge unmerge tag tags affects user usertag usertags claim\n'> < ' unclaim severity forwarded notforwarded package limit owner noowner\n' > <' subscribe unsubscribe reportspam spamreport cache cleancache version\n'> <' help'> ) } {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [736 765] ) } ] ) } spids: [733] ) ] spids: [733] ) (command.ControlFlow token:<ControlFlow_Return return> arg_word:{(0)}) ] spids: [114] ) spids: [110 113] ) (C {(complete)} {(-F)} {(_bts)} {(bts)}) ] ) ] )