(command.CommandList children: [ (command.ShFunction name: _cached_bugs body: (BraceGroup children: [ (command.AndOr ops: [Id.Op_DAmp] children: [ (command.DBracket expr: (bool_expr.Unary op_id: Id.BoolUnary_d child: {($ Id.VSub_DollarName '$HOME') <'/.devscripts_cache/bts'>} ) ) (command.Pipeline children: [ (C {<find>} {($ Id.VSub_DollarName '$HOME') <'/.devscripts_cache/bts'>} {<-maxdepth>} {<1>} {<-name>} {(DQ ($ Id.VSub_DollarName '$cur') <'[0-9]*.html'>)} {<-printf>} {(DQ <'%f'> <Id.Lit_BadBackslash '\\'> <n>)} ) (C {<cut>} {<-d> (SQ <.>)} {<-f1>}) ] negated: F ) ] ) ] ) ) (command.ShFunction name: _src_packages_with_prefix body: (BraceGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:ppn) op: assign_op.Equal rhs: { (braced_var_sub token: <Id.VSub_Name cur> suffix_op: (suffix_op.Slice begin:{<Id.Lit_Digits 4>}) ) } spids: [75] ) ] ) (C {<compgen>} {<-P>} {(DQ <'src:'>)} {<-W>} {(SQ <'$( _xfunc apt-cache _apt_cache_sources "$ppn" )'>)} {<-->} {(DQ ($ Id.VSub_DollarName '$ppn'))} ) ] ) ) (command.AndOr ops: [Id.Op_DAmp] children: [ (command.ShFunction name: _bts body: (BraceGroup children: [ (C {<local>} {<cur>} {<prev>} {<words>} {<cword>} {<split>}) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<_init_completion>} {<-s>}) (command.ControlFlow token:<Id.ControlFlow_Return return>) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$prev')} arms: [ (case_arm pat_list: [{<show>} {<bugs>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: <Id.Op_LParen _> words: [ { (command_sub left_token: <Id.Left_DollarParen '$('> child: (C {<compgen>} {<-W>} { (SQ <'release-critical RC from: tag:\n'> <' usertag:'> ) } {<-->} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ) } { (command_sub left_token: <Id.Left_DollarParen '$('> child: (C {<_cached_bugs>}) ) } { (command_sub left_token: <Id.Left_DollarParen '$('> child: (C {<_src_packages_with_prefix>}) ) } ] ) } spids: [154] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Return return> arg_word: {<0>} ) ] spids: [148 151 196 -1] ) (case_arm pat_list: [{<select>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: <Id.Op_LParen _> words: [ { (command_sub left_token: <Id.Left_DollarParen '$('> child: (C {<compgen>} {<-W>} { (SQ < 'package: source: maintainer: submitter: severity: status: tag:\n' > <' owner: correspondent: affects: bugs: users: archive:'> ) } {<-->} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ) } ] ) } spids: [203] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Return return> arg_word: {<0>} ) ] spids: [199 200 233 -1] ) (case_arm pat_list: [{<status>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: <Id.Op_LParen _> words: [ { (command_sub left_token: <Id.Left_DollarParen '$('> child: (C {<compgen>} {<-W>} {(SQ <'file: fields: verbose'>)} {<-->} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ) } { (command_sub left_token: <Id.Left_DollarParen '$('> child: (C {<_cached_bugs>}) ) } ] ) } spids: [240] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Return return> arg_word: {<0>} ) ] spids: [236 237 275 -1] ) (case_arm pat_list: [{<block>} {<unblock>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: <Id.Op_LParen _> words: [ { (command_sub left_token: <Id.Left_DollarParen '$('> child: (C {<compgen>} {<-W>} {(SQ <'by with'>)} {<-->} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ) } ] ) } spids: [284] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Return return> arg_word: {<0>} ) ] spids: [278 281 313 -1] ) (case_arm pat_list: [{<severity>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: <Id.Op_LParen _> words: [ { (command_sub left_token: <Id.Left_DollarParen '$('> child: (C {<compgen>} {<-W>} { (SQ < 'wishlist minor normal important serious grave critical' > ) } {<-->} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ) } ] ) } spids: [320] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Return return> arg_word: {<0>} ) ] spids: [316 317 349 -1] ) (case_arm pat_list: [{<limit>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: <Id.Op_LParen _> words: [ { (command_sub left_token: <Id.Left_DollarParen '$('> child: (C {<compgen>} {<-W>} { (SQ < 'submitter date subject msgid package source tag severity owner\n' > <' affects archive'> ) } {<-->} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ) } ] ) } spids: [356] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Return return> arg_word: {<0>} ) ] spids: [352 353 386 -1] ) (case_arm pat_list: [ {<clone>} {<Id.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.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: <Id.Op_LParen _> words: [ { (command_sub left_token: <Id.Left_DollarParen '$('> child: (C {<_cached_bugs>}) ) } ] ) } spids: [461] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Return return> arg_word: {<0>} ) ] spids: [389 458 478 -1] ) (case_arm pat_list: [{<package>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: <Id.Op_LParen _> words: [ { (command_sub left_token: <Id.Left_DollarParen '$('> child: (C {<_xfunc>} {<apt-cache>} {<_apt_cache_packages>}) ) } ] ) } spids: [485] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Return return> arg_word: {<0>} ) ] spids: [481 482 506 -1] ) (case_arm pat_list: [{<cache>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: <Id.Op_LParen _> words: [ { (command_sub left_token: <Id.Left_DollarParen '$('> child: (C {<_xfunc>} {<apt-cache>} {<_apt_cache_packages>}) ) } { (command_sub left_token: <Id.Left_DollarParen '$('> child: (C {<_src_packages_with_prefix>}) ) } { (command_sub left_token: <Id.Left_DollarParen '$('> child: (C {<compgen>} {<-W>} {(SQ <'from: release-critical RC'>)} {<-->} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ) } ] ) } spids: [513] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Return return> arg_word: {<0>} ) ] spids: [509 510 558 -1] ) (case_arm pat_list: [{<cleancache>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: <Id.Op_LParen _> words: [ { (command_sub left_token: <Id.Left_DollarParen '$('> child: (C {<_xfunc>} {<apt-cache>} {<_apt_cache_packages>}) ) } { (command_sub left_token: <Id.Left_DollarParen '$('> child: (C {<_src_packages_with_prefix>}) ) } { (command_sub left_token: <Id.Left_DollarParen '$('> child: (C {<compgen>} {<-W>} {(SQ <'from: tag: usertag: ALL'>)} {<-->} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ) } ] ) } spids: [565] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Return return> arg_word: {<0>} ) ] spids: [561 562 610 -1] ) (case_arm pat_list: [{<user>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: {(sh_array_literal left:<Id.Op_LParen _>)} spids: [621] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Return return> arg_word: {<0>} ) ] spids: [613 614 632 -1] ) (case_arm pat_list: [{<Id.Lit_Colon ':'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:pos) op: assign_op.Equal rhs: { (word_part.ArithSub anode: (arith_expr.Binary op_id: Id.Arith_Minus left: <Id.Lit_ArithVarLike COMP_CWORD> right: {<Id.Lit_Digits 2>} ) ) } spids: [647] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.DBracket expr: (bool_expr.LogicalAnd left: (bool_expr.Binary op_id: Id.BoolBinary_gt left: {($ Id.VSub_DollarName '$pos')} right: {<0>} ) right: (bool_expr.Binary op_id: Id.BoolBinary_GlobDEqual left: { (DQ (braced_var_sub token: <Id.VSub_Name COMP_WORDS> bracket_op: (bracket_op.ArrayIndex expr: {($ Id.VSub_DollarName '$pos')} ) ) ) } right: {(DQ <src>)} ) ) ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: <Id.Op_LParen _> words: [ { (command_sub left_token: <Id.Left_DollarParen '$('> child: (C {<_xfunc>} {<apt-cache>} {<_apt_cache_src_packages>} ) ) } ] ) } spids: [691] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Return return> arg_word: {<0>} ) ] spids: [658 688] ) ] ) ] spids: [635 636 715 -1] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {($ Id.VSub_DollarName '$split')}) (command.ControlFlow token: <Id.ControlFlow_Return return> arg_word: {<0>} ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: <Id.Op_LParen _> words: [ { (command_sub left_token: <Id.Left_DollarParen '$('> child: (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 ($ Id.VSub_DollarName '$cur'))} ) ) } ] ) } spids: [733] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Return return> arg_word: {<0>} ) ] ) ) (C {<complete>} {<-F>} {<_bts>} {<bts>}) ] ) ] )