(CommandList children: [ (C {(Lit_Other ":")} {(download)} {(item)} {(hosttype)} {(...)}) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:command) op:Equal rhs:{(download)} spids:[68])] spids: [68] ) (Case to_match: { (CommandSubPart command_list: (CommandList children: [ (Sentence child: (SimpleCommand words: [{(getopts)} {(SQ <"[-][123:xyz]">)} {(opt)} {(--xyz)}] redirects: [(Redir op_id:Redir_Great fd:2 arg_word:{(/dev/null)} spids:[84])] ) terminator: <Op_Semi ";"> ) (C {(echo)} {(0) ($ VSub_Name "$opt")}) ] ) left_token: <Left_CommandSub "$("> spids: [73 92] ) } arms: [ (case_arm pat_list: [{(0123)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:ARGV0) op: Equal rhs: {(DQ ("-a ") ($ VSub_Name "$command"))} spids: [99] ) ] spids: [99] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:USAGE) op: Equal rhs: { (SQ <"\n"> <"[-?\n"> <"@(#)$Id: download (AT&T Research) 2000-12-07 $\n"> <"]\n">) ($ VSub_Name "$USAGE_LICENSE") (SQ <"\n"> < "[+NAME?download - generate web site download instructions for an mm document]\n" > <"[+DESCRIPTION?"> <Lit_EscapedChar "\\b"> <download> <Lit_EscapedChar "\\b"> <" is a "> <Lit_EscapedChar "\\b"> <ksh> <Lit_EscapedChar "\\b"> <"(1) script that generates web site\n"> <"\tdownload instructions for an "> <Lit_EscapedChar "\\b"> <mm> <Lit_EscapedChar "\\b"> <"(1) document. "> <Lit_EscapedChar "\\a"> <item> <Lit_EscapedChar "\\a"> <" names the\n"> <"\titem to be downloaded and "> <Lit_EscapedChar "\\a"> <type> <Lit_EscapedChar "\\a"> <" ... names the supported architecture\n"> <"\ttype(s) as reported by "> <Lit_EscapedChar "\\b"> <package> <Lit_EscapedChar "\\b"> <"(1).]\n"> <"[+?"> <Lit_EscapedChar "\\b"> <download> <Lit_EscapedChar "\\b"> <" is most often used in the "> <Lit_EscapedChar "\\b"> <.sh> <Lit_EscapedChar "\\b"> <" directive of "> <Lit_EscapedChar "\\b"> <mm2html> <Lit_EscapedChar "\\b"> <"(1)\n"> <"\tor "> <Lit_EscapedChar "\\b"> <troff2html> <Lit_EscapedChar "\\b"> <"(1): "> <Lit_EscapedChar "\\b"> <".sh download warp sgi.mips3 linux.i386"> <Lit_EscapedChar "\\b"> <".]\n"> <"\n"> <"item [ type ... ]\n"> <"\n"> <"[+SEE ALSO?"> <Lit_EscapedChar "\\b"> <mm2html> <Lit_EscapedChar "\\b"> <"(1), "> <Lit_EscapedChar "\\b"> <package> <Lit_EscapedChar "\\b"> <"(1), "> <Lit_EscapedChar "\\b"> <troff2html> <Lit_EscapedChar "\\b"> <"(1)]\n"> ) } spids: [106] ) ] spids: [106] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:id) op: Equal rhs: { (BracedVarSub token: <VSub_Name USAGE> suffix_op: (StringUnary op_id:VOp1_DPound arg_word:{("????")}) spids: [187 191] ) } spids: [186] ) ] spids: [186] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:id) op: Equal rhs: { (BracedVarSub token: <VSub_Name id> suffix_op: (StringUnary op_id:VOp1_Percent arg_word:{(SQ <"]">) ("*")}) spids: [195 202] ) } spids: [194] ) ] spids: [194] ) ] spids: [96 97 205 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:ARGV0) op:Equal rhs:{(DQ )} spids:[210])] spids: [210] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:USAGE) op: Equal rhs: {(SQ <"i:[file] [ file ... ]">)} spids: [215] ) ] spids: [215] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:id) op: Equal rhs: {(SQ <"mm2html (AT&T Research) 1999-04-15">)} spids: [221] ) ] spids: [221] ) ] spids: [207 208 227 -1] ) ] spids: [71 94 229] ) (FuncDef name: usage body: (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:OPTIND) op:Equal rhs:{(0)} spids:[239])] spids: [239] ) (C {(getopts)} {($ VSub_Name "$ARGV0")} {(DQ ($ VSub_Name "$USAGE"))} {(OPT)} {(SQ <"-?">)}) (C {(exit)} {(2)}) ] spids: [236] ) spids: [232 235] ) (While cond: [(C {(getopts)} {($ VSub_Name "$ARGV0")} {(DQ ($ VSub_Name "$USAGE"))} {(OPT)})] body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$OPT")} arms: [ (case_arm pat_list: [{(i)}] action: [ (AndOr children: [(C {(.)} {($ VSub_Name "$OPT")}) (C {(exit)} {(1)})] op_id: Op_DPipe ) ] spids: [286 287 299 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [(C {(usage)})] spids: [302 303 307 -1] ) ] spids: [279 283 310] ) ] spids: [277 312] ) ) (C {(shift)} {($ VSub_Name "$OPTIND") (-1)}) (Case to_match: {($ VSub_Pound "$#")} arms: [(case_arm pat_list:[{(0)}{(1)}] action:[(C {(usage)})] spids:[325328332-1])] spids: [319 323 334] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:item) op:Equal rhs:{($ VSub_Number "$1")} spids:[337])] spids: [337] ) (C {(shift)}) (C {(print)} {(-r)} {(--)} {(DQ (".H 1 Download"))}) (C {(print)} {(-r)} {(--)} {(DQ ("Check the"))}) (C {(print)} {(-r)} {(--)} { (DQ (".xx link=") (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) ("../faq.html\tFAQ") (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) ) } ) (C {(print)} {(-r)} {(--)} {(DQ ("for information on binary installations."))}) (C {(print)} {(-r)} {(--)} {(DQ ("Source and binary packages for"))}) (C {(print)} {(-r)} {(--)} {(DQ (".B ") (${ VSub_Name item))}) (C {(print)} {(-r)} {(--)} {(DQ ("are available at the"))}) (C {(print)} {(-r)} {(--)} { (DQ (".xx link=") (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) ("/sw/download/\tpackage") (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) ) } ) (C {(print)} {(-r)} {(--)} {(DQ ("download site; evaluation binaries containing only"))}) (C {(print)} {(-r)} {(--)} {(DQ (".B ") (${ VSub_Name item))}) (C {(print)} {(-r)} {(--)} {(DQ ("are also available for these system architectures:"))}) (C {(print)} {(-r)} {(--)} {(DQ (.BL))}) (ForEach iter_name: type do_arg_iter: True body: (DoGroup children: [ (C {(print)} {(-r)} {(--)} {(DQ (.LI))}) (C {(print)} {(-r)} {(--)} { (DQ (".xx link=") (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (./) (${ VSub_Name item) (-) (${ VSub_Name type) (".tgz\t") (${ VSub_Name type) (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) ) } ) ] spids: [478 515] ) spids: [-1 -1] ) (C {(print)} {(-r)} {(--)} {(DQ (.LE))}) (C {(print)} {(-r)} {(--)} {(DQ (.PP))}) (C {(print)} {(-r)} {(--)} {(DQ ("NOTE: Click the right mouse button to make sure the file is"))}) (C {(print)} {(-r)} {(--)} {(DQ ("dowloaded and not displayed (go figure)."))}) ] )