(CommandList children: [ (FuncDef name: _rpm_installed_packages body: (BraceGroup children: [ (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (LogicalAnd left: (BoolUnary op_id:BoolUnary_r child:{(/var/log/rpmpkgs)}) right: (BoolBinary op_id: BoolBinary_nt left: {(/var/log/rpmpkgs)} right: {(/var/lib/rpm/Packages)} ) ) ) 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)} { (DQ (CommandSubPart command_list: (CommandList children: [ (C {(sed)} {(-ne)} { (SQ < 's|^\\([^[:space:]]\\{1,\\}\\)-[^[:space:]-]\\{1,\\}-[^[:space:]-]\\{1,\\}\\.rpm$|\\1|p' > ) } {(/var/log/rpmpkgs)} ) ] ) left_token: <Left_CommandSub '$('> spids: [53 69] ) ) } {(--)} {(DQ ($ VSub_Name '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [46 78] ) } ] ) } spids: [43] ) ] spids: [43] ) ] spids: [16777215 36] ) (if_arm cond: [ (Sentence child: (SimpleCommand words: [{(type)} {(rpmqpack)}] redirects: [ (Redir op: <Redir_AndGreat '&>'> fd: 16777215 arg_word: {(/dev/null)} ) ] ) 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 <'$( rpmqpack )'>)} {(--)} {(DQ ($ VSub_Name '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [104 120] ) } ] ) } spids: [101] ) ] spids: [101] ) ] spids: [83 94] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:COMPREPLY) op: Equal rhs: { (ArrayLiteralPart words: [ { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [ { (BracedVarSub token: <VSub_Number 1> suffix_op: (StringUnary op_id: VTest_ColonHyphen arg_word: {(rpm)} ) spids: [133 137] ) } {(-qa)} {(--nodigest)} {(--nosignature)} {(--queryformat) (Lit_Other '=') (SQ <'%{NAME} '>)} {(DQ ($ VSub_Name '$cur') ('*'))} ] redirects: [ (Redir op: <Redir_Great '2>'> fd: 2 arg_word: {(/dev/null)} ) ] ) ] ) left_token: <Left_CommandSub '$('> spids: [131 161] ) } ] ) } spids: [128] ) ] spids: [128] ) ] spids: [125 166] ) ] spids: [12] ) spids: [8 11] ) (FuncDef name: _rpm_groups body: (BraceGroup children: [ (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (LhsName name:IFS) op: Equal rhs: { (SingleQuotedPart left: <Left_DollarSingleQuote "$'"> tokens: [<Char_OneChar '\\n'>] spids: [181 183] ) } spids: [180] ) ] spids: [178] ) (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 (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [ { (BracedVarSub token: <VSub_Number 1> suffix_op: (StringUnary op_id: VTest_ColonHyphen arg_word: {(rpm)} ) spids: [198 202] ) } {(-qa)} {(--nodigest)} {(--nosignature)} {(--queryformat) (Lit_Other '=') (SQ <'%{GROUP}\\n'>) } ] redirects: [ (Redir op: <Redir_Great '2>'> fd: 2 arg_word: {(/dev/null)} ) ] ) ] ) left_token: <Left_CommandSub '$('> spids: [196 221] ) ) } {(--)} {(DQ ($ VSub_Name '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [189 230] ) } ] ) } spids: [186] ) ] spids: [186] ) ] spids: [175] ) spids: [171 174] ) (FuncDef name: _rpm_macros body: (BraceGroup children: [ (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 (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C { (BracedVarSub token: <VSub_Number 1> suffix_op: (StringUnary op_id: VTest_ColonHyphen arg_word: {(rpm)} ) spids: [260 264] ) } {(--showrc)} ) (C {(sed)} {(-ne)} { (SQ < 's/^-\\{0,1\\}[0-9]\\{1,\\}[:=][[:space:]]\\{1,\\}\\([^[:space:](]\\{3,\\}\\).*/%\\1/p' > ) } ) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [258 280] ) ) } {(--)} {(DQ ($ VSub_Name '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [251 291] ) } ] ) } spids: [248] ) ] spids: [248] ) ] spids: [241] ) spids: [237 240] ) (FuncDef name: _rpm_buildarchs body: (BraceGroup children: [ (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 (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C { (BracedVarSub token: <VSub_Number 1> suffix_op: (StringUnary op_id: VTest_ColonHyphen arg_word: {(rpm)} ) spids: [317 321] ) } {(--showrc)} ) (C {(sed)} {(-ne)} { (SQ < 's/^\\s*compatible\\s\\s*build\\s\\s*archs\\s*:\\s*\\(.*\\)/\\1/ p' > ) } ) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [315 337] ) ) } {(--)} {(DQ ($ VSub_Name '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [308 348] ) } ] ) } spids: [305] ) ] spids: [305] ) ] spids: [302] ) spids: [298 301] ) (AndOr ops: [Op_DAmp] children: [ (FuncDef name: _rpm body: (BraceGroup children: [ (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs:(LhsName name:cur) op:Equal spids:[370]) (assign_pair lhs:(LhsName name:prev) op:Equal spids:[372]) (assign_pair lhs:(LhsName name:words) op:Equal spids:[374]) (assign_pair lhs:(LhsName name:cword) op:Equal spids:[376]) (assign_pair lhs:(LhsName name:split) op:Equal spids:[378]) ] spids: [368] ) (AndOr ops: [Op_DPipe] children: [ (C {(_init_completion)} {(-s)}) (ControlFlow token:<ControlFlow_Return return>) ] ) (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_eq left: {($ VSub_Name '$cword')} right: {(1)} ) ) terminator: <Op_Semi ';'> ) ] action: [ (Case to_match: {($ VSub_Name '$cur')} arms: [ (case_arm pat_list: [{(--) (Lit_Other '*')}] 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 <'--help --version --initdb\n'> < ' --checksig --addsign --delsign --rebuilddb --showrc\n' > <' --setperms --setugids --eval --install --upgrade --query\n'> < ' --freshen --erase --verify --querytags --import' > ) } {(--)} {(DQ ($ VSub_Name '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [426 447] ) } ] ) } spids: [423] ) ] spids: [423] ) ] spids: [418 420 452 16777215] ) (case_arm pat_list: [{(Lit_Other '*')}] 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 <'-e -E -F -i -q -t -U -V'>)} {(--)} {(DQ ($ VSub_Name '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [462 480] ) } ] ) } spids: [459] ) ] spids: [459] ) ] spids: [455 456 485 16777215] ) ] spids: [411 415 488] ) (ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [16777215 404] ) ] spids: [16777215 496] ) (Case to_match: {($ VSub_Name '$prev')} arms: [ (case_arm pat_list: [ {(--dbpath)} {(--excludepath)} {(--prefix)} {(--relocate)} {(--root)} {(-r)} ] action: [ (C {(_filedir)} {(-d)}) (ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [507 518 531 16777215] ) (case_arm pat_list: [{(--eval)} {(-E)}] action: [ (C {(_rpm_macros)} {($ VSub_Number '$1')}) (ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [534 537 550 16777215] ) (case_arm pat_list: [{(--pipe)}] action: [ (C {(compopt)} {(-o)} {(filenames)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:COMPREPLY) op: Equal rhs: { (ArrayLiteralPart words: [ { (CommandSubPart command_list: (CommandList children: [ (C {(compgen)} {(-c)} {(--)} {(DQ ($ VSub_Name '$cur'))}) ] ) left_token: <Left_CommandSub '$('> spids: [567 579] ) } ] ) } spids: [564] ) ] spids: [564] ) (ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [553 554 589 16777215] ) (case_arm pat_list: [{(--rcfile)}] action: [ (C {(_filedir)}) (ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [592 593 604 16777215] ) (case_arm pat_list: [{(--specfile)}] action: [ (C {(_filedir)} {(spec)}) (ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [607 608 625 16777215] ) (case_arm pat_list: [ {(--whatenchances)} {(--whatprovides)} {(--whatrecommends)} {(--whatrequires)} {(--whatsuggests)} {(--whatsupplements)} ] action: [ (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: {(DQ ($ VSub_Name '$cur'))} right: {(Lit_Other '*') (/) (Lit_Other '*')} ) ) terminator: <Op_Semi ';'> ) ] action: [(C {(_filedir)})] spids: [16777215 661] ) ] else_action: [ (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (LhsName name:IFS) op: Equal rhs: { (SingleQuotedPart left: <Left_DollarSingleQuote "$'"> tokens: [<Char_OneChar '\\n'>] spids: [677 679] ) } spids: [676] ) (assign_pair lhs: (LhsName name:fmt) op: Equal spids: [681] ) ] spids: [674] ) (Case to_match: {($ VSub_Name '$prev')} arms: [ (case_arm pat_list: [{(Lit_Other '*') (enhances)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:fmt) op: Equal rhs: {(ENHANCENAME)} spids: [695] ) ] spids: [695] ) ] spids: [691 693 698 16777215] ) (case_arm pat_list: [{(Lit_Other '*') (provides)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:fmt) op: Equal rhs: {(PROVIDENAME)} spids: [705] ) ] spids: [705] ) ] spids: [701 703 708 16777215] ) (case_arm pat_list: [{(Lit_Other '*') (recommends)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:fmt) op: Equal rhs: {(RECOMMENDNAME)} spids: [715] ) ] spids: [715] ) ] spids: [711 713 718 16777215] ) (case_arm pat_list: [{(Lit_Other '*') (requires)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:fmt) op: Equal rhs: {(REQUIRENAME)} spids: [725] ) ] spids: [725] ) ] spids: [721 723 728 16777215] ) (case_arm pat_list: [{(Lit_Other '*') (suggests)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:fmt) op: Equal rhs: {(SUGGESTNAME)} spids: [735] ) ] spids: [735] ) ] spids: [731 733 738 16777215] ) (case_arm pat_list: [{(Lit_Other '*') (supplements)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:fmt) op: Equal rhs: {(SUPPLEMENTNAME)} spids: [745] ) ] spids: [745] ) ] spids: [741 743 748 16777215] ) ] spids: [684 688 751] ) (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 (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (SimpleCommand words: [ {($ VSub_Number '$1')} {(-qa)} {(--nodigest)} {(--nosignature)} {(--queryformat) (Lit_Other '=') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) (Lit_Other '%') (Lit_LBrace '{') ($ VSub_Name '$fmt') (Lit_RBrace '}') (EscapedLiteralPart token:<Lit_EscapedChar '\\\\'>) (n) (EscapedLiteralPart token: <Lit_EscapedChar '\\"' > ) } ] redirects: [ (Redir op: <Redir_Great '2>'> fd: 2 arg_word: {(/dev/null)} ) ] ) (C {(command)} {(grep)} {(-vF)} {(SQ <'(none)'>)} ) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [764 803] ) ) } {(--)} {(DQ ($ VSub_Name '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [757 812] ) } ] ) } spids: [754] ) ] spids: [754] ) ] spids: [667 817] ) (ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [628 641 825 16777215] ) (case_arm pat_list: [{(--define)} {(-D)} {(--fileid)} {(--hdrid)} {(--pkgid)}] action: [(ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})] spids: [828 837 849 16777215] ) ] spids: [500 504 852] ) (AndOr ops: [Op_DAmp] children: [ (C {($ VSub_Name '$split')}) (ControlFlow token:<ControlFlow_Return return> arg_word:{(0)}) ] ) (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (LhsName name:opts) op: Equal rhs: { (DQ ('--define= --eval= --macros= --nodigest --nosignature --rcfile=\n') (' --quiet --pipe --verbose') ) } spids: [872] ) ] spids: [870] ) (Case to_match: { (BracedVarSub token: <VSub_Name words> bracket_op: (ArrayIndex expr:(ArithWord w:{(Lit_Digits 1)})) spids: [882 887] ) } arms: [ (case_arm pat_list: [ {(-) (Lit_Other '[') (iFU) (Lit_Other ']') (Lit_Other '*')} {(--install)} {(--freshen)} {(--upgrade)} ] action: [ (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)} { (DQ ($ VSub_Name '$opts') (' --percent --force --test\n') (' --replacepkgs --replacefiles --root --excludedocs --includedocs\n') ( ' --noscripts --ignorearch --dbpath --prefix= --ignoreos --nodeps\n' ) (' --allfiles --ftpproxy --ftpport --justdb --httpproxy --httpport\n') ( ' --noorder --relocate= --badreloc --notriggers --excludepath=\n' ) (' --ignoresize --oldpackage --queryformat --repackage\n') (' --nosuggests') ) } {(--)} {(DQ ($ VSub_Name '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [928 951] ) } ] ) } spids: [925] ) ] spids: [925] ) ] spids: [16777215 922] ) ] else_action: [(C {(_filedir)} {(SQ <'[rs]pm'>)})] spids: [956 966] ) ] spids: [892 903 969 16777215] ) (case_arm pat_list: [{(-e)} {(--erase)}] action: [ (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)} { (DQ ($ VSub_Name '$opts') (' --allmatches --noscripts\n') (' --notriggers --nodeps --test --repackage') ) } {(--)} {(DQ ($ VSub_Name '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [1000 1018] ) } ] ) } spids: [997] ) ] spids: [997] ) ] spids: [16777215 994] ) ] else_action: [(C {(_rpm_installed_packages)} {($ VSub_Number '$1')})] spids: [1023 1031] ) ] spids: [972 975 1034 16777215] ) (case_arm pat_list: [{(-q) (Lit_Other '*')} {(--query)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:opts) op: PlusEqual rhs: { (DQ (' --changelog --configfiles --conflicts --docfiles --dump\n') ( ' --enhances --filesbypkg --filecaps --fileclass --filecolor\n' ) (' --fileprovide --filerequire --filesbypkg --info --list\n') ( ' --obsoletes --pipe --provides --queryformat= --requires\n' ) (' --scripts --suggests --triggers --xml --recommends\n') (' --supplements') ) } spids: [1048] ) ] spids: [1048] ) (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: { (BracedVarSub token: <VSub_Name words> bracket_op: (WholeArray op_id:Lit_At) spids: [1064 1069] ) } right: {(Lit_Other '*') (EscapedLiteralPart token: <Lit_EscapedChar '\\ '> ) (-) (ExtGlobPart op:<ExtGlob_At '@('> spids:[1076 1083]) (Lit_Other '*') } ) ) terminator: <Op_Semi ';'> ) ] action: [ (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)} { (DQ ($ VSub_Name '$opts') (' --dbpath --fscontext\n') (' --last --root --state') ) } {(--)} {(DQ ($ VSub_Name '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [1118 1136] ) } ] ) } spids: [1115] ) ] spids: [1115] ) ] spids: [16777215 1112] ) ] else_action: [(C {(_filedir)})] spids: [1141 1147] ) ] spids: [16777215 1089] ) (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: { (BracedVarSub token: <VSub_Name words> bracket_op: (WholeArray op_id:Lit_At) spids: [1154 1159] ) } right: {(Lit_Other '*') (EscapedLiteralPart token: <Lit_EscapedChar '\\ '> ) (-) (ExtGlobPart op:<ExtGlob_At '@('> spids:[1166 1173]) (Lit_Other '*') } ) ) terminator: <Op_Semi ';'> ) ] action: [(C {(_rpm_groups)} {($ VSub_Number '$1')})] spids: [1150 1179] ) (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: { (BracedVarSub token: <VSub_Name words> bracket_op: (WholeArray op_id:Lit_At) spids: [1195 1200] ) } right: {(Lit_Other '*') (EscapedLiteralPart token: <Lit_EscapedChar '\\ '> ) (-) (ExtGlobPart op:<ExtGlob_At '@('> spids:[1207 1214]) (Lit_Other '*') } ) ) terminator: <Op_Semi ';'> ) ] action: [ (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)} { (DQ ($ VSub_Name '$opts') (' --ftpport --ftpproxy\n') (' --httpport --httpproxy --nomanifest') ) } {(--)} {(DQ ($ VSub_Name '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [1249 1267] ) } ] ) } spids: [1246] ) ] spids: [1246] ) ] spids: [16777215 1243] ) ] else_action: [(C {(_filedir)} {(SQ <'[rs]pm'>)})] spids: [1272 1282] ) ] spids: [1191 1220] ) ] else_action: [ (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)} { (DQ ($ VSub_Name '$opts') (' --all --file --fileid\n') (' --dbpath --fscontext --ftswalk --group --hdrid --last\n') ( ' --package --pkgid --root= --specfile --state\n' ) (' --triggeredby --whatenhances --whatprovides\n') ( ' --whatrecommends --whatrequires --whatsuggests\n' ) (' --whatsupplements') ) } {(--)} {(DQ ($ VSub_Name '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [1314 1338] ) } ] ) } spids: [1311] ) ] spids: [1311] ) ] spids: [16777215 1308] ) (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobNEqual left: { (BracedVarSub token: <VSub_Name words> bracket_op: (WholeArray op_id:Lit_At) spids: [1347 1352] ) } right: {(Lit_Other '*') (EscapedLiteralPart token: <Lit_EscapedChar '\\ '> ) (-) (ExtGlobPart op:<ExtGlob_At '@('> spids:[1359 1366]) (Lit_Other '*') } ) ) terminator: <Op_Semi ';'> ) ] action: [(C {(_rpm_installed_packages)} {($ VSub_Number '$1')})] spids: [1343 1372] ) ] spids: [16777215 1380] ) ] spids: [1285 1383] ) ] spids: [1037 1041 1386 16777215] ) (case_arm pat_list: [{(-K) (Lit_Other '*')} {(--checksig)}] action: [ (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)} { (DQ ($ VSub_Name '$opts') (' --nopgp --nogpg --nomd5') ) } {(--)} {(DQ ($ VSub_Name '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [1418 1437] ) } ] ) } spids: [1415] ) ] spids: [1415] ) ] spids: [16777215 1412] ) ] else_action: [(C {(_filedir)} {(SQ <'[rs]pm'>)})] spids: [1442 1452] ) ] spids: [1389 1393 1455 16777215] ) (case_arm pat_list: [ {(-) (Lit_Other '[') (Vy) (Lit_Other ']') (Lit_Other '*')} {(--verify)} ] action: [ (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)} { (DQ ($ VSub_Name '$opts') (' --root= --dbpath --nodeps\n') (' --nogroup --nolinkto --nomode --nomtime --nordev --nouser\n') ( ' --nofiles --noscripts --nomd5 --querytags --specfile\n' ) (' --whatenhances --whatprovides --whatrecommends\n') ( ' --whatrequires --whatsuggests --whatsupplements' ) ) } {(--)} {(DQ ($ VSub_Name '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [1490 1513] ) } ] ) } spids: [1487] ) ] spids: [1487] ) ] spids: [16777215 1484] ) (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: { (BracedVarSub token: <VSub_Name words> bracket_op: (WholeArray op_id:Lit_At) spids: [1526 1531] ) } right: {(Lit_Other '*') (EscapedLiteralPart token: <Lit_EscapedChar '\\ '> ) (-) (ExtGlobPart op:<ExtGlob_At '@('> spids:[1538 1545]) (Lit_Other '*') } ) ) terminator: <Op_Semi ';'> ) ] action: [(C {(_filedir)})] spids: [1522 1551] ) (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: { (BracedVarSub token: <VSub_Name words> bracket_op: (WholeArray op_id:Lit_At) spids: [1561 1566] ) } right: {(Lit_Other '*') (EscapedLiteralPart token: <Lit_EscapedChar '\\ '> ) (-) (ExtGlobPart op:<ExtGlob_At '@('> spids:[1573 1580]) (Lit_Other '*') } ) ) terminator: <Op_Semi ';'> ) ] action: [(C {(_rpm_groups)} {($ VSub_Number '$1')})] spids: [1557 1586] ) (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: { (BracedVarSub token: <VSub_Name words> bracket_op: (WholeArray op_id:Lit_At) spids: [1598 1603] ) } right: {(Lit_Other '*') (EscapedLiteralPart token: <Lit_EscapedChar '\\ '> ) (-) (ExtGlobPart op:<ExtGlob_At '@('> spids:[1610 1617]) (Lit_Other '*') } ) ) terminator: <Op_Semi ';'> ) ] action: [(C {(_filedir)} {(SQ <'[rs]pm'>)})] spids: [1594 1623] ) ] else_action: [(C {(_rpm_installed_packages)} {($ VSub_Number '$1')})] spids: [1633 1641] ) ] spids: [1458 1465 1644 16777215] ) (case_arm pat_list: [{(--resign)} {(--addsign)} {(--delsign)}] action: [(C {(_filedir)} {(SQ <'[rs]pm'>)})] spids: [1647 1652 1662 16777215] ) (case_arm pat_list: [{(--setperms)} {(--setgids)}] action: [(C {(_rpm_installed_packages)} {($ VSub_Number '$1')})] spids: [1665 1668 1676 16777215] ) (case_arm pat_list: [{(--import)} {(--dbpath)} {(--root)}] action: [ (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 <'--import --dbpath --root='>)} {(--)} {(DQ ($ VSub_Name '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [1709 1727] ) } ] ) } spids: [1706] ) ] spids: [1706] ) ] spids: [16777215 1703] ) ] else_action: [(C {(_filedir)})] spids: [1732 1738] ) ] spids: [1679 1684 1741 16777215] ) ] spids: [880 889 1744] ) (AndOr ops: [Op_DAmp] children: [ (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: {($ VSub_Name '$COMPREPLY')} right: {(Lit_Other '*') (BoolBinary_GlobEqual '=')} ) ) (C {(compopt)} {(-o)} {(nospace)}) ] ) (ControlFlow token:<ControlFlow_Return return> arg_word:{(0)}) ] spids: [365] ) spids: [361 364] ) (C {(complete)} {(-F)} {(_rpm)} {(rpm)}) ] ) (AndOr ops: [Op_DAmp] children: [ (FuncDef name: _rpmbuild body: (BraceGroup children: [ (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs:(LhsName name:cur) op:Equal spids:[1794]) (assign_pair lhs:(LhsName name:prev) op:Equal spids:[1796]) (assign_pair lhs:(LhsName name:words) op:Equal spids:[1798]) (assign_pair lhs:(LhsName name:cword) op:Equal spids:[1800]) (assign_pair lhs:(LhsName name:split) op:Equal spids:[1802]) ] spids: [1792] ) (AndOr ops: [Op_DPipe] children: [ (C {(_init_completion)} {(-s)}) (ControlFlow token:<ControlFlow_Return return>) ] ) (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (LhsName name:rpm) op: Equal rhs: { (DQ (BracedVarSub token: <VSub_Number 1> suffix_op: (StringUnary op_id:VOp1_Percent arg_word:{('build*')}) spids: [1819 1823] ) ) } spids: [1817] ) ] spids: [1815] ) (AndOr ops: [Op_DPipe Op_DAmp] children: [ (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: {($ VSub_Name '$rpm')} right: {($ VSub_Number '$1')} ) ) (Pipeline children: [ (SimpleCommand words: [{(type)} {($ VSub_Name '$rpm')}] redirects: [ (Redir op: <Redir_AndGreat '&>'> fd: 16777215 arg_word: {(/dev/null)} ) ] ) ] negated: T ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:rpm) op: Equal rhs: {(EmptyPart)} spids: [1850] ) ] spids: [1850] ) ] ) (Case to_match: {($ VSub_Name '$prev')} arms: [ (case_arm pat_list: [{(--buildroot)} {(--root)} {(-r)} {(--dbpath)}] action: [ (C {(_filedir)} {(-d)}) (ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [1861 1868 1881 16777215] ) (case_arm pat_list: [{(--target)}] action: [ (C {(_rpm_buildarchs)}) (ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [1884 1885 1896 16777215] ) (case_arm pat_list: [{(--eval)} {(-E)}] action: [ (C {(_rpm_macros)} {($ VSub_Name '$rpm')}) (ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [1899 1902 1915 16777215] ) (case_arm pat_list: [{(--macros)} {(--rcfile)}] action: [ (C {(_filedir)}) (ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [1918 1921 1932 16777215] ) (case_arm pat_list: [{(--buildpolicy)}] action: [ (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (LhsName name:cfgdir) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [ {($ VSub_Name '$rpm')} {(--eval)} {(SQ <'%{_rpmconfigdir}'>)} ] redirects: [ (Redir op: <Redir_Great '2>'> fd: 2 arg_word: {(/dev/null)} ) ] ) ] ) left_token: <Left_CommandSub '$('> spids: [1942 1955] ) } spids: [1941] ) ] spids: [1939] ) (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr:(WordTest w:{($ VSub_Name '$cfgdir')})) 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)} { (DQ (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (SimpleCommand words: [ {(command)} {(ls)} { ($ VSub_Name '$cfgdir' ) } ] redirects: [ (Redir op: <Redir_Great '2>'> fd: 2 arg_word: {(/dev/null)} ) ] ) (C {(sed)} {(-ne)} {(SQ <'s/^brp-//p'>)} ) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [1980 2003] ) ) } {(--)} {(DQ ($ VSub_Name '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [1973 2012] ) } ] ) } spids: [1970] ) ] spids: [1970] ) ] spids: [16777215 1967] ) ] spids: [16777215 2017] ) ] spids: [1935 1936 2020 16777215] ) (case_arm pat_list: [{(--define)} {(-D)} {(--with)} {(--without)}] action: [(ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})] spids: [2023 2030 2038 16777215] ) ] spids: [1854 1858 2041] ) (AndOr ops: [Op_DAmp] children: [ (C {($ VSub_Name '$split')}) (ControlFlow token:<ControlFlow_Return return> arg_word:{(0)}) ] ) (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)} { (DQ (CommandSubPart command_list: (CommandList children: [ (C {(_parse_help)} {(DQ ($ VSub_Number '$1'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [2082 2090] ) ) } {(--)} {(DQ ($ VSub_Name '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [2075 2099] ) } ] ) } spids: [2072] ) ] spids: [2072] ) (AndOr ops: [Op_DAmp] children: [ (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: {($ VSub_Name '$COMPREPLY')} right: {(Lit_Other '*') (BoolBinary_GlobEqual '=')} ) ) (C {(compopt)} {(-o)} {(nospace)}) ] ) (ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [16777215 2069] ) ] spids: [16777215 2129] ) (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs:(LhsName name:word) op:Equal spids:[2139]) (assign_pair lhs:(LhsName name:ext) op:Equal spids:[2141]) ] spids: [2137] ) (ForEach iter_name: word iter_words: [ { (BracedVarSub token: <VSub_Name words> bracket_op: (WholeArray op_id:Lit_At) spids: [2150 2155] ) } ] do_arg_iter: F body: (DoGroup children: [ (Case to_match: {($ VSub_Name '$word')} arms: [ (case_arm pat_list: [{(-b) (Lit_Other '?')} {(--clean)} {(--nobuild)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:ext) op: Equal rhs: {(spec)} spids: [2177] ) ] spids: [2177] ) (ControlFlow token: <ControlFlow_Break break> ) ] spids: [2168 2174 2184 16777215] ) (case_arm pat_list: [{(-t) (Lit_Other '?')} {(--tarbuild)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:ext) op: Equal rhs: {(SQ <'@(t?(ar.)@([gx]z|bz?(2))|tar?(.@(lzma|Z)))'>)} spids: [2194] ) ] spids: [2194] ) (ControlFlow token: <ControlFlow_Break break> ) ] spids: [2187 2191 2203 16777215] ) (case_arm pat_list: [{(--rebuild)} {(--recompile)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:ext) op: Equal rhs: {(SQ <'@(?(no)src.r|s)pm'>)} spids: [2212] ) ] spids: [2212] ) (ControlFlow token: <ControlFlow_Break break> ) ] spids: [2206 2209 2221 16777215] ) ] spids: [2161 2165 2224] ) ] spids: [2158 2227] ) spids: [2149 2156] ) (AndOr ops: [Op_DAmp] children: [ (DBracket expr: (BoolUnary op_id:BoolUnary_n child:{($ VSub_Name '$ext')}) ) (C {(_filedir)} {($ VSub_Name '$ext')}) ] ) ] spids: [1789] ) spids: [1785 1788] ) (C {(complete)} {(-F)} {(_rpmbuild)} {(rpmbuild)} {(rpmbuild-md5)}) ] ) ] )