(CommandList children: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:OUTDIR) op:Equal rhs:{($ VSub_Number '$1')} spids:[4])] spids: [4] ) (C {(shift)}) (C {(trap)} {(DQ ('rm -f ') (${ VSub_Name OUTDIR) ('*.') ($ VSub_Dollar '$$') ('; exit 1'))} {(1)} {(2)} {(15)} ) (SimpleCommand words: [{(exec)}] redirects: [ (Redir op_id: Redir_Great fd: 3 arg_word: {(${ VSub_Name OUTDIR) (incl.) ($ VSub_Dollar '$$')} spids: [35] ) (Redir op_id: Redir_Great fd: 4 arg_word: {(${ VSub_Name OUTDIR) (smenu.) ($ VSub_Dollar '$$')} spids: [42] ) (Redir op_id: Redir_Great fd: 5 arg_word: {(${ VSub_Name OUTDIR) (lmenu.) ($ VSub_Dollar '$$')} spids: [49] ) ] ) (FuncDef name: build_menu body: (BraceGroup children: [ (While cond: [ (Sentence child: (SimpleCommand words: [{(read)} {(file)} {(node)}] more_env: [(env_pair name:IFS val:{(Lit_Other ':')} spids:[67])] ) terminator: <Op_Semi ';'> ) ] body: (DoGroup children: [ (SimpleCommand words: [{(echo)} {(DQ ('@include ') ($ VSub_Name '$file'))}] redirects: [(Redir op_id:Redir_GreatAnd fd:16777215 arg_word:{(3)} spids:[87])] ) (SimpleCommand words: [ {(echo)} { (DQ ('* ') ($ VSub_Name '$node') (':: ') (CommandSubPart command_list: (CommandList children: [ (C {(sed)} {(-n)} {(SQ <'s/^@c %MENU% //p'>)} {($ VSub_Name '$file')}) ] ) left_token: <Left_Backtick '`'> spids: [97 107] ) ) } ] redirects: [(Redir op_id:Redir_GreatAnd fd:16777215 arg_word:{(4)} spids:[110])] ) (SimpleCommand words: [ {($ VSub_Name '$AWK')} { (SQ <'BEGIN { do_menu = 0 }\n'> <'\t /^@node / { sub(/^@node /, ""); sub(/,.*$/, ""); node = $0 }\n'> <'\t /^@menu/ { printf "\\n%s\\n\\n", node; do_menu = 1; next }\n'> <'\t /^@end menu/ { do_menu = 0 }\n'> <'\t do_menu { print }'> ) } {($ VSub_Name '$file')} ] redirects: [(Redir op_id:Redir_GreatAnd fd:16777215 arg_word:{(5)} spids:[126])] ) ] spids: [77 130] ) ) ] spids: [62] ) spids: [57 61] ) (FuncDef name: collect_nodes body: (BraceGroup children: [ (Pipeline children: [ (C {(egrep)} {(SQ <'^(@c )?@node.*Top'>)} {(DQ ($ VSub_At '$@'))} {(/dev/null)}) (C {(cut)} {(-d) (Lit_Comma ',')} {(-f-2)}) (C {(sed)} {(SQ <'s/@c //; s/, /:/; s/:@node /:/; s/ /_/g; s/:/ /g'>)}) (C {($ VSub_Name '$AWK')} { (SQ <'{ file[$2] = $1; nnode[$2] = $3 }\n'> <'\tEND { for (x in file)\n'> <'\t\t if (file[x] != "")\n'> <'\t\t print file[x] ":" x, file[nnode[x]] ":" nnode[x] }'> ) } ) (C {($ VSub_Name '$AWK')} {(-f)} {(tsort.awk)}) (C {(sed)} {(SQ <'s/_/ /g'>)}) ] negated: F ) ] spids: [140] ) spids: [135 139] ) (ForEach iter_name: addon iter_words: [{($ VSub_Number '$2')}] do_arg_iter: F body: (DoGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:addon) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [(C {(basename)} {($ VSub_Name '$addon')} {(.texi)})] ) left_token: <Left_Backtick '`'> spids: [221 227] ) } spids: [220] ) ] spids: [220] ) (SimpleCommand words: [{(echo)} {(DQ ('@set ') ($ VSub_Name '$addon'))}] redirects: [(Redir op_id:Redir_GreatAnd fd:16777215 arg_word:{(3)} spids:[232])] ) ] spids: [217 240] ) spids: [213 215] ) (Pipeline children: [(C {(collect_nodes)} {($ VSub_Number '$1')}) (C {(build_menu)})] negated: F ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {(-n)} {(DQ ($ VSub_Number '$2'))} {(Lit_Other ']')}) terminator: <Op_Semi ';'> ) ] action: [ (BraceGroup children: [ (Sentence child:(C {(echo)}) terminator:<Op_Semi ';'>) (Sentence child: (C {(echo)} {(SQ <Add-ons>)}) terminator: <Op_Semi ';'> ) (Sentence child:(C {(echo)}) terminator:<Op_Semi ';'>) ] redirects: [(Redir op_id:Redir_GreatAnd fd:16777215 arg_word:{(4)} spids:[286])] spids: [269] ) (Pipeline children: [ (C {(egrep)} {(SQ <'^(@c )?@node.*Top'>)} { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Number '$2')} {(/dev/null)}) (C {(tr)} {(SQ <' '>)} {(SQ <'\\n'>)}) (C {(sort)}) ] negated: F ) ] ) left_token: <Left_Backtick '`'> spids: [297 319] ) } ) (C {(cut)} {(-d) (Lit_Comma ',')} {(-f1)}) (C {(sed)} {(SQ <'s/@c //;s/@node //'>)}) (C {(build_menu)}) ] negated: F ) ] spids: [16777215 265] ) ] spids: [16777215 344] ) (BraceGroup children: [ (Sentence child:(C {(echo)}) terminator:<Op_Semi ';'>) (Sentence child:(C {(echo)} {(SQ <Appendices>)}) terminator:<Op_Semi ';'>) (Sentence child:(C {(echo)}) terminator:<Op_Semi ';'>) ] redirects: [(Redir op_id:Redir_GreatAnd fd:16777215 arg_word:{(4)} spids:[364])] spids: [347] ) (Pipeline children: [(C {(collect_nodes)} {($ VSub_Number '$3')}) (C {(build_menu)})] negated: F ) (SimpleCommand words: [{(exec)}] redirects: [ (Redir op_id:Redir_GreatAnd fd:3 arg_word:{(-)} spids:[379]) (Redir op_id:Redir_GreatAnd fd:4 arg_word:{(-)} spids:[382]) (Redir op_id:Redir_GreatAnd fd:5 arg_word:{(-)} spids:[385]) ] ) (C {(mv)} {(-f)} {(${ VSub_Name OUTDIR) (incl.) ($ VSub_Dollar '$$')} {(${ VSub_Name OUTDIR) (chapters.texi)} ) (BraceGroup children: [ (C {(echo)} {(SQ <'@menu'>)}) (C {($ VSub_Name '$AWK')} {(-F) (Lit_Other ':')} { (SQ <'\n'> <' /^\\*/ {\n'> <' printf("%-32s", $1 "::");\n'> <' x = split($3, word, " ");\n'> <' hpos = 34;\n'> <' for (i = 1; i <= x; i++) {\n'> <' hpos += length(word[i]) + 1;\n'> <' if (hpos > 78) {\n'> <'\tprintf("\\n%34s", "");\n'> <'\thpos = 35 + length(word[i]);\n'> <' }\n'> <' printf(" %s", word[i]);\n'> <' }\n'> <' print ".";\n'> <' }\n'> <'\n'> <' !/^\\*/ { print; }\n'> <' '> ) } {(${ VSub_Name OUTDIR) (smenu.) ($ VSub_Dollar '$$')} ) (SimpleCommand words: [{(cat)}] redirects: [ (HereDoc op_id: Redir_DLess fd: 16777215 body: { (DQ ('* Free Manuals::\t\t Free Software Needs Free Documentation.\n') ( '* Copying:: The GNU Lesser General Public License says\n' ) (' how you can copy and share the GNU C Library.\n') ('* Documentation License:: This manual is under the GNU Free\n') (' Documentation License.\n') ('\n') ('Indices\n') ('\n') ('* Concept Index:: Index of concepts and names.\n') ('* Type Index:: Index of types and type qualifiers.\n') ( '* Function Index:: Index of functions and function-like macros.\n' ) ('* Variable Index:: Index of variables and variable-like macros.\n') ('* File Index:: Index of programs and files.\n') ('\n') (' @detailmenu\n') (' --- The Detailed Node Listing ---\n') ) } do_expansion: True here_end: EOF was_filled: T spids: [450] ) ] ) (C {(cat)} {(${ VSub_Name OUTDIR) (lmenu.) ($ VSub_Dollar '$$')}) (C {(echo)} {(SQ <'@end detailmenu'>)}) (Sentence child:(C {(echo)} {(SQ <'@end menu'>)}) terminator:<Op_Semi ';'>) ] redirects: [ (Redir op_id: Redir_Great fd: 16777215 arg_word: {(${ VSub_Name OUTDIR) (top-menu.texi.) ($ VSub_Dollar '$$')} spids: [496] ) ] spids: [405] ) (C {(mv)} {(-f)} {(${ VSub_Name OUTDIR) (top-menu.texi.) ($ VSub_Dollar '$$')} {(${ VSub_Name OUTDIR) (top-menu.texi)} ) (C {(rm)} {(-f)} {(${ VSub_Name OUTDIR) (Lit_Other '*') (.) ($ VSub_Dollar '$$')}) ] )