(CommandList children: [ (Case to_match: {($ VSub_Number '$1')} arms: [ (case_arm pat_list: [{(-) (Lit_Other '*')}] action: [(C {(set)} {(-) ($ VSub_Hyphen '$-')} {(x)} {(x)})] spids: [22 24 16777215 35] ) ] spids: [16 20 35] ) (Case to_match: {($ VSub_Pound '$#')} arms: [ (case_arm pat_list:[{(1)}] spids:[44 45 47 16777215]) (case_arm pat_list: [{(Lit_Other '*')}] action: [ (SimpleCommand words: [{(echo)} {(DQ ('Usage: ') ($ VSub_Number '$0') (' <mandir>'))}] redirects: [(Redir op_id:Redir_GreatAnd fd:16777215 arg_word:{(2)} spids:[60])] ) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] spids: [49 50 16777215 68] ) ] spids: [38 42 68] ) (AndOr ops: [Op_DPipe] children: [(C {(cd)} {($ VSub_Number '$1')}) (ControlFlow token:<ControlFlow_Exit exit>)] ) (Pipeline children: [ (BraceGroup children: [ (ForEach iter_name: chap iter_words: [{(1)} {(2)} {(3)} {(4)} {(5)} {(6)} {(7)} {(8)} {(9)}] do_arg_iter: F body: (DoGroup children: [ (ForEach iter_name: page iter_words: [ {(man) ($ VSub_Name '$chap') (/) (Lit_Other '*') (.) ($ VSub_Name '$chap')} ] do_arg_iter: F body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (Sentence child: (C {(test)} {(-f)} {(DQ ($ VSub_Name '$page'))}) terminator: <Op_Semi ';'> ) ] action: [ (SimpleCommand words: [ {(sed)} {(-e)} { (SQ <'s/\t/ /g\n'> <'\t\t\t\ts/"NAME"/NAME/g\n'> <'\t\t\t\ts/^\\.Sh/\\.SH/g\n'> <'\t\t\t\t/^\\.SH NAME/,/^\\.SH /!d\n'> <'\t\t\t\t/^\\.SH /d\n'> <'\t\t\t\ts/\\\\f.//g\n'> <'\t\t\t\ts/\\\\s[+-].//g\n'> <'\t\t\t\ts/\\\\s.//g\n'> <'\t\t\t\ts/\\\\//\n'> <'\t\t\t\t'> ) (DQ ('s/ - / (') ($ VSub_Name '$chap') (') - /')) } ] redirects: [ (Redir op_id: Redir_Less fd: 16777215 arg_word: {(DQ ($ VSub_Name '$page'))} spids: [181] ) ] ) ] spids: [16777215 152] ) ] spids: [16777215 188] ) ] spids: [138 191] ) spids: [129 16777215] ) ] spids: [121 194] ) spids: [101 16777215] ) (ForEach iter_name: page iter_words: [{(man1x/) (Lit_Other '*') (.1x)}] do_arg_iter: F body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (Sentence child: (C {(test)} {(-f)} {(DQ ($ VSub_Name '$page'))}) terminator: <Op_Semi ';'> ) ] action: [ (SimpleCommand words: [ {(sed)} {(-e)} { (SQ <'s/\t/ /g\n'> <'\t\t\t/^\\.CD /!d\n'> <'\t\t\ts/^[^"]*"//\n'> <'\t\t\ts/"[^"]*$//\n'> <'\t\t\ts/\\\\(en/-/g\n'> <'\t\t\ts/\\\\f.//g\n'> <'\t\t\ts/\\\\s[+-].//g\n'> <'\t\t\ts/\\\\s.//g\n'> <'\t\t\ts/\\\\\\*(M2/MINIX/g\n'> <'\t\t\ts/\\\\//\n'> <'\t\t\t'> ) (DQ ('s/ - / (1x) - /')) } ] redirects: [ (Redir op_id: Redir_Less fd: 16777215 arg_word: {(DQ ($ VSub_Name '$page'))} spids: [252] ) ] ) ] spids: [16777215 227] ) ] spids: [16777215 259] ) ] spids: [213 262] ) spids: [207 16777215] ) (C {(trap)} {(SQ <'rm -f /tmp/mkw[cmn]$$; exit 1'>)} {(1)} {(2)} {(15)}) (ForEach iter_name: chap iter_words: [{(1)} {(2)} {(3)} {(4)} {(5)} {(6)} {(7)} {(8)} {(9)}] do_arg_iter: F body: (DoGroup children: [ (SimpleCommand words: [{(ls)} {(cat) ($ VSub_Name '$chap')}] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [320] ) (Redir op_id: Redir_Great fd: 16777215 arg_word: {(/tmp/mkwc) ($ VSub_Dollar '$$')} spids: [323] ) ] ) (SimpleCommand words: [{(ls)} {(man) ($ VSub_Name '$chap')}] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [333] ) (Redir op_id: Redir_Great fd: 16777215 arg_word: {(/tmp/mkwm) ($ VSub_Dollar '$$')} spids: [336] ) ] ) (SimpleCommand words: [ {(comm)} {(-23)} {(/tmp/mkwc) ($ VSub_Dollar '$$')} {(/tmp/mkwm) ($ VSub_Dollar '$$')} ] redirects: [ (Redir op_id: Redir_Great fd: 16777215 arg_word: {(/tmp/mkwn) ($ VSub_Dollar '$$')} spids: [351] ) ] ) (SimpleCommand words: [ {(sed)} {(-e)} { (DQ ('/.*') (EscapedLiteralPart token:<Lit_EscapedChar '\\\\'>) (.) ($ VSub_Name '$chap') (EscapedLiteralPart token:<Lit_EscapedChar '\\$'>) ('/!d\n') ('\t\t\ts/') (EscapedLiteralPart token: <Lit_EscapedChar '\\\\'> ) (.) ($ VSub_Name '$chap') (EscapedLiteralPart token:<Lit_EscapedChar '\\$'>) ('/ (') ($ VSub_Name '$chap') (') - ???/') ) } ] redirects: [ (Redir op_id: Redir_Less fd: 16777215 arg_word: {(/tmp/mkwn) ($ VSub_Dollar '$$')} spids: [377] ) ] ) ] spids: [312 383] ) spids: [292 16777215] ) (C {(rm)} {(-f)} {(/tmp/mkw) (Lit_Other '[') (cmn) (Lit_Other ']') ($ VSub_Dollar '$$')}) ] spids: [80] ) (BraceGroup children: [ (C {(sed)} {(-e)} {(SQ <'s/ */ /g\n'> <'\t\ts/^ //\n'> <'\t\ts/ $//\n'> <'\t\t/^$/d\n'> <'\t\t/-/!d'>)} ) ] spids: [400] ) (BraceGroup children: [(C {(sort)} {(-t) (SQ <'('>)} {(Lit_Other '+') (1)} {(-o)} {(whatis)})] spids: [427] ) ] negated: F ) ] )