(CommandList children: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:command) op:Equal rhs:{(package)} spids:[67])] spids: [67] ) (Case to_match: {($ VSub_Hyphen "$-") (Lit_Other ":") ($ VSub_Name "$BASH_VERSION")} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (x) (Lit_Other "*") (Lit_Other ":") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "*") } ] action: [ (Sentence child: (C {(Lit_Other ":")} {(bash)} {(set)} {(-x)} {(is)} {(broken)} {(Lit_Other ":")}) terminator: <Op_Semi ";"> ) (C {(set)} {(Lit_Other "+") (ex)}) ] spids: [79 87 109 -1] ) ] spids: [71 77 111] ) (FuncDef name: checksh body: (BraceGroup children: [ (AndOr children: [ (SimpleCommand words: [{(egrep)} {(SQ <"Version.*(88|1993)">)} {($ VSub_Number "$1")}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(/dev/null)} spids: [132] ) (Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[135]) ] ) (SimpleCommand words: [{($ VSub_Number "$1")} {(-c)} {(SQ <"(( .sh.version >= 20111111 ))">)}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(/dev/null)} spids: [149] ) (Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[152]) ] ) ] op_id: Op_DPipe ) ] spids: [121] ) spids: [117 120] ) (Case to_match: {($ VSub_Name "$_AST_BIN_PACKAGE_") (Lit_Other ":") ($ VSub_Name "$SHELL") (Lit_Other ":") ($ VSub_Number "$0") } arms: [ (case_arm pat_list: [ {(1) (Lit_Other ":") (Lit_Other "*") (Lit_Other ":") (Lit_Other "*")} {(Lit_Other "*") (Lit_Other ":") (/bin/sh) (Lit_Other ":") (Lit_Other "*")} ] spids: [168 179 182 -1] ) (case_arm pat_list: [ {(Lit_Other "*") (Lit_Other ":") (Lit_Other "*") (/) (Lit_Other "*") (Lit_Other ":") (Lit_Other "*") (/) (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_AST_BIN_PACKAGE_) op: Equal rhs: {(1)} spids: [196] ) ] spids: [196] ) (C {(export)} {(_AST_BIN_PACKAGE_)}) (If arms: [ (if_arm cond: [(C {(checksh)} {($ VSub_Name "$SHELL")})] action: [(C {(Lit_Other ":")} {(no)} {(-lcmd)} {(conflict)} {(Lit_Other ":")})] spids: [-1 215] ) ] else_action: [ (Case to_match: {(DQ (" ") ($ VSub_Star "$*") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" debug ")) (Lit_Other "*")} {(Lit_Other "*") (DQ (" DEBUG ")) (Lit_Other "*")} {(Lit_Other "*") (DQ (" show ")) (Lit_Other "*")} ] action: [ (SimpleCommand words: [ {(echo)} {($ VSub_Name "$command") (Lit_Other ":")} {($ VSub_Name "$SHELL") (Lit_Other ":")} {(warning) (Lit_Other ":")} {(possible)} {(-lcmd)} {(conflict)} {(--)} {(falling)} {(back)} {(to)} {(/bin/sh)} ] redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[288])] ) ] spids: [241 258 292 -1] ) ] spids: [230 238 295] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:SHELL) op:Equal rhs:{(/bin/sh)} spids:[298])] spids: [298] ) (C {(export)} {(SHELL)}) (C {(exec)} {($ VSub_Name "$SHELL")} {(DQ ($ VSub_Number "$0"))} {(DQ ($ VSub_At "$@"))}) ] spids: [228 320] ) ] spids: [184 193 323 -1] ) ] spids: [158 166 325] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:LC_ALL) op:Equal rhs:{(C)} spids:[328])] spids: [328] ) (C {(export)} {(LC_ALL)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:src) op: Equal rhs: {(DQ ("cmd contrib etc lib"))} spids: [336] ) ] spids: [336] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:use) op: Equal rhs: {(DQ ("/usr/common /exp /usr/local /usr/add-on /usr/addon /usr/tools /usr /opt"))} spids: [341] ) ] spids: [341] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:usr) op:Equal rhs:{(DQ (/home))} spids:[346])] spids: [346] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:lib) op:Equal rhs:{(DQ )} spids:[351])] spids: [351] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:ccs) op: Equal rhs: {(DQ ("/usr/kvm /usr/ccs/bin"))} spids: [358] ) ] spids: [358] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:org) op:Equal rhs:{(DQ ("gnu GNU"))} spids:[363])] spids: [363] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:makefiles) op: Equal rhs: {(DQ ("Mamfile Nmakefile nmakefile Makefile makefile"))} spids: [368] ) ] spids: [368] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:env) op: Equal rhs: {(DQ ("HOSTTYPE NPROC PACKAGEROOT INSTALLROOT PATH"))} spids: [373] ) ] spids: [373] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:checksum) op:Equal rhs:{(md5sum)} spids:[378])] spids: [378] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:checksum_commands) op: Equal rhs: {(DQ ($ VSub_Name "$checksum") (" md5"))} spids: [381] ) ] spids: [381] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:checksum_empty) op: Equal rhs: {(DQ (d41d8cd98f00b204e9800998ecf8427e))} spids: [387] ) ] spids: [387] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:package_use) op: Equal rhs: {(SQ <"=$HOSTTYPE=$PACKAGEROOT=$INSTALLROOT=$EXECROOT=$CC=">)} spids: [393] ) ] spids: [393] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:PACKAGE_admin_tail_timeout) op: Equal rhs: { (BracedVarSub token: <VSub_Name PACKAGE_admin_tail_timeout> suffix_op: (StringUnary op_id:VTest_ColonHyphen arg_word:{(DQ (1m))}) spids: [400 406] ) } spids: [399] ) ] spids: [399] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:CROSS) op:Equal rhs:{(0)} spids:[409])] spids: [409] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:admin_db) op:Equal rhs:{(admin.db)} spids:[413])] spids: [413] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:admin_env) op:Equal rhs:{(admin.env)} spids:[416])] spids: [416] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:admin_ditto) op: Equal rhs: {(DQ ("ditto --checksum --delete --verbose"))} spids: [419] ) ] spids: [419] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:admin_ditto_update) op: Equal rhs: {(--update)} spids: [424] ) ] spids: [424] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:admin_ditto_skip) op: Equal rhs: {(DQ ("OFFICIAL|core|old|*.core|*.tmp|.nfs*"))} spids: [427] ) ] spids: [427] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:admin_list) op: Equal rhs: {(SQ <"PACKAGE.$type.lst">)} spids: [432] ) ] spids: [432] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:admin_ping) op: Equal rhs: {(DQ ("ping -c 1 -w 5"))} spids: [437] ) ] spids: [437] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:default_url) op:Equal rhs:{(default.url)} spids:[443])] spids: [443] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:MAKESKIP) op: Equal rhs: { (BracedVarSub token: <VSub_Name MAKESKIP> suffix_op: (StringUnary op_id:VTest_ColonHyphen arg_word:{(DQ ("*[-.]*"))}) spids: [447 453] ) } spids: [446] ) ] spids: [446] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:RATZ) op:Equal rhs:{(ratz)} spids:[455])] spids: [455] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:SED) op:Equal rhs:{(SQ )} spids:[458])] spids: [458] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:TAR) op:Equal rhs:{(tar)} spids:[460])] spids: [460] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:TARFLAGS) op:Equal rhs:{(xv)} spids:[463])] spids: [463] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:TARPROBE) op:Equal rhs:{(B)} spids:[466])] spids: [466] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:TR) op:Equal rhs:{(SQ )} spids:[469])] spids: [469] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:all_types) op:Equal rhs:{(SQ <"*.*|sun4">)} spids:[472])] spids: [472] ) (Case to_match: { (CommandSubPart command_list: (CommandList children: [ (Subshell child: (CommandList children: [ (Sentence child: (C {(getopts)} {(SQ <"[-][123:xyz]">)} {(opt)} {(--xyz)}) terminator: <Op_Semi ";"> ) (C {(echo)} {(0) ($ VSub_Name "$opt")}) ] ) redirects: [(Redir op_id:Redir_Great fd:2 arg_word:{(/dev/null)} spids:[502])] spids: [484 500] ) ] ) left_token: <Left_Backtick "`"> spids: [483 504] ) } arms: [ (case_arm pat_list: [{(0123)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:USAGE) op: Equal rhs: {(SQ <"\n"> <"[-?\n"> <"@(#)$Id: package (AT&T Research) 2012-06-28 $\n"> <"]">) ($ VSub_Name "$USAGE_LICENSE") (SQ <"\n"> <"[+NAME?package - source and binary package control]\n"> <"[+DESCRIPTION?The "> <Lit_EscapedChar "\\b"> <package> <Lit_EscapedChar "\\b"> <" command controls source and binary\n"> <" packages. It is a "> <Lit_EscapedChar "\\b"> <sh> <Lit_EscapedChar "\\b"> <"(1) script coded for maximal portability. All\n"> <" package files are in the "> <Lit_EscapedChar "\\b"> <"$PACKAGEROOT"> <Lit_EscapedChar "\\b"> <" directory tree.\n"> <" "> <Lit_EscapedChar "\\b"> <"$PACKAGEROOT"> <Lit_EscapedChar "\\b"> <" must at minumum contain a "> <Lit_EscapedChar "\\b"> <bin/package> <Lit_EscapedChar "\\b"> <" command or a\n"> <" "> <Lit_EscapedChar "\\b"> <lib/package> <Lit_EscapedChar "\\b"> <" directory. Binary package files are in the\n"> <" "> <Lit_EscapedChar "\\b"> <"$INSTALLROOT"> <Lit_EscapedChar "\\b"> <" ("> <Lit_EscapedChar "\\b"> <"$PACKAGEROOT/arch/"> <Lit_EscapedChar "\\b"> <Lit_EscapedChar "\\a"> <hosttype> <Lit_EscapedChar "\\a"> <") tree, where\n"> <" "> <Lit_EscapedChar "\\a"> <hosttpe> <Lit_EscapedChar "\\a"> <"=`"> <Lit_EscapedChar "\\b"> <package> <Lit_EscapedChar "\\b"> <"`. All "> <Lit_EscapedChar "\\a"> <actions> <Lit_EscapedChar "\\a"> <" but "> <Lit_EscapedChar "\\b"> <host> <Lit_EscapedChar "\\b"> <" and "> <Lit_EscapedChar "\\b"> <use> <Lit_EscapedChar "\\b"> <"\n"> <" require the current directory to be under "> <Lit_EscapedChar "\\b"> <"$PACKAGEROOT"> <Lit_EscapedChar "\\b"> <". See\n"> <" "> <Lit_EscapedChar "\\b"> <DETAILS> <Lit_EscapedChar "\\b"> <" for more information.]\n"> <"[+?Note that no environment variables need be set by the user;\n"> <" "> <Lit_EscapedChar "\\b"> <package> <Lit_EscapedChar "\\b"> <" determines the environment based on the current working\n"> <" directory. The "> <Lit_EscapedChar "\\b"> <use> <Lit_EscapedChar "\\b"> <" action starts a "> <Lit_EscapedChar "\\b"> <sh> <Lit_EscapedChar "\\b"> <"(1) with the environment\n"> <" initialized. "> <Lit_EscapedChar "\\b"> <CC> <Lit_EscapedChar "\\b"> <", "> <Lit_EscapedChar "\\b"> <CCFLAGS> <Lit_EscapedChar "\\b"> <", "> <Lit_EscapedChar "\\b"> <HOSTTYPE> <Lit_EscapedChar "\\b"> <" and "> <Lit_EscapedChar "\\b"> <SHELL> <Lit_EscapedChar "\\b"> <" may be set\n"> <" by explicit command argument assignments to override the defaults.]\n"> <"[+?Packages are composed of components. Each component is built and\n"> <" installed by an "> <Lit_EscapedChar "\\b"> <ast> <Lit_EscapedChar "\\b"> <" "> <Lit_EscapedChar "\\b"> <nmake> <Lit_EscapedChar "\\b"> <"(1) makefile. Each package is also\n"> <" described by an "> <Lit_EscapedChar "\\b"> <nmake> <Lit_EscapedChar "\\b"> <" makefile that lists its components and\n"> < " provides a content description. The package makefile and component\n" > <" makefiles provide all the information required to read, write, build\n"> <" and install packages.]\n"> <"[+?Package recipients only need "> <Lit_EscapedChar "\\b"> <sh> <Lit_EscapedChar "\\b"> <"(1) and "> <Lit_EscapedChar "\\b"> <cc> <Lit_EscapedChar "\\b"> <"(1) to build and\n"> <" install source packages, and "> <Lit_EscapedChar "\\b"> <sh> <Lit_EscapedChar "\\b"> <" to install binary packages.\n"> <" "> <Lit_EscapedChar "\\b"> <nmake> <Lit_EscapedChar "\\b"> <" and "> <Lit_EscapedChar "\\b"> <ksh93> <Lit_EscapedChar "\\b"> <" are required to write new packages. An\n"> <" "> <Lit_EscapedChar "\\b"> <"$INSTALLROOT/bin/cc"> <Lit_EscapedChar "\\b"> <" script may be supplied for some architectures.\n"> <" This script supplies a reasonable set of default options for compilers\n"> < " that accept multiple dialects or generate multiple object/executable\n" > <" formats.]\n"> <"[+?The command arguments are composed of a sequence of words: zero or\n"> <" more "> <Lit_EscapedChar "\\a"> <qualifiers> <Lit_EscapedChar "\\a"> <", one "> <Lit_EscapedChar "\\a"> <action> <Lit_EscapedChar "\\a"> <", and zero or more action-specific\n"> <" "> <Lit_EscapedChar "\\a"> <arguments> <Lit_EscapedChar "\\a"> <", and zero or more "> <Lit_EscapedChar "\\a"> <"name=value"> <Lit_EscapedChar "\\a"> <" definitions. "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <"\n"> <" names a particular package. The naming scheme is a "> <Lit_EscapedChar "\\b"> <-> <Lit_EscapedChar "\\b"> <" separated\n"> <" hierarchy; the leftmost parts describe ownership, e.g.,\n"> <" "> <Lit_EscapedChar "\\b"> <gnu-fileutils> <Lit_EscapedChar "\\b"> <", "> <Lit_EscapedChar "\\b"> <ast-base> <Lit_EscapedChar "\\b"> <". If no packages are specified then all\n"> <" packages are operated on. "> <Lit_EscapedChar "\\b"> <optget> <Lit_EscapedChar "\\b"> <"(3) documentation options are also\n"> <" supported. The default with no arguments is "> <Lit_EscapedChar "\\b"> <"host type"> <Lit_EscapedChar "\\b"> <".]\n"> <"[+?The qualifiers are:]\n"> <" {\n"> <" [+authorize "> <Lit_EscapedChar "\\a"> <name> <Lit_EscapedChar "\\a"> <"?Remote authorization user name or license\n"> <" acceptance phrase.]\n"> <" [+debug|environment?Show environment and actions but do not\n"> <" execute.]\n"> <" [+flat?Collapse "> <Lit_EscapedChar "\\b"> <"$INSTALLROOT"> <Lit_EscapedChar "\\b"> <" { bin fun include lib } onto\n"> <" "> <Lit_EscapedChar "\\b"> <"$PACKAGEROOT"> <Lit_EscapedChar "\\b"> <".]\n"> <" [+force?Force the action to override saved state.]\n"> <" [+never?Run make -N and show other actions.]\n"> <" [+only?Only operate on the specified packages.]\n"> <" [+password "> <Lit_EscapedChar "\\a"> <password> <Lit_EscapedChar "\\a"> <"?Remote authorization or license\n"> <"\t acceptance password.]\n"> <" [+quiet?Do not list captured action output.]\n"> <" [+show?Run make -n and show other actions.]\n"> <" [+verbose?Provide detailed action output.]\n"> <" [+DEBUG?Trace the package script actions in detail.]\n"> <" }\n"> <"[+?The actions are:]\n"> <" {\n"> <" [+admin"> <Lit_EscapedChar "\\b"> <" ["> <Lit_EscapedChar "\\b"> <all> <Lit_EscapedChar "\\b"> <"]] ["> <Lit_EscapedChar "\\b"> <db> <Lit_EscapedChar "\\b"> <" "> <Lit_EscapedChar "\\a"> <file> <Lit_EscapedChar "\\a"> <"]] ["> <Lit_EscapedChar "\\b"> <on> <Lit_EscapedChar "\\b"> <" "> <Lit_EscapedChar "\\a"> <pattern> <Lit_EscapedChar "\\a"> <"]]["> <Lit_EscapedChar "\\a"> <action> <Lit_EscapedChar "\\a"> <" ...]]?Apply\n"> <" "> <Lit_EscapedChar "\\a"> <action> <Lit_EscapedChar "\\a"> <" ... to the hosts listed in "> <Lit_EscapedChar "\\a"> <file> <Lit_EscapedChar "\\a"> <". If "> <Lit_EscapedChar "\\a"> <file> <Lit_EscapedChar "\\a"> <" is\n"> <" omitted then "> <Lit_EscapedChar "\\b"> <admin.db> <Lit_EscapedChar "\\b"> <" is assumed. The caller must have\n"> <" "> <Lit_EscapedChar "\\b"> <rcp> <Lit_EscapedChar "\\b"> <"(1) and "> <Lit_EscapedChar "\\b"> <rsh> <Lit_EscapedChar "\\b"> <"(1) or "> <Lit_EscapedChar "\\b"> <scp> <Lit_EscapedChar "\\b"> <"(1) and "> <Lit_EscapedChar "\\b"> <ssh> <Lit_EscapedChar "\\b"> <"(1) access\n"> <" to the hosts. Output for "> <Lit_EscapedChar "\\a"> <action> <Lit_EscapedChar "\\a"> <" is saved per-host in the\n"> <" file "> <Lit_EscapedChar "\\a"> <action> <Lit_EscapedChar "\\a"> <Lit_EscapedChar "\\b"> <.log/> <Lit_EscapedChar "\\b"> <Lit_EscapedChar "\\a"> <host> <Lit_EscapedChar "\\a"> <". Logs can be viewed by\n"> <" "> <Lit_EscapedChar "\\b"> <"package admin"> <Lit_EscapedChar "\\b"> <" ["> <Lit_EscapedChar "\\b"> <on> <Lit_EscapedChar "\\b"> <" "> <Lit_EscapedChar "\\a"> <host> <Lit_EscapedChar "\\a"> <"]] "> <Lit_EscapedChar "\\b"> <results> <Lit_EscapedChar "\\b"> <" ["> <Lit_EscapedChar "\\a"> <action> <Lit_EscapedChar "\\a"> <"]].\n"> <" By default only local PACKAGEROOT hosts are selected from\n"> <" "> <Lit_EscapedChar "\\a"> <file> <Lit_EscapedChar "\\a"> <"; "> <Lit_EscapedChar "\\b"> <all> <Lit_EscapedChar "\\b"> <" selects all hosts. "> <Lit_EscapedChar "\\b"> <on> <Lit_EscapedChar "\\b"> <" "> <Lit_EscapedChar "\\a"> <pattern> <Lit_EscapedChar "\\a"> <" selects\n"> <" only hosts matching the "> <Lit_EscapedChar "\\b"> <"|"> <Lit_EscapedChar "\\b"> <" separated "> <Lit_EscapedChar "\\a"> <pattern> <Lit_EscapedChar "\\a"> <". "> <Lit_EscapedChar "\\a"> <file> <Lit_EscapedChar "\\a"> <"\n"> < " contains four types of lines. Blank lines and lines beginning\n" > <" with "> <Lit_EscapedChar "\\b"> <"#"> <Lit_EscapedChar "\\b"> <" are ignored. Lines starting with "> <Lit_EscapedChar "\\a"> <id> <Lit_EscapedChar "\\a"> <"="> <Lit_EscapedChar "\\a"> <value> <Lit_EscapedChar "\\a"> <"\n"> <" are variable assignments. Set admin_ping to local conventions\n"> <" if "> <Lit_EscapedChar "\\\""> ) ($ VSub_Name "$admin_ping") (SQ <Lit_EscapedChar "\\\""> <" fails. If a package list is not specified\n"> <" on the command line the "> <Lit_EscapedChar "\\a"> <action> <Lit_EscapedChar "\\a"> <" applies to all packages; a\n"> <" variable assigment "> <Lit_EscapedChar "\\b"> <package> <Lit_EscapedChar "\\b"> <"="> <Lit_EscapedChar "\\\""> <Lit_EscapedChar "\\a"> <list> <Lit_EscapedChar "\\a"> <Lit_EscapedChar "\\\""> <" applies "> <Lit_EscapedChar "\\a"> <action> <Lit_EscapedChar "\\a"> <"\n"> <" to the packages in "> <Lit_EscapedChar "\\a"> <list> <Lit_EscapedChar "\\a"> <" for subsequent hosts in "> <Lit_EscapedChar "\\a"> <file> <Lit_EscapedChar "\\a"> <".\n"> < " The remaining line type is a host description consisting of 6\n" > <" tab separated fields. The first 3 are mandatory; the remaining\n"> <" 3 are updated by the "> <Lit_EscapedChar "\\b"> <admin> <Lit_EscapedChar "\\b"> <" action. "> <Lit_EscapedChar "\\a"> <file> <Lit_EscapedChar "\\a"> <" is saved in\n"> <" "> <Lit_EscapedChar "\\a"> <file> <Lit_EscapedChar "\\a"> <Lit_EscapedChar "\\b"> <.old> <Lit_EscapedChar "\\b"> <" before update. The fields are:]\n"> <" {\n"> <" [+hosttype?The host type as reported by\n"> <" "> <Lit_EscapedChar "\\\""> <Lit_EscapedChar "\\b"> <package> <Lit_EscapedChar "\\b"> <Lit_EscapedChar "\\\""> <".]\n"> <" [+[user@]]host?The host name and optionally user name\n"> <" for "> <Lit_EscapedChar "\\b"> <rcp> <Lit_EscapedChar "\\b"> <"(1) and "> <Lit_EscapedChar "\\b"> <rsh> <Lit_EscapedChar "\\b"> <"(1) access.]\n"> < " [+[remote::[[master]]::]]]]PACKAGEROOT?The absolute remote package\n" > <" root directory and optionally the remote protocol (rsh\n"> < " or ssh) if the directory is on a different server than\n" > <" the master package root directory. If\n"> <" "> <Lit_EscapedChar "\\b"> <lib/package/admin/> ) ($ VSub_Name "$admin_env") (SQ <Lit_EscapedChar "\\b"> <" exists under this\n"> <" directory then it is sourced by "> <Lit_EscapedChar "\\b"> <sh> <Lit_EscapedChar "\\b"> <"(1) before\n"> <" "> <Lit_EscapedChar "\\a"> <action> <Lit_EscapedChar "\\a"> <" is done. If this field begins with "> <Lit_EscapedChar "\\b"> <-> <Lit_EscapedChar "\\b"> <"\n"> <" then the host is ignored. If this field contains "> <Lit_EscapedChar "\\b"> <":"> <Lit_EscapedChar "\\b"> <"\n"> <" then "> <Lit_EscapedChar "\\b"> <ditto> <Lit_EscapedChar "\\b"> <"(1) is used to sync the remote "> <Lit_EscapedChar "\\b"> <src> <Lit_EscapedChar "\\b"> <"\n"> <" directory hierarchy to the local one. If ["> <Lit_EscapedChar "\\a"> <master> <Lit_EscapedChar "\\a"> <"]]:\n"> <"\t\t is specified then the sync is deferred to the "> <Lit_EscapedChar "\\a"> <master> <Lit_EscapedChar "\\a"> <"\n"> <"\t\t host. If "> <Lit_EscapedChar "\\a"> <master> <Lit_EscapedChar "\\a"> <" is omitted (two :) then the sync is\n"> <"\t\t disabled. These directories must exist on the remote side:\n"> <"\t\t "> <Lit_EscapedChar "\\b"> <lib/package> <Lit_EscapedChar "\\b"> <", "> <Lit_EscapedChar "\\b"> <src/cmd> <Lit_EscapedChar "\\b"> <", "> <Lit_EscapedChar "\\b"> <src/lib> <Lit_EscapedChar "\\b"> <".]\n"> <" [+date?"> <Lit_EscapedChar "\\a"> <YYMMDD> <Lit_EscapedChar "\\a"> <" of the last action.]\n"> <" [+time?Elapsed wall time for the last action.]\n"> <" [+M T W?The "> <Lit_EscapedChar "\\b"> <admin> <Lit_EscapedChar "\\b"> <" action "> <Lit_EscapedChar "\\b"> <make> <Lit_EscapedChar "\\b"> <", "> <Lit_EscapedChar "\\b"> <test> <Lit_EscapedChar "\\b"> <" and\n"> <" "> <Lit_EscapedChar "\\b"> <write> <Lit_EscapedChar "\\b"> <" action error counts. A non-numeric value in\n"> <" any of these fields disables the corresponding action.]\n"> <"\t \t[+owner?The owner contact information.]\n"> <"\t\t[+attributes?"> <Lit_EscapedChar "\\a"> <"name=value"> <Lit_EscapedChar "\\a"> <" attributes. Should at least contain\n"> <"\t\t "> <Lit_EscapedChar "\\b"> <cc> <Lit_EscapedChar "\\b"> <"="> <Lit_EscapedChar "\\a"> <compiler-version> <Lit_EscapedChar "\\a"> <".]\n"> <" }\n"> <"\t[+clean | clobber?Delete the "> <Lit_EscapedChar "\\b"> <arch/> <Lit_EscapedChar "\\b"> <Lit_EscapedChar "\\a"> <HOSTTYPE> <Lit_EscapedChar "\\a"> <" hierarchy; this\n"> <"\t deletes all generated files and directories for "> <Lit_EscapedChar "\\a"> <HOSTTYPE> <Lit_EscapedChar "\\a"> <".\n"> <"\t The heirarchy can be rebuilt by "> <Lit_EscapedChar "\\b"> <"package make"> <Lit_EscapedChar "\\b"> <".]\n"> <" [+contents"> <Lit_EscapedChar "\\b"> <" [ "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <" ... ]]?List description and\n"> <" components for "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <" on the standard output.]\n"> <" [+copyright"> <Lit_EscapedChar "\\b"> <" [ "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <" ... ]]?List the general copyright\n"> <" notice(s) for "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <" on the standard output. Note that\n"> <" individual components in "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <" may contain additional or\n"> <" replacement notices.]\n"> <" [+export"> <Lit_EscapedChar "\\b"> <" [ "> <Lit_EscapedChar "\\a"> <variable> <Lit_EscapedChar "\\a"> <" ...]]?List "> <Lit_EscapedChar "\\a"> <name> <Lit_EscapedChar "\\a"> <"="> <Lit_EscapedChar "\\a"> <value> <Lit_EscapedChar "\\a"> <" for\n"> <" "> <Lit_EscapedChar "\\a"> <variable> <Lit_EscapedChar "\\a"> <", one per line. If the "> <Lit_EscapedChar "\\b"> <only> <Lit_EscapedChar "\\b"> <" attribute is\n"> <" specified then only the variable values are listed. If no\n"> <"\t variables are specified then "> <Lit_EscapedChar "\\b"> ) ($ VSub_Name "$env") (SQ <Lit_EscapedChar "\\b"> <" are assumed.]\n"> <" [+help"> <Lit_EscapedChar "\\b"> <" [ "> <Lit_EscapedChar "\\a"> <action> <Lit_EscapedChar "\\a"> <" ]]?Display help text on the standard\n"> <" error (standard output for "> <Lit_EscapedChar "\\a"> <action> <Lit_EscapedChar "\\a"> <").]\n"> <" [+host"> <Lit_EscapedChar "\\b"> <" [ "> <Lit_EscapedChar "\\a"> <attribute> <Lit_EscapedChar "\\a"> <" ... ]]?List\n"> <" architecture/implementation dependent host information on the\n"> <" standard output. "> <Lit_EscapedChar "\\b"> <type> <Lit_EscapedChar "\\b"> <" is listed if no attributes are\n"> <" specified. Information is listed on a single line in\n"> <" "> <Lit_EscapedChar "\\a"> <attribute> <Lit_EscapedChar "\\a"> <" order. The attributes are:]\n"> <" {\n"> <" [+canon "> <Lit_EscapedChar "\\a"> <name> <Lit_EscapedChar "\\a"> <"?An external host type name to be\n"> <" converted to "> <Lit_EscapedChar "\\b"> <package> <Lit_EscapedChar "\\b"> <" syntax.]\n"> <" [+cpu?The number of cpus; 1 if the host is not a\n"> <" multiprocessor.]\n"> <" [+name?The host name.]\n"> <" [+rating?The cpu rating in pseudo mips; the value is\n"> <" useful useful only in comparisons with rating values of\n"> < " other hosts. Other than a vax rating (mercifully) fixed\n" > <" at 1, ratings can vary wildly but consistently from\n"> <" vendor mips ratings. "> <Lit_EscapedChar "\\b"> <cc> <Lit_EscapedChar "\\b"> <"(1) may be required to\n"> <" determine the rating.]\n"> <" [+type?The host type, usually in the form\n"> <" "> <Lit_EscapedChar "\\a"> <vendor> <Lit_EscapedChar "\\a"> <.> <Lit_EscapedChar "\\a"> <architecture> <Lit_EscapedChar "\\a"> <", with an optional trailing\n"> <" -"> <Lit_EscapedChar "\\a"> <version> <Lit_EscapedChar "\\a"> <". The main theme is that type names within\n"> <" a family of architectures are named in a similar,\n"> < " predictable style. OS point release information is\n" > <" avoided as much as possible, but vendor resistance to\n"> < " release incompatibilities has for the most part been\n" > <" futile.]\n"> <" }\n"> <" [+html"> <Lit_EscapedChar "\\b"> <" [ "> <Lit_EscapedChar "\\a"> <action> <Lit_EscapedChar "\\a"> <" ]]?Display html help text on the standard\n"> <" error (standard output for "> <Lit_EscapedChar "\\a"> <action> <Lit_EscapedChar "\\a"> <").]\n"> <" [+install"> <Lit_EscapedChar "\\b"> <" [ "> <Lit_EscapedChar "\\a"> <architecture> <Lit_EscapedChar "\\a"> <" ... ]] "> <Lit_EscapedChar "\\a"> <directory> <Lit_EscapedChar "\\a"> <" [ "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <" ... ]]?Copy\n"> <" the package binary hierarchy to "> <Lit_EscapedChar "\\a"> <directory> <Lit_EscapedChar "\\a"> <". If\n"> <" "> <Lit_EscapedChar "\\a"> <architecture> <Lit_EscapedChar "\\a"> <" is omitted then all architectures are\n"> <" installed. If "> <Lit_EscapedChar "\\b"> <flat> <Lit_EscapedChar "\\b"> <" is specified then exactly one\n"> <" "> <Lit_EscapedChar "\\a"> <architecture> <Lit_EscapedChar "\\a"> <" must be specified; this architecture will be\n"> <" installed in "> <Lit_EscapedChar "\\a"> <directory> <Lit_EscapedChar "\\a"> <" without the "> <Lit_EscapedChar "\\b"> <arch/> <Lit_EscapedChar "\\b"> <Lit_EscapedChar "\\a"> <HOSTTYPE> <Lit_EscapedChar "\\a"> <"\n"> <" directory prefixes. Otherwise each architecture will be\n"> <" installed in a separate "> <Lit_EscapedChar "\\b"> <arch/> <Lit_EscapedChar "\\b"> <Lit_EscapedChar "\\a"> <HOSTTYPE> <Lit_EscapedChar "\\a"> <" subdirectory of\n"> <" "> <Lit_EscapedChar "\\a"> <directory> <Lit_EscapedChar "\\a"> <". The "> <Lit_EscapedChar "\\a"> <architecture> <Lit_EscapedChar "\\a"> <" "> <Lit_EscapedChar "\\b"> <-> <Lit_EscapedChar "\\b"> <" names the current\n"> <" architecture. "> <Lit_EscapedChar "\\a"> <directory> <Lit_EscapedChar "\\a"> <" must be an existing directory. If\n"> <" "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <" is omitted then all binary packages are installed.\n"> <" This action requires "> <Lit_EscapedChar "\\b"> <nmake> <Lit_EscapedChar "\\b"> <".]\n"> <" [+license"> <Lit_EscapedChar "\\b"> <" [ "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <" ... ]]?List the source license(s) for\n"> <" "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <" on the standard output. Note that individual\n"> <" components in "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <" may contain additional or replacement\n"> <" licenses.]\n"> <" [+list"> <Lit_EscapedChar "\\b"> <" [ "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <" ... ]]?List the name, version and\n"> <" prerequisites for "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <" on the standard output.]\n"> <" [+make"> <Lit_EscapedChar "\\b"> <" [ "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <" ]] [ "> <Lit_EscapedChar "\\a"> <option> <Lit_EscapedChar "\\a"> <" ... ]] [ "> <Lit_EscapedChar "\\a"> <target> <Lit_EscapedChar "\\a"> <" ... ]]?Build\n"> <"\t and install. The default "> <Lit_EscapedChar "\\a"> <target> <Lit_EscapedChar "\\a"> <" is "> <Lit_EscapedChar "\\b"> <install> <Lit_EscapedChar "\\b"> <", which makes\n"> <"\t and installs "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <". If the standard output is a terminal\n"> <"\t then the output is also captured in\n"> <" "> <Lit_EscapedChar "\\b"> <"$INSTALLROOT/lib/package/gen/make.out"> <Lit_EscapedChar "\\b"> <". The build is done in\n"> <" the "> <Lit_EscapedChar "\\b"> <"$INSTALLROOT"> <Lit_EscapedChar "\\b"> <" directory tree viewpathed on top of the\n"> <" "> <Lit_EscapedChar "\\b"> <"$PACKAGEROOT"> <Lit_EscapedChar "\\b"> <" directory tree. If "> <Lit_EscapedChar "\\b"> <flat> <Lit_EscapedChar "\\b"> <" is specified then\n"> <" the "> <Lit_EscapedChar "\\b"> <"$INSTALLROOT"> <Lit_EscapedChar "\\b"> <" { bin fun include lib } directories are\n"> < " linked to the same directories in the package root. Only one\n" > <" architecture may be "> <Lit_EscapedChar "\\b"> <flat> <Lit_EscapedChar "\\b"> <". Leaf directory names matching the\n"> <" "> <Lit_EscapedChar "\\b"> <"|"> <Lit_EscapedChar "\\b"> <"-separated shell pattern "> <Lit_EscapedChar "\\b"> <"$MAKESKIP"> <Lit_EscapedChar "\\b"> <" are ignored. The\n"> <" "> <Lit_EscapedChar "\\b"> <view> <Lit_EscapedChar "\\b"> <" action is done before making. "> <Lit_EscapedChar "\\a"> <option> <Lit_EscapedChar "\\a"> <" operands are\n"> <"\t passed to the underlying make command.]\n"> <" [+read"> <Lit_EscapedChar "\\b"> <" [ "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <" ... | "> <Lit_EscapedChar "\\a"> <archive> <Lit_EscapedChar "\\a"> <" ... ]]?Read the named\n"> <" package or archive(s). Must be run from the package root\n"> <" directory. Archives are searched for in "> <Lit_EscapedChar "\\b"> <.> <Lit_EscapedChar "\\b"> <" and\n"> <" "> <Lit_EscapedChar "\\b"> <lib/package/tgz> <Lit_EscapedChar "\\b"> <". Each package archive is read only once.\n"> <" The file "> <Lit_EscapedChar "\\b"> <lib/package/tgz/> <Lit_EscapedChar "\\b"> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <"[."> <Lit_EscapedChar "\\a"> <type> <Lit_EscapedChar "\\a"> <"]]"> <Lit_EscapedChar "\\b"> <.tim> <Lit_EscapedChar "\\b"> <"\n"> <" tracks the read time. See the "> <Lit_EscapedChar "\\b"> <write> <Lit_EscapedChar "\\b"> <" action for archive\n"> < " naming conventions. Text file archive member are assumed to be\n" > <" ASCII or UTF-8 encoded.]\n"> <" [+regress?"> <Lit_EscapedChar "\\b"> <diff> <Lit_EscapedChar "\\b"> <"(1) the current and previous "> <Lit_EscapedChar "\\b"> <"package test"> <Lit_EscapedChar "\\b"> <"\n"> <" results.]\n"> <" [+release"> <Lit_EscapedChar "\\b"> <" [ ["> <Lit_EscapedChar "\\a"> <CC> <Lit_EscapedChar "\\a"> <"]]"> <Lit_EscapedChar "\\a"> <YY-MM-DD> <Lit_EscapedChar "\\a"> <" [ ["> <Lit_EscapedChar "\\a"> <cc> <Lit_EscapedChar "\\a"> <"]]"> <Lit_EscapedChar "\\a"> <yy-mm-dd> <Lit_EscapedChar "\\a"> <" ]]]] [ "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <" ]]?Display\n"> <" recent changes for the date range ["> <Lit_EscapedChar "\\a"> <CC> <Lit_EscapedChar "\\a"> <"]]"> <Lit_EscapedChar "\\a"> <YY-MM-DD> <Lit_EscapedChar "\\a"> <" (up to\n"> <" ["> <Lit_EscapedChar "\\a"> <cc> <Lit_EscapedChar "\\a"> <"]]"> <Lit_EscapedChar "\\a"> <yy-mm-dd> <Lit_EscapedChar "\\a"> <".), where "> <Lit_EscapedChar "\\b"> <-> <Lit_EscapedChar "\\b"> <" means lowest (or highest.)\n"> <" If no dates are specified then changes for the last 4 months\n"> <" are listed. "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <" may be a package or component name.]\n"> <" [+remove"> <Lit_EscapedChar "\\b"> <" [ "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <" ]]?Remove files installed for\n"> <" "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <".]\n"> <" [+results"> <Lit_EscapedChar "\\b"> <" [ "> <Lit_EscapedChar "\\b"> <failed> <Lit_EscapedChar "\\b"> <" ]] [ "> <Lit_EscapedChar "\\b"> <path> <Lit_EscapedChar "\\b"> <" ]] [ "> <Lit_EscapedChar "\\b"> <old> <Lit_EscapedChar "\\b"> <" ]] ["> <Lit_EscapedChar "\\b"> <make> <Lit_EscapedChar "\\b"> <" | "> <Lit_EscapedChar "\\b"> <test> <Lit_EscapedChar "\\b"> <" | "> <Lit_EscapedChar "\\b"> <write> <Lit_EscapedChar "\\b"> <" ]]?List\n"> <" results and interesting messages captured by the most recent\n"> <" "> <Lit_EscapedChar "\\b"> <make> <Lit_EscapedChar "\\b"> <" (default), "> <Lit_EscapedChar "\\b"> <test> <Lit_EscapedChar "\\b"> <" or "> <Lit_EscapedChar "\\b"> <write> <Lit_EscapedChar "\\b"> <" action. "> <Lit_EscapedChar "\\b"> <old> <Lit_EscapedChar "\\b"> <"\n"> < " specifies the previous results, if any (current and previous\n" > <" results are retained.) "> <Lit_EscapedChar "\\b"> <"$HOME/.pkgresults"> <Lit_EscapedChar "\\b"> <", if it exists,\n"> <" must contain an "> <Lit_EscapedChar "\\b"> <egrep> <Lit_EscapedChar "\\b"> <"(1) expression of result lines to be\n"> <" ignored. "> <Lit_EscapedChar "\\b"> <failed> <Lit_EscapedChar "\\b"> <" lists failures only and "> <Lit_EscapedChar "\\b"> <path> <Lit_EscapedChar "\\b"> <" lists the\n"> <" results file path name only.]\n"> <" [+setup"> <Lit_EscapedChar "\\b"> <" [ beta ]] [ binary ]] [ source ]] [ "> <Lit_EscapedChar "\\a"> <architecture> <Lit_EscapedChar "\\a"> <" ... ]] [ "> <Lit_EscapedChar "\\a"> <url> <Lit_EscapedChar "\\a"> <" ]] [ "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <" ... ]]?This\n"> < " action initializes the current directory as a package root, runs the\n" > <" "> <Lit_EscapedChar "\\b"> <update> <Lit_EscapedChar "\\b"> <" action to download new or out of date packages, and runs the\n"> <" "> <Lit_EscapedChar "\\b"> <read> <Lit_EscapedChar "\\b"> <" action on those packages. If "> <Lit_EscapedChar "\\b"> <flat> <Lit_EscapedChar "\\b"> <" is specified then the\n"> <" "> <Lit_EscapedChar "\\b"> <"$INSTALLROOT"> <Lit_EscapedChar "\\b"> <" { bin fun include lib } directories are linked to the\n"> < " same directories in the package root. Only one architecture may be\n" > <" "> <Lit_EscapedChar "\\b"> <flat> <Lit_EscapedChar "\\b"> <". See the "> <Lit_EscapedChar "\\b"> <update> <Lit_EscapedChar "\\b"> <" and "> <Lit_EscapedChar "\\b"> <read> <Lit_EscapedChar "\\b"> <" action descriptions for\n"> <" argument details.]\n"> <" [+test"> <Lit_EscapedChar "\\b"> <" [ "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <" ]]?Run the regression tests for\n"> <" "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <". If the standard output is a terminal then the\n"> <" output is also captured in\n"> <" "> <Lit_EscapedChar "\\b"> <"$INSTALLROOT/lib/package/gen/test.out"> <Lit_EscapedChar "\\b"> <". In general a package\n"> < " must be made before it can be tested. Components tested with\n" > <" the "> <Lit_EscapedChar "\\b"> <regress> <Lit_EscapedChar "\\b"> <"(1) command require "> <Lit_EscapedChar "\\b"> <ksh93> <Lit_EscapedChar "\\b"> <". If "> <Lit_EscapedChar "\\b"> <only> <Lit_EscapedChar "\\b"> <" is\n"> <"\t also specified then only the listed package components are\n"> <"\t tested, otherwise the closure of the components is tested.]\n"> <" [+update"> <Lit_EscapedChar "\\b"> <" [ beta ]] [ binary ]] [ source ]] ["> <Lit_EscapedChar "\\a"> <architecture> <Lit_EscapedChar "\\a"> <" ... ]] [ "> <Lit_EscapedChar "\\a"> <url> <Lit_EscapedChar "\\a"> <" ]] [ "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <" ... ]]?Download\n"> <" the latest release of the selected and required packages from "> <Lit_EscapedChar "\\a"> <url> <Lit_EscapedChar "\\a"> <"\n"> <" (e.g., "> <Lit_EscapedChar "\\b"> <"http://www.research.att.com/sw/download"> <Lit_EscapedChar "\\b"> <") into the directory\n"> <" "> <Lit_EscapedChar "\\b"> <"$PACKAGEROOT/lib/package/tgz"> <Lit_EscapedChar "\\b"> <". "> <Lit_EscapedChar "\\b"> <beta> <Lit_EscapedChar "\\b"> <" acesses beta packages;\n"> <" download these at your own risk. If "> <Lit_EscapedChar "\\a"> <architecture> <Lit_EscapedChar "\\a"> <" is omitted then\n"> <" only architectures already present in the "> <Lit_EscapedChar "\\b"> <tgz> <Lit_EscapedChar "\\b"> <" directory will be\n"> <" downloaded. If "> <Lit_EscapedChar "\\a"> <architecture> <Lit_EscapedChar "\\a"> <" is "> <Lit_EscapedChar "\\b"> <-> <Lit_EscapedChar "\\b"> <" then all posted architectures\n"> <" will be downloaded. If "> <Lit_EscapedChar "\\a"> <url> <Lit_EscapedChar "\\a"> <" matches "> <Lit_EscapedChar "\\b"> <"*.url"> <Lit_EscapedChar "\\b"> <" then it is interpreted\n"> <" as a file containing shell variable assignments for "> <Lit_EscapedChar "\\b"> <url> <Lit_EscapedChar "\\b"> <",\n"> <" "> <Lit_EscapedChar "\\b"> <authorize> <Lit_EscapedChar "\\b"> <" and "> <Lit_EscapedChar "\\b"> <password> <Lit_EscapedChar "\\b"> <". If "> <Lit_EscapedChar "\\a"> <url> <Lit_EscapedChar "\\a"> <" is omitted then the\n"> <" definitions for "> <Lit_EscapedChar "\\b"> <url> <Lit_EscapedChar "\\b"> <", "> <Lit_EscapedChar "\\b"> <authorize> <Lit_EscapedChar "\\b"> <" and "> <Lit_EscapedChar "\\b"> <password> <Lit_EscapedChar "\\b"> <" in\n"> <" "> <Lit_EscapedChar "\\b"> <"$PACKAGEROOT/lib/package/tgz/default.url"> <Lit_EscapedChar "\\b"> <", if it exists, are used.\n"> <" If "> <Lit_EscapedChar "\\b"> <"$PACKAGEROOT/lib/package/tgz/default.url"> <Lit_EscapedChar "\\b"> <" does not exist then it\n"> <" is initialized with the current "> <Lit_EscapedChar "\\b"> <url> <Lit_EscapedChar "\\b"> <", "> <Lit_EscapedChar "\\b"> <authorize> <Lit_EscapedChar "\\b"> <" and "> <Lit_EscapedChar "\\b"> <password> <Lit_EscapedChar "\\b"> <"\n"> <" values and read permission for the current user only. If "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <" is\n"> < " omitted then only packages already present in the tgz directory will be\n" > <" downloaded. If "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <" is "> <Lit_EscapedChar "\\b"> <-> <Lit_EscapedChar "\\b"> <" then all posted packages will be\n"> <" downloaded. If "> <Lit_EscapedChar "\\b"> <source> <Lit_EscapedChar "\\b"> <" and "> <Lit_EscapedChar "\\b"> <binary> <Lit_EscapedChar "\\b"> <" are omitted then both source\n"> <" and binary packages will be downloaded. If "> <Lit_EscapedChar "\\b"> <only> <Lit_EscapedChar "\\b"> <" is specified then\n"> < " only the named packages are updated; otherwise the closure of required\n" > <" packages is updated. This action requires "> <Lit_EscapedChar "\\b"> <wget> <Lit_EscapedChar "\\b"> <"(1), "> <Lit_EscapedChar "\\b"> <lynx> <Lit_EscapedChar "\\b"> <"(1),\n"> <" "> <Lit_EscapedChar "\\b"> <curl> <Lit_EscapedChar "\\b"> <"(1) or a shell that supports io to\n"> <"\t "> <Lit_EscapedChar "\\b"> </dev/tcp/> <Lit_EscapedChar "\\b"> <Lit_EscapedChar "\\a"> <host> <Lit_EscapedChar "\\a"> </> <Lit_EscapedChar "\\a"> <port> <Lit_EscapedChar "\\a"> <".]\n"> <" [+use"> <Lit_EscapedChar "\\b"> <" [ "> <Lit_EscapedChar "\\a"> <uid> <Lit_EscapedChar "\\a"> <" | "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <" | . [ 32 | 64 ]] | 32 | 64 | - ]] [ command ...]]?Run\n"> <" "> <Lit_EscapedChar "\\a"> <command> <Lit_EscapedChar "\\a"> <", or an interactive shell if "> <Lit_EscapedChar "\\a"> <command> <Lit_EscapedChar "\\a"> <" is omitted,\n"> < " with the environment initialized for using the package (can you\n" > <" say "> <Lit_EscapedChar "\\a"> <shared> <Lit_EscapedChar "\\a"> <" "> <Lit_EscapedChar "\\a"> <library> <Lit_EscapedChar "\\a"> <" or "> <Lit_EscapedChar "\\a"> <dll> <Lit_EscapedChar "\\a"> <" without cussing?) If\n"> <" "> <Lit_EscapedChar "\\a"> <uid> <Lit_EscapedChar "\\a"> <" or "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <" or "> <Lit_EscapedChar "\\a"> <.> <Lit_EscapedChar "\\a"> <" is specified then it is used\n"> <"\t to determine a "> <Lit_EscapedChar "\\b"> <"$PACKAGEROOT"> <Lit_EscapedChar "\\b"> <", possibly different from\n"> <"\t the current directory. For example, to try out bozo`s package:\n"> <" "> <Lit_EscapedChar "\\b"> <"package use bozo"> <Lit_EscapedChar "\\b"> <". The "> <Lit_EscapedChar "\\b"> <use> <Lit_EscapedChar "\\b"> <" action may be run from any\n"> <" directory. If the file "> <Lit_EscapedChar "\\b"> <"$INSTALLROOT/lib/package/profile"> <Lit_EscapedChar "\\b"> <" is\n"> < " readable then it is sourced to initialize the environment. 32 or 64\n" > <"\t implies "> <Lit_EscapedChar "\\b"> <"$PACKAGEROOT"> <Lit_EscapedChar "\\b"> <" of . and specifies the target architecture\n"> <"\t word size (which may be silently ignored.)]\n"> <" [+verify"> <Lit_EscapedChar "\\b"> <" [ "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <" ]]?Verify installed binary files\n"> <" against the checksum files in\n"> <" "> <Lit_EscapedChar "\\b"> <"$INSTALLROOT/lib/"> <Lit_EscapedChar "\\b"> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <Lit_EscapedChar "\\b"> <"/gen/*.sum"> <Lit_EscapedChar "\\b"> <". The checksum\n"> <" files contain mode, user and group information. If the checksum\n"> < " matches for a given file then the mode, user and group are\n" > <" changed as necessary to match the checksum entry. A warning is\n"> < " printed on the standard error for each mismatch. Requires the\n" > <" "> <Lit_EscapedChar "\\b"> <ast> <Lit_EscapedChar "\\b"> <" package "> <Lit_EscapedChar "\\b"> <cksum> <Lit_EscapedChar "\\b"> <"(1) command.]\n"> <" [+view"> <Lit_EscapedChar "\\b"> <"?Initialize the architecture specific viewpath\n"> <" hierarchy. If "> <Lit_EscapedChar "\\b"> <flat> <Lit_EscapedChar "\\b"> <" is specified then the "> <Lit_EscapedChar "\\b"> <"$INSTALLROOT"> <Lit_EscapedChar "\\b"> <" {\n"> <" bin fun include lib } directories are linked to the same\n"> <" directories in the package root. Only one architecture may be\n"> <" "> <Lit_EscapedChar "\\b"> <flat> <Lit_EscapedChar "\\b"> <". The "> <Lit_EscapedChar "\\b"> <make> <Lit_EscapedChar "\\b"> <" action implicitly calls this action.]\n"> <" [+write"> <Lit_EscapedChar "\\b"> <" ["> <Lit_EscapedChar "\\a"> <format> <Lit_EscapedChar "\\a"> <"]] "> <Lit_EscapedChar "\\a"> <type> <Lit_EscapedChar "\\a"> <" ... [ "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <" ...]]?Write\n"> <" a package archive for "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <". All work is done in the\n"> <" "> <Lit_EscapedChar "\\b"> <"$PACKAGEROOT/lib/package"> <Lit_EscapedChar "\\b"> <" directory. "> <Lit_EscapedChar "\\a"> <format> <Lit_EscapedChar "\\a"> <"-specific\n"> <" files are placed in the "> <Lit_EscapedChar "\\a"> <format> <Lit_EscapedChar "\\a"> <" subdirectory. A\n"> <" "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <"[."> <Lit_EscapedChar "\\a"> <type> <Lit_EscapedChar "\\a"> <"]]"> <Lit_EscapedChar "\\b"> <.tim> <Lit_EscapedChar "\\b"> <" file in this directory tracks\n"> <" the write time and prevents a package from being read in the\n"> < " same root it was written. If more than one file is generated\n" > <" for a particular "> <Lit_EscapedChar "\\a"> <format> <Lit_EscapedChar "\\a"> <" then those files are placed in the\n"> <" "> <Lit_EscapedChar "\\a"> <format> <Lit_EscapedChar "\\a"> </> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <" subdirectory. File names in the\n"> <" "> <Lit_EscapedChar "\\a"> <format> <Lit_EscapedChar "\\a"> <" subdirectory will contain the package name, a\n"> <" "> <Lit_EscapedChar "\\a"> <yyyy-mm-dd> <Lit_EscapedChar "\\a"> <" date, and for binary packages, "> <Lit_EscapedChar "\\a"> <HOSTTYPE> <Lit_EscapedChar "\\a"> <". If\n"> <" "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <" is omitted then an ordered list of previously\n"> <" written packages is generated. If "> <Lit_EscapedChar "\\b"> <only> <Lit_EscapedChar "\\b"> <" is specified then\n"> < " only the named packages will be written; otherwise prerequisite\n" > <" packages are written first. Package components must be listed\n"> <" in "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <Lit_EscapedChar "\\b"> <.pkg> <Lit_EscapedChar "\\b"> <". "> <Lit_EscapedChar "\\a"> <format> <Lit_EscapedChar "\\a"> <" may be one of:]\n"> <" {\n"> <" [+cyg?Generate a "> <Lit_EscapedChar "\\b"> <cygwin> <Lit_EscapedChar "\\b"> <" package.]\n"> <" [+exp?Generate an "> <Lit_EscapedChar "\\b"> <exptools> <Lit_EscapedChar "\\b"> <" maintainer source\n"> <" archive and "> <Lit_EscapedChar "\\a"> <NPD> <Lit_EscapedChar "\\a"> <" file, suitable for "> <Lit_EscapedChar "\\b"> <expmake> <Lit_EscapedChar "\\b"> <"(1)]\n"> <" [+lcl?Generate a package archive suitable for\n"> <" restoration into the local source tree (i.e., the\n"> <" source is not annotated for licencing.)]\n"> <" [+pkg?Generate a "> <Lit_EscapedChar "\\b"> <pkgmk> <Lit_EscapedChar "\\b"> <"(1) package suitable for\n"> <" "> <Lit_EscapedChar "\\b"> <pkgadd> <Lit_EscapedChar "\\b"> <"(1).]\n"> <" [+rpm?Generate an "> <Lit_EscapedChar "\\b"> <rpm> <Lit_EscapedChar "\\b"> <"(1) package.]\n"> <" [+tgz?Generate a "> <Lit_EscapedChar "\\b"> <gzip> <Lit_EscapedChar "\\b"> <"(1) "> <Lit_EscapedChar "\\b"> <tar> <Lit_EscapedChar "\\b"> <"(1) package\n"> <" archive. This is the default.]\n"> <" [+tst?Generate a "> <Lit_EscapedChar "\\b"> <tgz> <Lit_EscapedChar "\\b"> <" format package archive in the\n"> <"\t\t "> <Lit_EscapedChar "\\b"> <tst> <Lit_EscapedChar "\\b"> <" subdirectory. Version state files are not updated.]\n"> <" }\n"> <" [+?"> <Lit_EscapedChar "\\b"> <type> <Lit_EscapedChar "\\b"> <" specifies the package type which must be one of\n"> <" "> <Lit_EscapedChar "\\b"> <source> <Lit_EscapedChar "\\b"> <", "> <Lit_EscapedChar "\\b"> <binary> <Lit_EscapedChar "\\b"> <" or "> <Lit_EscapedChar "\\b"> <runtime> <Lit_EscapedChar "\\b"> <". A source package\n"> <" contains the source needed to build the corresponding binary\n"> < " package. A binary package includes the libraries and headers\n" > <" needed for compiling and linking against the public interfaces.\n"> < " A runtime package contains the commands and required dynamic\n" > <" libraries.]\n"> <" [+?A package may be either a "> <Lit_EscapedChar "\\b"> <base> <Lit_EscapedChar "\\b"> <" or "> <Lit_EscapedChar "\\b"> <delta> <Lit_EscapedChar "\\b"> <". A base\n"> < " package contains a complete copy of all components. A delta\n" > <" package contains only changes from a previous base package.\n"> <" Delta recipients must have the "> <Lit_EscapedChar "\\b"> <ast> <Lit_EscapedChar "\\b"> <" "> <Lit_EscapedChar "\\b"> <pax> <Lit_EscapedChar "\\b"> <"(1) command (in\n"> <" the "> <Lit_EscapedChar "\\b"> <ast-base> <Lit_EscapedChar "\\b"> <" package.) If neither "> <Lit_EscapedChar "\\b"> <base> <Lit_EscapedChar "\\b"> <" nor "> <Lit_EscapedChar "\\b"> <delta> <Lit_EscapedChar "\\b"> <" is\n"> <" specified, then the current base is overwritten if there are no\n"> <" deltas referring to the current base. Only the "> <Lit_EscapedChar "\\b"> <tgz> <Lit_EscapedChar "\\b"> <" and\n"> <" "> <Lit_EscapedChar "\\b"> <lcl> <Lit_EscapedChar "\\b"> <" formats support "> <Lit_EscapedChar "\\b"> <delta> <Lit_EscapedChar "\\b"> <". If "> <Lit_EscapedChar "\\b"> <base> <Lit_EscapedChar "\\b"> <" is specified\n"> < " then a new base and two delta archives are generated: one delta\n" > <" to generate the new base from the old, and one delta to\n"> <" generate the old base from the new; the old base is then\n"> <" removed. If "> <Lit_EscapedChar "\\b"> <delta> <Lit_EscapedChar "\\b"> <" is specified then a new delta referring\n"> <" to the current base is written.]\n"> <" [+?"> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <Lit_EscapedChar "\\b"> <.pkg> <Lit_EscapedChar "\\b"> <" may reference other packages. By default\n"> <" a pointer to those packages is written. The recipient "> <Lit_EscapedChar "\\b"> <"package\n"> <" read"> <Lit_EscapedChar "\\b"> <" will then check that all required packages have been\n"> <" downloaded. If "> <Lit_EscapedChar "\\b"> <closure> <Lit_EscapedChar "\\b"> <" is specified then the components for\n"> <" all package references are included in the generated package.\n"> <" This may be useful for "> <Lit_EscapedChar "\\b"> <lcl> <Lit_EscapedChar "\\b"> <" and versioning.]\n"> <" [+?All formats but "> <Lit_EscapedChar "\\b"> <lcl> <Lit_EscapedChar "\\b"> <" annotate each "> <Lit_EscapedChar "\\b"> <source> <Lit_EscapedChar "\\b"> <" file (not\n"> <" already annotated) with a license comment as it is written to\n"> <" the package archive using "> <Lit_EscapedChar "\\b"> <proto> <Lit_EscapedChar "\\b"> <"(1).]\n"> <" }\n"> <"[+DETAILS?The package directory hierarchy is rooted at\n"> <" "> <Lit_EscapedChar "\\b"> <"$PACKAGEROOT"> <Lit_EscapedChar "\\b"> <". All source and binaries reside under this tree. A two\n"> <" level viewpath is used to separate source and binaries. The top view is\n"> < " architecture specific, the bottom view is shared source. All building\n" > <" is done in the architecture specific view; no source view files are\n"> <" intentionally changed. This means that many different binary\n"> <" architectures can be made from a single copy of the source.]\n"> <"[+?Independent "> <Lit_EscapedChar "\\b"> <"$PACKAGEROOT"> <Lit_EscapedChar "\\b"> <" hierarchies can be combined by\n"> <" appending "> <Lit_EscapedChar "\\b"> <"$INSTALLROOT:$PACKAGEROOT"> <Lit_EscapedChar "\\b"> <" pairs to "> <Lit_EscapedChar "\\b"> <VPATH> <Lit_EscapedChar "\\b"> <". The\n"> <" "> <Lit_EscapedChar "\\b"> <VPATH> <Lit_EscapedChar "\\b"> <" viewing order is from left to right. Each "> <Lit_EscapedChar "\\b"> <"$PACKAGEROOT"> <Lit_EscapedChar "\\b"> <"\n"> <" must have a "> <Lit_EscapedChar "\\b"> <"$PACKAGEROOT/lib/package"> <Lit_EscapedChar "\\b"> <" directory.]\n"> <"[+?Each package contains one or more components. Component source for\n"> <" the "> <Lit_EscapedChar "\\a"> <foo> <Lit_EscapedChar "\\a"> <" command is in "> <Lit_EscapedChar "\\b"> <"$PACKAGEROOT/src/cmd/"> <Lit_EscapedChar "\\b"> <Lit_EscapedChar "\\a"> <foo> <Lit_EscapedChar "\\a"> <", and source\n"> <" for the "> <Lit_EscapedChar "\\a"> <bar> <Lit_EscapedChar "\\a"> <" library is in "> <Lit_EscapedChar "\\b"> <"$PACKAGEROOT/src/lib/lib"> <Lit_EscapedChar "\\b"> <Lit_EscapedChar "\\a"> <bar> <Lit_EscapedChar "\\a"> <". This\n"> <" naming is for convenience only; the underlying makefiles handle\n"> <" inter-component build order. The "> <Lit_EscapedChar "\\b"> <INIT> <Lit_EscapedChar "\\b"> <" component, which contains\n"> <" generic package support files, is always made first, then the\n"> <" components named "> <Lit_EscapedChar "\\b"> <INIT> <Lit_EscapedChar "\\b"> <"*, then the component order determined by the\n"> <" closure of component makefile dependencies.]\n"> <"[+?"> <Lit_EscapedChar "\\b"> <"$PACKAGEROOT/lib/package"> <Lit_EscapedChar "\\b"> <" contains package specific files. The\n"> <" package naming convention is "> <Lit_EscapedChar "\\a"> <group> <Lit_EscapedChar "\\a"> <"[-"> <Lit_EscapedChar "\\a"> <part> <Lit_EscapedChar "\\a"> <"]]; e.g., "> <Lit_EscapedChar "\\b"> <ast-base> <Lit_EscapedChar "\\b"> <",\n"> <" "> <Lit_EscapedChar "\\b"> <gnu-fileutils> <Lit_EscapedChar "\\b"> <". The *"> <Lit_EscapedChar "\\b"> <.pkg> <Lit_EscapedChar "\\b"> <" files are ast "> <Lit_EscapedChar "\\b"> <nmake> <Lit_EscapedChar "\\b"> <"(1) makefiles\n"> < " that contain the package name, package components, references to other\n" > <" packages, and a short package description. *"> <Lit_EscapedChar "\\b"> <.pkg> <Lit_EscapedChar "\\b"> <" files are used by\n"> <" "> <Lit_EscapedChar "\\b"> <"package write"> <Lit_EscapedChar "\\b"> <" to generate new source and binary packages.]\n"> <"[+?"> <Lit_EscapedChar "\\b"> <"$PACKAGEROOT/lib/package/"> <Lit_EscapedChar "\\b"> <Lit_EscapedChar "\\a"> <group> <Lit_EscapedChar "\\a"> <Lit_EscapedChar "\\b"> <.lic> <Lit_EscapedChar "\\b"> <" files contain license\n"> <" information that is used by the "> <Lit_EscapedChar "\\b"> <ast> <Lit_EscapedChar "\\b"> <" "> <Lit_EscapedChar "\\b"> <proto> <Lit_EscapedChar "\\b"> <"(1) and "> <Lit_EscapedChar "\\b"> <nmake> <Lit_EscapedChar "\\b"> <"(1)\n"> <" commands to generate source and binary license strings. "> <Lit_EscapedChar "\\a"> <group> <Lit_EscapedChar "\\a"> <" is\n"> <" determined by the first "> <Lit_EscapedChar "\\b"> <":PACKAGE:"> <Lit_EscapedChar "\\b"> <" operator name listed in the\n"> <" component "> <Lit_EscapedChar "\\b"> <nmake> <Lit_EscapedChar "\\b"> <" makefile. "> <Lit_EscapedChar "\\a"> <group> <Lit_EscapedChar "\\a"> <Lit_EscapedChar "\\b"> <.lic> <Lit_EscapedChar "\\b"> <" files are part of the\n"> <" licensing documentation. Each component may have its own "> <Lit_EscapedChar "\\b"> <LICENSE> <Lit_EscapedChar "\\b"> <" file\n"> <" that overrides the "> <Lit_EscapedChar "\\a"> <group> <Lit_EscapedChar "\\a"> <Lit_EscapedChar "\\b"> <.lic> <Lit_EscapedChar "\\b"> <" file. The full text of the licenses\n"> <" are in the "> <Lit_EscapedChar "\\b"> <"$PACKAGEROOT/lib/package/LICENSES"> <Lit_EscapedChar "\\b"> <" and\n"> <" "> <Lit_EscapedChar "\\b"> <"$INSTALLROOT/lib/package/LICENSES"> <Lit_EscapedChar "\\b"> <" directories.]\n"> <"[+?A few files are generated in "> <Lit_EscapedChar "\\b"> <"$PACKAGEROOT/lib/package/gen"> <Lit_EscapedChar "\\b"> <" and\n"> <" "> <Lit_EscapedChar "\\b"> <"$INSTALLROOT/lib/package/gen"> <Lit_EscapedChar "\\b"> <". "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <Lit_EscapedChar "\\b"> <.ver> <Lit_EscapedChar "\\b"> <" contains one line\n"> <" consisting of "> <Lit_EscapedChar "\\a"> <"package version release"> <Lit_EscapedChar "\\a"> <" "> <Lit_EscapedChar "\\b"> <1> <Lit_EscapedChar "\\b"> <" for the most recent\n"> <" instance of "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <" read into "> <Lit_EscapedChar "\\b"> <"$PACKAGEROOT"> <Lit_EscapedChar "\\b"> <", where "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <"\n"> <" is the package name, "> <Lit_EscapedChar "\\a"> <version> <Lit_EscapedChar "\\a"> <" is the "> <Lit_EscapedChar "\\a"> <YYYY-MM-DD> <Lit_EscapedChar "\\a"> <" base version,\n"> <" and "> <Lit_EscapedChar "\\a"> <release> <Lit_EscapedChar "\\a"> <" is "> <Lit_EscapedChar "\\a"> <version> <Lit_EscapedChar "\\a"> <" for the base release or "> <Lit_EscapedChar "\\a"> <YYYY-MM-DD> <Lit_EscapedChar "\\a"> <"\n"> <" for delta releases. "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <Lit_EscapedChar "\\b"> <.req> <Lit_EscapedChar "\\b"> <" contains *"> <Lit_EscapedChar "\\b"> <.ver> <Lit_EscapedChar "\\b"> <" entries for\n"> <" the packages required by "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <", except that the fourth field is\n"> <" "> <Lit_EscapedChar "\\b"> <0> <Lit_EscapedChar "\\b"> <" instead of "> <Lit_EscapedChar "\\b"> <1> <Lit_EscapedChar "\\b"> <". All packages except "> <Lit_EscapedChar "\\b"> <INIT> <Lit_EscapedChar "\\b"> <" require the\n"> <" "> <Lit_EscapedChar "\\b"> <INIT> <Lit_EscapedChar "\\b"> <" package. A simple sort of "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <Lit_EscapedChar "\\b"> <.pkg> <Lit_EscapedChar "\\b"> <" and *"> <Lit_EscapedChar "\\b"> <.ver> <Lit_EscapedChar "\\b"> <"\n"> <" determines if the required package have been read in. Finally,\n"> <" "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <Lit_EscapedChar "\\b"> <.README> <Lit_EscapedChar "\\b"> <" and "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <Lit_EscapedChar "\\a"> <.html> <Lit_EscapedChar "\\b"> <" contain the README text\n"> <" for "> <Lit_EscapedChar "\\a"> <package> <Lit_EscapedChar "\\a"> <" and all its components. Included are all changes added\n"> <" to the component "> <Lit_EscapedChar "\\b"> <RELEASE> <Lit_EscapedChar "\\b"> <", "> <Lit_EscapedChar "\\b"> <CHANGES> <Lit_EscapedChar "\\b"> <" or "> <Lit_EscapedChar "\\b"> <ChangeLog> <Lit_EscapedChar "\\b"> <" files dated\n"> <" since the two most recent base releases. Component "> <Lit_EscapedChar "\\b"> <RELEASE> <Lit_EscapedChar "\\b"> <" files\n"> <" contain tag lines of the form ["> <Lit_EscapedChar "\\a"> <YY> <Lit_EscapedChar "\\a"> <"]]"> <Lit_EscapedChar "\\a"> <YY-MM-DD> <Lit_EscapedChar "\\a"> <" [ "> <Lit_EscapedChar "\\a"> <text> <Lit_EscapedChar "\\a"> <" ]] (or\n"> <" "> <Lit_EscapedChar "\\b"> <date> <Lit_EscapedChar "\\b"> <"(1) format dates) followed by README text, in reverse\n"> <" chronological order (newer entries at the top of the file.) "> <Lit_EscapedChar "\\b"> <"package\n"> <" release"> <Lit_EscapedChar "\\b"> <" lists this information, and "> <Lit_EscapedChar "\\b"> <"package contents ..."> <Lit_EscapedChar "\\b"> <" lists\n"> <" the descriptions and components.]\n"> <"[+?"> <Lit_EscapedChar "\\b"> <"$HOSTYPE"> <Lit_EscapedChar "\\b"> <" names the current binary architecture and is determined\n"> <" by the output of "> <Lit_EscapedChar "\\b"> <package> <Lit_EscapedChar "\\b"> <" (no arguments.) The "> <Lit_EscapedChar "\\b"> <"$HOSTTYPE"> <Lit_EscapedChar "\\b"> <" naming\n"> < " scheme is used to separate incompatible executable and object formats.\n" > <" All architecture specific binaries are placed under "> <Lit_EscapedChar "\\b"> <"$INSTALLROOT"> <Lit_EscapedChar "\\b"> <"\n"> <" ("> <Lit_EscapedChar "\\b"> <"$PACKAGEROOT/arch/$HOSTTYPE"> <Lit_EscapedChar "\\b"> <".) There are a few places that match\n"> <" against "> <Lit_EscapedChar "\\b"> <"$HOSTTYPE"> <Lit_EscapedChar "\\b"> <" when making binaries; these are limited to\n"> <" makefile compiler workarounds, e.g., if "> <Lit_EscapedChar "\\b"> <"$HOSTTYPE"> <Lit_EscapedChar "\\b"> <" matches "> <Lit_EscapedChar "\\b"> <"hp.*"> <Lit_EscapedChar "\\b"> <"\n"> < " then turn off the optimizer for these objects. All other architecture\n" > <" dependent logic is handled either by the "> <Lit_EscapedChar "\\b"> <ast> <Lit_EscapedChar "\\b"> <" "> <Lit_EscapedChar "\\b"> <iffe> <Lit_EscapedChar "\\b"> <"(1) command or\n"> <" by component specific configure scripts. Explicit "> <Lit_EscapedChar "\\b"> <"$HOSTYPE"> <Lit_EscapedChar "\\b"> <"\n"> <" values matching *,*cc*[,-*,...]] optionally set the default "> <Lit_EscapedChar "\\b"> <CC> <Lit_EscapedChar "\\b"> <" and\n"> <" "> <Lit_EscapedChar "\\b"> <CCFLAGS> <Lit_EscapedChar "\\b"> <". This is handy for build farms that support different\n"> <" compilers on the same architecture.]\n"> <"[+?Each component contains an "> <Lit_EscapedChar "\\b"> <ast> <Lit_EscapedChar "\\b"> <" "> <Lit_EscapedChar "\\b"> <nmake> <Lit_EscapedChar "\\b"> <"(1) makefile (either\n"> <" "> <Lit_EscapedChar "\\b"> <Nmakefile> <Lit_EscapedChar "\\b"> <" or "> <Lit_EscapedChar "\\b"> <Makefile> <Lit_EscapedChar "\\b"> <") and a "> <Lit_EscapedChar "\\b"> <MAM> <Lit_EscapedChar "\\b"> <" (make abstract machine)\n"> <" file ("> <Lit_EscapedChar "\\b"> <Mamfile> <Lit_EscapedChar "\\b"> <".) A Mamfile contains a portable makefile description\n"> <" that is used by "> <Lit_EscapedChar "\\b"> <mamake> <Lit_EscapedChar "\\b"> <"(1) to simulate "> <Lit_EscapedChar "\\b"> <nmake> <Lit_EscapedChar "\\b"> <". Currently there is\n"> < " no support for old-make/gnu-make makefiles; if the binaries are just\n" > <" being built then "> <Lit_EscapedChar "\\b"> <mamake> <Lit_EscapedChar "\\b"> <" will suffice; if source or makefile\n"> <" modifications are anticipated then "> <Lit_EscapedChar "\\b"> <nmake> <Lit_EscapedChar "\\b"> <" (in the "> <Lit_EscapedChar "\\b"> <ast-base> <Lit_EscapedChar "\\b"> <"\n"> <" package) should be used. Mamfiles are automatically generated by\n"> <" "> <Lit_EscapedChar "\\b"> <"package write"> <Lit_EscapedChar "\\b"> <".]\n"> <"[+?Most component C source is prototyped. If "> <Lit_EscapedChar "\\b"> <"$CC"> <Lit_EscapedChar "\\b"> <" (default value\n"> <" "> <Lit_EscapedChar "\\b"> <cc> <Lit_EscapedChar "\\b"> <") is not a prototyping C compiler then "> <Lit_EscapedChar "\\b"> <"package make"> <Lit_EscapedChar "\\b"> <" runs\n"> <" "> <Lit_EscapedChar "\\b"> <proto> <Lit_EscapedChar "\\b"> <"(1) on portions of the "> <Lit_EscapedChar "\\b"> <"$PACKAGEROOT/src"> <Lit_EscapedChar "\\b"> <" tree and places\n"> <" the converted output files in the "> <Lit_EscapedChar "\\b"> <"$PACKAGEROOT/proto/src"> <Lit_EscapedChar "\\b"> <" tree.\n"> <" Converted files are then viewpathed over the original source.\n"> <" "> <Lit_EscapedChar "\\b"> <proto> <Lit_EscapedChar "\\b"> <"(1) converts an ANSI C subset to code that is compatible with\n"> <" K&R, ANSI, and C++ dialects.]\n"> <"[+?All scripts and commands under "> <Lit_EscapedChar "\\b"> <"$PACKAGEROOT"> <Lit_EscapedChar "\\b"> <" use "> <Lit_EscapedChar "\\b"> <"$PATH"> <Lit_EscapedChar "\\b"> <"\n"> <" relative pathnames (via the "> <Lit_EscapedChar "\\b"> <ast> <Lit_EscapedChar "\\b"> <" "> <Lit_EscapedChar "\\b"> <pathpath> <Lit_EscapedChar "\\b"> <"(3) function); there\n"> < " are no imbedded absolute pathnames. This means that binaries generated\n" > <" under "> <Lit_EscapedChar "\\b"> <"$PACKAGEROOT"> <Lit_EscapedChar "\\b"> <" may be copied to a different root; users need\n"> <" only change their "> <Lit_EscapedChar "\\b"> <"$PATH"> <Lit_EscapedChar "\\b"> <" variable to reference the new installation\n"> <" root "> <Lit_EscapedChar "\\b"> <bin> <Lit_EscapedChar "\\b"> <" directory. "> <Lit_EscapedChar "\\b"> <"package install"> <Lit_EscapedChar "\\b"> <" installs binary packages in\n"> <" a new "> <Lit_EscapedChar "\\b"> <"$INSTALLROOT"> <Lit_EscapedChar "\\b"> <".]\n"> <"\n"> <"[ qualifier ... ] [ action ] [ arg ... ] [ n=v ... ]\n"> <"\n"> <"[+SEE ALSO?"> <Lit_EscapedChar "\\b"> <autoconfig> <Lit_EscapedChar "\\b"> <"(1), "> <Lit_EscapedChar "\\b"> <cksum> <Lit_EscapedChar "\\b"> <"(1), "> <Lit_EscapedChar "\\b"> <execrate> <Lit_EscapedChar "\\b"> <"(1), "> <Lit_EscapedChar "\\b"> <expmake> <Lit_EscapedChar "\\b"> <"(1),\n"> <"\t"> <Lit_EscapedChar "\\b"> <gzip> <Lit_EscapedChar "\\b"> <"(1), "> <Lit_EscapedChar "\\b"> <make> <Lit_EscapedChar "\\b"> <"(1), "> <Lit_EscapedChar "\\b"> <mamake> <Lit_EscapedChar "\\b"> <"(1), "> <Lit_EscapedChar "\\b"> <nmake> <Lit_EscapedChar "\\b"> <"(1), "> <Lit_EscapedChar "\\b"> <pax> <Lit_EscapedChar "\\b"> <"(1),\n"> <"\t"> <Lit_EscapedChar "\\b"> <pkgadd> <Lit_EscapedChar "\\b"> <"(1), "> <Lit_EscapedChar "\\b"> <pkgmk> <Lit_EscapedChar "\\b"> <"(1), "> <Lit_EscapedChar "\\b"> <proto> <Lit_EscapedChar "\\b"> <"(1), "> <Lit_EscapedChar "\\b"> <ratz> <Lit_EscapedChar "\\b"> <"(1), "> <Lit_EscapedChar "\\b"> <rpm> <Lit_EscapedChar "\\b"> <"(1),\n"> <"\t"> <Lit_EscapedChar "\\b"> <sh> <Lit_EscapedChar "\\b"> <"(1), "> <Lit_EscapedChar "\\b"> <tar> <Lit_EscapedChar "\\b"> <"(1), "> <Lit_EscapedChar "\\b"> <optget> <Lit_EscapedChar "\\b"> <"(3)]\n"> ) } spids: [511] ) ] spids: [511] ) (Case to_match: {($ VSub_Star "$*")} arms: [ (case_arm pat_list: [{(help)}] action: [(C {(set)} {(--)} {(--man)})] spids: [2952 2953 2961 -1] ) ] spids: [2945 2949 2964] ) (While cond: [ (C {(getopts)} {(-a)} {($ VSub_Name "$command")} {(DQ ($ VSub_Name "$USAGE"))} {(OPT)}) ] body: (DoGroup children:[(C {(Lit_Other ":")})] spids:[29822987]) ) (C {(shift)} {($ VSub_Name "$OPTIND") (-1)}) ] spids: [508 509 2996 -1] ) ] spids: [481 506 2998] ) (Case to_match: {($ VSub_Name "$AR")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:AR) op:Equal rhs:{(ar)} spids:[3015])] spids: [3015] ) ] spids: [-1 3013 3018 -1] ) ] spids: [3005 3009 3020] ) (Case to_match: {($ VSub_Name "$CC")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:CC) op:Equal rhs:{(cc)} spids:[3032])] spids: [3032] ) ] spids: [-1 3030 3035 -1] ) ] spids: [3022 3026 3037] ) (Case to_match: {($ VSub_Name "$LD")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:LD) op:Equal rhs:{(ld)} spids:[3049])] spids: [3049] ) ] spids: [-1 3047 3052 -1] ) ] spids: [3039 3043 3054] ) (Case to_match: {($ VSub_Name "$NM")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:NM) op:Equal rhs:{(nm)} spids:[3066])] spids: [3066] ) ] spids: [-1 3064 3069 -1] ) ] spids: [3056 3060 3071] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:action) op:Equal rhs:{(SQ )} spids:[3074])] spids: [3074] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:admin_all) op:Equal rhs:{(1)} spids:[3076])] spids: [3076] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:admin_on) op:Equal rhs:{(SQ )} spids:[3079])] spids: [3079] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:authorize) op:Equal rhs:{(SQ )} spids:[3081])] spids: [3081] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:bit) op:Equal rhs:{(SQ )} spids:[3083])] spids: [3083] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:exec) op:Equal rhs:{(SQ )} spids:[3085])] spids: [3085] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:flat) op:Equal rhs:{(0)} spids:[3087])] spids: [3087] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:force) op:Equal rhs:{(0)} spids:[3090])] spids: [3090] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:global) op:Equal rhs:{(SQ )} spids:[3093])] spids: [3093] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:hi) op:Equal rhs:{(SQ )} spids:[3095])] spids: [3095] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:html) op:Equal rhs:{(0)} spids:[3097])] spids: [3097] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:ifs) op: Equal rhs: { (BracedVarSub token: <VSub_Name IFS> suffix_op: (StringUnary op_id:VTest_Hyphen arg_word:{(SQ <"\n"> <"\t ">)}) spids: [3101 3108] ) } spids: [3100] ) ] spids: [3100] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:lo) op:Equal rhs:{(SQ )} spids:[3110])] spids: [3110] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:make) op:Equal rhs:{(SQ )} spids:[3112])] spids: [3112] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:makeflags) op:Equal rhs:{(SQ <"-k -K">)} spids:[3114])] spids: [3114] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:nmakeflags) op:Equal rhs:{(SQ )} spids:[3119])] spids: [3119] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:nmakesep) op:Equal rhs:{(SQ )} spids:[3121])] spids: [3121] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:nl) op:Equal rhs:{(DQ ("\n"))} spids:[3123])] spids: [3123] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:noexec) op:Equal rhs:{(SQ )} spids:[3128])] spids: [3128] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:only) op:Equal rhs:{(0)} spids:[3130])] spids: [3130] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:output) op:Equal rhs:{(SQ )} spids:[3133])] spids: [3133] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:package_src) op:Equal rhs:{(SQ )} spids:[3135])] spids: [3135] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:password) op:Equal rhs:{(SQ )} spids:[3137])] spids: [3137] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:quiet) op:Equal rhs:{(0)} spids:[3139])] spids: [3139] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:show) op:Equal rhs:{(Lit_Other ":")} spids:[3142])] spids: [3142] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:tab) op:Equal rhs:{(DQ (" "))} spids:[3145])] spids: [3145] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:verbose) op:Equal rhs:{(0)} spids:[3150])] spids: [3150] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:AUTHORIZE) op:Equal rhs:{(SQ )} spids:[3153])] spids: [3153] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:DEBUG) op:Equal rhs:{(SQ )} spids:[3155])] spids: [3155] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:HURL) op:Equal rhs:{(SQ )} spids:[3157])] spids: [3157] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:PROTOROOT) op:Equal rhs:{(-)} spids:[3159])] spids: [3159] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:SHELLMAGIC) op:Equal rhs:{(-)} spids:[3162])] spids: [3162] ) (AndOr children: [ (SimpleCommand words: [ {(unset)} {(FIGNORE)} {(BINDIR)} {(DLLDIR)} {(ETCDIR)} {(FUNDIR)} {(INCLUDEDIR)} {(LIBDIR)} {(LOCALEDIR)} {(MANDIR)} {(SHAREDIR)} ] redirects: [(Redir op_id:Redir_Great fd:2 arg_word:{(/dev/null)} spids:[3188])] ) (C {(true)}) ] op_id: Op_DPipe ) (While cond: [(C {(Lit_Other ":")})] body: (DoGroup children: [ (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(0)}] action: [(C {(set)} {(host)} {(type)})] spids: [3209 3210 3218 -1] ) ] spids: [3202 3206 3221] ) (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [ {(admin)} {(clean)} {(clobber)} {(contents)} {(copyright)} {(export)} {(host)} {(install)} {(license)} {(list)} {(make)} {(read)} {(regress)} {(release)} {(remove)} {(results)} {(setup)} {(test)} {(update)} {(use)} {(verify)} {(view)} {(write)} {(TEST)} ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:action) op: Equal rhs: {($ VSub_Number "$1")} spids: [3281] ) ] spids: [3281] ) (C {(shift)}) (ControlFlow token:<ControlFlow_Break break>) ] spids: [3231 3278 3291 -1] ) (case_arm pat_list: [{(authorize)}] action: [ (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(1)}] action: [ (Sentence child: (SimpleCommand words: [ {(echo)} {($ VSub_Name "$command") (Lit_Other ":")} {($ VSub_Number "$1") (Lit_Other ":")} {(authorization)} {(user)} {(name)} {(argument)} {(expected)} ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [3326] ) ] ) terminator: <Op_Semi ";"> ) (C {(exit)} {(1)}) ] spids: [3305 3306 3334 -1] ) ] spids: [3298 3302 3337] ) (C {(shift)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:authorize) op: Equal rhs: {($ VSub_Number "$1")} spids: [3343] ) ] spids: [3343] ) (C {(shift)}) (ControlFlow token:<ControlFlow_Continue continue>) ] spids: [3294 3295 3353 -1] ) (case_arm pat_list: [{(debug)} {(environment)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:exec) op: Equal rhs: {(echo)} spids: [3362] ) (assign_pair lhs: (LhsName name:make) op: Equal rhs: {(echo)} spids: [3365] ) (assign_pair lhs: (LhsName name:show) op: Equal rhs: {(echo)} spids: [3368] ) ] spids: [3362] ) ] spids: [3356 3359 3372 -1] ) (case_arm pat_list: [{(flat)}] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:flat) op:Equal rhs:{(1)} spids:[3378])] spids: [3378] ) ] spids: [3375 3376 3382 -1] ) (case_arm pat_list: [{(force)}] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:force) op:Equal rhs:{(1)} spids:[3388])] spids: [3388] ) ] spids: [3385 3386 3392 -1] ) (case_arm pat_list: [{(never)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:exec) op: Equal rhs: {(echo)} spids: [3398] ) (assign_pair lhs: (LhsName name:noexec) op: Equal rhs: {(-N)} spids: [3401] ) ] spids: [3398] ) ] spids: [3395 3396 3405 -1] ) (case_arm pat_list: [{(only)}] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:only) op:Equal rhs:{(1)} spids:[3411])] spids: [3411] ) ] spids: [3408 3409 3415 -1] ) (case_arm pat_list: [{(password)}] action: [ (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(1)}] action: [ (Sentence child: (SimpleCommand words: [ {(echo)} {($ VSub_Name "$command") (Lit_Other ":")} {($ VSub_Number "$1") (Lit_Other ":")} {(authorization)} {(password)} {(argument)} {(expected)} ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [3448] ) ] ) terminator: <Op_Semi ";"> ) (C {(exit)} {(1)}) ] spids: [3429 3430 3456 -1] ) ] spids: [3422 3426 3459] ) (C {(shift)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:password) op: Equal rhs: {($ VSub_Number "$1")} spids: [3465] ) ] spids: [3465] ) (C {(shift)}) (ControlFlow token:<ControlFlow_Continue continue>) ] spids: [3418 3419 3475 -1] ) (case_arm pat_list: [{(quiet)}] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:quiet) op:Equal rhs:{(1)} spids:[3481])] spids: [3481] ) ] spids: [3478 3479 3485 -1] ) (case_arm pat_list: [{(show)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:exec) op: Equal rhs: {(echo)} spids: [3491] ) (assign_pair lhs: (LhsName name:noexec) op: Equal rhs: {(-n)} spids: [3494] ) ] spids: [3491] ) ] spids: [3488 3489 3498 -1] ) (case_arm pat_list: [{(verbose)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:verbose) op: Equal rhs: {(1)} spids: [3503] ) ] spids: [3503] ) ] spids: [3501 3502 3507 -1] ) (case_arm pat_list: [{(DEBUG)}] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:DEBUG) op:Equal rhs:{(1)} spids:[3513])] spids: [3513] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:PS4) op: Equal rhs: {(SQ <"+$LINENO:$SECONDS+ ">)} spids: [3517] ) ] spids: [3517] ) (C {(set)} {(-x)}) ] spids: [3510 3511 3528 -1] ) (case_arm pat_list: [ {(help)} {(HELP)} {(html)} {(man)} {(--) (Lit_Other "[") (Lit_Other "?") (m) (Lit_Other "]") (Lit_Other "*")} ] action: [ (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [{(help)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {(0)} spids: [3558] ) ] spids: [3558] ) (Case to_match: {($ VSub_Number "$2")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (SimpleCommand words: [{(exec)}] redirects: [ (Redir op_id: Redir_GreatAnd fd: 1 arg_word: {(2)} spids: [3575] ) ] ) ] spids: [-1 3571 3578 -1] ) ] spids: [3562 3566 3581] ) ] spids: [3555 3556 3584 -1] ) (case_arm pat_list: [{(html)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {(0)} spids: [3590] ) (assign_pair lhs: (LhsName name:html) op: Equal rhs: {(1)} spids: [3593] ) ] spids: [3590] ) ] spids: [3587 3588 3597 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {(2)} spids: [3603] ) ] spids: [3603] ) (SimpleCommand words: [{(exec)}] redirects: [ (Redir op_id: Redir_GreatAnd fd: 1 arg_word: {(2)} spids: [3609] ) ] ) ] spids: [3600 3601 3613 -1] ) ] spids: [3548 3552 3616] ) (Case to_match: {($ VSub_Name "$html")} arms: [ (case_arm pat_list: [{(1)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:bO) op: Equal rhs: { (DQ ("<HTML>\n") ("<HEAD>\n") ("<TITLE>") ($ VSub_Number "$2") (" package installation instructions</TITLE>\n") ("<HEAD>\n") ("<BODY bgcolor=white link=teal vlink=dimgray>") ) } spids: [3629] ) ] spids: [3629] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:eO) op: Equal rhs: {(SQ <"</BODY>\n"> <"</HTML>">)} spids: [3641] ) ] spids: [3641] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:bH) op: Equal rhs: {(DQ ("<CENTER><H3><FONT face=courier color=red>"))} spids: [3648] ) ] spids: [3648] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:eH) op: Equal rhs: {(SQ <"</FONT></H3></CENTER>">)} spids: [3654] ) ] spids: [3654] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:bP) op: Equal rhs: {(SQ <"<P>">)} spids: [3660] ) ] spids: [3660] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:bL) op: Equal rhs: {(SQ <"<P><TABLE cellpadding=0 cellspacing=2>">)} spids: [3666] ) ] spids: [3666] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:bL2) op: Equal rhs: {(SQ <"<P><TABLE border=0 cellpadding=0 cellspacing=2>">)} spids: [3672] ) ] spids: [3672] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:eL) op: Equal rhs: {(SQ <"</TABLE><P>">)} spids: [3678] ) ] spids: [3678] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:bT) op: Equal rhs: {(SQ <"<TR><TD align=right valign=top><B>">)} spids: [3684] ) ] spids: [3684] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:bD) op: Equal rhs: {(SQ <"</B></TD><TD align=left>">)} spids: [3690] ) (assign_pair lhs: (LhsName name:eD) op: Equal rhs: {(SQ <"</TD></TR>">)} spids: [3695] ) ] spids: [3690] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:bB) op: Equal rhs: {(SQ <"<B>">)} spids: [3701] ) (assign_pair lhs: (LhsName name:eB) op: Equal rhs: {(SQ <"</B>">)} spids: [3706] ) ] spids: [3701] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:bI) op: Equal rhs: {(SQ <"<I>">)} spids: [3712] ) (assign_pair lhs: (LhsName name:eI) op: Equal rhs: {(SQ <"</I>">)} spids: [3717] ) ] spids: [3712] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:bX) op: Equal rhs: {(SQ <"<PRE>">)} spids: [3723] ) (assign_pair lhs: (LhsName name:eX) op: Equal rhs: {(SQ <"</PRE>">)} spids: [3728] ) ] spids: [3723] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:bF) op: Equal rhs: {(SQ <"<TT>">)} spids: [3734] ) (assign_pair lhs: (LhsName name:eF) op: Equal rhs: {(SQ <"</TT>">)} spids: [3739] ) ] spids: [3734] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:Camp) op: Equal rhs: {(SQ <"&">)} spids: [3745] ) ] spids: [3745] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:Mcurl) op: Equal rhs: {(SQ <"<A href=../../man/man1/curl.html>curl</A>(1)">)} spids: [3751] ) ] spids: [3751] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:Mdate) op: Equal rhs: {(SQ <"<A href=../../man/man1/date.html>date</A>(1)">)} spids: [3757] ) ] spids: [3757] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:Mfile) op: Equal rhs: {(SQ <"<A href=../../man/man1/file.html>file</A>(1)">)} spids: [3763] ) ] spids: [3763] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:Mgunzip) op: Equal rhs: {(SQ <"<A href=../../man/man1/gzip.html>gunzip</A>(1)">)} spids: [3769] ) ] spids: [3769] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:Mhurl) op: Equal rhs: {(SQ <"<A href=../../man/man1/hurl.html>hurl</A>(1)">)} spids: [3775] ) ] spids: [3775] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:Mlynx) op: Equal rhs: {(SQ <"<A href=../../man/man1/lynx.html>lynx</A>(1)">)} spids: [3781] ) ] spids: [3781] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:Mnmake) op: Equal rhs: {(SQ <"<A href=../../man/man1/nmake.html>nmake</A>(1)">)} spids: [3787] ) ] spids: [3787] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:Mpackage) op: Equal rhs: {(SQ <"<A href=../../man/man1/package.html>package</A>(1)">)} spids: [3793] ) ] spids: [3793] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:Mproto) op: Equal rhs: {(SQ <"<A href=../../man/man1/proto.html>proto</A>(1)">)} spids: [3799] ) ] spids: [3799] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:Mratz) op: Equal rhs: {(SQ <"<A href=../../man/man1/ratz.html>ratz</A>">)} spids: [3805] ) ] spids: [3805] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:Mtar) op: Equal rhs: {(SQ <"<A href=../../man/man1/tar.html>tar</A>(1)">)} spids: [3811] ) ] spids: [3811] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:Mwget) op: Equal rhs: {(SQ <"<A href=../../man/man1/wget.html>wget</A>(1)">)} spids: [3817] ) ] spids: [3817] ) ] spids: [3626 3627 3823 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:bO) op: Equal rhs: {(SQ )} spids: [3829] ) (assign_pair lhs: (LhsName name:eO) op: Equal rhs: {(SQ )} spids: [3833] ) ] spids: [3829] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:bH) op: Equal rhs: {(SQ )} spids: [3838] ) (assign_pair lhs: (LhsName name:eH) op: Equal rhs: {(SQ <":">)} spids: [3842] ) ] spids: [3838] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:bP) op: Equal rhs: {(SQ )} spids: [3848] ) ] spids: [3848] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:bL) op: Equal rhs: {(SQ )} spids: [3853] ) (assign_pair lhs: (LhsName name:eL) op: Equal rhs: {(SQ )} spids: [3857] ) ] spids: [3853] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:bL2) op: Equal rhs: {(SQ )} spids: [3862] ) ] spids: [3862] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:bT) op: Equal rhs: {(SQ <" ">)} spids: [3867] ) ] spids: [3867] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:bD) op: Equal rhs: {(SQ <" ">)} spids: [3873] ) (assign_pair lhs: (LhsName name:eD) op: Equal rhs: {(SQ )} spids: [3878] ) ] spids: [3873] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:bB) op: Equal rhs: {(SQ )} spids: [3883] ) (assign_pair lhs: (LhsName name:eB) op: Equal rhs: {(SQ )} spids: [3887] ) ] spids: [3883] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:bI) op: Equal rhs: {(SQ )} spids: [3892] ) (assign_pair lhs: (LhsName name:eI) op: Equal rhs: {(SQ )} spids: [3896] ) ] spids: [3892] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:bX) op: Equal rhs: {(SQ )} spids: [3901] ) (assign_pair lhs: (LhsName name:eX) op: Equal rhs: {(SQ )} spids: [3905] ) ] spids: [3901] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:bF) op: Equal rhs: {(SQ <"\"">)} spids: [3910] ) (assign_pair lhs: (LhsName name:eF) op: Equal rhs: {(SQ <"\"">)} spids: [3915] ) ] spids: [3910] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:Camp) op: Equal rhs: {(SQ <"&">)} spids: [3921] ) ] spids: [3921] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:Mcurl) op: Equal rhs: {(SQ <"curl(1)">)} spids: [3927] ) ] spids: [3927] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:Mdate) op: Equal rhs: {(SQ <"date(1)">)} spids: [3933] ) ] spids: [3933] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:Mfile) op: Equal rhs: {(SQ <"file(1)">)} spids: [3939] ) ] spids: [3939] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:Mgunzip) op: Equal rhs: {(SQ <"gunzip(1)">)} spids: [3945] ) ] spids: [3945] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:Mhurl) op: Equal rhs: {(SQ <"hurl(1)">)} spids: [3951] ) ] spids: [3951] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:Mlynx) op: Equal rhs: {(SQ <"lynx(1)">)} spids: [3957] ) ] spids: [3957] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:Mnmake) op: Equal rhs: {(SQ <"nmake(1)">)} spids: [3963] ) ] spids: [3963] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:Mpackage) op: Equal rhs: {(SQ <"package(1)">)} spids: [3969] ) ] spids: [3969] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:Mproto) op: Equal rhs: {(SQ <"proto(1)">)} spids: [3975] ) ] spids: [3975] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:Mratz) op: Equal rhs: {(SQ <ratz>)} spids: [3981] ) ] spids: [3981] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:Mtar) op: Equal rhs: {(SQ <"tar(1)">)} spids: [3987] ) ] spids: [3987] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:Mwget) op: Equal rhs: {(SQ <"wget(1)">)} spids: [3993] ) ] spids: [3993] ) ] spids: [3826 3827 3999 -1] ) ] spids: [3619 3623 4002] ) (Case to_match: {($ VSub_Number "$2")} arms: [ (case_arm pat_list: [{(binary)}] action: [ (C {(echo)} { (DQ (${ VSub_Name bO) ("\n") (${ VSub_Name bH) ("Binary Package Installation Instructions") (${ VSub_Name eH) ("\n") (${ VSub_Name bL) ("\n") (${ VSub_Name bT) ("(1)") (${ VSub_Name bD) ("Do not install packages as ") (${ VSub_Name bI) (root/super-user) (${ VSub_Name eI) (". Although some components may\n") (" have setuid executables, few must be owned by ") (${ VSub_Name bI) (root) (${ VSub_Name eI) (". These are best\n") ( " changed manually when the security implications are understood." ) (${ VSub_Name eD) ("\n") (${ VSub_Name bT) ("(2)") (${ VSub_Name bD) ( "Choose a package root directory and cd to it. This will be a local work\n" ) (" area for all packages.") (${ VSub_Name eD) ("\n") (${ VSub_Name bT) ("(3)") (${ VSub_Name bD) ("These instructions bypass the ") (${ VSub_Name bI) ("click to download") (${ VSub_Name eI) (" package links on the\n") ( " download site. If you already clicked, or if your system does not have\n" ) (" ") (${ VSub_Name Mcurl) (", ") (${ VSub_Name Mhurl) (", ") (${ VSub_Name Mlynx) (" or ") (${ VSub_Name Mwget) (" then use the alternate instructions\n") (" for (3),(4),(5) in plan ") (${ VSub_Name bB) (B) (${ VSub_Name eB) (" below. Plan ") (${ VSub_Name bB) (B) (${ VSub_Name eB) (" installs the ") (${ VSub_Name Mhurl) ("\n") ( " script which works with ksh and modern bash. The top level URL is:" ) (${ VSub_Name bX) ("\n") ("\t\tURL=http://www.research.att.com/sw/download") (${ VSub_Name eX) (${ VSub_Name eD) ("\n") (${ VSub_Name bT) ("(4)") (${ VSub_Name bD) ("If the ") (${ VSub_Name bB) (bin/package) (${ VSub_Name eB) (" script does not exist then run:") (${ VSub_Name bX) ("\n") ("\t\ttest -d bin || mkdir bin\n") ("\t\turl=") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ("URL/package\n") ("\t\t(wget -O - ") (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) ("url||curl -L ") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ("url||hurl ") (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) ("url) > bin/package\n") ("\t\tchmod +x bin/package") (${ VSub_Name eX) (${ VSub_Name eD) ("\n") (${ VSub_Name bT) ("(5)") (${ VSub_Name bD) ( "Determine the list of package names you want from the download site, then\n" ) (" use the ") (${ VSub_Name Mpackage) (" command to do the actual download:") (${ VSub_Name bX) ("\n") ("\t\tbin/package authorize ") (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (${ VSub_Name bI) (NAME) (${ VSub_Name eI) (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (" password ") (EscapedLiteralPart token: <Lit_EscapedChar "\\\""> ) (${ VSub_Name bI) (PASSWORD) (${ VSub_Name eI) (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (" ") (EscapedLiteralPart token: <Lit_EscapedChar "\\\\"> ) ("\n") ("\t\t\tsetup binary ") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ("URL ") (${ VSub_Name bI) (PACKAGE) (${ VSub_Name eI) (" ...") (${ VSub_Name eX) ("\n") (" (Refer to the ") (${ VSub_Name bB) (AUTHORIZATION) (${ VSub_Name eB) (" paragraph on the main download page for\n") (" ") (${ VSub_Name bI) (NAME) (${ VSub_Name eI) (/) (${ VSub_Name bI) (PASSWORD) (${ VSub_Name eI) (" details.) This downloads the closure of the latest\n") (" binary package(s); covered and up-to-date packages are not downloaded again unless\n") (" ") (${ VSub_Name bB) ("package force ...") (${ VSub_Name eB) (" is specified. Package content is verified using ") (${ VSub_Name bB) (${ VSub_Name checksum) (${ VSub_Name eB) (".\n") ( " If the package root will contain only one architecture then you can install in " ) (${ VSub_Name bB) (bin) (${ VSub_Name eB) (" and\n") (" ") (${ VSub_Name bB) (lib) (${ VSub_Name eB) (" instead of ") (${ VSub_Name bB) (arch/) (${ VSub_Name eB) (${ VSub_Name bI) (HOSTTYPE) (${ VSub_Name eI) (${ VSub_Name bB) (/bin) (${ VSub_Name eB) (" and ") (${ VSub_Name bB) (arch/) (${ VSub_Name eB) (${ VSub_Name bI) (HOSTTYPE) (${ VSub_Name eI) (${ VSub_Name bB) (/lib) (${ VSub_Name eB) (" by running this\n") (" instead:") (${ VSub_Name bX) ("\n") ("\t\tbin/package authorize ") (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (${ VSub_Name bI) (NAME) (${ VSub_Name eI) (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (" password ") (EscapedLiteralPart token: <Lit_EscapedChar "\\\""> ) (${ VSub_Name bI) (PASSWORD) (${ VSub_Name eI) (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (" ") (EscapedLiteralPart token: <Lit_EscapedChar "\\\\"> ) ("\n") ("\t\t\tflat setup binary ") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ("URL ") (${ VSub_Name bB) (PACKAGE) (${ VSub_Name eB) (" ...") (${ VSub_Name eX) ("\n") (" To update the same packages from the same URL run:") (${ VSub_Name bX) ("\n") ("\t\tbin/package setup binary") (${ VSub_Name eX) (${ VSub_Name eD) ("\n") (${ VSub_Name bT) ("(6)") (${ VSub_Name bD) ("The packaged binaries are position independent, i.e., they do not\n") ( " contain hard-coded paths. However, commands with related files, like\n" ) (" ") (${ VSub_Name Mfile) (" and ") (${ VSub_Name Mnmake) (", require the path of the bin directory to be\n") (" exported in ") (${ VSub_Name bB) (PATH) (${ VSub_Name eb) (.) (${ VSub_Name eD) ("\n") (${ VSub_Name bT) ("(7)") (${ VSub_Name bD) ("You can run the binaries directly from the package root, or you can\n") (" install them in a public root (requires the ") (${ VSub_Name bI) (AT) (${ VSub_Name Camp) (T) (${ VSub_Name eI) (" ") (${ VSub_Name Mnmake) (" command):") (${ VSub_Name bX) ("\n") ("\t\tbin/package flat install ") (${ VSub_Name bI) ("DIRECTORY PACKAGE") (${ VSub_Name eI) (${ VSub_Name eX) ("\n") (" This will install in ") (${ VSub_Name bI) (DIRECTORY) (${ VSub_Name eI) (${ VSub_Name bB) (/bin) (${ VSub_Name eB) (" and ") (${ VSub_Name bI) (DIRECTORY) (${ VSub_Name eI) (${ VSub_Name bB) (/lib) (${ VSub_Name eB) (". If you want to\n") (" preserve the ") (${ VSub_Name bB) (arch/) (${ VSub_Name eB) (${ VSub_Name bI) (HOSTTYPE) (${ VSub_Name eI) (" hierarchy under ") (${ VSub_Name bI) (DIRECTORY) (${ VSub_Name eI) (" then omit the\n") (" ") (${ VSub_Name bB) (flat) (${ VSub_Name eB) (" argument. If you don't have ") (${ VSub_Name Mnmake) (" then the following will do a\n") (" flat install:") (${ VSub_Name bX) ("\n") ("\t\tcd ") (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) ("INSTALLROOT\n") ("\t\tcp -p -r bin lib include ") (${ VSub_Name bI) (DIRECTORY) (${ VSub_Name eI) (${ VSub_Name eX) (${ VSub_Name eD) ("\n") (${ VSub_Name bT) ("(8)") (${ VSub_Name bD) ( "To summarize, after the first time, the download cycle for the latest\n" ) (" binary release is:") (${ VSub_Name bX) ("\n") ("\t\tbin/package setup binary") (${ VSub_Name eX) (${ VSub_Name eD) (${ VSub_Name eL) ("\n") ("\n") (${ VSub_Name bH) ("Binary Package Installation Instructions -- Plan B") (${ VSub_Name eH) ("\n") (${ VSub_Name bL) ("\n") (${ VSub_Name bT) ("(3)") (${ VSub_Name bD) ("Create the subdirectory ") (${ VSub_Name bB) (lib/package/tgz) (${ VSub_Name eB) (" and download all package archives\n") (" into that directory.") (${ VSub_Name eD) ("\n") (${ VSub_Name bT) ("(4)") (${ VSub_Name bD) ("If the ") (${ VSub_Name bB) (bin/package) (${ VSub_Name eB) (" script does not exist then manually read the ") (${ VSub_Name bB) (INIT) (${ VSub_Name eB) ("\n") (" binary package:") (${ VSub_Name bX) ("\n") ("\t\tgunzip < lib/package/tgz/INIT.") (${ VSub_Name bI) (YYYY-MM-DD.HOSTTYPE) (${ VSub_Name eI) (".tgz |\n") ("\t\t\t") (${ VSub_Name TAR) (" ") (${ VSub_Name TARFLAGS) ("f -") (${ VSub_Name eX) ("\n") ( " Note that some browsers automatically unzip downloaded without warning.\n" ) (" If the gunzip fails try:\n") ("\t\t") (${ VSub_Name TAR) (" ") (${ VSub_Name TARFLAGS) ("f -") (${ VSub_Name eX) (" lib/package/tgz/INIT.") (${ VSub_Name bI) (YYYY-MM-DD.HOSTTYPE) (${ VSub_Name eI) (".tgz\n") (" If your system does not have ") (${ VSub_Name Mtar) (" or ") (${ VSub_Name Mgunzip) (" then download the ") (${ VSub_Name Mratz) ("\n") (" binary package:") (${ VSub_Name bX) ("\n") ("\t\tmkdir bin\n") ("\t\tcp lib/package/tgz/ratz.") (${ VSub_Name bI) (YYYY-MM-DD.HOSTTYPE) (${ VSub_Name eI) (".exe bin/ratz\n") ("\t\tchmod +x bin/ratz\n") ("\t\tbin/ratz -lm < lib/package/tgz/INIT.") (${ VSub_Name bI) (YYYY-MM-DD/HOSTTYPE) (${ VSub_Name eI) (".tgz\n") (${ VSub_Name bT) ("(5)") (${ VSub_Name bD) ("Read all unread package archive(s):") (${ VSub_Name bX) ("\n") ("\t\tbin/package read") (${ VSub_Name eX) ("\n") (" Both source and binary packages will be read by this step.") (${ VSub_Name eD) (${ VSub_Name eL) (${ VSub_Name eO) ) } ) ] spids: [4012 4013 4766 -1] ) (case_arm pat_list: [{(intro)}] action: [ (C {(echo)} { (DQ (${ VSub_Name bO) ("\n") (${ VSub_Name bH) ("Package Hierarchy Details") (${ VSub_Name eH) ("\n") (${ VSub_Name bP) ("\n") ("The package directory hierarchy is rooted at ") (${ VSub_Name bB) (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (PACKAGEROOT) (${ VSub_Name eB) (". All source and\n") ("binaries reside under this tree. A two level viewpath is used to separate\n") ( "source and binaries. The top view is architecture specific, the bottom view\n" ) ("is shared source. All building is done in the architecture specific view;\n") ( "no source view files are intentionally changed. This means that many\n" ) ("different binary architectures can be made from a single copy of the source.\n") (${ VSub_Name bP) ("\n") ("Each package contains one or more components. Component source for the ") (${ VSub_Name bI) (FOO) (${ VSub_Name eI) ("\n") ("command is in ") (${ VSub_Name bB) (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (PACKAGEROOT/src/cmd/) (${ VSub_Name eB) (${ VSub_Name bI) (FOO) (${ VSub_Name eI) (", and source for the ") (${ VSub_Name bI) (BAR) (${ VSub_Name eI) (" library is\n") ("in ") (${ VSub_Name bB) (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) (PACKAGEROOT/src/lib/lib) (${ VSub_Name eB) (${ VSub_Name bI) (BAR) (${ VSub_Name eI) (". This naming is for convenience only; the\n") ("underlying makefiles handle inter-component build order. The ") (${ VSub_Name bB) (INIT) (${ VSub_Name eB) (" component,\n") ("which contains generic package support files, is always made first, then the\n") ("components named ") (${ VSub_Name bB) (INIT) (${ VSub_Name eB) ("*, then the order determined by the closure of component\n") ("makefile dependencies.\n") (${ VSub_Name bP) ("\n") (${ VSub_Name bB) (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) (PACKAGEROOT/lib/package) (${ VSub_Name eB) (" contains package specific files. The package naming\n") ("convention is ") (${ VSub_Name bI) (GROUP) (${ VSub_Name eI) ("[") (${ VSub_Name bI) (-PART) (${ VSub_Name eI) ("]; e.g., ") (${ VSub_Name bB) (ast-base) (${ VSub_Name eB) (", ") (${ VSub_Name bB) (gnu-fileutils) (${ VSub_Name eB) (". The *") (${ VSub_Name bB) (.pkg) (${ VSub_Name eB) (" files\n") ("are ") (${ VSub_Name bB) (ast) (${ VSub_Name eB) (" ") (${ VSub_Name Mnmake) (" makefiles that contain the package name, package components,\n") ( "references to other packages, and a short package description. *" ) (${ VSub_Name bB) (.pkg) (${ VSub_Name eB) (" files\n") ("are used by ") (${ VSub_Name bF) ("package write") (${ VSub_Name eF) (" to generate new source and binary packages.\n") (${ VSub_Name bP) ("\n") (${ VSub_Name bB) (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (PACKAGEROOT/lib/package/) (${ VSub_Name eB) (${ VSub_Name bI) (GROUP) (${ VSub_Name eI) (${ VSub_Name bB) (.lic) (${ VSub_Name eB) (" files contain license information that\n") ("is used by the ") (${ VSub_Name bB) (ast) (${ VSub_Name eB) (" ") (${ VSub_Name Mproto) (" and ") (${ VSub_Name Mnmake) (" commands to generate source and\n") ("binary license strings. ") (${ VSub_Name bI) (GROUP) (${ VSub_Name eI) (" is determined by the first ") (${ VSub_Name bB) (":PACKAGE:") (${ VSub_Name eB) (" operator\n") ("name listed in the component ") (${ VSub_Name bB) (nmake) (${ VSub_Name eB) (" makefile. ") (${ VSub_Name bI) (GROUP) (${ VSub_Name eI) (${ VSub_Name bB) (.lic) (${ VSub_Name eB) (" files are part of the\n") ("licensing documentation. Each component may have its own ") (${ VSub_Name bB) (LICENSE) (${ VSub_Name eB) (" file that\n") ("overrides the ") (${ VSub_Name bI) (GROUP) (${ VSub_Name eI) (${ VSub_Name bB) (.lic) (${ VSub_Name eB) (" file. The full text of the licenses are in the\n") (${ VSub_Name bB) (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (PACKAGEROOT/lib/package/LICENSES) (${ VSub_Name eB) (" and ") (${ VSub_Name bB) (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (INSTALLROOT/lib/package/LICENSES) (${ VSub_Name eB) ("\n") ("directories.\n") (${ VSub_Name bP) ("\n") ("A few files are generated in ") (${ VSub_Name bB) (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) (PACKAGEROOT/lib/package/gen) (${ VSub_Name eB) (" and\n") (${ VSub_Name bB) (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) (INSTALLROOT/lib/package/gen) (${ VSub_Name eB) (". ") (${ VSub_Name bI) (PACKAGE) (${ VSub_Name eI) (${ VSub_Name bB) (.ver) (${ VSub_Name eB) (" contains one line consisting of") (${ VSub_Name bX) ("\n") ("\t") (${ VSub_Name bI) ("PACKAGE VERSION RELEASE") (${ VSub_Name eI) (" 1") (${ VSub_Name eX) ("\n") ("for the most recent instance of ") (${ VSub_Name bI) (PACKAGE) (${ VSub_Name eI) (" read into ") (${ VSub_Name bB) (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) (PACKAGEROOT) (${ VSub_Name eB) (", where\n") (${ VSub_Name bI) (PACKAGE) (${ VSub_Name eI) (" is the package name, ") (${ VSub_Name bI) (VERSION) (${ VSub_Name eI) (" is the ") (${ VSub_Name bI) (YYYY-MM-DD) (${ VSub_Name eI) (" base version,\n") ("and ") (${ VSub_Name bI) (RELEASE) (${ VSub_Name eI) (" is ") (${ VSub_Name bI) (VERSION) (${ VSub_Name eI) (" for the base release or ") (${ VSub_Name bI) (YYYY-MM-DD) (${ VSub_Name eI) (" for delta releases.\n") (${ VSub_Name bI) (PACKAGE) (${ VSub_Name eI) (${ VSub_Name bB) (.req) (${ VSub_Name eB) (" contains *") (${ VSub_Name bB) (.ver) (${ VSub_Name eB) (" entries for the packages required by\n") (${ VSub_Name bI) (PACKAGE) (${ VSub_Name eI) (", except that the fourth field is 0 instead of 1. All packages\n") ("except ") (${ VSub_Name bB) (INIT) (${ VSub_Name eB) (" and ") (${ VSub_Name Mratz) (" require the ") (${ VSub_Name bB) (INIT) (${ VSub_Name eB) (" package. A simple sort of ") (${ VSub_Name bI) (PACKAGE) (${ VSub_Name eI) (${ VSub_Name bB) (.pkg) (${ VSub_Name eB) ("\n") ("and *") (${ VSub_Name bB) (.ver) (${ VSub_Name eB) ( " determines if the required package have been read in. Finally,\n" ) (${ VSub_Name bI) (PACKAGE) (${ VSub_Name eI) (${ VSub_Name bB) (.README) (${ VSub_Name eB) (" contains the ") (${ VSub_Name bB) (README) (${ VSub_Name eB) (" text for ") (${ VSub_Name bI) (PACKAGE) (${ VSub_Name eI) (" and all its\n") ("components. Included are all changes added to the component ") (${ VSub_Name bB) (RELEASE) (${ VSub_Name eB) (",\n") (${ VSub_Name bB) (CHANGES) (${ VSub_Name eB) (" or ") (${ VSub_Name bB) (ChangeLog) (${ VSub_Name eB) (" files dated since the two most recent base\n") ("releases. Component ") (${ VSub_Name bB) (RELEASE) (${ VSub_Name eB) (" files contain tag lines of the form\n") ("[") (${ VSub_Name bI) (CC) (${ VSub_Name eI) ("]") (${ VSub_Name bI) (YY-MM-DD) (${ VSub_Name eI) (" [ ") (${ VSub_Name bI) (TEXT) (${ VSub_Name eI) (" ] (or ") (${ VSub_Name Mdate) (" format dates) followed by README\n") ( "text, in reverse chronological order (newer entries at the top of the\n" ) ("file.) ") (${ VSub_Name bF) ("package release") (${ VSub_Name eF) (" generates this information, and\n") (${ VSub_Name bF) ("package contents ...") (${ VSub_Name eF) (" lists the descriptions and components.\n") (${ VSub_Name bP) ("\n") (${ VSub_Name bB) (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (HOSTYPE) (${ VSub_Name eB) (" names the current binary architecture and is determined by the\n") ("output of ") (${ VSub_Name bF) (package) (${ VSub_Name eF) (" (no arguments.) The ") (${ VSub_Name bB) (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) (HOSTTYPE) (${ VSub_Name eB) (" naming scheme is used\n") ( "to separate incompatible executable and object formats. All architecture\n" ) ("specific binaries are placed under ") (${ VSub_Name bB) (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) (INSTALLROOT) (${ VSub_Name eB) (" (") (${ VSub_Name bB) (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) (PACKAGEROOT/arch/) (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (HOSTTYPE) (${ VSub_Name eB) (".)\n") ("There are a few places that match against ") (${ VSub_Name bB) (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) (HOSTTYPE) (${ VSub_Name eB) (" when making binaries; these\n") ("are limited to makefile compiler workarounds, e.g., if ") (${ VSub_Name bB) (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (HOSTTYPE) (${ VSub_Name eB) (" matches\n") ("'hp.*' then turn off the optimizer for these objects. All other architecture\n") ("dependent logic is handled either by ") (${ VSub_Name bB) (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (INSTALLROOT/bin/iffe) (${ VSub_Name eB) (" or by component\n") ("specific configure scripts. Explicit ") (${ VSub_Name bB) (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) (HOSTYPE) (${ VSub_Name eB) (" values matching *,*cc*[,-*,...]\n") ("optionally set the default ") (${ VSub_Name bB) (CC) (${ VSub_Name eB) (" and ") (${ VSub_Name bB) (CCFLAGS) (${ VSub_Name eB) (". This is handy for build\n") ("farms that support different compilers on the same architecture.\n") (${ VSub_Name bP) ("\n") ("Each component contains an ") (${ VSub_Name bB) (ast) (${ VSub_Name eB) (" ") (${ VSub_Name Mnmake) (" makefile (either ") (${ VSub_Name bB) (Nmakefile) (${ VSub_Name eB) (" or ") (${ VSub_Name bB) (Makefile) (${ VSub_Name eB) (")\n") ("and a ") (${ VSub_Name bI) (MAM) (${ VSub_Name eI) (" (make abstract machine) file (") (${ VSub_Name bB) (Mamfile) (${ VSub_Name eB) (".) A Mamfile contains a portable\n") ("makefile description that is used by ") (${ VSub_Name bB) (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) (INSTALLROOT/bin/mamake) (${ VSub_Name eB) (" to simulate\n") (${ VSub_Name bB) (nmake) (${ VSub_Name eB) ( ". Currently there is no support for old-make/gnu-make makefiles; if\n" ) ("the binaries are just being built then ") (${ VSub_Name bB) (mamake) (${ VSub_Name eB) (" will suffice; if source or\n") ("makefile modifications are anticipated then ") (${ VSub_Name bB) (nmake) (${ VSub_Name eB) (" (from the ") (${ VSub_Name bB) (ast-open) (${ VSub_Name eB) (" or\n") (${ VSub_Name bB) (ast-base) (${ VSub_Name eB) ( " package) should be used. Mamfiles are automatically generated by\n" ) (${ VSub_Name bF) ("package write") (${ VSub_Name eF) (".\n") (${ VSub_Name bP) ("\n") ("Most component C source is prototyped. If ") (${ VSub_Name bB) (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (CC) (${ VSub_Name eB) (" (default value ") (${ VSub_Name bB) (cc) (${ VSub_Name eB) (") is not a\n") ("prototyping C compiler then ") (${ VSub_Name bF) ("package make") (${ VSub_Name eF) (" runs ") (${ VSub_Name Mproto) (" on portions of the\n") (${ VSub_Name bB) (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (PACKAGEROOT/src) (${ VSub_Name eB) (" tree and places the converted output files in the\n") (${ VSub_Name bB) (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (PACKAGEROOT/proto/src) (${ VSub_Name eB) (" tree. Converted files are then viewpathed over the\n") ("original source. The ") (${ VSub_Name bB) (ast) (${ VSub_Name eB) (" ") (${ VSub_Name Mproto) (" command converts an ANSI C subset to code\n") ("that is compatible with K&R, ANSI, and C++ dialects.\n") (${ VSub_Name bP) ("\n") ("All scripts and commands under ") (${ VSub_Name bB) (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) (PACKAGEROOT) (${ VSub_Name eB) (" use ") (${ VSub_Name bB) (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) (PATH) (${ VSub_Name eB) (" relative pathnames;\n") ( "there are no imbedded absolute pathnames. This means that binaries generated\n" ) ("under ") (${ VSub_Name bB) (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (PACKAGEROOT) (${ VSub_Name eB) (" may be copied to a different root; users need only change\n") ("their ") (${ VSub_Name bB) (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) (PATH) (${ VSub_Name eB) (" variable to reference the new instalation root bin directory.\n") (${ VSub_Name bF) ("package install") (${ VSub_Name eF) (" installs binary packages in a new ") (${ VSub_Name bB) (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) (INSTALLROOT) (${ VSub_Name eB) (".\n") (${ VSub_Name eO) ) } ) ] spids: [4769 4770 5761 -1] ) (case_arm pat_list: [{(source)}] action: [ (C {(echo)} { (DQ (${ VSub_Name bO) ("\n") (${ VSub_Name bH) ("Source Package Installation Instructions") (${ VSub_Name eH) ("\n") (${ VSub_Name bL) ("\n") (${ VSub_Name bT) ("(1)") (${ VSub_Name bD) ("Do not install packages as ") (${ VSub_Name bI) (root/super-user) (${ VSub_Name eI) (". Although some components may\n") (" have setuid executables, few must be owned by ") (${ VSub_Name bI) (root) (${ VSub_Name eI) (". These are best\n") ( " changed manually when the security implications are understood." ) (${ VSub_Name eD) ("\n") (${ VSub_Name bT) ("(2)") (${ VSub_Name bD) ( "Choose a package root directory and cd to it. This will be a local work\n" ) (" area for all packages.\n") (${ VSub_Name bT) ("(3)") (${ VSub_Name bD) ("These instructions bypass the ") (${ VSub_Name bI) ("click to download") (${ VSub_Name eI) (" package links on the\n") ( " download site. If you already clicked, or if your system does not have\n" ) (" ") (${ VSub_Name Mcurl) (", ") (${ VSub_Name Mhurl) (", ") (${ VSub_Name Mlynx) (" or ") (${ VSub_Name Mwget) (" then use the alternate instructions\n") (" for (3),(4),(5) in plan ") (${ VSub_Name bB) (B) (${ VSub_Name eB) (" below. Plan ") (${ VSub_Name bB) (B) (${ VSub_Name eB) (" installs the ") (${ VSub_Name Mhurl) ("\n") ( " script which works with ksh and modern bash. The top level URL is:" ) (${ VSub_Name bX) ("\n") ("\t\tURL=http://www.research.att.com/sw/download") (${ VSub_Name eX) (${ VSub_Name eD) ("\n") (${ VSub_Name bT) ("(4)") (${ VSub_Name bD) ("If the ") (${ VSub_Name bB) (bin/package) (${ VSub_Name eB) (" script does not exist then run:") (${ VSub_Name bX) ("\n") ("\t\ttest -d bin || mkdir bin\n") ("\t\turl=") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ("URL/package\n") ("\t\t(wget -O - ") (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) ("url||curl -L ") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ("url||hurl ") (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) ("url) > bin/package\n") ("\t\tchmod +x bin/package") (${ VSub_Name eX) (${ VSub_Name eD) ("\n") (${ VSub_Name bT) ("(5)") (${ VSub_Name bD) ( "Determine the list of package names you want from the download site, then\n" ) (" use the ") (${ VSub_Name Mpackage) (" command to do the actual download:") (${ VSub_Name bX) ("\n") ("\t\tbin/package authorize ") (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (${ VSub_Name bI) (NAME) (${ VSub_Name eI) (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (" password ") (EscapedLiteralPart token: <Lit_EscapedChar "\\\""> ) (${ VSub_Name bI) (PASSWORD) (${ VSub_Name eI) (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (" ") (EscapedLiteralPart token: <Lit_EscapedChar "\\\\"> ) ("\n") ("\t\t\tsetup source ") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ("URL ") (${ VSub_Name bB) (PACKAGE) (${ VSub_Name eB) (" ...") (${ VSub_Name eX) ("\n") (" (Refer to the ") (${ VSub_Name bB) (AUTHORIZATION) (${ VSub_Name eB) (" paragraph on the main download page for\n") (" ") (${ VSub_Name bI) (NAME) (${ VSub_Name eI) (/) (${ VSub_Name bI) (PASSWORD) (${ VSub_Name eI) (" details.) This downloads the closure of the latest\n") (" source package(s); covered and up-to-date packages are not downloaded again unless\n") (" ") (${ VSub_Name bB) ("package force ...") (${ VSub_Name eB) (" is specified. Package content is verified using ") (${ VSub_Name bB) (${ VSub_Name checksum) (${ VSub_Name eB) (".\n") ( " If the package root will contain only one architecture then you can install in " ) (${ VSub_Name bB) (bin) (${ VSub_Name eB) (" and\n") (" ") (${ VSub_Name bB) (lib) (${ VSub_Name eB) (" instead of ") (${ VSub_Name bB) (arch/) (${ VSub_Name eB) (${ VSub_Name bI) (HOSTTYPE) (${ VSub_Name eI) (${ VSub_Name bB) (/bin) (${ VSub_Name eB) (" and ") (${ VSub_Name bB) (arch/) (${ VSub_Name eB) (${ VSub_Name bI) (HOSTTYPE) (${ VSub_Name eI) (${ VSub_Name bB) (/lib) (${ VSub_Name eB) (" by running this\n") (" instead:") (${ VSub_Name bX) ("\n") ("\t\tbin/package authorize ") (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (${ VSub_Name bI) (NAME) (${ VSub_Name eI) (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (" password ") (EscapedLiteralPart token: <Lit_EscapedChar "\\\""> ) (${ VSub_Name bI) (PASSWORD) (${ VSub_Name eI) (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (" ") (EscapedLiteralPart token: <Lit_EscapedChar "\\\\"> ) ("\n") ("\t\t\tflat setup source ") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ("URL ") (${ VSub_Name bB) (PACKAGE) (${ VSub_Name eB) (" ...") (${ VSub_Name eX) ("\n") (" To update the same packages from the same URL run:") (${ VSub_Name bX) ("\n") ("\t\tbin/package setup source") (${ VSub_Name eX) (${ VSub_Name eD) ("\n") (${ VSub_Name bT) ("(6)") (${ VSub_Name bD) ("Build and install; all generated files are placed under ") (${ VSub_Name bB) (arch/) (${ VSub_Name eB) (${ VSub_Name bI) (HOSTTYPE) (${ VSub_Name eI) ("\n") (" (") (${ VSub_Name bB) (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) (INSTALLROOT) (${ VSub_Name eB) ("), where ") (${ VSub_Name bI) (HOSTTYPE) (${ VSub_Name eI) (" is the output of ") (${ VSub_Name bB) (bin/package) (${ VSub_Name eB) (" (with no\n") (" arguments.) ") (${ VSub_Name bI) ("name=value") (${ VSub_Name eI) (" arguments are supported; ") (${ VSub_Name bB) (CC) (${ VSub_Name eB) (" and ") (${ VSub_Name bB) ("debug=1") (${ VSub_Name eB) (" (compile\n") ( " with -g instead of -O) are likely candidates. The output is written to\n" ) (" the terminal and captured in ") (${ VSub_Name bB) (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) (INSTALLROOT/lib/package/gen/make.out) (${ VSub_Name eB) (":") (${ VSub_Name bX) ("\n") ("\t\tbin/package make") (${ VSub_Name eX) (${ VSub_Name eD) ("\n") (${ VSub_Name bT) ("(7)") (${ VSub_Name bD) ("List make results and interesting errors:") (${ VSub_Name bX) ("\n") ("\t\tbin/package results") (${ VSub_Name eX) ("\n") (" Run the regression tests:") (${ VSub_Name bX) ("\n") ("\t\tbin/package test") (${ VSub_Name eX) ("\n") (" List test results and errors:") (${ VSub_Name bX) ("\n") ("\t\tbin/package results test") (${ VSub_Name eX) (${ VSub_Name eD) ("\n") (${ VSub_Name bT) ("(8)") (${ VSub_Name bD) ("The generated binaries are position independent, i.e., they do not\n") ( " contain hard-coded paths. However, commands with related files, like\n" ) (" ") (${ VSub_Name Mfile) (" and ") (${ VSub_Name Mnmake) (", require the path of the bin directory to be\n") (" exported in ") (${ VSub_Name bB) (PATH) (${ VSub_Name eb) (.) (${ VSub_Name eD) ("\n") (${ VSub_Name bT) ("(9)") (${ VSub_Name bD) ("You can run the binaries directly from the package root, or you can\n") ( " install them in a public root after you are satisfied with the make and\n" ) (" test actions (requires the ") (${ VSub_Name bI) (AT) (${ VSub_Name Camp) (T) (${ VSub_Name eI) (" ") (${ VSub_Name Mnmake) (" command):") (${ VSub_Name bX) ("\n") ("\t\tbin/package flat install ") (${ VSub_Name bI) ("DIRECTORY PACKAGE") (${ VSub_Name eI) (${ VSub_Name eX) ("\n") (" This will install in ") (${ VSub_Name bI) (DIRECTORY) (${ VSub_Name eI) (${ VSub_Name bB) (/bin) (${ VSub_Name eB) (" and ") (${ VSub_Name bI) (DIRECTORY) (${ VSub_Name eI) (${ VSub_Name bB) (/lib) (${ VSub_Name eB) (". If you want to\n") (" preserve the ") (${ VSub_Name bB) (arch/) (${ VSub_Name eB) (${ VSub_Name bI) (HOSTTYPE) (${ VSub_Name eI) (" hierarchy under ") (${ VSub_Name bI) (DIRECTORY) (${ VSub_Name eI) (" then omit the\n") (" ") (${ VSub_Name bB) (flat) (${ VSub_Name eB) (" argument. If you don't have ") (${ VSub_Name Mnmake) (" then the following will do a\n") (" flat install:") (${ VSub_Name bX) ("\n") ("\t\tcd ") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ("INSTALLROOT\n") ("\t\tcp -p -r bin lib include ") (${ VSub_Name bI) (DIRECTORY) (${ VSub_Name eI) (${ VSub_Name eX) (${ VSub_Name eD) ("\n") (${ VSub_Name bT) ("(10)") (${ VSub_Name bD) ("To summarize, after the first time the download, build, and test cycle\n") (" for the latest source release is:") (${ VSub_Name bX) ("\n") ("\t\tbin/package setup source\n") ("\t\tbin/package make\n") ("\t\tbin/package test") (${ VSub_Name eX) (${ VSub_Name eD) (${ VSub_Name eL) ("\n") ("\n") (${ VSub_Name bH) ("Source Package Installation Instructions -- Plan B") (${ VSub_Name eH) ("\n") (${ VSub_Name bL) ("\n") (${ VSub_Name bT) ("(3)") (${ VSub_Name bD) ("Create the subdirectory ") (${ VSub_Name bB) (lib/package/tgz) (${ VSub_Name eB) (" and download all package archives\n") (" into that directory.") (${ VSub_Name eD) ("\n") (${ VSub_Name bT) ("(4)") (${ VSub_Name bD) ("If the ") (${ VSub_Name bB) (bin/package) (${ VSub_Name eB) (" script does not exist then manually read the ") (${ VSub_Name bB) (INIT) (${ VSub_Name eB) ("\n") (" source package:") (${ VSub_Name bX) ("\n") ("\t\tgunzip < lib/package/tgz/INIT.") (${ VSub_Name bI) (YYYY-MM-DD) (${ VSub_Name eI) (".tgz | ") (${ VSub_Name TAR) (" ") (${ VSub_Name TARFLAGS) ("f -") (${ VSub_Name eX) ("\n") (" Note that some browsers automatically unzip downloaded without warning.\n") (" If the gunzip fails try:\n") ("\t\t") (${ VSub_Name TAR) (" ") (${ VSub_Name TARFLAGS) ("f -") (${ VSub_Name eX) (" lib/package/tgz/INIT.") (${ VSub_Name bI) (YYYY-MM-DD) (${ VSub_Name eI) (".tgz\n") (" If your system does not have ") (${ VSub_Name Mtar) (" or ") (${ VSub_Name Mgunzip) (" then download the ") (${ VSub_Name Mratz) ("\n") (" source package, compile it, and manually read the ") (${ VSub_Name bB) (INIT) (${ VSub_Name eB) ("\n") (" source package:") (${ VSub_Name bX) ("\n") ("\t\tmkdir bin\n") ("\t\tcp lib/package/tgz/ratz.") (${ VSub_Name bI) (YYYY-MM-DD) (${ VSub_Name eI) (".c lib/package/tgz/ratz.c\n") ("\t\tcc -o bin/ratz lib/package/tgz/ratz.c\n") ("\t\tbin/ratz -lm < lib/package/tgz/INIT.") (${ VSub_Name bI) (YYYY-MM-DD) (${ VSub_Name eI) (".tgz\n") (${ VSub_Name bT) ("(5)") (${ VSub_Name bD) ("Read all unread package archive(s):") (${ VSub_Name bX) ("\n") ("\t\tbin/package read") (${ VSub_Name eX) ("\n") ( " Both source and binary packages will be read by this step." ) (${ VSub_Name eD) (${ VSub_Name eL) (${ VSub_Name eO) ) } ) ] spids: [5764 5765 6662 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (C {(echo)} { (DQ ("Usage: ") ($ VSub_Name "$command") (" [ qualifier ... ] [ action ] [ arg ... ] [ n=v ... ]\n") ("\n") (" The ") ($ VSub_Name "$command") ( " command controls source and binary packages. It must be run\n" ) (" within the package root directory tree. See ") (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) ($ VSub_Name "$command") (" help intro") (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (" for\n") ( " details. In the following, PACKAGE names either a package or a component\n" ) (" within a package; if omitted, all packages are operated on. The default\n") (" action is ") (EscapedLiteralPart token: <Lit_EscapedChar "\\\""> ) ("host type") (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (".\n") ("\n") (" qualifier:\n") ( "\tauthorize NAME Remote authorization name or license acceptance phrase.\n" ) ("\tdebug|environment Show environment and actions; do not execute.\n") ("\tflat Collapse ") (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) ("INSTALLROOT { bin fun include lib } onto ") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ("PACKAGEROOT.\n") ("\tforce\tForce the action to override saved state.\n") ("\tnever\tRun make -N; otherwise show other actions.\n") ("\tonly\tOnly operate on the specified packages.\n") ( "\tpassword PASSWORD Remote authorization or license acceptance password.\n" ) ("\tquiet\tDo not list captured make and test action output.\n") ("\tshow\tRun make -n; otherwise show other actions.\n") ("\tDEBUG\tTrace the package script actions in detail for debugging.\n") (" action:\n") ("\tadmin [ all ] [ db FILE ] [ on PATTERN ] [ action ... ]\n") ("\t\tApply ACTION ... to the hosts listed in FILE. If FILE is\n") ("\t\tomitted then ") ) (admin.db) (DQ (" is assumed. The caller must have rcp(1)\n") ( "\t\tand rsh(1) or scp(1) and ssh(1) access to the hosts. Output\n" ) ("\t\tfor the action is saved per-host in ACTION.log/HOST. Logs\n") ("\t\tcan be viewed by ") (EscapedLiteralPart token: <Lit_EscapedChar "\\\""> ) ("package admin [on HOST] results [ACTION]") (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (".\n") ("\t\tBy default only local PACKAGEROOT hosts are selected from FILE;\n") ("\t\t") (EscapedLiteralPart token: <Lit_EscapedChar "\\\""> ) (all) (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (" selects all hosts. ") (EscapedLiteralPart token: <Lit_EscapedChar "\\\""> ) ("on PATTERN") (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (" selects only\n") ( "\t\thosts matching the | separated PATTERN. FILE contains four\n" ) ("\t\ttypes of lines. Blank lines and lines beginning with # are\n") ( "\t\tignored. Lines starting with id=value are variable assignments.\n" ) ("\t\tSet admin_ping to local conventions if ") (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) ($ VSub_Name "$admin_ping") (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (" fails.\n") ( "\t\tIf a package list is not specified on the command line the\n" ) ("\t\taction applies to all packages; a variable assigment\n") ("\t\tpackage=list applies action to the packages in list for\n") ("\t\tsubsequent hosts in FILE. The remaining line type is a host\n") ( "\t\tdescription consisting of 6 tab separated fields. The first 3\n" ) ("\t\tare mandatory; the remaining 3 are updated by the admin action:\n") ("\t\t hosttype\n") ("\t\t\t The host type as reported by package.\n") ("\t\t [user@]host\n") ("\t\t\t The host name and optionally user name for rcp(1)\n") ("\t\t\t and rsh(1) access.\n") ("\t\t [remote:[[master]:]]PACKAGEROOT\n") ("\t\t\t The absolute remote package root directory and\n") ("\t\t\t optionally the remote prorocol (rsh or ssh) if\n") ("\t\t\t the directory is on a different server than the\n") ("\t\t\t master package root directory. If\n") ("\t\t\t lib/package/admin/") ($ VSub_Name "$admin_env") (" exists under\n") ("\t\t\t this directory then it is sourced by sh(1)\n") ("\t\t\t before ACTION is done. If this field begins with -\n") ("\t\t\t then the host is ignored. If this field contains\n") ("\t\t\t : then ditto(1) is used to sync the remote src\n") ("\t\t\t directory hierarchy to the local one. If [master]:\n") ("\t\t\t is specified then the sync is deferred to the\n") ("\t\t\t master host. If master is omitted (two :) then\n") ("\t\t\t the sync is disabled. These directories must exist\n") ("\t\t\t on the remote side: lib/package, src/cmd, src/lib.\n") ("\t\t date YYMMDD of the last action.\n") ("\t\t date Elapsed wall time of the last action.\n") ( "\t\t M T W The admin action make, test and write action error\n" ) ("\t\t\t counts. A non-numeric value in any of these fields\n") ("\t\t\t disables the corresponding action.\n") ("\t \t owner The owner contact information.\n") ("\t\t attributes\n") ( "\t\t NAME=VALUE attributes. Should at least contain\n" ) ("\t\t\t cc=compiler-version.\n") ("\tclean | clobber\n") ( "\t Delete the arch/HOSTTYPE hierarchy; this deletes all generated\n" ) ("\t files and directories for HOSTTYPE. The heirarchy can be rebuilt\n") ("\t by package make.]\n") ("\tcontents [ package ... ]\n") ("\t\tList description and components for PACKAGE on the standard\n") ("\t\toutput.\n") ("\tcopyright [ package ... ]\n") ("\t\tList the general copyright notice(s) for PACKAGE on the\n") ( "\t\tstandard output. Note that individual components in PACKAGE\n" ) ("\t\tmay contain additional or replacement notices.\n") ("\texport [ VARIABLE ... ]\n") ("\t\tList NAME=VALUE for each VARIABLE, one per line. If the\n") ("\t\t") (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (only) (EscapedLiteralPart token: <Lit_EscapedChar "\\\""> ) (" attribute is specified then only the variable\n") ("\t\tvalues are listed. If no variables are specified then\n") ("\t\t") ($ VSub_Name "$env") (" are assumed.\n") ("\thelp [ ACTION ]\n") ( "\t\tDisplay help text on the standard error [ standard output\n" ) ("\t\tfor ACTION ].\n") ("\thost [ canon cpu name rating type ... ]\n") ( "\t\tList architecture/implementation dependent host information\n" ) ("\t\ton the standard output. type is listed if no attributes are\n") ( "\t\tspecified. Information is listed on a single line in attributes\n" ) ("\t\torder. The attributes are:\n") ("\t\t canon The next argument is a host type name to be\n") ("\t\t\t converted to package syntax.\n") ("\t\t cpu The number of cpus; 1 if the host is not a\n") ("\t\t\t multiprocessor.\n") ("\t\t name The host name.\n") ("\t\t rating The cpu rating in pseudo mips; the value is useful\n") ("\t\t\t useful only in comparisons with rating values of\n") ("\t\t\t other hosts. Other than a vax rating fixed at 1,\n") ("\t\t\t ratings can vary wildly but consistently from\n") ("\t\t\t vendor mips ratings. cc(1) may be required to\n") ("\t\t\t determine the rating.\n") ("\t type The host type, usually of the form\n") ("\t\t\t vendor.architecture, with an optional trailing\n") ("\t\t\t -version. The main theme is that type names within\n") ("\t\t\t a family of architectures are named in a similar,\n") ("\t\t\t predictable style. Os point release information is\n") ("\t\t\t avoided as much as possible, but vendor resistance\n") ("\t\t\t to release incompatibilities has for the most part\n") ("\t\t\t been futile.\n") ("\thtml [ ACTION ]\n") ( "\t\tDisplay html help text on the standard error [ standard output\n" ) ("\t\tfor ACTION ].\n") ("\tinstall [ ARCHITECTURE ... ] DIR [ PACKAGE ... ]\n") ( "\t\tCopy the package binary hierarchy to DIR. If ARCHITECTURE is\n" ) ("\t\tomitted then all architectures are installed. If the ") (EscapedLiteralPart token: <Lit_EscapedChar "\\\""> ) (flat) (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) ("\n") ( "\t\tattribute is specified then exactly one ARCHITECTURE must be\n" ) ("\t\tspecified; this architecture will be installed in DIR without\n") ("\t\tthe ") (EscapedLiteralPart token: <Lit_EscapedChar "\\\""> ) (arch/HOSTTYPE) (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (" directory prefixes. Otherwise each\n") ("\t\tarchitecture will be installed in a separate ") (EscapedLiteralPart token: <Lit_EscapedChar "\\\""> ) (arch/HOSTTYPE) (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) ("\n") ( "\t\tsubdirectory of DIR. The ARCHITECTURE - names the current\n" ) ("\t\tarchitecture. DIR must be an existing directory. If PACKAGE\n") ( "\t\tis omitted then all binary packages are installed. This action\n" ) ("\t\trequires nmake.\n") ("\tlicense [ package ... ]\n") ( "\t\tList the source license(s) for PACKAGE on the standard output.\n" ) ("\t\tNote that individual components in PACKAGE may contain\n") ("\t\tadditional or replacement licenses.\n") ("\tlist [ PACKAGE ... ]\n") ("\t\tList the name, version and prerequisites for PACKAGE on the\n") ("\t\tstandard output.\n") ("\tmake [ PACKAGE ] [ OPTION ... ] [ TARGET ... ]\n") ("\t\tBuild and install. The default TARGET is install, which\n") ("\t\tmakes and installs all packages. If the standard output\n") ("\t\tis a terminal then the output is also captured in\n") ("\t\t") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ("INSTALLROOT/lib/package/gen/make.out. The build is done\n") ("\t\tin the ") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ("INSTALLROOT directory tree viewpathed on top of\n") ("\t\tthe ") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ("PACKAGEROOT directory tree. If ") (EscapedLiteralPart token: <Lit_EscapedChar "\\\""> ) (flat) (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (" is specified then\n") ("\t\tthe ") (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) ("INSTALLROOT { bin fun include lib } directories are\n") ( "\t\tlinked to the same directories in the package root. Only\n" ) ("\t\tone architecture may be flat. Leaf directory names matching\n") ("\t\tthe |-separated shell pattern ") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ("MAKESKIP are ignored. The\n") ("\t\tview action is done before making. OPTION operands are\n") ("\t\tpassed to the underlying make command.\n") ("\tread [ package ... | archive ... ]\n") ("\t\tRead the named package archive(s). Must be run from the\n") ("\t\tpackage root directory. Archives are searched for in .\n") ( "\t\tand lib/package/tgz. Each package is read only once. The\n" ) ("\t\tfile lib/package/tgz/package[.type].tim tracks the read time.\n") ( "\t\tSee the write action for archive naming conventions. Text\n" ) ("\t\tfile archive member are assumed to be ASCII or UTF-8 encoded.\n") ( "\tregress diff(1) the current and previous package test results.\n" ) ("\trelease [ [CC]YY-MM-DD [ [cc]yy-mm-dd ] ] [ package ]\n") ( "\t\tDisplay recent changes since [CC]YY-MM-DD (up to [cc]yy-mm-dd),\n" ) ("\t\twhere - means lowest (or highest.) If no dates are specified\n") ( "\t\tthen changes for the last 4 months are listed. PACKAGE may\n" ) ("\t\tbe a package or component name.\n") ("\tremove PACKAGE\n") ("\t\tRemove files installed for PACKAGE.\n") ("\tresults [ path ] [ old ] [ make | test ]\n") ( "\t\tList results and interesting messages captured by the most\n" ) ("\t\trecent make (default), test or write action. old specifies the\n") ( "\t\tprevious results, if any (current and previous results are\n" ) ("\t\tretained.) ") ($ VSub_Name "$HOME") ("/.pkgresults, if it exists, must contain an\n") ( "\t\tegrep(1) expression of result lines to be ignored. failed lists\n" ) ("\t\tfailures only and path lists the results file path only.\n") ( "\tsetup [ beta ] [ binary ] [ source ] [ ARCHITECTURE ... ] [ URL ] [ PACKAGE ... ]\n" ) ("\t\tThe action initializes the current directory as a package root,\n") ( "\t\truns the update action to download new or out of date packages,\n" ) ("\t\tand runs the read action on those packages. If ") (EscapedLiteralPart token: <Lit_EscapedChar "\\\""> ) (flat) (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (" is\n") ("\t\tspecified then the ") (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) ("INSTALLROOT { bin fun include lib }\n") ( "\t\tdirectories are linked to the same directories in the package\n" ) ("\t\troot. Only one architecture may be flat. See the update and\n") ("\t\tread actions for argument details.\n") ("\ttest [ PACKAGE ]\n") ("\t\tRun the regression tests for PACKAGE. If the standard output\n") ("\t\tis a terminal then the output is also captured in\n") ("\t\t") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ("INSTALLROOT/lib/package/gen/test.out. In general a package\n") ("\t\tmust be made before it can be tested. Components tested with\n") ("\t\tthe ") (EscapedLiteralPart token: <Lit_EscapedChar "\\b"> ) (regress) (EscapedLiteralPart token:<Lit_EscapedChar "\\b">) ("(1) command require ") (EscapedLiteralPart token: <Lit_EscapedChar "\\b"> ) (ksh93) (EscapedLiteralPart token:<Lit_EscapedChar "\\b">) (". If only is\n") ( "\t\talso specified then only the listed package components are\n" ) ("\t\ttested, otherwise the closure of the components is tested.\n") ( "\tupdate [ beta ] [ binary ] [ source ] [ ARCHITECTURE ... ] [ URL ] [ PACKAGE ... ]\n" ) ("\t\tDownload the latest release of the selected and required\n") ("\t\tpackages from URL (e.g.,\n") ( "\t\thttp://www.research.att.com/sw/download) into the directory\n" ) ("\t\t") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ("PACKAGEROOT/lib/package/tgz. beta acesses beta packages;\n") ("\t\tdownload these at your own risk. If ARCHITECTURE is omitted\n") ( "\t\tthen only architectures already present in the tgz directory\n" ) ("\t\twill be downloaded. If ARCHITECTURE is - then all posted\n") ( "\t\tarchitectures will be downloaded. If URL matches *.url then\n" ) ("\t\tit is interpreted as a file containing shell variable\n") ("\t\tassignments for url, authorize and password. If URL is\n") ("\t\tomitted then the definitions for url, authorize and password\n") ("\t\tin ") (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) (PACKAGEROOT/lib/package/tgz/) ($ VSub_Name "$default_url") (", if it exists,\n") ("\t\tare used. If ") (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) (PACKAGEROOT/lib/package/tgz/) ($ VSub_Name "$default_url") (" does\n") ("\t\tnot exist then it is initialized with the current url,\n") ("\t\tauthorize and password values and read permission for the\n") ("\t\tcurrent user only. If PACKAGE is omitted then only\n") ("\t\tpackages already present in the tgz directory will be\n") ( "\t\tdownloaded. If PACKAGE is - then all posted packages will be\n" ) ("\t\tdownloaded. If source and binary are omitted then both source\n") ("\t\tand binary packages will be downloaded. If ") (EscapedLiteralPart token:<Lit_EscapedChar "\\b">) (only) (EscapedLiteralPart token: <Lit_EscapedChar "\\b"> ) (" is\n") ("\t\tspecified then only the named packages are updated; otherwise\n") ( "\t\tthe closure of required packages is updated. This action\n" ) ("\t\trequires wget(1), lynx(1), curl(1) or a shell that supports\n") ("\t\tio to /dev/tcp/HOST/PORT.\n") (" \tuse [ uid | PACKAGE | . [ 32 | 64 ] | 32 | 64 | - ] [ COMMAND ... ]\n") ( " \t\tRun COMMAND or an interactive shell if COMMAND is omitted, with\n" ) ("\t\tthe environment initialized for using the package (can you say\n") ( "\t\tshared library without cussing?) If uid or PACKAGE or . is\n" ) ("\t\tspecified then it is used to determine a ") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ("PACKAGEROOT,\n") ("\t\tpossibly different from the current directory. For example, to\n") ("\t\ttry out bozo's package: ") (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) ("package use bozo") (EscapedLiteralPart token: <Lit_EscapedChar "\\\""> ) (". In this case the\n") ("\t\tcommand may be run from any directory. If the file\n") ("\t\t") (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) ("INSTALLROOT/lib/package/profile is readable then it is\n") ("\t\tsourced to initialize the environment. 32 or 64 implies\n") ("\t\t") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ("PACKAGEROOT of . and specifies the target architecture word\n") ("\t\tsize (which may be silently ignored.)\n") ("\tverify [ PACKAGE ]\n") ( "\t\tVerify installed binary files against the checksum files in\n" ) ("\t\t") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ( "INSTALLROOT/lib/package/gen/*.sum. The checksum files contain\n" ) ("\t\tmode, user and group information. If the checksum matches\n") ( "\t\tfor a given file then the mode, user and group are changed\n" ) ("\t\tas necessary to match the checksum entry. A warning is printed\n") ( "\t\ton the standard error for each mismatch. Requires the ast\n" ) ("\t\tpackage cksum(1) command.\n") ("\tview\n") ( "\t\tInitialize the architecture specific viewpath hierarchy. The\n" ) ("\t\tmake action implicitly calls this action. If ") (EscapedLiteralPart token: <Lit_EscapedChar "\\\""> ) (flat) (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (" is specified\n") ("\t\tthen the ") (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) ("INSTALLROOT { bin fun include lib } directories are\n") ( "\t\tlinked to the same directories in the package root. Only one\n" ) ("\t\tarchitecture may be flat.\n") ("\twrite [closure] [cyg|exp|lcl|pkg|rpm|tgz|tst] [base|delta]\n") ("\t\t\t[binary|runtime|source] PACKAGE\n") ("\t\tWrite a package archive for PACKAGE. All work is done in the\n") ("\t\t") (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) ("PACKAGEROOT/lib/package directory. FORMAT-specific files\n") ( "\t\tare placed in the FORMAT subdirectory. A PACKAGE[.TYPE].tim\n" ) ("\t\tfile in this directory tracksthe write time and prevents a\n") ( "\t\tpackage from being read in the same root it was written. If\n" ) ("\t\tmore than one file is generated for a particular FORMAT then\n") ( "\t\tthose files are placed in the FORMAT/PACKAGE subdirectory.\n" ) ("\t\tFile names in the FORMAT subdirectory will contain the package\n") ( "\t\tname, a YYYY-MM-DD date, and for binary packages, HOSTTYPE.\n" ) ("\t\tIf PACKAGE is omitted then an ordered list of previously\n") ("\t\twritten packages is generated. If ") (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (only) (EscapedLiteralPart token: <Lit_EscapedChar "\\\""> ) (" is specified then\n") ("\t\tonly the named packages will be written; otherwise\n") ( "\t\tprerequisite packages are written first. Package components\n" ) ("\t\tmust be listed in PACKAGE.pkg. FORMAT may be one of:\n") ("\t\t cyg generate a cygwin package\n") ("\t\t exp generate an exptools(1) maintainer source archive\n") ( "\t\t and NPD file in the exp subdirectory, suitable for\n" ) ("\t\t\texpmake(1); support files are placed in the\n") ("\t\t\texp/PACKAGE subdirectory\n") ("\t\t lcl\tgenerate a package archive or delta in the lcl\n") ("\t\t\tsubdirectory, suitable for restoration into the\n") ("\t\t\tprimary source tree (no source licence annotation)\n") ("\t\t pkg\tgenerate a pkgmk(1) package, suitable for pkgadd(1)\n") ("\t\t rpm generate an rpm(1) package\n") ("\t\t tgz generate a gzip(1) tar(1) package archive; this is\n") ("\t\t\tthe default\n") ("\t\t tst generate tgz FORMAT package archive in the tst\n") ("\t\t\tsubdirectory; version state files are not updated\n") ( "\t\tThe package type must be one of source, binary or runtime.\n" ) ("\t\tA source package contains the source needed to build the\n") ( "\t\tcorresponding binary package. A binary package includes the\n" ) ("\t\tlibraries and headers needed for compiling and linking\n") ( "\t\tagainst the public interfaces. A runtime package contains\n" ) ("\t\tthe commands and required dynamic libraries. A package may\n") ("\t\tbe either a base or delta. A base package contains a\n") ("\t\tcomplete copy of all components. A delta package contains\n") ( "\t\tonly changes from a previous base package. Delta recipients\n" ) ("\t\tmust have the ast pax(1) command (in the ast-base package.)\n") ( "\t\tIf neither base nor delta is specified, then the current\n" ) ("\t\tbase is overwritten if there are no deltas referring to the\n") ( "\t\tcurrent base. Only the tgz and lcl formats support delta.\n" ) ("\t\tIf base is specified then a new base and two delta archives\n") ( "\t\tare generated: one delta to generate the new base from the\n" ) ("\t\told, and one delta to generate the old base from the new;\n") ( "\t\tthe old base is then removed. If delta is specified then a\n" ) ("\t\tnew delta referring to the current base is written.\n") ("\t\tpackage.pkg may reference other packages. By default a\n") ("\t\tpointer to those packages is written. The recipient package\n") ( "\t\tread will then check that all required packages have been\n" ) ("\t\tdownloaded. If closure is specified then the components for\n") ("\t\tall package references are included in the generated\n") ("\t\tpackage. This may be useful for lcl and versioning. All\n") ("\t\tformats but lcl annotate each source file (not already\n") ("\t\tannotated) with a license comment as it is written to the\n") ("\t\tpackage archive using proto(1).\n") (" name=value:\n") ("\tvariable definition: typically CC=cc or CCFLAGS=-g.") ) } ) ] spids: [6665 6666 7093 -1] ) ] spids: [4005 4009 7096] ) (C {(exit)} {($ VSub_Name "$code")}) ] spids: [3531 3545 7104 -1] ) (case_arm pat_list: [{(Lit_Other "*") (Lit_Other "=") (Lit_Other "*")}] action: [(C {(set)} {(DEFAULT)} {(host)} {(type)} {(DQ ($ VSub_At "$@"))})] spids: [7107 7110 7125 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (SimpleCommand words: [ {(echo)} { (DQ ("Usage: ") ($ VSub_Name "$command") (" [ options ] [ qualifier ... ] [ action ] [ arg ... ] [ n=v ... ]") ) } ] redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[7139])] ) (C {(exit)} {(2)}) ] spids: [7128 7129 7148 -1] ) ] spids: [3224 3228 7151] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:global) op: Equal rhs: {(DQ ($ VSub_Name "$global") (" ") ($ VSub_Number "$1"))} spids: [7154] ) ] spids: [7154] ) (C {(shift)}) ] spids: [3200 7164] ) ) (FuncDef name: hostopts body: (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_ifs_) op: Equal rhs: {($ VSub_Name "$IFS")} spids: [7181] ) ] spids: [7181] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:IFS) op: Equal rhs: {(Lit_Comma ",")} spids: [7185] ) ] spids: [7185] ) (C {(set)} {(SQ )} {($ VSub_Name "$HOSTTYPE")}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:IFS) op: Equal rhs: {($ VSub_Name "$_ifs_")} spids: [7197] ) ] spids: [7197] ) (C {(shift)}) (While cond: [(C {(Lit_Other ":")})] body: (DoGroup children: [ (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(0)} {(1)}] action: [(ControlFlow token:<ControlFlow_Break break>)] spids: [7218 7221 7225 -1] ) ] spids: [7211 7215 7228] ) (C {(shift)}) (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (cc) (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:CC) op: Equal rhs: {($ VSub_Number "$1")} spids: [7246] ) ] spids: [7246] ) (While cond: [(C {(Lit_Other ":")})] body: (DoGroup children: [ (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(0)} {(1)}] action: [(ControlFlow token:<ControlFlow_Break break>)] spids: [7264 7267 7271 -1] ) ] spids: [7257 7261 7274] ) (Case to_match: {($ VSub_Number "$2")} arms: [ (case_arm pat_list: [{(-) (Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$assign_CCFLAGS")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:assign_CCFLAGS) op: Equal rhs: { (DQ ($ VSub_Name "$assign_CCFLAGS") (" ") ) } spids: [7299] ) ] spids: [7299] ) ] spids: [7295 7297 7305 -1] ) ] spids: [7288 7292 7308] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:assign_CCFLAGS) op: Equal rhs: { (DQ ($ VSub_Name "$assign_CCFLAGS") ($ VSub_Number "$2") ) } spids: [7311] ) ] spids: [7311] ) (C {(shift)}) ] spids: [7284 7286 7321 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [(ControlFlow token:<ControlFlow_Break break>)] spids: [7324 7325 7330 -1] ) ] spids: [7277 7281 7333] ) ] spids: [7255 7336] ) ) ] spids: [7241 7244 7339 -1] ) ] spids: [7234 7238 7342] ) ] spids: [7209 7345] ) ) ] spids: [7178] ) spids: [7174 7177] ) (Case to_match: {($ VSub_Name "$_PACKAGE_HOSTTYPE_")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:HOSTTYPE) op: Equal rhs: {($ VSub_Name "$_PACKAGE_HOSTTYPE_")} spids: [7364] ) ] spids: [7364] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:KEEP_HOSTTYPE) op:Equal rhs:{(1)} spids:[7368])] spids: [7368] ) ] spids: [7360 7362 7372 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:KEEP_HOSTTYPE) op:Equal rhs:{(0)} spids:[7377])] spids: [7377] ) ] spids: [7374 7375 7381 -1] ) ] spids: [7354 7358 7383] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:KEEP_PACKAGEROOT) op:Equal rhs:{(0)} spids:[7385])] spids: [7385] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:KEEP_SHELL) op:Equal rhs:{(0)} spids:[7388])] spids: [7388] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:USER_VPATH) op:Equal rhs:{(SQ )} spids:[7391])] spids: [7391] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:args) op:Equal rhs:{(SQ )} spids:[7393])] spids: [7393] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:assign) op:Equal rhs:{(SQ )} spids:[7395])] spids: [7395] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:assign_CCFLAGS) op:Equal rhs:{(SQ )} spids:[7397])] spids: [7397] ) (ForEach iter_name: i do_arg_iter: True body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$i")} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (Lit_Other ":") (Lit_Other "*") (Lit_Other "=") (Lit_Other "*")} ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:args) op: Equal rhs: {(DQ ($ VSub_Name "$args") (" ") ($ VSub_Name "$i"))} spids: [7419] ) ] spids: [7419] ) (ControlFlow token:<ControlFlow_Continue continue>) ] spids: [7412 7417 7430 -1] ) (case_arm pat_list: [{(Lit_Other "*") (Lit_Other "=") (Lit_Other "*")}] action: [ (C {(eval)} { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {(SQ <" ">)} {(DQ ($ VSub_Name "$i"))}) (C {(sed)} {(SQ <"s,^[ \t]*\\([^=]*\\)=\\(.*\\),n=\\1 v=">) (EscapedLiteralPart token: <Lit_EscapedChar "\\'"> ) (SQ <"\\2">) (EscapedLiteralPart token:<Lit_EscapedChar "\\'">) (SQ <",">) } ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [7440 7466] ) } ) ] spids: [7433 7436 7469 -1] ) ] spids: [7405 7409 7472] ) (Case to_match: {($ VSub_Name "$i")} arms: [ (case_arm pat_list: [ {(Lit_VarLike "AR=") (Lit_Other "*")} {(Lit_VarLike "LD=") (Lit_Other "*")} {(Lit_VarLike "NM=") (Lit_Other "*")} ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:assign) op: Equal rhs: { (DQ ($ VSub_Name "$assign") (" ") ($ VSub_Name "$n") ("='") ($ VSub_Name "$v") ("'") ) } spids: [7493] ) ] spids: [7493] ) (C {(eval)} {($ VSub_Name "$n") (Lit_Other "=") (SQ <"$">) (v)}) ] spids: [7482 7490 7514 -1] ) (case_arm pat_list: [{(Lit_VarLike "CC=") (Lit_Other "*")}] action: [(C {(eval)} {($ VSub_Name "$n") (Lit_Other "=") (SQ <"$">) (v)})] spids: [7517 7519 7531 -1] ) (case_arm pat_list: [{(Lit_VarLike "CCFLAGS=") (Lit_Other "*")}] action: [ (C {(eval)} {($ VSub_Name "$n") (Lit_Other "=") (SQ <"$">) (v)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:assign_CCFLAGS) op: Equal rhs: { (DQ ("CCFLAGS=") (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) (CCFLAGS) (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) ) } spids: [7549] ) ] spids: [7549] ) ] spids: [7534 7536 7559 -1] ) (case_arm pat_list: [{(Lit_VarLike "HOSTTYPE=") (Lit_Other "*")}] action: [ (C {(eval)} {($ VSub_Name "$n") (Lit_Other "=") (SQ <"$">) (v)}) (Case to_match: {($ VSub_Name "$HOSTTYPE")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:KEEP_HOSTTYPE) op: Equal rhs: {(1)} spids: [7588] ) ] spids: [7588] ) ] spids: [7584 7586 7591 -1] ) ] spids: [7577 7581 7594] ) ] spids: [7562 7564 7597 -1] ) (case_arm pat_list: [{(Lit_VarLike "HURL=") (Lit_Other "*")}] action: [(C {(eval)} {($ VSub_Name "$n") (Lit_Other "=") (SQ <"$">) (v)})] spids: [7600 7602 7614 -1] ) (case_arm pat_list: [{(Lit_VarLike "PACKAGEROOT=") (Lit_Other "*")}] action: [ (C {(eval)} {($ VSub_Name "$n") (Lit_Other "=") (SQ <"$">) (v)}) (Case to_match: {($ VSub_Name "$PACKAGEROOT")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:KEEP_PACKAGEROOT) op: Equal rhs: {(1)} spids: [7643] ) ] spids: [7643] ) ] spids: [7639 7641 7646 -1] ) ] spids: [7632 7636 7649] ) ] spids: [7617 7619 7652 -1] ) (case_arm pat_list: [{(Lit_VarLike "SHELL=") (Lit_Other "*")}] action: [ (C {(eval)} {($ VSub_Name "$n") (Lit_Other "=") (SQ <"$">) (v)}) (Case to_match: {($ VSub_Name "$SHELL")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:KEEP_SHELL) op: Equal rhs: {(1)} spids: [7679] ) ] spids: [7679] ) ] spids: [7675 7677 7682 -1] ) ] spids: [7668 7672 7685] ) ] spids: [7655 7657 7688 -1] ) (case_arm pat_list: [{(Lit_VarLike "TAR=") (Lit_Other "*")}] action: [(C {(eval)} {($ VSub_Name "$n") (Lit_Other "=") (SQ <"$">) (v)})] spids: [7691 7693 7705 -1] ) (case_arm pat_list: [{(Lit_VarLike "TARFLAGS=") (Lit_Other "*")}] action: [(C {(eval)} {($ VSub_Name "$n") (Lit_Other "=") (SQ <"$">) (v)})] spids: [7708 7710 7723 -1] ) (case_arm pat_list: [{(Lit_VarLike "VPATH=") (Lit_Other "*")}] action: [(C {(eval)} {(USER_) ($ VSub_Name "$n") (Lit_Other "=") (SQ <"$">) (v)})] spids: [7726 7728 7740 -1] ) (case_arm pat_list: [{(SQ <"debug=1">)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:makeflags) op: Equal rhs: {(DQ ($ VSub_Name "$makeflags") (" --debug-symbols"))} spids: [7749] ) ] spids: [7749] ) ] spids: [7744 7746 7756 -1] ) (case_arm pat_list: [{(SQ <"strip=1">)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:makeflags) op: Equal rhs: {(DQ ($ VSub_Name "$makeflags") (" --strip-symbols"))} spids: [7765] ) ] spids: [7765] ) ] spids: [7760 7762 7772 -1] ) (case_arm pat_list: [{(Lit_Other "*") (Lit_Other "=") (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:assign) op: Equal rhs: { (DQ ($ VSub_Name "$assign") (" ") ($ VSub_Name "$n") ("='") ($ VSub_Name "$v") ("'") ) } spids: [7780] ) ] spids: [7780] ) ] spids: [7775 7778 7791 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:args) op: Equal rhs: {(DQ ($ VSub_Name "$args") (" ") ($ VSub_Name "$i"))} spids: [7797] ) ] spids: [7797] ) ] spids: [7794 7795 7805 -1] ) ] spids: [7475 7479 7808] ) ] spids: [7403 7810] ) spids: [-1 -1] ) (Case to_match: {($ VSub_Name "$HOSTTYPE")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (Lit_Comma ",") (Lit_Other "*")}] action: [(C {(hostopts)} {($ VSub_Name "$HOSTTYPE")})] spids: [7818 7821 7827 -1] ) ] spids: [7812 7816 7829] ) (Case to_match: {($ VSub_Name "$assign_CCFLAGS")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:assign) op: Equal rhs: {(DQ ($ VSub_Name "$assign") (" ") ($ VSub_Name "$assign_CCFLAGS"))} spids: [7841] ) ] spids: [7841] ) ] spids: [7837 7839 -1 7848] ) ] spids: [7831 7835 7848] ) (Case to_match: {($ VSub_Name "$CC")} arms: [ (case_arm pat_list:[{(SQ )}{(cc)}] spids:[-178607862-1]) (case_arm pat_list: [{(Lit_Other "*")}] action: [(C {(export)} {(CC)})] spids: [7864 7865 7871 -1] ) ] spids: [7850 7854 7873] ) (Case to_match: {($ VSub_Name "$action")} arms: [ (case_arm pat_list: [{(admin)}] action: [ (While cond: [(C {(Lit_Other ":")})] body: (DoGroup children: [ (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(0)}] action: [(C {(set)} {(list)}) (ControlFlow token:<ControlFlow_Break break>)] spids: [7903 7904 7914 -1] ) ] spids: [7896 7900 7917] ) (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [{(all)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:admin_all) op: Equal rhs: {(1)} spids: [7930] ) ] spids: [7930] ) ] spids: [7927 7928 7934 -1] ) (case_arm pat_list: [{(db)}] action: [ (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(1)}] action: [ (SimpleCommand words: [ {(echo)} {($ VSub_Name "$command") (Lit_Other ":")} {($ VSub_Name "$action") (Lit_Other ":")} {($ VSub_Number "$1") (Lit_Other ":")} {(db)} {(file)} {(argument)} {(expected)} ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [7969] ) ] ) (C {(exit)} {(1)}) ] spids: [7947 7948 7978 -1] ) ] spids: [7940 7944 7981] ) (C {(shift)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:admin_db) op: Equal rhs: {($ VSub_Number "$1")} spids: [7987] ) ] spids: [7987] ) ] spids: [7937 7938 7991 -1] ) (case_arm pat_list: [{(on)}] action: [ (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(1)}] action: [ (SimpleCommand words: [ {(echo)} {($ VSub_Name "$command") (Lit_Other ":")} {($ VSub_Name "$action") (Lit_Other ":")} {($ VSub_Number "$1") (Lit_Other ":")} {(host)} {(pattern)} {(argument)} {(expected)} ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [8026] ) ] ) (C {(exit)} {(1)}) ] spids: [8004 8005 8035 -1] ) ] spids: [7997 8001 8038] ) (C {(shift)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:admin_on) op: Equal rhs: {($ VSub_Number "$1")} spids: [8044] ) ] spids: [8044] ) ] spids: [7994 7995 8048 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [(ControlFlow token:<ControlFlow_Break break>)] spids: [8051 8052 8057 -1] ) ] spids: [7920 7924 8060] ) (C {(shift)}) ] spids: [7894 8066] ) ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:admin_action) op: Equal rhs: {($ VSub_Number "$1")} spids: [8069] ) ] spids: [8069] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:admin_args) op: Equal rhs: {($ VSub_Star "$*")} spids: [8073] ) ] spids: [8073] ) (ForEach iter_name: i do_arg_iter: True body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$i")} arms: [ (case_arm pat_list: [ {(debug)} {(environment)} {(force)} {(never)} {(only)} {(quiet)} {(show)} {(DEBUG)} ] spids: [8091 8106 8109 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:admin_action) op: Equal rhs: {($ VSub_Name "$i")} spids: [8115] ) ] spids: [8115] ) (ControlFlow token:<ControlFlow_Break break>) ] spids: [8112 8113 8122 -1] ) ] spids: [8084 8088 8125] ) ] spids: [8082 8128] ) spids: [-1 -1] ) ] spids: [7886 7887 8131 -1] ) (case_arm pat_list: [{(setup)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:PACKAGEROOT) op: Equal rhs: { (BracedVarSub token: <VSub_Name PWD> suffix_op: (StringUnary op_id: VTest_ColonHyphen arg_word: { (CommandSubPart command_list: (CommandList children:[(C {(pwd)})]) left_token: <Left_Backtick "`"> spids: [8140 8142] ) } ) spids: [8137 8143] ) } spids: [8136] ) ] spids: [8136] ) (C {(export)} {(PACKAGEROOT)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:KEEP_PACKAGEROOT) op: Equal rhs: {(1)} spids: [8151] ) ] spids: [8151] ) ] spids: [8133 8134 8155 -1] ) (case_arm pat_list: [{(use)}] action: [ (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [{(.)} {(32)} {(64)}] action: [ (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [{(32)} {(64)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:bit) op: Equal rhs: {($ VSub_Number "$1")} spids: [8185] ) ] spids: [8185] ) ] spids: [8180 8183 8188 -1] ) ] spids: [8173 8177 8191] ) (C {(shift)}) (Case to_match: {($ VSub_Name "$HOSTTYPE")} arms: [ (case_arm pat_list: [{(win32.) (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sys) op: Equal rhs: {(uwin)} spids: [8213] ) ] spids: [8213] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:wow) op: Equal rhs: { (CommandSubPart command_list: (CommandList children:[(C {(uname)} {(-i)})]) left_token: <Left_Backtick "`"> spids: [8218 8222] ) } spids: [8217] ) ] spids: [8217] ) (Case to_match: {($ VSub_Name "$bit")} arms: [ (case_arm pat_list: [{(32)}] action: [ (Case to_match: {($ VSub_Name "$HOSTTYPE")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (-64)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:HOSTTYPE) op: Equal rhs: { (BracedVarSub token: <VSub_Name HOSTTYPE> suffix_op: (StringUnary op_id: VOp1_Percent arg_word: {(-64)} ) spids: [8247 8251] ) } spids: [8246] ) ] spids: [8246] ) ] spids: [8242 8244 8253 -1] ) ] spids: [8235 8239 8256] ) (Case to_match: {($ VSub_Name "$wow")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (/32)}] spids: [8266 8268 8270 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [(C {(vpath)} {(/)} {(/) ($ VSub_Name "$bit")})] spids: [8273 8274 8283 -1] ) ] spids: [8259 8263 8286] ) ] spids: [8232 8233 8289 -1] ) (case_arm pat_list: [{(64)}] action: [ (Case to_match: {($ VSub_Name "$HOSTTYPE")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (-64)}] spids: [8302 8304 8306 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:HOSTTYPE) op: Equal rhs: {($ VSub_Name "$HOSTTYPE") (-64)} spids: [8312] ) ] spids: [8312] ) ] spids: [8309 8310 8316 -1] ) ] spids: [8295 8299 8319] ) (Case to_match: {($ VSub_Name "$wow")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (/32)}] action: [ (Sentence child: (SimpleCommand words: [ {(echo)} {($ VSub_Name "$command") (Lit_Other ":")} {(cannot)} {(build)} {($ VSub_Name "$bit") (-bit)} {(on)} {($ VSub_Name "$wow")} {($ VSub_Name "$sys")} ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [8351] ) ] ) terminator: <Op_Semi ";"> ) (C {(exit)} {(2)}) ] spids: [8329 8331 8359 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [(C {(vpath)} {(/)} {(/) ($ VSub_Name "$bit")})] spids: [8362 8363 8372 -1] ) ] spids: [8322 8326 8375] ) ] spids: [8292 8293 8378 -1] ) ] spids: [8225 8229 8381] ) (Case to_match: {($ VSub_Name "$bit")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:PS1) op: Equal rhs: {(DQ ("(") ($ VSub_Name "$sys") (") "))} spids: [8395] ) ] spids: [8395] ) ] spids: [-1 8393 8402 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:PS1) op: Equal rhs: { (DQ ("(") ($ VSub_Name "$sys") (-) ($ VSub_Name "$bit") (") ") ) } spids: [8408] ) ] spids: [8408] ) ] spids: [8405 8406 8417 -1] ) ] spids: [8384 8388 8420] ) (C {($ VSub_Name "$exec")} {(umask)} {(002)}) (C {($ VSub_Name "$exec")} {(unset)} {(MAKESKIP)}) (C {($ VSub_Name "$exec")} {(export)} {(Lit_VarLike "P=") ($ VSub_Name "$PWD")} ) (C {($ VSub_Name "$exec")} {(export)} {(Lit_VarLike "A=") ($ VSub_Name "$P") (/arch/) ($ VSub_Name "$HOSTTYPE") } ) (C {($ VSub_Name "$exec")} {(export)} {(Lit_VarLike "CDPATH=") (Lit_Other ":") (..) (Lit_Other ":") ($ VSub_Name "$A") (/src/cmd) (Lit_Other ":") ($ VSub_Name "$A") (/src/lib) (Lit_Other ":") ($ VSub_Name "$A") (/src/uwin) (Lit_Other ":") ($ VSub_Name "$P") (/lib/package) } ) (C {($ VSub_Name "$exec")} {(export)} {(Lit_VarLike "INSTALLROOT=") ($ VSub_Name "$A")} ) (C {($ VSub_Name "$exec")} {(export)} {(Lit_VarLike "PACKAGEROOT=") ($ VSub_Name "$P")} ) (C {($ VSub_Name "$exec")} {(export)} {(Lit_VarLike "PATH=") ($ VSub_Name "$A") (/bin) (Lit_Other ":") ($ VSub_Name "$P") (/bin) (Lit_Other ":") ($ VSub_Name "$PATH") } ) (C {($ VSub_Name "$exec")} {(export)} {(Lit_VarLike "PS1=") (DQ ($ VSub_Name "$PS1"))} ) (C {($ VSub_Name "$exec")} {(export)} {(Lit_VarLike "VPATH=") ($ VSub_Name "$A") (Lit_Other ":") ($ VSub_Name "$P") } ) (C {($ VSub_Name "$exec")} {(export)} {(Lit_VarLike "nativepp=") (/usr/lib)}) (If arms: [ (if_arm cond: [ (C {(test)} {(SQ )} {(KW_Bang "!") (Lit_Other "=")} {(DQ ($ VSub_Name "$INSTALLROOT"))} {(-a)} {(-d)} {($ VSub_Name "$INSTALLROOT") (/include/ast)} ) ] action: [ (C {($ VSub_Name "$exec")} {(export)} {(Lit_VarLike "PACKAGE_ast=") ($ VSub_Name "$INSTALLROOT")} ) ] spids: [-1 8560] ) (if_arm cond: [ (C {(test)} {(-d)} { (BracedVarSub token: <VSub_Name PWD> suffix_op: (StringUnary op_id: VOp1_Percent arg_word: {(Lit_Slash /) ("*")} ) spids: [8576 8581] ) (/ast/arch/) ($ VSub_Name "$HOSTTYPE") } ) ] action: [ (C {($ VSub_Name "$exec")} {(export)} {(Lit_VarLike "PACKAGE_ast=") (BracedVarSub token: <VSub_Name PWD> suffix_op: (StringUnary op_id: VOp1_Percent arg_word: {(Lit_Slash /) ("*")} ) spids: [8593 8598] ) (/ast/arch/) ($ VSub_Name "$HOSTTYPE") } ) ] spids: [8570 8586] ) ] spids: [-1 8603] ) (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(0)}] action: [ (Case to_match: {($ VSub_Name "$show")} arms: [ (case_arm pat_list: [{(SQ <":">)}] action: [ (C {($ VSub_Name "$exec")} {(exec)} {($ VSub_Name "$SHELL")}) ] spids: [8630 8632 8640 -1] ) ] spids: [8622 8626 8643] ) ] spids: [8619 8620 8646 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (C {($ VSub_Name "$exec")} {(exec)} {($ VSub_Name "$SHELL")} {(-c)} {(DQ ($ VSub_At "$@"))} ) ] spids: [8649 8650 8665 -1] ) ] spids: [8612 8616 8668] ) (C {(exit)}) ] spids: [8210 8212 8674 -1] ) ] spids: [8203 8207 8677] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:PACKAGEROOT) op: Equal rhs: { (BracedVarSub token: <VSub_Name PWD> suffix_op: (StringUnary op_id: VTest_ColonHyphen arg_word: { (CommandSubPart command_list: (CommandList children:[(C {(pwd)})]) left_token: <Left_Backtick "`"> spids: [8684 8686] ) } ) spids: [8681 8687] ) } spids: [8680] ) ] spids: [8680] ) (C {($ VSub_Name "$show")} {(export)} {(PACKAGEROOT)}) ] spids: [8167 8172 -1 8697] ) ] spids: [8160 8164 8697] ) ] spids: [8157 8158 8700 -1] ) ] spids: [7880 7884 8702] ) (FuncDef name: packageroot body: (BraceGroup children: [ (C {(test)} {(-d)} {($ VSub_Number "$1") (/lib/) ($ VSub_Name "$command")} {(-o)} {(-x)} {($ VSub_Number "$1") (/bin/) ($ VSub_Name "$command")} ) ] spids: [8716] ) spids: [8709 8712] ) (FuncDef name: executable body: (BraceGroup children: [ (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [{(SQ <"!">)}] action: [ (Sentence child: (C {(test)} {(KW_Bang "!")} {(-x)} {(DQ ($ VSub_Number "$2"))} {(-a)} {(KW_Bang "!")} {(-x)} {(DQ ($ VSub_Number "$2") (.exe))} ) terminator: <Op_Semi ";"> ) (ControlFlow token:<ControlFlow_Return return>) ] spids: [8760 8762 8788 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Sentence child: (C {(test)} {(-x)} {(DQ ($ VSub_Number "$1"))} {(-o)} {(-x)} {(DQ ($ VSub_Number "$1") (.exe))} ) terminator: <Op_Semi ";"> ) (ControlFlow token:<ControlFlow_Return return>) ] spids: [8791 8792 8814 -1] ) ] spids: [8752 8756 8817] ) ] spids: [8749] ) spids: [8742 8745] ) (FuncDef name: shellmagic body: (BraceGroup children: [ (Case to_match: {($ VSub_Name "$SHELLMAGIC")} arms: [ (case_arm pat_list:[{(SQ )}] spids:[-188458847-1]) (case_arm pat_list: [{(-)}] action: [ (If arms: [ (if_arm cond: [(C {(test)} {(-f)} {(/emx/bin/sh.exe)})] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:SHELLMAGIC) op: Equal rhs: {(SQ <"#!/emx/bin/sh.exe">) ($ VSub_Name "$nl")} spids: [8864] ) ] spids: [8864] ) ] spids: [-1 8862] ) (if_arm cond: [(C {(test)} {(-f)} {(/bin/env.exe)})] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:SHELLMAGIC) op: Equal rhs: {(SQ <"#!/bin/env sh">) ($ VSub_Name "$nl")} spids: [8882] ) ] spids: [8882] ) ] spids: [8871 8880] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:SHELLMAGIC) op: Equal rhs: {(SQ )} spids: [8891] ) ] spids: [8891] ) ] spids: [8889 8894] ) ] spids: [8850 8851 8897 -1] ) ] spids: [8836 8840 8900] ) ] spids: [8833] ) spids: [8829 8832] ) (FuncDef name: onpath body: (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_onpath_b) op: Equal rhs: {($ VSub_Number "$1")} spids: [8919] ) ] spids: [8919] ) (Case to_match: {($ VSub_Name "$_onpath_b")} arms: [ (case_arm pat_list: [{(/) (Lit_Other "*")}] action: [ (If arms: [ (if_arm cond: [(C {(executable)} {($ VSub_Name "$_onpath_b")})] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_onpath_) op: Equal rhs: {($ VSub_Name "$_onpath_b")} spids: [8943] ) ] spids: [8943] ) (ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [-1 8941] ) ] spids: [-1 8952] ) (ControlFlow token:<ControlFlow_Return return> arg_word:{(1)}) ] spids: [8930 8932 8960 -1] ) ] spids: [8923 8927 8963] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:IFS) op:Equal rhs:{(SQ <":">)} spids:[8966])] spids: [8966] ) (C {(set)} {(SQ )} {($ VSub_Name "$PATH")}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:IFS) op: Equal rhs: {($ VSub_Name "$ifs")} spids: [8980] ) ] spids: [8980] ) (C {(shift)}) (ForEach iter_name: _onpath_d do_arg_iter: True body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$_onpath_d")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_onpath_d) op: Equal rhs: {(.)} spids: [9005] ) ] spids: [9005] ) ] spids: [-1 9003 9008 -1] ) ] spids: [8994 8998 9011] ) (If arms: [ (if_arm cond: [ (C {(executable)} {(DQ ($ VSub_Name "$_onpath_d") (/) ($ VSub_Name "$_onpath_b"))} ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_onpath_) op: Equal rhs: {($ VSub_Name "$_onpath_d") (/) ($ VSub_Name "$_onpath_b")} spids: [9027] ) ] spids: [9027] ) (ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [-1 9025] ) ] spids: [-1 9038] ) ] spids: [8992 9041] ) spids: [-1 -1] ) (ControlFlow token:<ControlFlow_Return return> arg_word:{(1)}) ] spids: [8916] ) spids: [8909 8912] ) (FuncDef name: nonmake body: (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_nonmake_version) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (AndOr children: [ (Subshell child: (C {($ VSub_Number "$1")} {(-n)} {(-f)} {(-)} { (SQ < "print $(MAKEVERSION:@/.*AT&T.* //:/-//G:@/.* .*/19960101/)" > ) } {(.)} ) redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: {(/dev/null)} spids: [9085] ) (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [9088] ) ] spids: [9067 9083] ) (C {(echo)} {(19840919)}) ] op_id: Op_DPipe ) ] ) left_token: <Left_Backtick "`"> spids: [9066 9096] ) } spids: [9065] ) ] spids: [9065] ) (If arms: [ (if_arm cond: [(C {(test)} {($ VSub_Name "$_nonmake_version")} {(-lt)} {(20001031)})] action: [(ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})] spids: [-1 9110] ) ] spids: [-1 9117] ) (ControlFlow token:<ControlFlow_Return return> arg_word:{(1)}) ] spids: [9062] ) spids: [9055 9058] ) (FuncDef name: hostinfo body: (BraceGroup children: [ (Case to_match: {($ VSub_Name "$DEBUG")} arms: [(case_arm pat_list:[{(1)}] action:[(C {(set)} {(-x)})] spids:[914891499155-1])] spids: [9141 9145 9158] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:map) op:Equal rhs:{(SQ )} spids:[9161])] spids: [9161] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:something) op:Equal rhs:{(SQ )} spids:[9164])] spids: [9164] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:path) op: Equal rhs: {($ VSub_Name "$PATH")} spids: [9167] ) ] spids: [9167] ) (ForEach iter_name: i iter_words: [{($ VSub_Name "$ccs")}] do_arg_iter: False body: (DoGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:PATH) op: Equal rhs: {($ VSub_Name "$PATH") (Lit_Other ":") ($ VSub_Name "$i")} spids: [9182] ) ] spids: [9182] ) ] spids: [9180 9188] ) spids: [9176 -1] ) (ForEach iter_name: i iter_words: [{($ VSub_Name "$use")}] do_arg_iter: False body: (DoGroup children: [ (ForEach iter_name: j iter_words: [{($ VSub_Name "$org")}] do_arg_iter: False body: (DoGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:PATH) op: Equal rhs: {($ VSub_Name "$PATH") (Lit_Other ":") ($ VSub_Name "$i") (/) ($ VSub_Name "$j") (/bin) } spids: [9213] ) ] spids: [9213] ) ] spids: [9211 9222] ) spids: [9207 -1] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:PATH) op: Equal rhs: {($ VSub_Name "$PATH") (Lit_Other ":") ($ VSub_Name "$i") (/bin)} spids: [9225] ) ] spids: [9225] ) ] spids: [9200 9232] ) spids: [9196 -1] ) (Case to_match: {($ VSub_Name "$SED")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:SED) op:Equal rhs:{(sed)} spids:[9250])] spids: [9250] ) (AndOr children: [ (SimpleCommand words: [{($ VSub_Name "$SED")} {(1d)}] redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: {(/dev/null)} spids: [9258] ) (Redir op_id: Redir_Great fd: -1 arg_word: {(/dev/null)} spids: [9262] ) (Redir op_id: Redir_GreatAnd fd: 2 arg_word: {(1)} spids: [9266] ) ] ) (ForEach iter_name: dir iter_words: [{(/bin)} {(/usr/bin)}] do_arg_iter: False body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (C {(test)} {(-x)} {($ VSub_Name "$dir") (/) ($ VSub_Name "$SED")} ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:SED) op: Equal rhs: {($ VSub_Name "$dir") (/) ($ VSub_Name "$SED")} spids: [9298] ) ] spids: [9298] ) (ControlFlow token: <ControlFlow_Break break> ) ] spids: [-1 9296] ) ] spids: [-1 9307] ) ] spids: [9283 9310] ) spids: [9277 -1] ) ] op_id: Op_DPipe ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:TR) op:Equal rhs:{(tr)} spids:[9313])] spids: [9313] ) (AndOr children: [ (SimpleCommand words: [{($ VSub_Name "$TR")}] redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: {(/dev/null)} spids: [9319] ) (Redir op_id: Redir_Great fd: -1 arg_word: {(/dev/null)} spids: [9323] ) (Redir op_id: Redir_GreatAnd fd: 2 arg_word: {(1)} spids: [9327] ) ] ) (ForEach iter_name: dir iter_words: [{(/bin)} {(/usr/bin)}] do_arg_iter: False body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (C {(test)} {(-x)} {($ VSub_Name "$dir") (/) ($ VSub_Name "$TR")} ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:TR) op: Equal rhs: {($ VSub_Name "$dir") (/) ($ VSub_Name "$TR")} spids: [9359] ) ] spids: [9359] ) (ControlFlow token: <ControlFlow_Break break> ) ] spids: [-1 9357] ) ] spids: [-1 9368] ) ] spids: [9344 9371] ) spids: [9338 -1] ) ] op_id: Op_DPipe ) ] spids: [-1 9248 9374 -1] ) ] spids: [9239 9243 9377] ) (Case to_match: {($ VSub_Name "$PACKAGE_PATH")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (ForEach iter_name: i iter_words: [ { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Name "$PACKAGE_PATH")}) (C {($ VSub_Name "$SED")} {(SQ <"s,:, ,g">)}) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [9397 9409] ) } ] do_arg_iter: False body: (DoGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:PATH) op: Equal rhs: {($ VSub_Name "$PATH") (Lit_Other ":") ($ VSub_Name "$i") (/bin)} spids: [9414] ) ] spids: [9414] ) ] spids: [9412 9421] ) spids: [9396 -1] ) ] spids: [9387 9389 9424 -1] ) ] spids: [9380 9384 9427] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:canon) op:Equal rhs:{(SQ )} spids:[9436])] spids: [9436] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:cc) op: Equal rhs: {($ VSub_Name "$CC")} spids: [9439] ) ] spids: [9439] ) (ForEach iter_name: info do_arg_iter: True body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$canon")} arms: [ (case_arm pat_list: [{(-)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:canon) op: Equal rhs: {($ VSub_Name "$info")} spids: [9460] ) ] spids: [9460] ) ] spids: [9457 9458 9464 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$info")} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (/) (Lit_Other "*")} {(Lit_Other "*") (Lit_Other "[") (cC) (Lit_Other "]") (Lit_Other "[") (cC) (Lit_Other "]") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:cc) op: Equal rhs: {($ VSub_Name "$info")} spids: [9491] ) ] spids: [9491] ) ] spids: [9477 9488 9495 -1] ) (case_arm pat_list: [{(canon)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:canon) op: Equal rhs: {(-)} spids: [9501] ) ] spids: [9501] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:something) op: Equal rhs: {(1)} spids: [9505] ) ] spids: [9505] ) ] spids: [9498 9499 9509 -1] ) (case_arm pat_list: [{(cpu)} {(name)} {(rating)} {(type)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:something) op: Equal rhs: {(1)} spids: [9522] ) ] spids: [9522] ) ] spids: [9512 9519 9526 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$action") (": ") ($ VSub_Name "$info") (": unknown attribute") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [9543] ) ] ) (C {(exit)} {(1)}) ] spids: [9529 9530 9552 -1] ) ] spids: [9470 9474 9555] ) ] spids: [9467 9468 9558 -1] ) ] spids: [9450 9454 9561] ) ] spids: [9448 9564] ) spids: [-1 -1] ) (Case to_match: {($ VSub_Name "$canon")} arms: [ (case_arm pat_list: [{(-)}] action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$action") (": canon: host type name expected") ) } ] redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[9586])] ) (C {(exit)} {(1)}) ] spids: [9574 9575 9595 -1] ) ] spids: [9567 9571 9598] ) (Case to_match: {($ VSub_Name "$something")} arms: [ (case_arm pat_list: [{(DQ )}] action: [(C {(set)} {(DQ ($ VSub_At "$@"))} {(type)})] spids: [-1 9610 9620 -1] ) ] spids: [9601 9605 9623] ) (Case to_match: {($ VSub_Name "$DEBUG")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (SimpleCommand words: [{(exec)}] redirects: [(Redir op_id:Redir_GreatAnd fd:9 arg_word:{(2)} spids:[9639])] ) (SimpleCommand words: [{(exec)}] redirects: [(Redir op_id:Redir_Great fd:2 arg_word:{(/dev/null)} spids:[9645])] ) ] spids: [-1 9635 9649 -1] ) ] spids: [9626 9630 9652] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:_hostinfo_) op:Equal rhs:{(SQ )} spids:[9661])] spids: [9661] ) (ForEach iter_name: info do_arg_iter: True body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$info")} arms: [ (case_arm pat_list: [{(cpu)}] action: [ (Case to_match: {($ VSub_Name "$NPROC")} arms: [ (case_arm pat_list: [ {(Lit_Other "[") (123456789) (Lit_Other "]") (Lit_Other "*")} ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_hostinfo_) op: Equal rhs: { (DQ ($ VSub_Name "$_hostinfo_") (" ") ($ VSub_Name "$NPROC") ) } spids: [9696] ) ] spids: [9696] ) (ControlFlow token: <ControlFlow_Continue continue> ) ] spids: [9689 9693 9707 -1] ) ] spids: [9682 9686 9710] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:cpu) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (C {(grep)} {(-ic)} {(SQ <"^processor[ \t][ \t]*:[ \t]*[0123456789]">)} {(/proc/cpuinfo)} ) ] ) left_token: <Left_Backtick "`"> spids: [9714 9724] ) } spids: [9713] ) ] spids: [9713] ) (Case to_match: {($ VSub_Name "$cpu")} arms: [ (case_arm pat_list: [ {(Lit_Other "[") (123456789) (Lit_Other "]") (Lit_Other "*")} ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_hostinfo_) op: Equal rhs: { (DQ ($ VSub_Name "$_hostinfo_") (" ") ($ VSub_Name "$cpu") ) } spids: [9741] ) ] spids: [9741] ) (ControlFlow token: <ControlFlow_Continue continue> ) ] spids: [9734 9738 9752 -1] ) ] spids: [9727 9731 9755] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:cpu) op: Equal rhs: {(1)} spids: [9758] ) ] spids: [9758] ) (C {(set)} {(hinv)} {(SQ <"^Processor [0123456789]">)} {(psrinfo)} {(SQ <on-line>)} {(SQ <"cat /reg/LOCAL_MACHINE/Hardware/Description/System/CentralProcessor">)} {(SQ <.>)} { (SQ < "cat /proc/registry/HKEY_LOCAL_MACHINE/Hardware/Description/System/CentralProcessor" > ) } {(SQ <.>)} ) (While cond: [(C {(Lit_Other ":")})] body: (DoGroup children: [ (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(0)}] action: [(ControlFlow token:<ControlFlow_Break break>)] spids: [9821 9822 9826 -1] ) ] spids: [9814 9818 9829] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:i) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (SimpleCommand words: [{($ VSub_Number "$1")}] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [9836] ) ] ) (C {(grep)} {(-c)} {(DQ ($ VSub_Number "$2"))}) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [9833 9848] ) } spids: [9832] ) ] spids: [9832] ) (Case to_match: {($ VSub_Name "$i")} arms: [ (case_arm pat_list: [ {(Lit_Other "[") (123456789) (Lit_Other "]") (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:cpu) op: Equal rhs: {($ VSub_Name "$i")} spids: [9865] ) ] spids: [9865] ) (ControlFlow token: <ControlFlow_Break break> ) ] spids: [9858 9862 9872 -1] ) ] spids: [9851 9855 9875] ) (Sentence child: (C {(shift)}) terminator: <Op_Semi ";"> ) (C {(shift)}) ] spids: [9812 9883] ) ) (Case to_match: {($ VSub_Name "$cpu")} arms: [ (case_arm pat_list: [{(0)} {(1)}] action: [ (C {(set)} {(/bin/mpstat)}) (While cond: [(C {(Lit_Other ":")})] body: (DoGroup children: [ (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(0)}] action: [ (ControlFlow token: <ControlFlow_Break break> ) ] spids: [9920 9921 9925 -1] ) ] spids: [9913 9917 9928] ) (If arms: [ (if_arm cond: [(C {(executable)} {($ VSub_Number "$1")})] action: [ (Case to_match: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {($ VSub_Number "$1")}) (C {(grep)} {(-ic)} {(SQ <"^cpu ">)} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [9942 9954] ) } arms: [ (case_arm pat_list: [{(1)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:cpu) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C { ($ VSub_Number "$1" ) } ) (C {(grep)} {(-ic)} { (SQ < "^ *[0123456789][0123456789]* " > ) } ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [9963 9975] ) } spids: [9962] ) ] spids: [9962] ) (ControlFlow token: <ControlFlow_Break break> ) ] spids: [9959 9960 9981 -1] ) ] spids: [9940 9956 9984] ) ] spids: [-1 9938] ) ] spids: [-1 9987] ) (C {(shift)}) ] spids: [9911 9993] ) ) ] spids: [9893 9896 9996 -1] ) ] spids: [9886 9890 9999] ) (Case to_match: {($ VSub_Name "$cpu")} arms: [ (case_arm pat_list: [{(0)} {(1)}] action: [ (C {(set)} {(/usr/kvm/mpstat)} {(SQ <"cpu[0123456789]">)} {(/usr/etc/cpustatus)} {(SQ <enable>)} {(/usr/alliant/showsched)} {(SQ <CE>)} {(SQ <"ls /config/hw/system/cpu">)} {(SQ <cpu>)} {(prtconf)} {(SQ <cpu-unit>)} ) (While cond: [(C {(Lit_Other ":")})] body: (DoGroup children: [ (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(0)}] action: [ (ControlFlow token: <ControlFlow_Break break> ) ] spids: [10079 10080 10084 -1] ) ] spids: [10072 10076 10087] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:i) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (SimpleCommand words: [{($ VSub_Number "$1")}] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [10094] ) ] ) (C {($ VSub_Name "$TR")} {(SQ <" \t">)} {(SQ <"\n"> <"\n">)} ) (C {(grep)} {(-c)} {(DQ ("^") ($ VSub_Number "$2"))} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [10091 10120] ) } spids: [10090] ) ] spids: [10090] ) (Case to_match: {($ VSub_Name "$i")} arms: [ (case_arm pat_list: [ {(Lit_Other "[") (123456789) (Lit_Other "]") (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:cpu) op: Equal rhs: {($ VSub_Name "$i")} spids: [10137] ) ] spids: [10137] ) (ControlFlow token: <ControlFlow_Break break> ) ] spids: [10130 10134 10144 -1] ) ] spids: [10123 10127 10147] ) (Sentence child: (C {(shift)}) terminator: <Op_Semi ";"> ) (C {(shift)}) ] spids: [10070 10155] ) ) ] spids: [10009 10012 10158 -1] ) ] spids: [10002 10006 10161] ) (Case to_match: {($ VSub_Name "$cpu")} arms: [ (case_arm pat_list: [{(0)} {(1)}] action: [ (C {(set)} {(hinv)} {(SQ <"/^[0123456789][0123456789]* .* Processors*$/">)} {(SQ <"/[ \t].*//">)} {(/usr/bin/hostinfo)} { (SQ < "/^[0123456789][0123456789]* .* physically available\\.*$/" > ) } {(SQ <"/[ \t].*//">)} ) (While cond: [(C {(Lit_Other ":")})] body: (DoGroup children: [ (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(0)}] action: [ (ControlFlow token: <ControlFlow_Break break> ) ] spids: [10235 10236 10240 -1] ) ] spids: [10228 10232 10243] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:i) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (SimpleCommand words: [{($ VSub_Number "$1")}] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [10250] ) ] ) (C {($ VSub_Name "$SED")} {(-e)} {(DQ (${ VSub_Number 2) ("!d"))} {(-e)} {(DQ (s) (${ VSub_Number 3))} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [10247 10274] ) } spids: [10246] ) ] spids: [10246] ) (Case to_match: {($ VSub_Name "$i")} arms: [ (case_arm pat_list: [ {(Lit_Other "[") (123456789) (Lit_Other "]") (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:cpu) op: Equal rhs: {($ VSub_Name "$i")} spids: [10291] ) ] spids: [10291] ) (ControlFlow token: <ControlFlow_Break break> ) ] spids: [10284 10288 10298 -1] ) ] spids: [10277 10281 10301] ) (Sentence child: (C {(shift)}) terminator: <Op_Semi ";"> ) (Sentence child: (C {(shift)}) terminator: <Op_Semi ";"> ) (C {(shift)}) ] spids: [10226 10311] ) ) ] spids: [10171 10174 10314 -1] ) ] spids: [10164 10168 10317] ) (Case to_match: {($ VSub_Name "$cpu")} arms: [ (case_arm pat_list: [{(0)} {(1)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:cpu) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Subshell child: (CommandList children: [ (C {(cd)} { (BracedVarSub token: <VSub_Name TMPDIR> suffix_op: (StringUnary op_id: VTest_ColonHyphen arg_word: {(Lit_Slash /) (tmp)} ) spids: [10339 10344] ) } ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:tmp) op: Equal rhs: {(hi) ($ VSub_Dollar "$$")} spids: [10347] ) ] spids: [10347] ) (C {(trap)} {(SQ <"rm -f $tmp.*">)} {(0)} {(1)} {(2)} ) (SimpleCommand words: [{(cat)}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {($ VSub_Name "$tmp") (.c)} spids: [10367] ) (HereDoc op_id: Redir_DLess fd: -1 body: { (DQ ("#include <stdio.h>\n") ( "#include <pthread.h>\n" ) ("int main()\n") ("{\n") ("\tprintf(") (Right_DoubleQuote "\"") ("%d") (EscapedLiteralPart token: <Lit_EscapedChar "\\n" > ) (Right_DoubleQuote "\"") (", pthread_num_processors_np());\n") ("\treturn 0;\n") ("}\n") ) } do_expansion: True here_end: "!" was_filled: True spids: [10372] ) ] ) (ForEach iter_name: o iter_words: [{(-lpthread)} {(SQ )}] do_arg_iter: False body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (AndOr children: [ (SimpleCommand words: [ { ($ VSub_Name "$CC" ) } { ($ VSub_Name "$o" ) } {(-O)} {(-o)} { ($ VSub_Name "$tmp" ) (.exe) } { ($ VSub_Name "$tmp" ) (.c) } { ($ VSub_Name "$o" ) } ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: { ( /dev/null ) } spids: [ 10420 ] ) (Redir op_id: Redir_GreatAnd fd: 2 arg_word: {(1)} spids: [ 10423 ] ) ] ) (SimpleCommand words: [ {(gcc)} { ($ VSub_Name "$o" ) } {(-O)} {(-o)} { ($ VSub_Name "$tmp" ) (.exe) } { ($ VSub_Name "$tmp" ) (.c) } { ($ VSub_Name "$o" ) } ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: { ( /dev/null ) } spids: [ 10445 ] ) (Redir op_id: Redir_GreatAnd fd: 2 arg_word: {(1)} spids: [ 10448 ] ) ] ) ] op_id: Op_DPipe ) ] action: [ (C {(./) ($ VSub_Name "$tmp") (.exe) } ) (ControlFlow token: < ControlFlow_Break break > ) ] spids: [-1 10452] ) ] spids: [-1 10462] ) ] spids: [10400 10465] ) spids: [10393 -1] ) ] ) spids: [10334 10468] ) ] ) left_token: <Left_Backtick "`"> spids: [10333 10469] ) } spids: [10332] ) ] spids: [10332] ) (Case to_match: {($ VSub_Name "$cpu")} arms: [ (case_arm pat_list: [ {(Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "*") } ] spids: [10479 10483 10485 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:cpu) op: Equal rhs: {(1)} spids: [10491] ) ] spids: [10491] ) ] spids: [10488 10489 10494 -1] ) ] spids: [10472 10476 10497] ) ] spids: [10327 10330 10500 -1] ) ] spids: [10320 10324 10503] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_hostinfo_) op: Equal rhs: {(DQ ($ VSub_Name "$_hostinfo_") (" ") ($ VSub_Name "$cpu"))} spids: [10506] ) ] spids: [10506] ) ] spids: [9679 9680 10514 -1] ) (case_arm pat_list: [{(name)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_name_) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (AndOr children: [ (C {(hostname)}) (AndOr children: [ (C {(uname)} {(-n)}) (AndOr children: [ (C {(cat)} {(/etc/whoami)}) (C {(echo)} {(Assign_Local local)}) ] op_id: Op_DPipe ) ] op_id: Op_DPipe ) ] op_id: Op_DPipe ) ] ) left_token: <Left_Backtick "`"> spids: [10521 10541] ) } spids: [10520] ) ] spids: [10520] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_hostinfo_) op: Equal rhs: {(DQ ($ VSub_Name "$_hostinfo_") (" ") ($ VSub_Name "$_name_"))} spids: [10544] ) ] spids: [10544] ) ] spids: [10517 10518 10552 -1] ) (case_arm pat_list: [{(rating)}] action: [ (ForEach iter_name: rating iter_words: [ { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (SimpleCommand words: [ {(grep)} {(-i)} {(Lit_Other "^") (bogomips)} {(/proc/cpuinfo)} ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [10574] ) ] ) (C {($ VSub_Name "$SED")} {(-e)} {(SQ <"s,.*:[ \t]*,,">)} {(-e)} {(SQ <"s,\\(...*\\)\\..*,\\1,">)} {(-e)} {(SQ <"s,\\(\\..\\).*,\\1,">)} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [10564 10598] ) } ] do_arg_iter: False body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$rating")} arms: [ (case_arm pat_list: [ {(Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "*") } ] action: [(ControlFlow token:<ControlFlow_Break break>)] spids: [10610 10614 10618 -1] ) ] spids: [10603 10607 10621] ) ] spids: [10601 10624] ) spids: [10563 -1] ) (Case to_match: {($ VSub_Name "$rating")} arms: [ (case_arm pat_list: [ {(Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "*")} ] spids: [10634 10638 10640 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (C {(cd)} { (BracedVarSub token: <VSub_Name TMPDIR> suffix_op: (StringUnary op_id: VTest_ColonHyphen arg_word: {(Lit_Slash /) (tmp)} ) spids: [10648 10653] ) } ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:tmp) op: Equal rhs: {(hi) ($ VSub_Dollar "$$")} spids: [10656] ) ] spids: [10656] ) (C {(trap)} {(SQ <"rm -f $tmp.*">)} {(0)} {(1)} {(2)}) (SimpleCommand words: [{(cat)}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {($ VSub_Name "$tmp") (.c)} spids: [10676] ) (HereDoc op_id: Redir_DLess fd: -1 body: { (DQ ("#include <stdio.h>\n") ("#include <sys/types.h>\n") ("#if TD || TZ\n") ("#include <sys/time.h>\n") ("#else\n") ("extern time_t\ttime();\n") ("#endif\n") ("int main()\n") ("{\n") ("\tregister unsigned long\ti;\n") ("\tregister unsigned long\tj;\n") ("\tregister unsigned long\tk;\n") ("\tunsigned long\t\tl;\n") ("\tunsigned long\t\tm;\n") ("\tunsigned long\t\tt;\n") ("\tint\t\t\tx;\n") ("#if TD || TZ\n") ("\tstruct timeval\t\tb;\n") ("\tstruct timeval\t\te;\n") ("#if TZ\n") ("\tstruct timezone\t\tz;\n") ("#endif\n") ("#endif\n") ("\tl = 500;\n") ("\tm = 890;\n") ("\tx = 0;\n") ("\tfor (;;)\n") ("\t{\n") ("#if TD || TZ\n") ("#if TZ\n") ("\t\tgettimeofday(&b, &z);\n") ("#else\n") ("\t\tgettimeofday(&b);\n") ("#endif\n") ("#else\n") ("\t\tt = (unsigned long)time((time_t*)0);\n") ("#endif\n") ("\t\tk = 0;\n") ("\t\tfor (i = 0; i < l; i++)\n") ("\t\t\tfor (j = 0; j < 50000; j++)\n") ("\t\t\t\tk += j;\n") ("#if TD || TZ\n") ("#if TZ\n") ("\t\tgettimeofday(&e, &z);\n") ("#else\n") ("\t\tgettimeofday(&e);\n") ("#endif\n") ("\t\tt = (e.tv_sec - b.tv_sec) * 1000 + (e.tv_usec - b.tv_usec) / 1000;\n") ("\t\tif (!x++ && t < 1000)\n") ("\t\t{\n") ("\t\t\tt = 10000 / t;\n") ("\t\t\tl = (l * t) / 10;\n") ("\t\t\tcontinue;\n") ("\t\t}\n") ("#else\n") ("\t\tt = ((unsigned long)time((time_t*)0) - t) * 1000;\n") ("\t\tif (!x++ && t < 20000)\n") ("\t\t{\n") ("\t\t\tt = 200000l / t;\n") ("\t\t\tl = (l * t) / 10;\n") ("\t\t\tcontinue;\n") ("\t\t}\n") ("#endif\n") ("#if PR\n") ("\t\tprintf(") (Right_DoubleQuote "\"") ("[ k=%lu l=%lu m=%lu t=%lu ] ") (Right_DoubleQuote "\"") (", k, l, m, t);\n") ("#endif\n") ("\t\tif (t == 0)\n") ("\t\t\tt = 1;\n") ("\t\tbreak;\n") ("\t}\n") ("\tprintf(") (Right_DoubleQuote "\"") ("%lu") (EscapedLiteralPart token:<Lit_EscapedChar "\\n">) (Right_DoubleQuote "\"") (", ((l * m) / 10) / t);\n") ("\treturn k == 0;\n") ("}\n") ) } do_expansion: True here_end: "!" was_filled: True spids: [10681] ) ] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:rating) op: Equal rhs: {(SQ )} spids: [10767] ) ] spids: [10767] ) (ForEach iter_name: o iter_words: [{(-DTZ)} {(-DTD)} {(SQ )}] do_arg_iter: False body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (AndOr children: [ (SimpleCommand words: [ {($ VSub_Name "$CC")} {($ VSub_Name "$o")} {(-O)} {(-o)} {($ VSub_Name "$tmp") (.exe)} {($ VSub_Name "$tmp") (.c)} ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(/dev/null)} spids: [10802] ) (Redir op_id: Redir_GreatAnd fd: 2 arg_word: {(1)} spids: [10805] ) ] ) (SimpleCommand words: [ {(gcc)} {($ VSub_Name "$o")} {(-O)} {(-o)} {($ VSub_Name "$tmp") (.exe)} {($ VSub_Name "$tmp") (.c)} ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(/dev/null)} spids: [10825] ) (Redir op_id: Redir_GreatAnd fd: 2 arg_word: {(1)} spids: [10828] ) ] ) ] op_id: Op_DPipe ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:rating) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (C {(./) ($ VSub_Name "$tmp") (.exe) } ) ] ) left_token: <Left_Backtick "`"> spids: [10835 10839] ) } spids: [10834] ) ] spids: [10834] ) (ControlFlow token: <ControlFlow_Break break> ) ] spids: [-1 10832] ) ] spids: [-1 10845] ) ] spids: [10784 10848] ) spids: [10775 -1] ) (Case to_match: {($ VSub_Name "$rating")} arms: [ (case_arm pat_list: [ {(Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "*") } ] spids: [10858 10862 10864 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:rating) op: Equal rhs: {(1)} spids: [10870] ) ] spids: [10870] ) ] spids: [10867 10868 10873 -1] ) ] spids: [10851 10855 10876] ) ] spids: [10643 10644 10879 -1] ) ] spids: [10627 10631 10882] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_hostinfo_) op: Equal rhs: {(DQ ($ VSub_Name "$_hostinfo_") (" ") ($ VSub_Name "$rating"))} spids: [10885] ) ] spids: [10885] ) ] spids: [10555 10556 10893 -1] ) (case_arm pat_list: [{(type)} {(canon)}] action: [ (Case to_match: {($ VSub_Name "$CROSS") (Lit_Other ":") ($ VSub_Name "$canon")} arms: [ (case_arm pat_list: [{(0) (Lit_Other ":")}] action: [ (Case to_match: {($ VSub_Name "$cc")} arms: [ (case_arm pat_list: [{(cc)}] action: [ (Case to_match: {($ VSub_Name "$KEEP_HOSTTYPE") (Lit_Other ":") ($ VSub_Name "$HOSTTYPE") } arms: [ (case_arm pat_list: [ {(0) (Lit_Other ":") (Lit_Other "?") (Lit_Other "*") } ] action: [ (If arms: [ (if_arm cond: [ (C {(test)} {(-d)} { (BracedVarSub token: <VSub_Name PACKAGEROOT> suffix_op: (StringUnary op_id: VTest_ColonHyphen arg_word: {(.)} ) spids: [10946 10950] ) (/arch/) ($ VSub_Name "$HOSTTYPE") } ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:KEEP_HOSTTYPE) op: Equal rhs: {(1)} spids: [10957] ) ] spids: [10957] ) ] spids: [-1 10955] ) ] spids: [-1 10961] ) ] spids: [10934 10938 10964 -1] ) ] spids: [10925 10931 10967] ) ] spids: [10922 10923 10970 -1] ) ] spids: [10915 10919 10973] ) (Case to_match: {($ VSub_Name "$KEEP_HOSTTYPE")} arms: [ (case_arm pat_list: [{(1)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_hostinfo_) op: Equal rhs: { (DQ ($ VSub_Name "$_hostinfo_") (" ") ($ VSub_Name "$HOSTTYPE") ) } spids: [10986] ) ] spids: [10986] ) (ControlFlow token: <ControlFlow_Continue continue> ) ] spids: [10983 10984 10997 -1] ) ] spids: [10976 10980 11000] ) ] spids: [10911 10913 11003 -1] ) ] spids: [10902 10908 11006] ) (Case to_match: {($ VSub_Name "$cc")} arms: [ (case_arm pat_list: [{(/) (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:a) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [ {($ VSub_Name "$cc")} {(-dumpmachine)} {($ VSub_Name "$CCFLAGS")} ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [11028] ) ] ) ] ) left_token: <Left_Backtick "`"> spids: [11021 11030] ) } spids: [11020] ) ] spids: [11020] ) (Case to_match: {($ VSub_Name "$a")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Case to_match: {($ VSub_Name "$CCFLAGS")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:a) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [ {($ VSub_Name "$cc")} {(-dumpmachine)} ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [11061] ) ] ) ] ) left_token: <Left_Backtick "`"> spids: [11056 11063] ) } spids: [11055] ) ] spids: [11055] ) ] spids: [11051 11053 11065 -1] ) ] spids: [11044 11048 11068] ) ] spids: [-1 11042 11071 -1] ) ] spids: [11033 11037 11074] ) (Case to_match: {($ VSub_Name "$a")} arms: [ (case_arm pat_list: [ {(SQ )} {(Lit_Other "*") (SQ <" ">) (Lit_Other "*")} {(Lit_Other "*") (/) (Lit_Other "*") (Lit_Other ":") (Lit_Other "*") } ] spids: [-1 11098 11101 -1] ) (case_arm pat_list: [ {(Lit_Other "*") (.) (Lit_Other "*") (-) (Lit_Other "*")} ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_hostinfo_) op: Equal rhs: { (DQ ($ VSub_Name "$_hostinfo_") (" ") ($ VSub_Name "$a") ) } spids: [11111] ) ] spids: [11111] ) (ControlFlow token: <ControlFlow_Continue continue> ) ] spids: [11104 11109 11122 -1] ) (case_arm pat_list: [ {(Lit_Other "*") (-) (Lit_Other "*") (-) (Lit_Other "*")} ] action: [ (Case to_match: {($ VSub_Name "$canon")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:canon) op: Equal rhs: {($ VSub_Name "$a")} spids: [11143] ) ] spids: [11143] ) ] spids: [-1 11141 11146 -1] ) ] spids: [11132 11136 11149] ) ] spids: [11125 11130 11152 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_hostinfo_) op: Equal rhs: { (DQ ($ VSub_Name "$_hostinfo_") (" ") ($ VSub_Name "$a") ) } spids: [11158] ) ] spids: [11158] ) (ControlFlow token: <ControlFlow_Continue continue> ) ] spids: [11155 11156 11169 -1] ) ] spids: [11077 11081 11172] ) ] spids: [11016 11018 11175 -1] ) ] spids: [11009 11013 11178] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:IFS) op: Equal rhs: {(Lit_Other ":")} spids: [11181] ) ] spids: [11181] ) (C {(set)} {(/) ($ VSub_Name "$IFS") ($ VSub_Name "$PATH")}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:IFS) op: Equal rhs: {($ VSub_Name "$ifs")} spids: [11192] ) ] spids: [11192] ) (C {(shift)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:f) op: Equal rhs: {(../lib/hostinfo/typemap)} spids: [11199] ) ] spids: [11199] ) (ForEach iter_name: i do_arg_iter: True body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$i")} arms: [ (case_arm pat_list: [{(DQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:i) op: Equal rhs: {(.)} spids: [11221] ) ] spids: [11221] ) ] spids: [-1 11219 11224 -1] ) ] spids: [11210 11214 11227] ) (Case to_match: {($ VSub_Name "$canon")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Case to_match: {($ VSub_Name "$cc")} arms: [ (case_arm pat_list: [{(/) (Lit_Other "*")} {(cc)}] spids: [11248 11252 11254 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (If arms: [ (if_arm cond: [ (C {(executable)} {($ VSub_Name "$i") (/) ($ VSub_Name "$cc") } ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:a) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [ { ($ VSub_Name "$i") (/) ($ VSub_Name "$cc") } {(-dumpmachine)} { ($ VSub_Name "$CCFLAGS" ) } ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [11281] ) ] ) ] ) left_token: <Left_Backtick "`"> spids: [11272 11283] ) } spids: [11271] ) ] spids: [11271] ) (Case to_match: {($ VSub_Name "$a")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Case to_match: {($ VSub_Name "$CCFLAGS")} arms: [ (case_arm pat_list: [ {(Lit_Other "?") (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name: a ) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [ { ($ VSub_Name "$cc" ) } { ( -dumpmachine ) } ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: { ( /dev/null ) } spids: [ 11314 ] ) ] ) ] ) left_token: < Left_Backtick "`" > spids: [ 11309 11316 ] ) } spids: [11308] ) ] spids: [11308] ) ] spids: [11304 11306 11318 -1] ) ] spids: [11297 11301 11321] ) ] spids: [-1 11295 11324 -1] ) ] spids: [11286 11290 11327] ) (Case to_match: {($ VSub_Name "$a")} arms: [ (case_arm pat_list: [ {(SQ )} {(Lit_Other "*") (SQ <" ">) (Lit_Other "*") } {(Lit_Other "*") (/) (Lit_Other "*") (Lit_Other ":") (Lit_Other "*") } ] spids: [-1 11351 11354 -1] ) (case_arm pat_list: [ {(Lit_Other "*") (-) (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:canon) op: Equal rhs: {($ VSub_Name "$a")} spids: [11362] ) ] spids: [11362] ) ] spids: [11357 11360 11366 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name: _hostinfo_ ) op: Equal rhs: { (DQ ($ VSub_Name "$_hostinfo_" ) (" ") ($ VSub_Name "$a") ) } spids: [11372] ) ] spids: [11372] ) (ControlFlow token: <ControlFlow_Continue continue > arg_word: {(2)} ) ] spids: [11369 11370 11385 -1] ) ] spids: [11330 11334 11388] ) ] spids: [-1 11269] ) ] spids: [-1 11391] ) ] spids: [11257 11258 11394 -1] ) ] spids: [11241 11245 11397] ) ] spids: [-1 11239 11400 -1] ) ] spids: [11230 11234 11403] ) (If arms: [ (if_arm cond: [ (C {(test)} {(-f)} {(DQ ($ VSub_Name "$i") (/) ($ VSub_Name "$f"))} ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:map) op: Equal rhs: { (DQ (CommandSubPart command_list: (CommandList children: [ (C {(grep)} {(-v)} {(SQ <"^#">)} {($ VSub_Name "$i") (/) ($ VSub_Name "$f") } ) ] ) left_token: <Left_Backtick "`"> spids: [11423 11435] ) (" ") ($ VSub_Name "$map") ) } spids: [11421] ) ] spids: [11421] ) ] spids: [-1 11419] ) ] spids: [-1 11441] ) ] spids: [11208 11444] ) spids: [-1 -1] ) (Case to_match: {(-) (${ VSub_Name canon) (-)} arms: [ (case_arm pat_list: [{(--)} {(Lit_Other "*") (-powerpc-) (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:h) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (AndOr children: [ (C {(hostname)}) (AndOr children: [ (C {(uname)} {(-n)}) (C {(cat)} {(/etc/whoami)}) ] op_id: Op_DPipe ) ] op_id: Op_DPipe ) ] ) left_token: <Left_Backtick "`"> spids: [11473 11487] ) } spids: [11472] ) ] spids: [11472] ) (Case to_match: {($ VSub_Name "$h")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:h) op: Equal rhs: {(Assign_Local local)} spids: [11501] ) ] spids: [11501] ) ] spids: [-1 11499 11504 -1] ) ] spids: [11490 11494 11507] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:a) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (AndOr children: [ (C {(arch)}) (AndOr children: [ (C {(uname)} {(-m)}) (AndOr children: [ (C {(att)} {(uname)} {(-m)}) (AndOr children: [ (C {(uname)} {(-s)}) (C {(att)} {(uname)} {(-s)}) ] op_id: Op_DPipe ) ] op_id: Op_DPipe ) ] op_id: Op_DPipe ) ] op_id: Op_DPipe ) ] ) left_token: <Left_Backtick "`"> spids: [11511 11541] ) } spids: [11510] ) ] spids: [11510] ) (Case to_match: {($ VSub_Name "$a")} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (Lit_Other "[") (EscapedLiteralPart token: <Lit_EscapedChar "\\ "> ) (EscapedLiteralPart token:<Lit_EscapedChar "\\\t">) (Lit_Other "]") (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:a) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Name "$a")}) (C {($ VSub_Name "$SED")} {(DQ ("s/[ \t]/-/g"))} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [11560 11572] ) } spids: [11559] ) ] spids: [11559] ) ] spids: [11551 11557 11574 -1] ) ] spids: [11544 11548 11577] ) (Case to_match: {($ VSub_Name "$a")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:a) op: Equal rhs: {(unknown)} spids: [11591] ) ] spids: [11591] ) ] spids: [-1 11589 11594 -1] ) ] spids: [11580 11584 11597] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:m) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (AndOr children: [ (C {(mach)}) (AndOr children: [ (C {(machine)}) (AndOr children: [ (C {(uname)} {(-p)}) (C {(att)} {(uname)} {(-p)}) ] op_id: Op_DPipe ) ] op_id: Op_DPipe ) ] op_id: Op_DPipe ) ] ) left_token: <Left_Backtick "`"> spids: [11601 11621] ) } spids: [11600] ) ] spids: [11600] ) (Case to_match: {($ VSub_Name "$m")} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (Lit_Other "[") (EscapedLiteralPart token: <Lit_EscapedChar "\\ "> ) (EscapedLiteralPart token:<Lit_EscapedChar "\\\t">) (Lit_Other "]") (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:m) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Name "$m")}) (C {($ VSub_Name "$SED")} {(DQ ("s/[ \t]/-/g"))} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [11640 11652] ) } spids: [11639] ) ] spids: [11639] ) ] spids: [11631 11637 11654 -1] ) ] spids: [11624 11628 11657] ) (Case to_match: {($ VSub_Name "$m")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:m) op: Equal rhs: {(unknown)} spids: [11671] ) ] spids: [11671] ) ] spids: [-1 11669 11674 -1] ) ] spids: [11660 11664 11677] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:x) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (AndOr children: [ (C {(uname)} {(-a)}) (C {(att)} {(uname)} {(-a)}) ] op_id: Op_DPipe ) ] ) left_token: <Left_Backtick "`"> spids: [11681 11693] ) } spids: [11680] ) ] spids: [11680] ) (Case to_match: {($ VSub_Name "$x")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:x) op: Equal rhs: { (DQ ("unknown ") ($ VSub_Name "$host") ( " unknown unknown unknown unknown unknown" ) ) } spids: [11707] ) ] spids: [11707] ) ] spids: [-1 11705 11714 -1] ) ] spids: [11696 11700 11717] ) (C {(set)} {(DQ )} {($ VSub_Name "$h")} {($ VSub_Name "$a")} {($ VSub_Name "$m")} {($ VSub_Name "$x")} ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:expected) op: Equal rhs: {($ VSub_Number "$1")} spids: [11734] ) (assign_pair lhs: (LhsName name:host) op: Equal rhs: {($ VSub_Number "$2")} spids: [11737] ) (assign_pair lhs: (LhsName name:arch) op: Equal rhs: {($ VSub_Number "$3")} spids: [11740] ) (assign_pair lhs: (LhsName name:mach) op: Equal rhs: {($ VSub_Number "$4")} spids: [11743] ) (assign_pair lhs: (LhsName name:os) op: Equal rhs: {($ VSub_Number "$5")} spids: [11746] ) (assign_pair lhs: (LhsName name:sys) op: Equal rhs: {($ VSub_Number "$6")} spids: [11749] ) (assign_pair lhs: (LhsName name:rel) op: Equal rhs: {($ VSub_Number "$7")} spids: [11752] ) (assign_pair lhs: (LhsName name:ver) op: Equal rhs: {($ VSub_Number "$8")} spids: [11755] ) ] spids: [11734] ) ] spids: [11464 11469 11759 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$canon")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (-) (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:IFS) op: Equal rhs: {(-)} spids: [11777] ) ] spids: [11777] ) (C {(set)} {(DQ )} {($ VSub_Name "$canon")}) (C {(shift)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:IFS) op: Equal rhs: {($ VSub_Name "$ifs")} spids: [11792] ) ] spids: [11792] ) (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(2)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:host) op: Equal rhs: {(SQ )} spids: [11806] ) (assign_pair lhs: (LhsName name:mach) op: Equal rhs: {(SQ )} spids: [11808] ) (assign_pair lhs: (LhsName name:arch) op: Equal rhs: {($ VSub_Number "$1")} spids: [11810] ) (assign_pair lhs: (LhsName name:os) op: Equal rhs: {($ VSub_Number "$2")} spids: [11813] ) (assign_pair lhs: (LhsName name:sys) op: Equal rhs: {(SQ )} spids: [11816] ) (assign_pair lhs: (LhsName name:rel) op: Equal rhs: {(SQ )} spids: [11818] ) ] spids: [11806] ) ] spids: [11803 11804 11820 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:host) op: Equal rhs: {(SQ )} spids: [11826] ) (assign_pair lhs: (LhsName name:mach) op: Equal rhs: {($ VSub_Number "$2")} spids: [11828] ) (assign_pair lhs: (LhsName name:arch) op: Equal rhs: {($ VSub_Number "$1")} spids: [11831] ) (assign_pair lhs: (LhsName name:os) op: Equal rhs: {($ VSub_Number "$3")} spids: [11834] ) (assign_pair lhs: (LhsName name:sys) op: Equal rhs: {(SQ )} spids: [11837] ) (assign_pair lhs: (LhsName name:rel) op: Equal rhs: {(SQ )} spids: [11839] ) ] spids: [11826] ) ] spids: [11823 11824 11841 -1] ) ] spids: [11796 11800 11844] ) (Case to_match: {($ VSub_Name "$os")} arms: [ (case_arm pat_list: [ {(Lit_Other "[") (abcdefghijklmnopqrstuvwxyz) (Lit_Other "]") (Lit_Other "*") (Lit_Other "[") (0123456789) (Lit_Other "]") } ] action: [ (C {(eval)} { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Name "$os")}) (C {($ VSub_Name "$SED")} {(-e)} { (SQ < "s/^\\([^0123456789.]*\\)\\.*\\(.*\\)/os=\\1 rel=\\2/" > ) } ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [11866 11880] ) } ) ] spids: [11854 11861 11883 -1] ) ] spids: [11847 11851 11886] ) ] spids: [11772 11775 11889 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:arch) op: Equal rhs: {($ VSub_Name "$canon")} spids: [11895] ) (assign_pair lhs: (LhsName name:mach) op: Equal rhs: {(SQ )} spids: [11898] ) (assign_pair lhs: (LhsName name:os) op: Equal rhs: {(SQ )} spids: [11900] ) (assign_pair lhs: (LhsName name:sys) op: Equal rhs: {(SQ )} spids: [11902] ) (assign_pair lhs: (LhsName name:rel) op: Equal rhs: {(SQ )} spids: [11904] ) ] spids: [11895] ) ] spids: [11892 11893 11907 -1] ) ] spids: [11765 11769 11910] ) ] spids: [11762 11763 11913 -1] ) ] spids: [11453 11461 11916] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {(unknown)} spids: [11919] ) ] spids: [11919] ) (Case to_match: {($ VSub_Name "$host")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (.) (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:host) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Name "$host")}) (C {($ VSub_Name "$SED")} {(-e)} {(SQ <"s/\\..*//">)} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [11936 11950] ) } spids: [11935] ) ] spids: [11935] ) ] spids: [11930 11933 11952 -1] ) ] spids: [11923 11927 11955] ) (Case to_match: {($ VSub_Name "$mach")} arms: [ (case_arm pat_list: [{(unknown)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:mach) op: Equal rhs: {(SQ )} spids: [11969] ) ] spids: [11969] ) ] spids: [11965 11966 11972 -1] ) (case_arm pat_list: [ {(Lit_Other "[") (Rr) (Lit_Other "]") (Lit_Other "[") (0123) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:mach) op: Equal rhs: {(mips1)} spids: [11993] ) ] spids: [11993] ) ] spids: [11975 11990 11997 -1] ) (case_arm pat_list: [ {(Lit_Other "[") (Rr) (Lit_Other "]") (Lit_Other "[") (4) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:mach) op: Equal rhs: {(mips2)} spids: [12018] ) ] spids: [12018] ) ] spids: [12000 12015 12022 -1] ) (case_arm pat_list: [ {(Lit_Other "[") (Rr) (Lit_Other "]") (Lit_Other "[") (56789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") } {(Lit_Other "[") (Rr) (Lit_Other "]") (Lit_Other "[") (123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:mach) op: Equal rhs: {(mips4)} spids: [12062] ) ] spids: [12062] ) ] spids: [12025 12059 12066 -1] ) (case_arm pat_list: [{(pc)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:arch) op: Equal rhs: {(i386)} spids: [12072] ) ] spids: [12072] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:mach) op: Equal rhs: {(SQ )} spids: [12076] ) ] spids: [12076] ) ] spids: [12069 12070 12079 -1] ) (case_arm pat_list: [ {(Lit_Other "[") (Pp) (Lit_Other "]") (Lit_Other "[") (Oo) (Lit_Other "]") (Lit_Other "[") (Ww) (Lit_Other "]") (Lit_Other "[") (Ee) (Lit_Other "]") (Lit_Other "[") (Rr) (Lit_Other "]") (Lit_Other "[") (Pp) (Lit_Other "]") (Lit_Other "[") (Cc) (Lit_Other "]") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:arch) op: Equal rhs: {(ppc)} spids: [12106] ) ] spids: [12106] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:mach) op: Equal rhs: {(SQ )} spids: [12110] ) ] spids: [12110] ) ] spids: [12082 12103 12113 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$arch")} arms: [ (case_arm pat_list: [ {(34) (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:os) op: Equal rhs: {(ncr)} spids: [12136] ) ] spids: [12136] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:arch) op: Equal rhs: {(i386)} spids: [12140] ) ] spids: [12140] ) ] spids: [12126 12133 12144 -1] ) ] spids: [12119 12123 12147] ) ] spids: [12116 12117 12150 -1] ) ] spids: [11958 11962 12153] ) (Case to_match: {($ VSub_Name "$canon")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (C {(set)} {(/NextDeveloper)} {(-d)} {(next)} {(-)} {(/config/hw/system/cpu)} {(-d)} {(tandem)} {(mach)} ) (While cond: [(C {(Lit_Other ":")})] body: (DoGroup children: [ (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(0)}] action: [ (ControlFlow token: <ControlFlow_Break break> ) ] spids: [12208 12209 12213 -1] ) ] spids: [12201 12205 12216] ) (If arms: [ (if_arm cond: [ (C {(test)} {($ VSub_Number "$2")} {($ VSub_Number "$1")} ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:os) op: Equal rhs: {($ VSub_Number "$3")} spids: [12230] ) ] spids: [12230] ) (Case to_match: {($ VSub_Number "$4")} arms: [ (case_arm pat_list: [{(arch)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:mach) op: Equal rhs: {($ VSub_Name "$arch")} spids: [12244] ) ] spids: [12244] ) ] spids: [12241 12242 12247 -1] ) (case_arm pat_list: [{(mach)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:arch) op: Equal rhs: {($ VSub_Name "$mach")} spids: [12253] ) ] spids: [12253] ) ] spids: [12250 12251 12256 -1] ) ] spids: [12234 12238 12259] ) (ControlFlow token: <ControlFlow_Break break> ) ] spids: [-1 12228] ) ] spids: [-1 12265] ) (Sentence child: (C {(shift)}) terminator: <Op_Semi ";"> ) (Sentence child: (C {(shift)}) terminator: <Op_Semi ";"> ) (Sentence child: (C {(shift)}) terminator: <Op_Semi ";"> ) (C {(shift)}) ] spids: [12199 12277] ) ) ] spids: [-1 12165 12280 -1] ) ] spids: [12156 12160 12283] ) (Case to_match: {($ VSub_Name "$os")} arms: [ (case_arm pat_list: [{(AIX) (Lit_Other "*")} {(aix) (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {(ibm.risc)} spids: [12301] ) ] spids: [12301] ) ] spids: [12293 12298 12305 -1] ) (case_arm pat_list: [{(HP-UX)}] action: [ (Case to_match: {($ VSub_Name "$arch")} arms: [ (case_arm pat_list: [ {(9000/) (Lit_Other "[") (78) (Lit_Other "]") (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {(hp.pa)} spids: [12326] ) ] spids: [12326] ) ] spids: [12318 12323 12330 -1] ) (case_arm pat_list: [{(Lit_Other "*") (/) (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {(hp.) (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Name "$arch")}) (C {($ VSub_Name "$SED")} {(SQ <"s,/,_,g">)} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [12340 12352] ) } spids: [12338] ) ] spids: [12338] ) ] spids: [12333 12336 12355 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {(hp.) ($ VSub_Name "$arch")} spids: [12361] ) ] spids: [12361] ) ] spids: [12358 12359 12366 -1] ) ] spids: [12311 12315 12369] ) ] spids: [12308 12309 12372 -1] ) (case_arm pat_list: [ {(Lit_Other "[") (Ii) (Lit_Other "]") (Lit_Other "[") (Rr) (Lit_Other "]") (Lit_Other "[") (Ii) (Lit_Other "]") (Lit_Other "[") (Xx) (Lit_Other "]") (Lit_Other "*") } ] action: [ (C {(set)} {(xx)} { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(hinv)}) (C {($ VSub_Name "$SED")} {(-e)} {(SQ <"/^CPU:/!d">)} {(-e)} {(SQ <"s/CPU:[ \t]*\\([^ \t]*\\)[ \t]*\\([^ \t]*\\).*/\\1 \\2/">)} {(-e)} {(q)} ) (C {($ VSub_Name "$TR")} {(ABCDEFGHIJKLMNOPQRSTUVWXYZ)} {(abcdefghijklmnopqrstuvwxyz)} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [12395 12425] ) } ) (C {(shift)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {($ VSub_Number "$1")} spids: [12431] ) ] spids: [12431] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:n) op: Equal rhs: {(SQ )} spids: [12435] ) ] spids: [12435] ) (Case to_match: {($ VSub_Number "$2")} arms: [ (case_arm pat_list: [ {(r) (Lit_Other "[") (0123) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:n) op: Equal rhs: {(1)} spids: [12461] ) ] spids: [12461] ) ] spids: [12445 12458 12465 -1] ) (case_arm pat_list: [ {(r) (Lit_Other "[") (4) (Lit_Other "]") (Lit_Other "[") (0123) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:n) op: Equal rhs: {(2)} spids: [12484] ) ] spids: [12484] ) ] spids: [12468 12481 12488 -1] ) (case_arm pat_list: [ {(r) (Lit_Other "[") (4) (Lit_Other "]") (Lit_Other "[") (456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") } {(r) (Lit_Other "[") (5) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:n) op: Equal rhs: {(3)} spids: [12521] ) ] spids: [12521] ) ] spids: [12491 12518 12525 -1] ) (case_arm pat_list: [ {(r) (Lit_Other "[") (6789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") } {(r) (Lit_Other "[") (123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:n) op: Equal rhs: {(4)} spids: [12561] ) ] spids: [12561] ) ] spids: [12528 12558 12565 -1] ) ] spids: [12438 12442 12568] ) (Case to_match: {($ VSub_Name "$rel")} arms: [ (case_arm pat_list: [ {(Lit_Other "[") (01234) (Lit_Other "]") (.) (Lit_Other "*") } {(5.) (Lit_Other "[") (012) (Lit_Other "]")} {(5.) (Lit_Other "[") (012) (Lit_Other "]") (.) (Lit_Other "*") } ] action: [ (Case to_match: {($ VSub_Name "$n")} arms: [ (case_arm pat_list: [{(1)}] spids: [12605 12606 12608 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:n) op: Equal rhs: {(2)} spids: [12614] ) ] spids: [12614] ) ] spids: [12611 12612 12617 -1] ) ] spids: [12598 12602 12620] ) ] spids: [12578 12595 12623 -1] ) (case_arm pat_list: [{(5.) (Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$n")} arms: [ (case_arm pat_list: [{(2)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:n) op: Equal rhs: {(3)} spids: [12640] ) ] spids: [12640] ) ] spids: [12637 12638 12643 -1] ) ] spids: [12630 12634 12646] ) ] spids: [12626 12628 12649 -1] ) ] spids: [12571 12575 12652] ) (If arms: [ (if_arm cond: [(C {(executable)} {($ VSub_Name "$cc")})] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:a) op: Equal rhs: {($ VSub_Name "$cc")} spids: [12664] ) ] spids: [12664] ) ] spids: [-1 12662] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:IFS) op: Equal rhs: {(Lit_Other ":")} spids: [12670] ) ] spids: [12670] ) (C {(set)} {(/) ($ VSub_Name "$IFS") ($ VSub_Name "$PATH")}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:IFS) op: Equal rhs: {($ VSub_Name "$ifs")} spids: [12681] ) ] spids: [12681] ) (C {(shift)}) (ForEach iter_name: i do_arg_iter: True body: (DoGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:a) op: Equal rhs: {($ VSub_Name "$i") (/) ($ VSub_Name "$cc")} spids: [12695] ) ] spids: [12695] ) (If arms: [ (if_arm cond: [(C {(executable)} {($ VSub_Name "$a")})] action: [ (ControlFlow token: <ControlFlow_Break break> ) ] spids: [-1 12708] ) ] spids: [-1 12713] ) ] spids: [12693 12716] ) spids: [-1 -1] ) ] spids: [12668 12719] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:split) op: Equal rhs: {(SQ <"\n">)} spids: [12722] ) ] spids: [12722] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:a) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (SimpleCommand words: [{(strings)} {($ VSub_Name "$a")}] redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: {(/dev/null)} spids: [12734] ) ] ) (C {($ VSub_Name "$SED")} {(-e)} { (SQ < "s/[^abcdefghijklmnopqrstuvwxyz0123456789]/ /g" > ) } {(-e)} {(SQ <"s/[ \t][ \t]*/\\">) (DQ ($ VSub_Name "$split")) (SQ </g>)} ) (C {($ VSub_Name "$SED")} {(-e)} { (DQ ("/^") (${ VSub_Name type) ("[0123456789]") (Lit_Other "$") ("/!d") ) } {(-e)} {(DQ ("s/^") (${ VSub_Name type) (//))} {(-e)} {(q)} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [12729 12789] ) } spids: [12728] ) ] spids: [12728] ) (Case to_match: {($ VSub_Name "$a")} arms: [ (case_arm pat_list: [{(Lit_Other "[") (0123456789) (Lit_Other "]")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:n) op: Equal rhs: {($ VSub_Name "$a")} spids: [12804] ) ] spids: [12804] ) ] spids: [12799 12802 12807 -1] ) ] spids: [12792 12796 12810] ) (Case to_match: {($ VSub_Name "$n")} arms: [ (case_arm pat_list: [{(4)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:a) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [ {($ VSub_Name "$cc")} {(-) (${ VSub_Name type) (3)} ] redirects: [ (Redir op_id: Redir_GreatAnd fd: 2 arg_word: {(1)} spids: [12833] ) ] ) ] ) left_token: <Left_Backtick "`"> spids: [12824 12835] ) } spids: [12823] ) ] spids: [12823] ) (Case to_match: {($ VSub_Name "$a")} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (unknown) (Lit_Other "*")} {(Lit_Other "*") (install) (Lit_Other "*")} {(Lit_Other "*") (conflict) (Lit_Other "*")} ] spids: [12845 12856 12859 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:n) op: Equal rhs: {(3)} spids: [12865] ) ] spids: [12865] ) ] spids: [12862 12863 12869 -1] ) ] spids: [12838 12842 12872] ) ] spids: [12820 12821 12875 -1] ) ] spids: [12813 12817 12878] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:a) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [ {($ VSub_Name "$cc")} {(-show)} {(F0oB) (Lit_Other "@") (r.c)} ] redirects: [ (Redir op_id: Redir_GreatAnd fd: 2 arg_word: {(1)} spids: [12891] ) ] ) ] ) left_token: <Left_Backtick "`"> spids: [12882 12893] ) } spids: [12881] ) ] spids: [12881] ) (Case to_match: {($ VSub_Name "$n") (Lit_Other ":") ($ VSub_Name "$a")} arms: [ (case_arm pat_list: [ {(Lit_Other "[") (KW_Bang "!") (2) (Lit_Other "]") (Lit_Other ":") (Lit_Other "*") (mips2) (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:n) op: Equal rhs: {(2)} spids: [12915] ) ] spids: [12915] ) ] spids: [12905 12913 12918 -1] ) (case_arm pat_list: [ {(Lit_Other "[") (KW_Bang "!") (23) (Lit_Other "]") (Lit_Other ":") (Lit_Other "*") (mips3) (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:n) op: Equal rhs: {(3)} spids: [12931] ) ] spids: [12931] ) ] spids: [12921 12929 12934 -1] ) (case_arm pat_list: [ {(Lit_Other "[") (KW_Bang "!") (234) (Lit_Other "]") (Lit_Other ":") (Lit_Other "*") (mips4) (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:n) op: Equal rhs: {(4)} spids: [12947] ) ] spids: [12947] ) ] spids: [12937 12945 12950 -1] ) ] spids: [12896 12902 12953] ) (Case to_match: {($ VSub_Name "$n") (Lit_Other ":") ($ VSub_Name "$a")} arms: [ (case_arm pat_list: [ {(Lit_Other "[") (KW_Bang "!") (2) (Lit_Other "]") (Lit_Other ":") (Lit_Other "*") (Lit_Other "[") (Oo) (Lit_Other "]") (32) (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:abi) op: Equal rhs: {(-o32)} spids: [12978] ) ] spids: [12978] ) ] spids: [12965 12976 12981 -1] ) (case_arm pat_list: [ {(Lit_Other "[") (KW_Bang "!") (3) (Lit_Other "]") (Lit_Other ":") (Lit_Other "*") (Lit_Other "[") (Nn) (Lit_Other "]") (32) (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:abi) op: Equal rhs: {(-n32)} spids: [12997] ) ] spids: [12997] ) ] spids: [12984 12995 13000 -1] ) ] spids: [12956 12962 13003] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:mach) op: Equal rhs: {(${ VSub_Name type) ($ VSub_Name "$n")} spids: [13006] ) ] spids: [13006] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {(sgi.) ($ VSub_Name "$mach")} spids: [13013] ) ] spids: [13013] ) ] spids: [12375 12388 13018 -1] ) (case_arm pat_list: [{(OSx) (Lit_Other "*")} {(SMP) (Lit_Other "*")} {(pyramid)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {(pyr)} spids: [13031] ) ] spids: [13031] ) ] spids: [13021 13028 13035 -1] ) (case_arm pat_list: [{(OS/390)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {(mvs.390)} spids: [13041] ) ] spids: [13041] ) ] spids: [13038 13039 13045 -1] ) (case_arm pat_list: [ {(Lit_Other "[") (Ss) (Lit_Other "]") (Lit_Other "[") (Cc) (Lit_Other "]") (Lit_Other "[") (Oo) (Lit_Other "]") (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {(sco)} spids: [13061] ) ] spids: [13061] ) ] spids: [13048 13058 13065 -1] ) (case_arm pat_list: [ {(Lit_Other "[") (Ss) (Lit_Other "]") (ol) (Lit_Other "*")} ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:v) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Name "$rel")}) (C {($ VSub_Name "$SED")} {(-e)} {(SQ <"s/^[25]\\.//">)} {(-e)} {(SQ <"s/\\.[^.]*$//">)} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [13077 13097] ) } spids: [13076] ) ] spids: [13076] ) (Case to_match: {($ VSub_Name "$v")} arms: [ (case_arm pat_list: [ {(Lit_Other "[") (6789) (Lit_Other "]")} {(Lit_Other "[") (1-9) (Lit_Other "]") (Lit_Other "[") (0-9) (Lit_Other "]") } ] spids: [13107 13117 13120 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:v) op: Equal rhs: {(SQ )} spids: [13126] ) ] spids: [13126] ) ] spids: [13123 13124 13129 -1] ) ] spids: [13100 13104 13132] ) (Case to_match: {($ VSub_Name "$arch")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Case to_match: {($ VSub_Name "$mach")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:arch) op: Equal rhs: {(sun4)} spids: [13157] ) ] spids: [13157] ) ] spids: [-1 13155 13160 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:arch) op: Equal rhs: {($ VSub_Name "$mach")} spids: [13166] ) ] spids: [13166] ) ] spids: [13163 13164 13169 -1] ) ] spids: [13146 13150 13172] ) ] spids: [-1 13144 13175 -1] ) ] spids: [13135 13139 13178] ) (Case to_match: {($ VSub_Name "$arch")} arms: [ (case_arm pat_list: [{(sparc)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:arch) op: Equal rhs: {(sun4)} spids: [13191] ) ] spids: [13191] ) ] spids: [13188 13189 13194 -1] ) ] spids: [13181 13185 13197] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {(sol) ($ VSub_Name "$v") (.) ($ VSub_Name "$arch")} spids: [13200] ) ] spids: [13200] ) ] spids: [13068 13073 13207 -1] ) (case_arm pat_list: [ {(Lit_Other "[") (Ss) (Lit_Other "]") (un) (Lit_Other "*")} ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Name "$arch")}) (C {($ VSub_Name "$SED")} {(-e)} {(SQ <"s/\\(sun.\\).*/\\1/">)} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [13217 13231] ) } spids: [13216] ) ] spids: [13216] ) (Case to_match: {($ VSub_Name "$type")} arms: [ (case_arm pat_list: [{(sparc)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {(sun4)} spids: [13244] ) ] spids: [13244] ) ] spids: [13241 13242 13247 -1] ) ] spids: [13234 13238 13250] ) (Case to_match: {($ VSub_Name "$rel")} arms: [ (case_arm pat_list: [ {(Lit_Other "[") (01234) (Lit_Other "]") (Lit_Other "*")} ] spids: [13260 13264 13267 -1] ) (case_arm pat_list: [{(SQ )}] action: [ (Case to_match: {($ VSub_Name "$os")} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (Lit_Other "[") (Oo) (Lit_Other "]") (Lit_Other "[") (Ss) (Lit_Other "]") } ] spids: [13281 13288 13291 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {(sol.) ($ VSub_Name "$type")} spids: [13297] ) ] spids: [13297] ) ] spids: [13294 13295 13302 -1] ) ] spids: [13274 13278 13305] ) ] spids: [-1 13272 13308 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$type")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Case to_match: {($ VSub_Name "$mach")} arms: [ (case_arm pat_list: [{(sparc) (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {(sun4)} spids: [13336] ) ] spids: [13336] ) ] spids: [13332 13334 13339 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {($ VSub_Name "$mach")} spids: [13345] ) ] spids: [13345] ) ] spids: [13342 13343 13348 -1] ) ] spids: [13325 13329 13351] ) ] spids: [-1 13323 13354 -1] ) ] spids: [13314 13318 13357] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:v) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Name "$rel")}) (C {($ VSub_Name "$SED")} {(-e)} {(SQ <"s/^[25]\\.//">)} {(-e)} {(SQ <"s/\\.[^.]*$//">)} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [13361 13381] ) } spids: [13360] ) ] spids: [13360] ) (Case to_match: {($ VSub_Name "$v")} arms: [ (case_arm pat_list: [ {(Lit_Other "[") (6789) (Lit_Other "]")} {(Lit_Other "[") (1-9) (Lit_Other "]") (Lit_Other "[") (0-9) (Lit_Other "]") } ] spids: [13391 13401 13404 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:v) op: Equal rhs: {(SQ )} spids: [13410] ) ] spids: [13410] ) ] spids: [13407 13408 13413 -1] ) ] spids: [13384 13388 13416] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {(sol) ($ VSub_Name "$v") (.) ($ VSub_Name "$type") } spids: [13419] ) ] spids: [13419] ) ] spids: [13311 13312 13426 -1] ) ] spids: [13253 13257 13429] ) (Case to_match: {($ VSub_Name "$type")} arms: [ (case_arm pat_list: [ {(sun) (Lit_Other "*")} {(Lit_Other "*") (.) (Lit_Other "*")} ] spids: [13439 13445 13448 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {(sun.) ($ VSub_Name "$type")} spids: [13454] ) ] spids: [13454] ) ] spids: [13451 13452 13459 -1] ) ] spids: [13432 13436 13462] ) ] spids: [13210 13215 13465 -1] ) (case_arm pat_list: [ {(Lit_Other "[") (Uu) (Lit_Other "]") (Lit_Other "[") (Nn) (Lit_Other "]") (Lit_Other "[") (Ii) (Lit_Other "]") (Lit_Other "[") (Xx) (Lit_Other "]") (_) (Lit_Other "[") (Ss) (Lit_Other "]") (Lit_Other "[") (Vv) (Lit_Other "]") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {(unixware)} spids: [13490] ) ] spids: [13490] ) ] spids: [13468 13487 13494 -1] ) (case_arm pat_list: [{(UTS) (Lit_Other "*")} {(uts) (Lit_Other "*")}] action: [ (If arms: [ (if_arm cond: [ (C {(test)} {(-x)} {(/bin/u370)} {(-o)} {(-x)} {(/bin/u390)}) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {(uts.390)} spids: [13522] ) ] spids: [13522] ) ] spids: [-1 13520] ) ] else_action: [ (Case to_match: {($ VSub_Name "$arch")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:arch) op: Equal rhs: {($ VSub_Name "$mach")} spids: [13539] ) ] spids: [13539] ) ] spids: [-1 13537 13542 -1] ) ] spids: [13528 13532 13545] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {(uts.) ($ VSub_Name "$arch")} spids: [13548] ) ] spids: [13548] ) ] spids: [13526 13553] ) ] spids: [13497 13502 13556 -1] ) (case_arm pat_list: [{($ VSub_Name "$host")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {($ VSub_Name "$arch")} spids: [13562] ) ] spids: [13562] ) (Case to_match: {($ VSub_Name "$type")} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (.) (Lit_Other "*")} {(Lit_Other "*") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "*") (86) } {(Lit_Other "*") (68) (Lit_Other "*")} ] spids: [13573 13587 13590 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$mach")} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "*") (86) } {(Lit_Other "*") (68) (Lit_Other "*")} {(mips)} ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {($ VSub_Name "$type") (.) ($ VSub_Name "$mach") } spids: [13618] ) ] spids: [13618] ) ] spids: [13603 13615 13624 -1] ) ] spids: [13596 13600 13627] ) ] spids: [13593 13594 13630 -1] ) ] spids: [13566 13570 13633] ) ] spids: [13559 13560 13636 -1] ) (case_arm pat_list: [{(unknown)}] action: [ (Case to_match: {($ VSub_Name "$arch")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$arch")} arms: [ (case_arm pat_list: [{(sun) (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:mach) op: Equal rhs: {(SQ )} spids: [13665] ) ] spids: [13665] ) ] spids: [13661 13663 13667 -1] ) ] spids: [13654 13658 13670] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {($ VSub_Name "$arch")} spids: [13673] ) ] spids: [13673] ) (Case to_match: {($ VSub_Name "$mach")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {($ VSub_Name "$type") (.) ($ VSub_Name "$mach") } spids: [13688] ) ] spids: [13688] ) ] spids: [13684 13686 13693 -1] ) ] spids: [13677 13681 13696] ) ] spids: [13650 13652 13699 -1] ) ] spids: [13643 13647 13702] ) ] spids: [13639 13640 13705 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$ver")} arms: [ (case_arm pat_list: [{(FTX) (Lit_Other "*")} {(ftx) (Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$mach")} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ) (Lit_Other "]") (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:mach) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Name "$mach")} ) (C {($ VSub_Name "$SED")} {(-e)} {(SQ <"s/[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]*$//">)} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [13745 13759] ) } spids: [13744] ) ] spids: [13744] ) ] spids: [13733 13741 13762 -1] ) ] spids: [13726 13730 13765] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {(stratus.) ($ VSub_Name "$mach")} spids: [13768] ) ] spids: [13768] ) ] spids: [13718 13723 13773 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$arch")} arms: [ (case_arm pat_list: [ {(Lit_Other "[") (Oo) (Lit_Other "]") (Lit_Other "[") (Ss) (Lit_Other "]") (Lit_Other "[") (-/.) (Lit_Other "]") (2) } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {(os2)} spids: [13799] ) ] spids: [13799] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:arch) op: Equal rhs: {($ VSub_Name "$rel")} spids: [13803] ) ] spids: [13803] ) ] spids: [13786 13796 13807 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Name "$os")} ) (C {($ VSub_Name "$SED")} {(-e)} {(SQ <"s/[0123456789].*//">)} {(-e)} { (SQ < "s/[^ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_0123456789.].*//" > ) } ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [13814 13834] ) } spids: [13813] ) ] spids: [13813] ) ] spids: [13810 13811 13837 -1] ) ] spids: [13779 13783 13840] ) (Case to_match: {($ VSub_Name "$type")} arms: [ (case_arm pat_list: [ {(Lit_Other "[") (Cc) (Lit_Other "]") (Lit_Other "[") (Yy) (Lit_Other "]") (Lit_Other "[") (Gg) (Lit_Other "]") (Lit_Other "[") (Ww) (Lit_Other "]") (Lit_Other "[") (Ii) (Lit_Other "]") (Lit_Other "[") (Nn) (Lit_Other "]") (_) (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {(cygwin)} spids: [13873] ) ] spids: [13873] ) ] spids: [13850 13870 13877 -1] ) (case_arm pat_list: [ {(Lit_Other "[") (Uu) (Lit_Other "]") (Lit_Other "[") (Ww) (Lit_Other "]") (Lit_Other "[") (Ii) (Lit_Other "]") (Lit_Other "[") (Nn) (Lit_Other "]") (Lit_Other "*") } {(Lit_Other "[") (Ww) (Lit_Other "]") (indows_) (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") } {(Lit_Other "[") (Ww) (Lit_Other "]") (indows_) (Lit_Other "[") (Nn) (Lit_Other "]") (Lit_Other "[") (Tt) (Lit_Other "]") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {(win32)} spids: [13918] ) ] spids: [13918] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:arch) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Name "$arch")} ) (C {($ VSub_Name "$SED")} {(-e)} {(SQ <"s/_[^_]*$//">)} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [13923 13937] ) } spids: [13922] ) ] spids: [13922] ) ] spids: [13880 13915 13940 -1] ) ] spids: [13843 13847 13943] ) (Case to_match: {($ VSub_Name "$arch")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Case to_match: {($ VSub_Name "$mach")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {($ VSub_Name "$type") (.) ($ VSub_Name "$mach") } spids: [13968] ) ] spids: [13968] ) ] spids: [13964 13966 13973 -1] ) ] spids: [13957 13961 13976] ) ] spids: [-1 13955 13979 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {($ VSub_Name "$type") (.) ($ VSub_Name "$arch") } spids: [13985] ) ] spids: [13985] ) ] spids: [13982 13983 13990 -1] ) ] spids: [13946 13950 13993] ) ] spids: [13776 13777 13996 -1] ) ] spids: [13711 13715 13999] ) ] spids: [13708 13709 -1 14002] ) ] spids: [12286 12290 14002] ) (Case to_match: {($ VSub_Name "$type")} arms: [ (case_arm pat_list: [ {(Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "*")} ] action: [ (Case to_match: {($ VSub_Name "$mach")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {($ VSub_Name "$mach")} spids: [14030] ) ] spids: [14030] ) ] spids: [14026 14028 14033 -1] ) ] spids: [14019 14023 14036] ) (Case to_match: {($ VSub_Name "$type")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (/MC)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {(ncr.) ($ VSub_Name "$type")} spids: [14050] ) ] spids: [14050] ) ] spids: [14046 14048 14054 -1] ) ] spids: [14039 14043 14057] ) ] spids: [14012 14016 14060 -1] ) (case_arm pat_list: [{(Lit_Other "*") (.) (Lit_Other "*")}] spids: [14063 14066 14068 -1] ) (case_arm pat_list: [ {(Lit_Other "*") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "*") (86) } {(Lit_Other "*") (68) (Lit_Other "*")} ] action: [ (Case to_match: {($ VSub_Name "$rel")} arms: [ (case_arm pat_list: [ {(Lit_Other "[") (34) (Lit_Other "]") (.) (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {(att.) ($ VSub_Name "$type")} spids: [14102] ) ] spids: [14102] ) ] spids: [14091 14099 14107 -1] ) ] spids: [14084 14088 14110] ) ] spids: [14071 14081 14113 -1] ) (case_arm pat_list: [ {(Lit_Other "[") (abcdefghijklmnopqrstuvwxyz) (Lit_Other "]") (Lit_Other "*") (Lit_Other "[") (0123456789) (Lit_Other "]") } ] spids: [14116 14123 14126 -1] ) (case_arm pat_list: [ {(Lit_Other "[") (abcdefghijklmnopqrstuvwxyz) (Lit_Other "]") (Lit_Other "*") } ] action: [ (Case to_match: {($ VSub_Name "$mach")} arms: [ (case_arm pat_list: [{($ VSub_Name "$type")}] action: [ (Case to_match: {($ VSub_Name "$ver")} arms: [ (case_arm pat_list: [ {(Fault) (Lit_Other "*")} {(fault) (Lit_Other "*")} {(FAULT) (Lit_Other "*")} ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {(ft.) ($ VSub_Name "$type")} spids: [14163] ) ] spids: [14163] ) ] spids: [14152 14160 14168 -1] ) ] spids: [14145 14149 14171] ) ] spids: [14142 14143 14174 -1] ) (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$arch")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {($ VSub_Name "$type") (.) ($ VSub_Name "$mach") } spids: [14192] ) ] spids: [14192] ) ] spids: [-1 14190 14197 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {($ VSub_Name "$type") (.) ($ VSub_Name "$arch") } spids: [14203] ) ] spids: [14203] ) ] spids: [14200 14201 14208 -1] ) ] spids: [14181 14185 14211] ) ] spids: [14177 14179 14214 -1] ) ] spids: [14135 14139 14217] ) ] spids: [14129 14133 14220 -1] ) ] spids: [14005 14009 14223] ) (Case to_match: {($ VSub_Name "$type")} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (Lit_Other "[") (-_) (Lit_Other "]") (32)} {(Lit_Other "*") (Lit_Other "[") (-_) (Lit_Other "]") (64)} {(Lit_Other "*") (Lit_Other "[") (-_) (Lit_Other "]") (128)} ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:bits) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Name "$type")}) (C {($ VSub_Name "$SED")} {(SQ <"s,.*[-_],,">)} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [14254 14266] ) } spids: [14253] ) ] spids: [14253] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Name "$type")}) (C {($ VSub_Name "$SED")} {(SQ <"s,[-_][0-9]*$,,">)} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [14270 14282] ) } spids: [14269] ) ] spids: [14269] ) ] spids: [14233 14250 14285 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:bits) op: Equal rhs: {(SQ )} spids: [14291] ) ] spids: [14291] ) ] spids: [14288 14289 14294 -1] ) ] spids: [14226 14230 14297] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Name "$type")}) (C {($ VSub_Name "$SED")} {(-e)} {(SQ <"s%[-+/].*%%">)}) (C {($ VSub_Name "$TR")} {(ABCDEFGHIJKLMNOPQRSTUVWXYZ)} {(abcdefghijklmnopqrstuvwxyz)} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [14301 14323] ) } spids: [14300] ) ] spids: [14300] ) (Case to_match: {($ VSub_Name "$type")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (.) (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:lhs) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Name "$type")}) (C {($ VSub_Name "$SED")} {(-e)} {(SQ <"s/\\..*//">)} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [14339 14353] ) } spids: [14338] ) ] spids: [14338] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:rhs) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Name "$type")}) (C {($ VSub_Name "$SED")} {(-e)} {(SQ <"s/.*\\.//">)} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [14357 14371] ) } spids: [14356] ) ] spids: [14356] ) (Case to_match: {($ VSub_Name "$rhs")} arms: [ (case_arm pat_list: [ {(Lit_Other "[") (x0123456789) (Lit_Other "]") (Lit_Other "*") (86) } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:rhs) op: Equal rhs: {(i) ($ VSub_Name "$rhs")} spids: [14388] ) ] spids: [14388] ) ] spids: [14381 14386 14392 -1] ) (case_arm pat_list: [{(68) (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:rhs) op: Equal rhs: {(m) ($ VSub_Name "$rhs")} spids: [14399] ) ] spids: [14399] ) ] spids: [14395 14397 14403 -1] ) ] spids: [14374 14378 14406] ) (Case to_match: {($ VSub_Name "$rhs")} arms: [ (case_arm pat_list: [ {(i) (Lit_Other "[") (x23456789) (Lit_Other "]") (86)} {(i) (Lit_Other "?") (Lit_Other "[") (x23456789) (Lit_Other "]") (86) } {(Lit_Other "*") (86pc)} ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:rhs) op: Equal rhs: {(i386)} spids: [14434] ) ] spids: [14434] ) ] spids: [14416 14431 14437 -1] ) (case_arm pat_list: [{(powerpc)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:rhs) op: Equal rhs: {(ppc)} spids: [14443] ) ] spids: [14443] ) ] spids: [14440 14441 14446 -1] ) (case_arm pat_list: [ {(s) (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "*") (Lit_Other "[") (0123456789) (Lit_Other "]") (x) } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:rhs) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Name "$rhs")}) (C {($ VSub_Name "$SED")} {(-e)} {(SQ <"s/x$/-64/">)} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [14462 14476] ) } spids: [14461] ) ] spids: [14461] ) ] spids: [14449 14458 14478 -1] ) ] spids: [14409 14413 14481] ) (Case to_match: {($ VSub_Name "$rhs")} arms: [ (case_arm pat_list: [ {(arm) (Lit_Other "[") (abcdefghijklmnopqrstuvwxyz_) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:rhs) op: Equal rhs: {(arm)} spids: [14502] ) ] spids: [14502] ) ] spids: [14491 14499 14505 -1] ) (case_arm pat_list: [{(hppa)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:rhs) op: Equal rhs: {(pa)} spids: [14511] ) ] spids: [14511] ) ] spids: [14508 14509 14514 -1] ) ] spids: [14484 14488 14517] ) (Case to_match: {($ VSub_Name "$lhs")} arms: [ (case_arm pat_list: [ {(Lit_Other "?") (Lit_Other "*") (coff)} {(Lit_Other "?") (Lit_Other "*") (dwarf)} {(Lit_Other "?") (Lit_Other "*") (elf)} ] action: [ (Case to_match: {($ VSub_Name "$lhs")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*") (coff)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:x) op: Equal rhs: {(coff)} spids: [14553] ) ] spids: [14553] ) ] spids: [14548 14551 14556 -1] ) (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*") (dwarf)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:x) op: Equal rhs: {(coff)} spids: [14563] ) ] spids: [14563] ) ] spids: [14559 14562 14566 -1] ) (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*") (elf)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:x) op: Equal rhs: {(elf)} spids: [14574] ) ] spids: [14574] ) ] spids: [14569 14572 14577 -1] ) ] spids: [14541 14545 14580] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:lhs) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {(${ VSub_Name lhs) (XXX)} ) (C {($ VSub_Name "$SED")} {(-e)} { (DQ (s/) (${ VSub_Name x) (XXX//)) } ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [14584 14605] ) } spids: [14583] ) ] spids: [14583] ) ] spids: [14527 14538 14608 -1] ) ] spids: [14520 14524 14611] ) (Case to_match: {($ VSub_Name "$lhs")} arms: [ (case_arm pat_list: [{(bsdi)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:lhs) op: Equal rhs: {(bsd)} spids: [14624] ) ] spids: [14624] ) ] spids: [14621 14622 14627 -1] ) (case_arm pat_list: [{(darwin)}] action: [ (Case to_match: {($ VSub_Name "$rel")} arms: [ (case_arm pat_list: [ {(Lit_Other "[") (01234567) (Lit_Other "]") (.) (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:lhs) op: Equal rhs: {(${ VSub_Name lhs) (7)} spids: [14647] ) ] spids: [14647] ) ] spids: [14640 14645 14653 -1] ) ] spids: [14633 14637 14656] ) ] spids: [14630 14631 14659 -1] ) (case_arm pat_list: [{(freebsd)}] action: [ (Case to_match: {($ VSub_Name "$rel")} arms: [ (case_arm pat_list: [ {(Lit_Other "[") (01234) (Lit_Other "]") (.) (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:lhs) op: Equal rhs: {(${ VSub_Name lhs) (4)} spids: [14679] ) ] spids: [14679] ) ] spids: [14672 14677 14685 -1] ) (case_arm pat_list: [ {(Lit_Other "[") (123456789) (Lit_Other "]") (Lit_Other "*") (.) (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:lhs) op: Equal rhs: {(${ VSub_Name lhs) (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Name "$rel")} ) (C {($ VSub_Name "$SED")} {(-e)} {(SQ <"s/\\..*//">)} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [14700 14714] ) } spids: [14696] ) ] spids: [14696] ) ] spids: [14688 14694 14716 -1] ) ] spids: [14665 14669 14719] ) ] spids: [14662 14663 14722 -1] ) (case_arm pat_list: [{(hpux)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:lhs) op: Equal rhs: {(hp)} spids: [14728] ) ] spids: [14728] ) ] spids: [14725 14726 14731 -1] ) (case_arm pat_list: [{(mvs)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:rhs) op: Equal rhs: {(390)} spids: [14737] ) ] spids: [14737] ) ] spids: [14734 14735 14740 -1] ) ] spids: [14614 14618 14743] ) (Case to_match: {($ VSub_Name "$lhs")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {($ VSub_Name "$rhs")} spids: [14757] ) ] spids: [14757] ) ] spids: [-1 14755 14760 -1] ) (case_arm pat_list: [{($ VSub_Name "$rhs")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {($ VSub_Name "$lhs")} spids: [14766] ) ] spids: [14766] ) ] spids: [14763 14764 14769 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {($ VSub_Name "$lhs") (.) ($ VSub_Name "$rhs")} spids: [14775] ) ] spids: [14775] ) ] spids: [14772 14773 14780 -1] ) ] spids: [14746 14750 14783] ) ] spids: [14333 14336 14786 -1] ) ] spids: [14326 14330 14789] ) (Case to_match: {($ VSub_Name "$type")} arms: [ (case_arm pat_list: [{(sgi.mips) (Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$mach")} arms: [ (case_arm pat_list: [{(mips2)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {(sgi.) ($ VSub_Name "$mach")} spids: [14814] ) ] spids: [14814] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:abi) op: Equal rhs: {(-o32)} spids: [14819] ) ] spids: [14819] ) ] spids: [14811 14812 14823 -1] ) (case_arm pat_list: [{(mips3)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {(sgi.) ($ VSub_Name "$mach")} spids: [14829] ) ] spids: [14829] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:abi) op: Equal rhs: {(-n32)} spids: [14834] ) ] spids: [14834] ) ] spids: [14826 14827 14838 -1] ) (case_arm pat_list: [{(mips) (Lit_Other "[") (456789) (Lit_Other "]")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {(sgi.) ($ VSub_Name "$mach")} spids: [14848] ) ] spids: [14848] ) (Case to_match: {($ VSub_Name "$abi")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (-n32)}] spids: [14860 14862 14864 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:abi) op: Equal rhs: {(-64)} spids: [14870] ) ] spids: [14870] ) ] spids: [14867 14868 14873 -1] ) ] spids: [14853 14857 14876] ) ] spids: [14841 14845 14879 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:pwd) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [(C {(pwd)})] ) left_token: <Left_Backtick "`"> spids: [14886 14888] ) } spids: [14885] ) ] spids: [14885] ) (C {(cd)} { (BracedVarSub token: <VSub_Name TMPDIR> suffix_op: (StringUnary op_id: VTest_ColonHyphen arg_word: {(Lit_Slash /) (tmp)} ) spids: [14893 14898] ) } ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:tmp) op: Equal rhs: {(hi) ($ VSub_Dollar "$$")} spids: [14901] ) ] spids: [14901] ) (C {(trap)} {(SQ <"rm -f $tmp.*">)} {(0)} {(1)} {(2)}) (SimpleCommand words: [{(cat)}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {($ VSub_Name "$tmp") (.a.c)} spids: [14921] ) (HereDoc op_id: Redir_DLess fd: -1 body: { (DQ ("extern int b();\n") ("int main() { return b(); }\n") ) } do_expansion: True here_end: "!" was_filled: True spids: [14926] ) ] ) (SimpleCommand words: [{(cat)}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {($ VSub_Name "$tmp") (.b.c)} spids: [14934] ) (HereDoc op_id: Redir_DLess fd: -1 body: {(DQ ("int b() { return 0; }\n"))} do_expansion: True here_end: "!" was_filled: True spids: [14939] ) ] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:abi) op: Equal rhs: {(SQ )} spids: [14944] ) ] spids: [14944] ) (If arms: [ (if_arm cond: [ (C {($ VSub_Name "$cc")} {(-c)} {($ VSub_Name "$tmp") (.a.c)} ) ] action: [ (ForEach iter_name: i iter_words: [{(-n32)} {(-o32)} {(-64)}] do_arg_iter: False body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (AndOr children: [ (C {($ VSub_Name "$cc")} {($ VSub_Name "$i")} {(-c)} {($ VSub_Name "$tmp") (.b.c)} ) (C {($ VSub_Name "$cc")} {(-o)} {($ VSub_Name "$tmp") (.exe) } {($ VSub_Name "$tmp") (.a.o)} {($ VSub_Name "$tmp") (.b.o)} ) ] op_id: Op_DAmp ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:abi) op: Equal rhs: {($ VSub_Name "$i")} spids: [15004] ) ] spids: [15004] ) (ForEach iter_name: i iter_words: [ {(2)} {(3)} {(4)} {(5)} {(6)} {(7)} {(8)} {(9)} ] do_arg_iter: False body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$i") (Lit_Other ":") ($ VSub_Name "$abi") } arms: [ (case_arm pat_list: [ {(2) (Lit_Other ":" ) (-n32) } {(2) (Lit_Other ":" ) (-64) } {(3) (Lit_Other ":" ) (-64) } ] action: [ (ControlFlow token: < ControlFlow_Continue continue > ) ] spids: [ 15042 15053 15059 -1 ] ) ] spids: [ 15033 15039 15062 ] ) (If arms: [ (if_arm cond: [ (AndOr children: [ (C { ($ VSub_Name "$cc" ) } {($ VSub_Name "$abi")} {(-mips) ($ VSub_Name "$i")} {(-c)} {($ VSub_Name "$tmp") (.b.c)} ) (C { ($ VSub_Name "$cc" ) } {(-o)} {($ VSub_Name "$tmp") (.exe)} {($ VSub_Name "$tmp") (.a.o)} {($ VSub_Name "$tmp") (.b.o)} ) ] op_id: Op_DAmp ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name: type ) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C { ( echo ) } {($ VSub_Name "$type")} ) (C { ($ VSub_Name "$SED" ) } {(-e)} {(SQ <"s/.$//">)} ) ] negated: False ) ] ) left_token: < Left_Backtick "`" > spids: [ 15099 15113 ] ) ($ VSub_Name "$i") } spids: [ 15098 ] ) ] spids: [15098] ) (ControlFlow token: < ControlFlow_Break break > ) ] spids: [-1 15096] ) ] spids: [-1 15120] ) ] spids: [15031 15123] ) spids: [15013 -1] ) (ControlFlow token: <ControlFlow_Break break> ) ] spids: [-1 15002] ) ] spids: [-1 15129] ) ] spids: [14972 15132] ) spids: [14964 -1] ) ] spids: [-1 14957] ) ] redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: {(/dev/null)} spids: [15137] ) (Redir op_id: Redir_Great fd: -1 arg_word: {(/dev/null)} spids: [15140] ) (Redir op_id: Redir_GreatAnd fd: 2 arg_word: {(1)} spids: [15143] ) ] spids: [-1 15135] ) (C {(rm)} {(-f)} {($ VSub_Name "$tmp") (.) (Lit_Other "*")}) (C {(trap)} {(-)} {(0)} {(1)} {(2)}) (C {(cd)} {($ VSub_Name "$pwd")}) ] spids: [14882 14883 15172 -1] ) ] spids: [14804 14808 15175] ) (Case to_match: {($ VSub_Name "$type") ($ VSub_Name "$abi")} arms: [ (case_arm pat_list: [{(sgi.mips2-o32)}] spids: [15186 15187 15190 -1] ) (case_arm pat_list: [{(sgi.mips3)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {($ VSub_Name "$type") (-o32)} spids: [15197] ) ] spids: [15197] ) ] spids: [15193 15194 15202 -1] ) (case_arm pat_list: [{(sgi.mips3-n32)}] spids: [15205 15206 15209 -1] ) (case_arm pat_list: [{(sgi.mips4)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {($ VSub_Name "$type") (-o32)} spids: [15216] ) ] spids: [15216] ) ] spids: [15212 15213 15221 -1] ) (case_arm pat_list: [ {(sgi.mips) (Lit_Other "[") (456789) (Lit_Other "]") (-64)} ] spids: [15224 15229 15232 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {($ VSub_Name "$type") ($ VSub_Name "$abi")} spids: [15238] ) ] spids: [15238] ) ] spids: [15235 15236 15243 -1] ) ] spids: [15178 15183 15246] ) ] spids: [14799 14801 15249 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$bits")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Case to_match: { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [{(file)} {(/bin/sh)}] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [15273] ) ] ) ] ) left_token: <Left_Backtick "`"> spids: [15268 15275] ) } arms: [ (case_arm pat_list: [ {(Lit_Other "*") (universal) (Lit_Other "*") (64) (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:pwd) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [(C {(pwd)})] ) left_token: <Left_Backtick "`"> spids: [15289 15291] ) } spids: [15288] ) ] spids: [15288] ) (C {(cd)} { (BracedVarSub token: <VSub_Name TMPDIR> suffix_op: (StringUnary op_id: VTest_ColonHyphen arg_word: {(Lit_Slash /) (tmp)} ) spids: [15296 15301] ) } ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:tmp) op: Equal rhs: {(hi) ($ VSub_Dollar "$$")} spids: [15304] ) ] spids: [15304] ) (C {(trap)} {(SQ <"rm -f $tmp.*">)} {(0)} {(1)} {(2)}) (SimpleCommand words: [{(cat)}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {($ VSub_Name "$tmp") (.a.c)} spids: [15324] ) (HereDoc op_id: Redir_DLess fd: -1 body: {(DQ ("int main() { return 0; }\n"))} do_expansion: True here_end: "!" was_filled: True spids: [15329] ) ] ) (If arms: [ (if_arm cond: [ (C {($ VSub_Name "$cc")} {(-o)} {($ VSub_Name "$tmp") (.a.exe)} {($ VSub_Name "$tmp") (.a.c)} ) ] action: [ (Case to_match: { (CommandSubPart command_list: (CommandList children: [ (C {(file)} {($ VSub_Name "$tmp") (.a.exe) } ) ] ) left_token: <Left_Backtick "`"> spids: [15351 15356] ) } arms: [ (case_arm pat_list: [ {(Lit_Other "*") (64) (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:bits) op: Equal rhs: {(64)} spids: [15366] ) ] spids: [15366] ) ] spids: [15361 15364 15369 -1] ) ] spids: [15349 15358 15372] ) ] spids: [-1 15347] ) ] redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: {(/dev/null)} spids: [15377] ) (Redir op_id: Redir_Great fd: -1 arg_word: {(/dev/null)} spids: [15380] ) (Redir op_id: Redir_GreatAnd fd: 2 arg_word: {(1)} spids: [15383] ) ] spids: [-1 15375] ) (C {(rm)} {(-f)} {($ VSub_Name "$tmp") (.) (Lit_Other "*")} ) (C {(trap)} {(-)} {(0)} {(1)} {(2)}) (C {(cd)} {($ VSub_Name "$pwd")}) ] spids: [15280 15285 15412 -1] ) ] spids: [15266 15277 15415] ) ] spids: [-1 15264 15418 -1] ) ] spids: [15255 15259 15421] ) ] spids: [15252 15253 15424 -1] ) ] spids: [14792 14796 15427] ) (Case to_match: {($ VSub_Name "$bits")} arms: [ (case_arm pat_list: [{(32)}] action: [ (Case to_match: {($ VSub_Name "$type")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (.i386)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:bits) op: Equal rhs: {(SQ )} spids: [15451] ) ] spids: [15451] ) ] spids: [15447 15449 15453 -1] ) ] spids: [15440 15444 15456] ) ] spids: [15437 15438 15459 -1] ) ] spids: [15430 15434 15462] ) (Case to_match: {($ VSub_Name "$bits")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {($ VSub_Name "$type") (-) ($ VSub_Name "$bits")} spids: [15476] ) ] spids: [15476] ) ] spids: [15472 15474 15481 -1] ) ] spids: [15465 15469 15484] ) (C {(set)} {(DQ )} {(DQ )} {($ VSub_Name "$map")}) (While cond: [(C {(Lit_Other ":")})] body: (DoGroup children: [ (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(Lit_Other "[") (012) (Lit_Other "]")}] action: [(ControlFlow token:<ControlFlow_Break break>)] spids: [15518 15521 15525 -1] ) ] spids: [15511 15515 15528] ) (Sentence child: (C {(shift)}) terminator: <Op_Semi ";"> ) (C {(shift)}) (C {(eval)} { (DQ ("\tcase ") (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) ("type in\n") ("\t\t\t\t") ($ VSub_Number "$1") (")\ttype=") (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) ("2; break ;;\n") ("\t\t\t\tesac") ) } ) ] spids: [15509 15551] ) ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_hostinfo_) op: Equal rhs: {(DQ ($ VSub_Name "$_hostinfo_") (" ") ($ VSub_Name "$type"))} spids: [15554] ) ] spids: [15554] ) ] spids: [10896 10899 15562 -1] ) ] spids: [9672 9676 15565] ) ] spids: [9669 15568] ) spids: [-1 -1] ) (C {(set)} {(SQ )} {($ VSub_Name "$_hostinfo_")}) (C {(shift)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_hostinfo_) op: Equal rhs: {($ VSub_Star "$*")} spids: [15582] ) ] spids: [15582] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:PATH) op: Equal rhs: {($ VSub_Name "$path")} spids: [15592] ) ] spids: [15592] ) (Case to_match: {($ VSub_Name "$DEBUG")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (SimpleCommand words: [{(exec)}] redirects: [(Redir op_id:Redir_GreatAnd fd:2 arg_word:{(9)} spids:[15609])] ) (SimpleCommand words: [{(exec)}] redirects: [(Redir op_id:Redir_GreatAnd fd:9 arg_word:{(-)} spids:[15615])] ) ] spids: [-1 15605 15619 -1] ) ] spids: [15596 15600 15622] ) ] spids: [9138] ) spids: [9131 9134] ) (FuncDef name: note body: (BraceGroup children: [ (SimpleCommand words: [{(echo)} {($ VSub_Name "$command") (Lit_Other ":")} {(DQ ($ VSub_At "$@"))}] redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[15650])] ) ] spids: [15638] ) spids: [15631 15634] ) (FuncDef name: checkcc body: (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:cc) op:Equal rhs:{(SQ )} spids:[15676])] spids: [15676] ) (If arms: [ (if_arm cond: [(C {(onpath)} {($ VSub_Name "$CC")})] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:cc) op: Equal rhs: {($ VSub_Name "$_onpath_")} spids: [15688] ) ] spids: [15688] ) ] spids: [-1 15686] ) ] else_action: [ (Case to_match: {($ VSub_Name "$CC")} arms: [ (case_arm pat_list: [{(cc)}] action: [ (If arms: [ (if_arm cond: [(C {(onpath)} {(gcc)})] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:CC) op: Equal rhs: {(gcc)} spids: [15713] ) ] spids: [15713] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:cc) op: Equal rhs: {($ VSub_Name "$_onpath_")} spids: [15717] ) ] spids: [15717] ) ] spids: [-1 15711] ) ] spids: [-1 15721] ) ] spids: [15701 15702 15724 -1] ) ] spids: [15694 15698 15727] ) ] spids: [15692 15730] ) (Case to_match: {($ VSub_Name "$cc")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Case to_match: {($ VSub_Name "$action")} arms: [ (case_arm pat_list: [{(make)} {(test)}] action: [ (Sentence child: (C {(note)} {(DQ ($ VSub_Name "$CC") (": not found"))}) terminator: <Op_Semi ";"> ) (C {(exit)} {(1)}) ] spids: [15751 15754 15768 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [(C {(note)} {(DQ ("warning: ") ($ VSub_Name "$CC") (": not found"))})] spids: [15771 15772 15782 -1] ) ] spids: [15744 15748 15785] ) ] spids: [-1 15742 15788 -1] ) ] spids: [15733 15737 15791] ) ] spids: [15673] ) spids: [15669 15672] ) (Case to_match: {($ VSub_Name "$action")} arms: [ (case_arm pat_list: [{(host)}] action: [ (C {(eval)} {(Lit_VarLike "u=") ($ VSub_Name "$package_use")}) (Case to_match: {($ VSub_Name "$u")} arms: [ (case_arm pat_list: [{($ VSub_Name "$PACKAGE_USE")}] spids: [15822 15823 15826 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (If arms: [ (if_arm cond: [(C {(onpath)} {($ VSub_Number "$0")})] action: [ (Case to_match: {($ VSub_Name "$_onpath_")} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (/arch/) ($ VSub_Name "$HOSTTYPE") (/bin/package)} ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:KEEP_HOSTTYPE) op: Equal rhs: {(1)} spids: [15855] ) ] spids: [15855] ) ] spids: [15848 15852 15859 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:KEEP_HOSTTYPE) op: Equal rhs: {(0)} spids: [15865] ) ] spids: [15865] ) ] spids: [15862 15863 15869 -1] ) ] spids: [15841 15845 15872] ) ] spids: [-1 15839] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:KEEP_HOSTTYPE) op: Equal rhs: {(0)} spids: [15877] ) ] spids: [15877] ) ] spids: [15875 15881] ) ] spids: [15829 15830 15884 -1] ) ] spids: [15815 15819 15887] ) (C {(hostinfo)} {($ VSub_Name "$args")}) (C {(echo)} {($ VSub_Name "$_hostinfo_")}) (C {(exit)} {(0)}) ] spids: [15806 15807 15905 -1] ) (case_arm pat_list: [{(export)} {(setup)} {(use)}] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:x) op:Equal rhs:{(SQ )} spids:[15915])] spids: [15915] ) ] spids: [15907 15912 15918 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:x) op:Equal rhs:{(SQ )} spids:[15923])] spids: [15923] ) (C {(eval)} {(Lit_VarLike "u=") ($ VSub_Name "$package_use")}) (Case to_match: {($ VSub_Name "$u")} arms: [ (case_arm pat_list: [{($ VSub_Name "$PACKAGE_USE")}] action: [ (Case to_match: {(Lit_Other ":") ($ VSub_Name "$PATH") (Lit_Other ":")} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (Lit_Other ":") ($ VSub_Name "$INSTALLROOT") (/bin) (Lit_Other ":") (Lit_Other "*") } ] action: [ (Case to_match: {($ VSub_Name "$LIBPATH") (Lit_Other ":")} arms: [ (case_arm pat_list: [ {($ VSub_Name "$INSTALLROOT") (/bin) (Lit_Other ":") ($ VSub_Name "$INSTALLROOT") (/lib) (Lit_Other ":") (Lit_Other "*") } ] action: [ (Case to_match: {($ VSub_Name "$SHLIB_PATH") (Lit_Other ":")} arms: [ (case_arm pat_list: [ {($ VSub_Name "$INSTALLROOT") (/lib) (Lit_Other ":") (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:x) op: Equal rhs: {(1)} spids: [15994] ) ] spids: [15994] ) ] spids: [15987 15991 15998 -1] ) ] spids: [15979 15984 16001] ) ] spids: [15969 15976 16004 -1] ) ] spids: [15961 15966 16007] ) ] spids: [15952 15958 16010 -1] ) ] spids: [15943 15949 16013] ) ] spids: [15939 15940 16016 -1] ) ] spids: [15932 15936 16019] ) ] spids: [15920 15921 16022 -1] ) ] spids: [15800 15804 16024] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:run) op:Equal rhs:{(-)} spids:[16026])] spids: [16026] ) (Case to_match: {($ VSub_Name "$x")} arms: [ (case_arm pat_list: [{(1)}] action: [ (C {(Lit_Other ":")} {(accept)} {(the)} {(current)} {(package)} {(use)} {(environment)}) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:OK) op:Equal rhs:{(ok)} spids:[16054])] spids: [16054] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:KSH) op: Equal rhs: {($ VSub_Name "$EXECROOT") (/bin/ksh)} spids: [16058] ) ] spids: [16058] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:MAKE) op:Equal rhs:{(nmake)} spids:[16063])] spids: [16063] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:NMAKE) op: Equal rhs: {($ VSub_Name "$EXECROOT") (/bin/) ($ VSub_Name "$MAKE")} spids: [16067] ) ] spids: [16067] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:SUM) op: Equal rhs: {($ VSub_Name "$EXECROOT") (/bin/sum)} spids: [16073] ) ] spids: [16073] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:TEE) op: Equal rhs: {($ VSub_Name "$EXECROOT") (/bin/tee)} spids: [16078] ) ] spids: [16078] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:INITROOT) op: Equal rhs: {($ VSub_Name "$PACKAGEROOT") (/src/cmd/INIT)} spids: [16083] ) ] spids: [16083] ) (C {(checkcc)}) ] spids: [16035 16036 16091 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:hosttype) op:Equal rhs:{(SQ )} spids:[16096])] spids: [16096] ) (Case to_match: {($ VSub_Name "$KEEP_PACKAGEROOT")} arms: [ (case_arm pat_list: [{(0)}] action: [ (Case to_match: {($ VSub_Name "$action")} arms: [ (case_arm pat_list: [{(use)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:PACKAGEROOT) op: Equal rhs: {(SQ )} spids: [16119] ) ] spids: [16119] ) (Case to_match: {($ VSub_Name "$show")} arms: [ (case_arm pat_list: [{(echo)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:exec) op: Equal rhs: {(echo)} spids: [16132] ) (assign_pair lhs: (LhsName name:make) op: Equal rhs: {(echo)} spids: [16135] ) (assign_pair lhs: (LhsName name:show) op: Equal rhs: {(echo)} spids: [16138] ) ] spids: [16132] ) ] spids: [16129 16130 16141 -1] ) ] spids: [16122 16126 16144] ) (C {(set)} {(SQ )} {($ VSub_Name "$args")}) (C {(shift)}) (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(0)}] spids: [16165 16166 16168 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [{(-)} {(.)}] spids: [16181 16184 16186 -1] ) (case_arm pat_list: [{(/) (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:PACKAGEROOT) op: Equal rhs: {($ VSub_Number "$1")} spids: [16193] ) ] spids: [16193] ) ] spids: [16189 16191 16197 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:i) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (C {(echo)} {(Lit_Tilde "~") ($ VSub_Number "$1") } ) ] ) left_token: <Left_Backtick "`"> spids: [16204 16209] ) } spids: [16203] ) ] spids: [16203] ) (If arms: [ (if_arm cond: [(C {(packageroot)} {($ VSub_Name "$i")})] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:PACKAGEROOT) op: Equal rhs: {($ VSub_Name "$i")} spids: [16221] ) ] spids: [16221] ) ] spids: [-1 16219] ) ] else_action: [ (ForEach iter_name: i iter_words: [ { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Name "$HOME")}) (C {(sed)} {(-e)} {(SQ <"s,/[^/]*$,,">)} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [16233 16247] ) } {($ VSub_Name "$usr")} {($ VSub_Name "$use")} ] do_arg_iter: False body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (C {(packageroot)} {($ VSub_Name "$i") (/) ($ VSub_Number "$1") } ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:PACKAGEROOT) op: Equal rhs: {($ VSub_Name "$i") (/) ($ VSub_Number "$1") } spids: [16267] ) ] spids: [16267] ) (ControlFlow token: <ControlFlow_Break break> ) ] spids: [-1 16265] ) ] spids: [-1 16276] ) ] spids: [16254 16279] ) spids: [16232 -1] ) (Case to_match: {($ VSub_Name "$PACKAGEROOT")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:hosttype) op: Equal rhs: {($ VSub_Number "$1")} spids: [16293] ) ] spids: [16293] ) ] spids: [-1 16291 16296 -1] ) ] spids: [16282 16286 16299] ) ] spids: [16225 16302] ) ] spids: [16200 16201 16305 -1] ) ] spids: [16174 16178 16308] ) (C {(shift)}) ] spids: [16171 16172 16314 -1] ) ] spids: [16158 16162 16317] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:run) op: Equal rhs: {(DQ ($ VSub_At "$@"))} spids: [16320] ) ] spids: [16320] ) ] spids: [16116 16117 16326 -1] ) ] spids: [16109 16113 16329] ) (Case to_match: {($ VSub_Name "$PACKAGEROOT")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:PACKAGEROOT) op: Equal rhs: { (BracedVarSub token: <VSub_Name PWD> suffix_op: (StringUnary op_id: VTest_ColonHyphen arg_word: { (CommandSubPart command_list: (CommandList children:[(C {(pwd)})]) left_token: <Left_Backtick "`"> spids: [16347 16349] ) } ) spids: [16344 16350] ) } spids: [16343] ) ] spids: [16343] ) ] spids: [-1 16341 16352 -1] ) ] spids: [16332 16336 16355] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:i) op: Equal rhs: {(X) ($ VSub_Name "$PACKAGEROOT")} spids: [16364] ) ] spids: [16364] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:IFS) op:Equal rhs:{(/)} spids:[16369])] spids: [16369] ) (C {(set)} {($ VSub_Name "$i")}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:IFS) op: Equal rhs: {($ VSub_Name "$ifs")} spids: [16378] ) ] spids: [16378] ) (While cond: [(C {(Lit_Other ":")})] body: (DoGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:i) op: Equal rhs: {($ VSub_Number "$1")} spids: [16389] ) ] spids: [16389] ) (C {(shift)}) (Case to_match: {($ VSub_Name "$i")} arms: [ (case_arm pat_list: [{(X)}] action: [(ControlFlow token:<ControlFlow_Break break>)] spids: [16403 16404 16408 -1] ) ] spids: [16396 16400 16411] ) ] spids: [16387 16414] ) ) (Case to_match: {($ VSub_Name "$PACKAGEROOT")} arms: [ (case_arm pat_list: [{(//) (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:d) op: Equal rhs: {(/)} spids: [16428] ) ] spids: [16428] ) ] spids: [16424 16426 16431 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:d) op: Equal rhs: {(SQ )} spids: [16437] ) ] spids: [16437] ) ] spids: [16434 16435 16439 -1] ) ] spids: [16417 16421 16442] ) (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [{(home)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:k) op: Equal rhs: {(1)} spids: [16455] ) ] spids: [16455] ) ] spids: [16452 16453 16458 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:k) op: Equal rhs: {(0)} spids: [16464] ) ] spids: [16464] ) ] spids: [16461 16462 16467 -1] ) ] spids: [16445 16449 16470] ) (ForEach iter_name: i do_arg_iter: True body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$i")} arms: [ (case_arm pat_list: [{(SQ )}] action: [(ControlFlow token:<ControlFlow_Continue continue>)] spids: [-1 16489 16493 -1] ) ] spids: [16480 16484 16496] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:d) op: Equal rhs: {($ VSub_Name "$d") (/) ($ VSub_Name "$i")} spids: [16499] ) ] spids: [16499] ) (Case to_match: {($ VSub_Name "$k")} arms: [ (case_arm pat_list: [{(2)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:k) op: Equal rhs: {(1)} spids: [16515] ) ] spids: [16515] ) ] spids: [16512 16513 16519 -1] ) (case_arm pat_list: [{(1)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:k) op: Equal rhs: {(0)} spids: [16525] ) ] spids: [16525] ) ] spids: [16522 16523 16529 -1] ) (case_arm pat_list: [{(0)}] action: [ (Case to_match: {($ VSub_Name "$i")} arms: [ (case_arm pat_list: [{(arch)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:k) op: Equal rhs: {(2)} spids: [16545] ) ] spids: [16545] ) ] spids: [16542 16543 16549 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (If arms: [ (if_arm cond: [(C {(packageroot)} {($ VSub_Name "$d")})] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:PACKAGEROOT) op: Equal rhs: {($ VSub_Name "$d")} spids: [16564] ) ] spids: [16564] ) ] spids: [-1 16562] ) ] spids: [-1 16568] ) ] spids: [16552 16553 16571 -1] ) ] spids: [16535 16539 16574] ) ] spids: [16532 16533 16577 -1] ) ] spids: [16505 16509 16580] ) ] spids: [16478 16583] ) spids: [-1 -1] ) ] spids: [16106 16107 16586 -1] ) ] spids: [16099 16103 16589] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:INITROOT) op: Equal rhs: {($ VSub_Name "$PACKAGEROOT") (/src/cmd/INIT)} spids: [16592] ) ] spids: [16592] ) (C {($ VSub_Name "$show")} {(Lit_VarLike "PACKAGEROOT=") ($ VSub_Name "$PACKAGEROOT")}) (C {($ VSub_Name "$show")} {(export)} {(PACKAGEROOT)}) (C {(export)} {(PACKAGEROOT)}) (Case to_match: {($ VSub_Name "$KEEP_HOSTTYPE")} arms: [ (case_arm pat_list: [{(0)}] action: [ (C {(hostinfo)} {(type)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:HOSTTYPE) op: Equal rhs: {($ VSub_Name "$_hostinfo_")} spids: [16636] ) ] spids: [16636] ) ] spids: [16628 16629 16640 -1] ) (case_arm pat_list: [{(1)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_PACKAGE_HOSTTYPE_) op: Equal rhs: {($ VSub_Name "$HOSTTYPE")} spids: [16646] ) ] spids: [16646] ) (C {(export)} {(_PACKAGE_HOSTTYPE_)}) ] spids: [16643 16644 16655 -1] ) ] spids: [16621 16625 16658] ) (C {($ VSub_Name "$show")} {(Lit_VarLike "HOSTTYPE=") ($ VSub_Name "$HOSTTYPE")}) (C {($ VSub_Name "$show")} {(export)} {(HOSTTYPE)}) (C {(export)} {(HOSTTYPE)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:INSTALLROOT) op: Equal rhs: {($ VSub_Name "$PACKAGEROOT") (/arch/) ($ VSub_Name "$HOSTTYPE")} spids: [16679] ) ] spids: [16679] ) (Case to_match: {($ VSub_Name "$action")} arms: [ (case_arm pat_list: [ {(admin)} {(install)} {(make)} {(read)} {(remove)} {(test)} {(verify)} {(view)} {(write)} ] spids: [16692 16709 16712 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (If arms: [ (if_arm cond: [(C {(test)} {(KW_Bang "!")} {(-d)} {($ VSub_Name "$INSTALLROOT")})] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:INSTALLROOT) op: Equal rhs: {($ VSub_Name "$PACKAGEROOT")} spids: [16731] ) ] spids: [16731] ) ] spids: [-1 16729] ) ] spids: [-1 16735] ) ] spids: [16715 16716 16738 -1] ) ] spids: [16685 16689 16741] ) (C {($ VSub_Name "$show")} {(Lit_VarLike "INSTALLROOT=") ($ VSub_Name "$INSTALLROOT")}) (C {($ VSub_Name "$show")} {(export)} {(INSTALLROOT)}) (C {(export)} {(INSTALLROOT)}) (Case to_match: {($ VSub_Name "$action")} arms: [ (case_arm pat_list: [{(export)} {(use)}] action: [ (AndOr children: [ (C {(packageroot)} {($ VSub_Name "$PACKAGEROOT")}) (BraceGroup children: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$PACKAGEROOT") (": invalid package root directory") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [16799] ) ] ) (C {(exit)} {(1)}) ] spids: [16787] ) ] op_id: Op_DPipe ) (Case to_match: {($ VSub_Name "$KEEP_HOSTTYPE") (Lit_Other ":") ($ VSub_Name "$hosttype")} arms: [ (case_arm pat_list: [{(0) (Lit_Other ":") (Lit_Other "?") (Lit_Other "*")}] action: [ (If arms: [ (if_arm cond: [ (C {(test)} {(-d)} { (BracedVarSub token: <VSub_Name PACKAGEROOT> suffix_op: (StringUnary op_id: VTest_ColonHyphen arg_word: {(.)} ) spids: [16832 16836] ) (/arch/) ($ VSub_Name "$hosttype") } ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:KEEP_HOSTTYPE) op: Equal rhs: {(1)} spids: [16843] ) ] spids: [16843] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:HOSTTYPE) op: Equal rhs: {($ VSub_Name "$hosttype")} spids: [16847] ) ] spids: [16847] ) ] spids: [-1 16841] ) ] else_action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$hosttype") (": package root not found") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [16862] ) ] ) (C {(exit)} {(1)}) ] spids: [16851 16871] ) ] spids: [16820 16824 16874 -1] ) ] spids: [16811 16817 16877] ) ] spids: [16775 16778 16880 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (AndOr children: [ (C {(packageroot)} {($ VSub_Name "$PACKAGEROOT")}) (BraceGroup children: [ (Case to_match: {($ VSub_Name "$KEEP_PACKAGEROOT")} arms: [ (case_arm pat_list: [{(1)}] spids: [16902 16903 16905 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$PACKAGEROOT") (": must be in the package root directory tree") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [16920] ) ] ) (C {(exit)} {(1)}) ] spids: [16908 16909 16929 -1] ) ] spids: [16895 16899 16932] ) ] spids: [16892] ) ] op_id: Op_DPipe ) (Case to_match: {($ VSub_Name "$action")} arms: [ (case_arm pat_list: [{(admin)}] spids: [16946 16947 16949 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (ForEach iter_name: i iter_words: [{(arch)} {(arch/) ($ VSub_Name "$HOSTTYPE")}] do_arg_iter: False body: (DoGroup children: [ (AndOr children: [ (C {(test)} {(-d)} {($ VSub_Name "$PACKAGEROOT") (/) ($ VSub_Name "$i")} ) (AndOr children: [ (C {($ VSub_Name "$exec")} {(mkdir)} {($ VSub_Name "$PACKAGEROOT") (/) ($ VSub_Name "$i")} ) (C {(exit)}) ] op_id: Op_DPipe ) ] op_id: Op_DPipe ) ] spids: [16967 16992] ) spids: [16960 -1] ) (ForEach iter_name: i iter_words: [{(lib)}] do_arg_iter: False body: (DoGroup children: [ (AndOr children: [ (C {(test)} {(-d)} {($ VSub_Name "$INSTALLROOT") (/) ($ VSub_Name "$i")} ) (AndOr children: [ (C {($ VSub_Name "$exec")} {(mkdir)} {($ VSub_Name "$INSTALLROOT") (/) ($ VSub_Name "$i")} ) (C {(exit)}) ] op_id: Op_DPipe ) ] op_id: Op_DPipe ) ] spids: [17004 17029] ) spids: [17000 -1] ) ] spids: [16952 16953 17032 -1] ) ] spids: [16939 16943 17035] ) (If arms: [ (if_arm cond: [(C {(test)} {(-d)} {($ VSub_Name "$INITROOT")})] action: [ (ForEach iter_name: i iter_words: [{(execrate)} {(ignore)} {(mamprobe)} {(silent)}] do_arg_iter: False body: (DoGroup children: [ (AndOr children: [ (SimpleCommand words: [ {(test)} {(-h)} {($ VSub_Name "$PACKAGEROOT") (/bin/) ($ VSub_Name "$i")} ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [17086] ) ] ) (Case to_match: { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [ {(ls)} {(-t)} {($ VSub_Name "$INITROOT") (/) ($ VSub_Name "$i") (.sh) } {($ VSub_Name "$PACKAGEROOT") (/bin/) ($ VSub_Name "$i") } ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [17108] ) ] ) ] ) left_token: <Left_Backtick "`"> spids: [17094 17110] ) } arms: [ (case_arm pat_list: [ { (DQ ($ VSub_Name "$INITROOT") (/) ($ VSub_Name "$i") (.sh) ) (Lit_Other "*") } ] action: [ (C {(note)} {(update)} {($ VSub_Name "$PACKAGEROOT") (/bin/) ($ VSub_Name "$i") } ) (C {(shellmagic)}) (Case to_match: {($ VSub_Name "$SHELLMAGIC")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (AndOr children: [ (C {($ VSub_Name "$exec")} {(cp)} {($ VSub_Name "$INITROOT") (/) ($ VSub_Name "$i") (.sh) } {($ VSub_Name "$PACKAGEROOT") (/bin/) ($ VSub_Name "$i")} ) (C {(exit)}) ] op_id: Op_DPipe ) ] spids: [-1 17146 17166 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$exec")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (AndOr children: [ (BraceGroup children: [ (C {(echo)} { (DQ ($ VSub_Name "$SHELLMAGIC" ) ) } ) (C {(cat)} { ($ VSub_Name "$INITROOT") (/) ($ VSub_Name "$i") (.sh) } ) ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: { ($ VSub_Name "$PACKAGEROOT" ) (/bin/) ($ VSub_Name "$i") } spids: [17203] ) ] spids: [17183] ) (C {(exit)}) ] op_id: Op_DPipe ) ] spids: [-1 17181 17214 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (C {(echo)} { (DQ ("{\n") ("echo ") (EscapedLiteralPart token: <Lit_EscapedChar "\\\""> ) ($ VSub_Name "$SHELLMAGIC") (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) ("\n") ("cat ") ($ VSub_Name "$INITROOT") (/) ($ VSub_Name "$i") (".sh\n") ("} > ") ($ VSub_Name "$PACKAGEROOT") (/bin/) ($ VSub_Name "$i") ) } ) ] spids: [17217 17218 17241 -1] ) ] spids: [17172 17176 17244] ) ] spids: [17169 17170 17247 -1] ) ] spids: [17137 17141 17250] ) (AndOr children: [ (C {($ VSub_Name "$exec")} {(chmod)} {(Lit_Other "+") (x)} {($ VSub_Name "$PACKAGEROOT") (/bin/) ($ VSub_Name "$i")} ) (C {(exit)}) ] op_id: Op_DPipe ) ] spids: [17116 17122 17269 -1] ) ] spids: [17092 17112 17272] ) ] op_id: Op_DPipe ) ] spids: [17076 17275] ) spids: [17066 -1] ) ] spids: [-1 17053] ) ] spids: [-1 17278] ) ] spids: [16883 16884 17281 -1] ) ] spids: [16768 16772 17284] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:path) op: Equal rhs: {($ VSub_Name "$PATH")} spids: [17287] ) ] spids: [17287] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:PATH) op: Equal rhs: {($ VSub_Name "$INSTALLROOT") (/bin) (Lit_Other ":") ($ VSub_Name "$PACKAGEROOT") (/bin) (Lit_Other ":") ($ VSub_Name "$PATH") } spids: [17291] ) ] spids: [17291] ) (C {(checkcc)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:PATH) op: Equal rhs: {($ VSub_Name "$path")} spids: [17304] ) ] spids: [17304] ) (Case to_match: {($ VSub_Name "$cc")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (If arms: [ (if_arm cond: [(C {(test)} {(-f)} {($ VSub_Name "$INITROOT") (/hello.c)})] action: [ (Subshell child: (CommandList children: [ (AndOr children: [(C {(cd)} {(/tmp)}) (C {(exit)} {(3)})] op_id: Op_DPipe ) (AndOr children: [ (C {(cp)} {($ VSub_Name "$INITROOT") (/hello.c)} {(pkg) ($ VSub_Dollar "$$") (.c)} ) (C {(exit)} {(3)}) ] op_id: Op_DPipe ) (AndOr children: [ (SimpleCommand words: [ {($ VSub_Name "$cc")} {(-o)} {(pkg) ($ VSub_Dollar "$$") (.exe)} {(pkg) ($ VSub_Dollar "$$") (.c)} ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(pkg) ($ VSub_Dollar "$$") (.e)} spids: [17379] ) (Redir op_id: Redir_GreatAnd fd: 2 arg_word: {(1)} spids: [17385] ) ] ) (BraceGroup children: [ (If arms: [ (if_arm cond: [ (SimpleCommand words: [ {($ VSub_Name "$cc")} {(-Dnew) (Lit_Other "=") (old)} {(-o)} {(pkg) ($ VSub_Dollar "$$") (.exe)} {(pkg) ($ VSub_Dollar "$$") (.c)} ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(/dev/null)} spids: [17411] ) (Redir op_id: Redir_GreatAnd fd: 2 arg_word: {(1)} spids: [17415] ) ] ) ] action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") (${ VSub_Name warn) ($ VSub_Name "$CC") (": must be a C compiler (not C++)") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [17433] ) ] ) ] spids: [-1 17419] ) ] else_action: [ (C {(cat)} {(pkg) ($ VSub_Dollar "$$") (.e)}) (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") (${ VSub_Name warn) ($ VSub_Name "$CC") (": failed to compile and link ") ($ VSub_Name "$INITROOT") ("/hello.c -- is it a C compiler?") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [17460] ) ] ) ] spids: [17437 17464] ) (C {(exit)} {(2)}) ] spids: [17390] ) ] op_id: Op_DPipe ) (If arms: [ (if_arm cond: [ (SimpleCommand words: [{(./pkg) ($ VSub_Dollar "$$") (.exe)}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(/dev/null)} spids: [17481] ) (Redir op_id: Redir_GreatAnd fd: 2 arg_word: {(1)} spids: [17484] ) ] ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {(0)} spids: [17490] ) ] spids: [17490] ) ] spids: [-1 17488] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {(1)} spids: [17496] ) ] spids: [17496] ) ] spids: [17494 17500] ) (C {(rm)} {(-f)} {(pkg) ($ VSub_Dollar "$$") (.) (Lit_Other "*")}) (C {(exit)} {($ VSub_Name "$code")}) ] ) spids: [17337 17518] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {($ VSub_QMark "$?")} spids: [17521] ) ] spids: [17521] ) (Case to_match: {($ VSub_Name "$code")} arms: [ (case_arm pat_list: [{(1)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:CROSS) op: Equal rhs: {(1)} spids: [17535] ) ] spids: [17535] ) ] spids: [17532 17533 17538 -1] ) ] spids: [17525 17529 17541] ) ] spids: [-1 17329] ) ] spids: [-1 17544] ) ] spids: [17315 17317 17547 -1] ) ] spids: [17308 17312 17550] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:EXECTYPE) op: Equal rhs: {($ VSub_Name "$HOSTTYPE")} spids: [17553] ) ] spids: [17553] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:EXECROOT) op: Equal rhs: {($ VSub_Name "$INSTALLROOT")} spids: [17557] ) ] spids: [17557] ) (Case to_match: {($ VSub_Name "$CROSS")} arms: [ (case_arm pat_list: [{(0)}] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:abi) op:Equal rhs:{(SQ )} spids:[17576])] spids: [17576] ) (Case to_match: {($ VSub_Name "$HOSTTYPE")} arms: [ (case_arm pat_list: [ {(sgi.mips) (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "*")} ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:x) op: Equal rhs: {(rld)} spids: [17594] ) ] spids: [17594] ) (If arms: [ (if_arm cond: [ (AndOr children: [ (C {(executable)} {(/lib32/) ($ VSub_Name "$x")}) (C {(executable)} {(/lib64/) ($ VSub_Name "$x")}) ] op_id: Op_DPipe ) ] action: [ (Case to_match: {($ VSub_Name "$INSTALLROOT")} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (/sgi.mips) (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:u) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Name "$INSTALLROOT")} ) (C {(sed)} {(-e)} {(SQ <"s,-[^-/]*$,,">)} {(-e)} {(SQ <"s,.$,,">)} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [17632 17652] ) } spids: [17631] ) ] spids: [17631] ) ] spids: [17622 17628 17655 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:u) op: Equal rhs: {(SQ )} spids: [17661] ) ] spids: [17661] ) ] spids: [17658 17659 17664 -1] ) ] spids: [17615 17619 17667] ) (ForEach iter_name: a iter_words: [ {(DQ ("n=2 v= l="))} {(DQ ("n=3 v=N32 l=lib32"))} {(DQ ("n=4-n32 v=N32 l=lib32"))} {(DQ ("n=4 v=64 l=lib64"))} ] do_arg_iter: False body: (DoGroup children: [ (C {(eval)} {($ VSub_Name "$a")}) (Case to_match: {($ VSub_Name "$v")} arms: [ (case_arm pat_list: [{(N32)}] action: [ (Case to_match: {($ VSub_Name "$n") (Lit_Other ":") ($ VSub_Name "$HOSTTYPE") } arms: [ (case_arm pat_list: [ {(Lit_Other "*") (-n32) (Lit_Other ":") (Lit_Other "*") (-n32) } ] spids: [17719 17724 17726 -1] ) (case_arm pat_list: [ {(Lit_Other "*") (-n32) (Lit_Other ":") (Lit_Other "*") } ] action: [ (ControlFlow token: <ControlFlow_Continue continue> ) ] spids: [17729 17733 17737 -1] ) (case_arm pat_list: [ {(Lit_Other "*") (Lit_Other ":") (Lit_Other "*") (-n32) } ] action: [ (ControlFlow token: <ControlFlow_Continue continue> ) ] spids: [17740 17744 17748 -1] ) ] spids: [17710 17716 17751] ) ] spids: [17707 17708 17754 -1] ) ] spids: [17700 17704 17757] ) (Case to_match: {($ VSub_Name "$l")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (If arms: [ (if_arm cond: [ (C {(executable)} {(KW_Bang "!")} {(/) ($ VSub_Name "$l") (/) ($ VSub_Name "$x") } ) ] action: [ (ControlFlow token: <ControlFlow_Continue continue> ) ] spids: [-1 17783] ) ] spids: [-1 17788] ) ] spids: [17767 17769 17791 -1] ) ] spids: [17760 17764 17794] ) (Case to_match: {($ VSub_Name "$u")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Case to_match: {($ VSub_Name "$HOSTTYPE")} arms: [ (case_arm pat_list: [ {(sgi.mips) ($ VSub_Name "$n")} {(sgi.mips) ($ VSub_Name "$n") (-) (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:abi) op: Equal rhs: { (DQ ($ VSub_Name "$abi") (" 'd=") ($ VSub_Name "$INSTALLROOT") (" v=") ($ VSub_Name "$v") ("'") ) } spids: [17825] ) ] spids: [17825] ) ] spids: [17815 17822 17836 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (ControlFlow token: <ControlFlow_Continue continue> ) ] spids: [17839 17840 17845 -1] ) ] spids: [17808 17812 17848] ) ] spids: [-1 17806 17851 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (If arms: [ (if_arm cond: [ (C {(test)} {(-d)} {($ VSub_Name "$u") ($ VSub_Name "$n")} ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:abi) op: Equal rhs: { (DQ ($ VSub_Name "$abi") (" 'd=") ($ VSub_Name "$u") ($ VSub_Name "$n") (" v=") ($ VSub_Name "$v") ("'") ) } spids: [17869] ) ] spids: [17869] ) ] spids: [-1 17867] ) ] spids: [-1 17881] ) ] spids: [17854 17855 17884 -1] ) ] spids: [17797 17801 17887] ) ] spids: [17693 17890] ) spids: [17675 -1] ) ] spids: [-1 17613] ) ] spids: [-1 17893] ) ] spids: [17586 17591 17896 -1] ) ] spids: [17579 17583 17899] ) (Case to_match: {($ VSub_Name "$abi")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:abi) op: Equal rhs: {(DQ ("'d=") ($ VSub_Name "$INSTALLROOT") (" v='"))} spids: [17913] ) ] spids: [17913] ) ] spids: [-1 17911 17920 -1] ) ] spids: [17902 17906 17923] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:p) op:Equal rhs:{(0)} spids:[17926])] spids: [17926] ) (C {(eval)} { (DQ ("\n") ("\t\t\tfor a in ") ($ VSub_Name "$abi") ("\n") ("\t\t\tdo\teval ") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ("a\n") ("\t\t\t\teval ") (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) ("\n") ("\t\t\t\t\tcase ") (EscapedLiteralPart token: <Lit_EscapedChar "\\\\"> ) (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (LD_LIBRARY) (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ("{v}_PATH: in\n") ("\t\t\t\t\t") (EscapedLiteralPart token:<Lit_EscapedChar "\\\\">) (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ("d/lib:*)\n") ("\t\t\t\t\t\t;;\n") ("\t\t\t\t\t*)\tx=") (EscapedLiteralPart token: <Lit_EscapedChar "\\\\"> ) (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (LD_LIBRARY) (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ("{v}_PATH\n") ("\t\t\t\t\t\tcase ") (EscapedLiteralPart token:<Lit_EscapedChar "\\\\">) (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ("x in\n") ("\t\t\t\t\t\t''|:*)\t;;\n") ("\t\t\t\t\t\t*)\tx=:") (EscapedLiteralPart token: <Lit_EscapedChar "\\\\"> ) (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ("x ;;\n") ("\t\t\t\t\t\tesac\n") ("\t\t\t\t\t\tLD_LIBRARY") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ("{v}_PATH=") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (d/lib) (EscapedLiteralPart token:<Lit_EscapedChar "\\\\">) (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ("x\n") ("\t\t\t\t\t\texport LD_LIBRARY") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ("{v}_PATH\n") ("\t\t\t\t\t\tp=1\n") ("\t\t\t\t\t\t;;\n") ("\t\t\t\t\tesac\n") ("\t\t\t\t") (EscapedLiteralPart token: <Lit_EscapedChar "\\\""> ) ("\n") ("\t\t\tdone\n") ("\t\t") ) } ) (Case to_match: {($ VSub_Name "$LD_LIBRARY_PATH")} arms: [ (case_arm pat_list:[{(SQ )}] spids:[-11800118003-1]) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (ForEach iter_name: d iter_words: [{($ VSub_Name "$lib")}] do_arg_iter: False body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$HOSTTYPE")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (64)}] action: [ (If arms: [ (if_arm cond: [(C {(test)} {(-d)} {(${ VSub_Name d) (64)})] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:d) op: Equal rhs: {(${ VSub_Name d) (64)} spids: [18045] ) ] spids: [18045] ) ] spids: [-1 18043] ) ] spids: [-1 18052] ) ] spids: [18027 18029 18055 -1] ) ] spids: [18020 18024 18058] ) (Case to_match: {(Lit_Other ":") ($ VSub_Name "$LD_LIBRARY_PATH") (Lit_Other ":") } arms: [ (case_arm pat_list: [ {(Lit_Other "*") (Lit_Other ":") ($ VSub_Name "$d") (Lit_Other ":") (Lit_Other "*") } ] spids: [18070 18075 18077 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (If arms: [ (if_arm cond: [(C {(test)} {(-d)} {($ VSub_Name "$d")})] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:LD_LIBRARY_PATH) op: Equal rhs: {($ VSub_Name "$LD_LIBRARY_PATH") (Lit_Other ":") ($ VSub_Name "$d") } spids: [18094] ) ] spids: [18094] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:p) op: Equal rhs: {(1)} spids: [18100] ) ] spids: [18100] ) ] spids: [-1 18092] ) ] spids: [-1 18104] ) ] spids: [18080 18081 18107 -1] ) ] spids: [18061 18067 18110] ) ] spids: [18018 18113] ) spids: [18014 -1] ) ] spids: [18006 18007 18116 -1] ) ] spids: [17992 17996 18119] ) (Case to_match: {($ VSub_Name "$p")} arms: [ (case_arm pat_list: [{(1)}] action: [ (C {($ VSub_Name "$show")} {(Lit_VarLike "LD_LIBRARY_PATH=") ($ VSub_Name "$LD_LIBRARY_PATH")} ) (C {($ VSub_Name "$show")} {(export)} {(LD_LIBRARY_PATH)}) (C {(export)} {(LD_LIBRARY_PATH)}) ] spids: [18129 18130 18150 -1] ) ] spids: [18122 18126 18153] ) (Case to_match: {($ VSub_Name "$LIBPATH") (Lit_Other ":")} arms: [ (case_arm pat_list: [ {($ VSub_Name "$INSTALLROOT") (/bin) (Lit_Other ":") ($ VSub_Name "$INSTALLROOT") (/lib) (Lit_Other ":") (Lit_Other "*") } ] spids: [18164 18171 18174 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$LIBPATH")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:LIBPATH) op: Equal rhs: {(/usr/lib) (Lit_Other ":") (/lib)} spids: [18191] ) ] spids: [18191] ) ] spids: [-1 18189 18196 -1] ) ] spids: [18180 18184 18199] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:LIBPATH) op: Equal rhs: {($ VSub_Name "$INSTALLROOT") (/bin) (Lit_Other ":") ($ VSub_Name "$INSTALLROOT") (/lib) (Lit_Other ":") ($ VSub_Name "$LIBPATH") } spids: [18202] ) ] spids: [18202] ) (C {($ VSub_Name "$show")} {(Lit_VarLike "LIBPATH=") ($ VSub_Name "$LIBPATH")} ) (C {($ VSub_Name "$show")} {(export)} {(LIBPATH)}) (C {(export)} {(LIBPATH)}) ] spids: [18177 18178 18230 -1] ) ] spids: [18156 18161 18233] ) (Case to_match: {($ VSub_Name "$SHLIB_PATH") (Lit_Other ":")} arms: [ (case_arm pat_list: [ {($ VSub_Name "$INSTALLROOT") (/lib) (Lit_Other ":") (Lit_Other "*")} ] spids: [18244 18248 18251 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:SHLIB_PATH) op: Equal rhs: {($ VSub_Name "$INSTALLROOT") (/lib) (BracedVarSub token: <VSub_Name SHLIB_PATH> suffix_op: (StringUnary op_id: VTest_ColonPlus arg_word: {(":") ($ VSub_Name "$SHLIB_PATH")} ) spids: [18260 18265] ) } spids: [18257] ) ] spids: [18257] ) (C {($ VSub_Name "$show")} {(Lit_VarLike "SHLIB_PATH=") ($ VSub_Name "$SHLIB_PATH")} ) (C {($ VSub_Name "$show")} {(export)} {(SHLIB_PATH)}) (C {(export)} {(SHLIB_PATH)}) ] spids: [18254 18255 18286 -1] ) ] spids: [18236 18241 18289] ) (Case to_match: {($ VSub_Name "$DYLD_LIBRARY_PATH") (Lit_Other ":")} arms: [ (case_arm pat_list: [ {($ VSub_Name "$INSTALLROOT") (/lib) (Lit_Other ":") (Lit_Other "*")} ] spids: [18300 18304 18307 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:DYLD_LIBRARY_PATH) op: Equal rhs: {($ VSub_Name "$INSTALLROOT") (/lib) (BracedVarSub token: <VSub_Name DYLD_LIBRARY_PATH> suffix_op: (StringUnary op_id: VTest_ColonPlus arg_word: {(":") ($ VSub_Name "$DYLD_LIBRARY_PATH")} ) spids: [18316 18321] ) } spids: [18313] ) ] spids: [18313] ) (C {($ VSub_Name "$show")} {(Lit_VarLike "DYLD_LIBRARY_PATH=") ($ VSub_Name "$DYLD_LIBRARY_PATH")} ) (C {($ VSub_Name "$show")} {(export)} {(DYLD_LIBRARY_PATH)}) (C {(export)} {(DYLD_LIBRARY_PATH)}) ] spids: [18310 18311 18342 -1] ) ] spids: [18292 18297 18345] ) (Case to_match: {($ VSub_Name "$_RLD_ROOT")} arms: [ (case_arm pat_list: [{($ VSub_Name "$INSTALLROOT") (/arch) (Lit_Other "*")}] spids: [18355 18358 18360 -1] ) (case_arm pat_list: [{(SQ <":">)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_RLD_ROOT) op: Equal rhs: {($ VSub_Name "$INSTALLROOT") (/arch) (Lit_Other ":") (/)} spids: [18368] ) ] spids: [18368] ) ] spids: [18364 18366 18374 -1] ) (case_arm pat_list: [{(/)} {(Lit_Other "*") (Lit_Other ":") (/)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_RLD_ROOT) op: Equal rhs: {($ VSub_Name "$INSTALLROOT") (/arch) (Lit_Other ":") ($ VSub_Name "$_RLD_ROOT") } spids: [18384] ) ] spids: [18384] ) ] spids: [18377 18382 18390 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_RLD_ROOT) op: Equal rhs: {($ VSub_Name "$INSTALLROOT") (/arch) (Lit_Other ":") ($ VSub_Name "$_RLD_ROOT") (Lit_Other ":") (/) } spids: [18396] ) ] spids: [18396] ) ] spids: [18393 18394 18404 -1] ) ] spids: [18348 18352 18407] ) (C {($ VSub_Name "$show")} {(Lit_VarLike "_RLD_ROOT=") ($ VSub_Name "$_RLD_ROOT")}) (C {($ VSub_Name "$show")} {(export)} {(_RLD_ROOT)}) (C {(export)} {(_RLD_ROOT)}) (Case to_match: {($ VSub_Name "$PATH") (Lit_Other ":")} arms: [ (case_arm pat_list: [ {($ VSub_Name "$PACKAGEROOT") (/bin) (Lit_Other ":") (Lit_Other "*")} ] spids: [18450 18454 18457 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:PATH) op: Equal rhs: {($ VSub_Name "$PACKAGEROOT") (/bin) (Lit_Other ":") ($ VSub_Name "$PATH") } spids: [18463] ) ] spids: [18463] ) ] spids: [18460 18461 18470 -1] ) ] spids: [18442 18447 18473] ) (Case to_match: {($ VSub_Name "$PATH") (Lit_Other ":")} arms: [ (case_arm pat_list: [ {($ VSub_Name "$INSTALLROOT") (/bin) (Lit_Other ":") (Lit_Other "*")} ] spids: [18484 18488 18491 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:PATH) op: Equal rhs: {($ VSub_Name "$INSTALLROOT") (/bin) (Lit_Other ":") ($ VSub_Name "$PATH") } spids: [18497] ) ] spids: [18497] ) ] spids: [18494 18495 18504 -1] ) ] spids: [18476 18481 18507] ) (C {($ VSub_Name "$show")} {(Lit_VarLike "PATH=") ($ VSub_Name "$PATH")}) (C {($ VSub_Name "$show")} {(export)} {(PATH)}) (C {(export)} {(PATH)}) ] spids: [17568 17569 18528 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (ForEach iter_name: i iter_words: [{(package)} {(proto)} {(nmake)}] do_arg_iter: False body: (DoGroup children: [ (If arms: [ (if_arm cond: [(C {(onpath)} {($ VSub_Name "$i")})] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:EXECROOT) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Name "$_onpath_")}) (C {(sed)} {(-e)} {(SQ <"s,//*[^/]*//*[^/]*$,,">)} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [18559 18573] ) } spids: [18558] ) ] spids: [18558] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:EXECTYPE) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Name "$EXECROOT")}) (C {(sed)} {(-e)} {(SQ <"s,.*/,,">)}) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [18577 18591] ) } spids: [18576] ) ] spids: [18576] ) (ControlFlow token: <ControlFlow_Break break> ) ] spids: [-1 18556] ) ] spids: [-1 18597] ) ] spids: [18547 18600] ) spids: [18539 -1] ) (Case to_match: {($ VSub_Name "$HOSTTYPE")} arms: [ (case_arm pat_list: [{($ VSub_Name "$EXECTYPE")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:OCC) op: Equal rhs: {($ VSub_Name "$CC")} spids: [18614] ) ] spids: [18614] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:CC) op: Equal rhs: {(cc)} spids: [18618] ) ] spids: [18618] ) (C {(hostinfo)} {(type)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:EXECTYPE) op: Equal rhs: {($ VSub_Name "$_hostinfo_")} spids: [18627] ) ] spids: [18627] ) (Case to_match: {($ VSub_Name "$HOSTTYPE")} arms: [ (case_arm pat_list: [{($ VSub_Name "$EXECTYPE")}] action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$CC") (": seems to be a cross-compiler") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [18651] ) ] ) (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": set HOSTTYPE to something other than the native ") ($ VSub_Name "$EXECTYPE") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [18663] ) ] ) (C {(exit)} {(1)}) ] spids: [18638 18639 18672 -1] ) ] spids: [18631 18635 18675] ) ] spids: [18610 18611 18678 -1] ) ] spids: [18603 18607 18681] ) (C {($ VSub_Name "$show")} {(Lit_VarLike "EXECTYPE=") ($ VSub_Name "$EXECTYPE")}) (C {($ VSub_Name "$show")} {(export)} {(EXECTYPE)}) (C {(export)} {(EXECTYPE)}) ] spids: [18531 18532 18702 -1] ) ] spids: [17561 17565 18705] ) (C {($ VSub_Name "$show")} {(Lit_VarLike "EXECROOT=") ($ VSub_Name "$EXECROOT")}) (C {($ VSub_Name "$show")} {(export)} {(EXECROOT)}) (C {(export)} {(EXECROOT)}) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:OK) op:Equal rhs:{(ok)} spids:[18732])] spids: [18732] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:KSH) op: Equal rhs: {($ VSub_Name "$EXECROOT") (/bin/ksh)} spids: [18736] ) ] spids: [18736] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:MAKE) op:Equal rhs:{(nmake)} spids:[18741])] spids: [18741] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:NMAKE) op: Equal rhs: {($ VSub_Name "$EXECROOT") (/bin/) ($ VSub_Name "$MAKE")} spids: [18745] ) ] spids: [18745] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:SUM) op: Equal rhs: {($ VSub_Name "$EXECROOT") (/bin/sum)} spids: [18751] ) ] spids: [18751] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:TEE) op: Equal rhs: {($ VSub_Name "$EXECROOT") (/bin/tee)} spids: [18756] ) ] spids: [18756] ) (Case to_match: {($ VSub_Name "$KEEP_SHELL")} arms: [ (case_arm pat_list: [{(0)}] action: [ (AndOr children: [ (C {(executable)} {(DQ ($ VSub_Name "$SHELL"))}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:SHELL) op: Equal rhs: {(SQ )} spids: [18785] ) ] spids: [18785] ) ] op_id: Op_DPipe ) (Case to_match: {($ VSub_Name "$SHELL")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (AndOr children: [ (C {(checksh)} {($ VSub_Name "$SHELL")}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:SHELL) op: Equal rhs: {(SQ )} spids: [18805] ) ] spids: [18805] ) ] op_id: Op_DPipe ) ] spids: [18795 18797 18807 -1] ) ] spids: [18788 18792 18810] ) (Case to_match: {($ VSub_Name "$SHELL")} arms: [ (case_arm pat_list: [{(SQ )} {(/bin/) (Lit_Other "*")} {(/usr/bin/) (Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$SHELL")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:SHELL) op: Equal rhs: {(/bin/sh)} spids: [18842] ) ] spids: [18842] ) ] spids: [-1 18840 18845 -1] ) ] spids: [18831 18835 18848] ) (ForEach iter_name: i iter_words: [{(ksh)} {(sh)} {(bash)}] do_arg_iter: False body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (AndOr children: [ (C {(onpath)} {($ VSub_Name "$i")}) (C {(checksh)} {($ VSub_Name "$_onpath_")}) ] op_id: Op_DAmp ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:SHELL) op: Equal rhs: {($ VSub_Name "$_onpath_")} spids: [18881] ) ] spids: [18881] ) (ControlFlow token: <ControlFlow_Break break> ) ] spids: [-1 18879] ) ] spids: [-1 18888] ) ] spids: [18864 18891] ) spids: [18856 -1] ) ] spids: [-1 18828 18894 -1] ) (case_arm pat_list: [{(Lit_Other "*") (/) (Lit_Other "*") (ksh)}] action: [ (If arms: [ (if_arm cond: [(C {(executable)} {($ VSub_Name "$KSH")})] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:SHELL) op: Equal rhs: {($ VSub_Name "$KSH")} spids: [18912] ) ] spids: [18912] ) ] spids: [-1 18910] ) ] spids: [-1 18916] ) ] spids: [18897 18901 18919 -1] ) ] spids: [18813 18817 18922] ) ] spids: [18774 18775 18925 -1] ) ] spids: [18767 18771 18928] ) (Case to_match: {($ VSub_Name "$SHELL")} arms: [ (case_arm pat_list:[{(/bin/sh)}] spids:[189441894518946-1]) (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:SHELL) op: Equal rhs: {(/bin/sh)} spids: [18953] ) ] spids: [18953] ) ] spids: [-1 18951 18957 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (SimpleCommand words: [{($ VSub_Name "$SHELL")} {(-c)} {(SQ <"trap \"exit 0\" 0; exit 1">)}] redirects: [(Redir op_id:Redir_Great fd:2 arg_word:{(/dev/null)} spids:[18971])] ) (Case to_match: {($ VSub_QMark "$?")} arms: [ (case_arm pat_list: [{(1)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:SHELL) op: Equal rhs: {(/bin/sh)} spids: [18985] ) ] spids: [18985] ) ] spids: [18982 18983 18989 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (C {($ VSub_Name "$SHELL")} {(-c)} {(DQ ("date | ") ($ VSub_Name "$SHELL") (" -c 'read x'"))} ) (Case to_match: {($ VSub_QMark "$?")} arms: [ (case_arm pat_list: [{(0)}] spids: [19017 19018 19020 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:SHELL) op: Equal rhs: {(/bin/sh)} spids: [19026] ) ] spids: [19026] ) ] spids: [19023 19024 19029 -1] ) ] spids: [19010 19014 19032] ) ] spids: [18992 18993 19035 -1] ) ] spids: [18975 18979 19038] ) ] spids: [18960 18961 19041 -1] ) ] spids: [18937 18941 19044] ) (C {(export)} {(SHELL)}) (C {($ VSub_Name "$show")} {(Lit_VarLike "SHELL=") ($ VSub_Name "$SHELL")}) (C {($ VSub_Name "$show")} {(export)} {(SHELL)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:COSHELL) op: Equal rhs: {($ VSub_Name "$SHELL")} spids: [19065] ) ] spids: [19065] ) (C {(export)} {(COSHELL)}) (C {($ VSub_Name "$show")} {(Lit_VarLike "COSHELL=") ($ VSub_Name "$COSHELL")}) (C {($ VSub_Name "$show")} {(export)} {(COSHELL)}) (Case to_match: {($ VSub_Name "$action")} arms: [ (case_arm pat_list:[{(use)}] spids:[191001910119103-1]) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:ENV) op:Equal rhs:{(SQ )} spids:[19109])] spids: [19109] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:ERROR_OPTIONS) op: Equal rhs: {(SQ )} spids: [19112] ) ] spids: [19112] ) (C {(export)} {(ENV)} {(ERROR_OPTIONS)}) ] spids: [19106 19107 19122 -1] ) ] spids: [19093 19097 19125] ) (Case to_match: {($ VSub_Name "$USER_VPATH")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Case to_match: {($ VSub_Name "$VPATH")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:IFS) op: Equal rhs: {(SQ <":">)} spids: [19156] ) ] spids: [19156] ) (C {(set)} {(SQ )} {($ VSub_Name "$VPATH")}) (C {(shift)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:IFS) op: Equal rhs: {($ VSub_Name "$ifs")} spids: [19173] ) ] spids: [19173] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:USER_VPATH) op: Equal rhs: {(SQ )} spids: [19177] ) ] spids: [19177] ) (ForEach iter_name: i do_arg_iter: True body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$i")} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (/arch/) ($ VSub_Name "$HOSTTYPE")} ] spids: [19194 19197 19199 -1] ) (case_arm pat_list: [ {(Lit_Other "*") (/arch/) (Lit_Other "*") (/) (Lit_Other "*") } ] spids: [19202 19207 19209 -1] ) (case_arm pat_list: [{(Lit_Other "*") (/arch/) (Lit_Other "*")}] action: [(ControlFlow token:<ControlFlow_Continue continue>)] spids: [19212 19215 19219 -1] ) ] spids: [19187 19191 19222] ) (If arms: [ (if_arm cond: [(C {(packageroot)} {($ VSub_Name "$i")})] action: [ (Case to_match: {($ VSub_Name "$USER_VPATH")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:USER_VPATH) op: Equal rhs: {($ VSub_Name "$i")} spids: [19245] ) ] spids: [19245] ) ] spids: [-1 19243 19248 -1] ) (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:USER_VPATH) op: Equal rhs: {($ VSub_Name "$USER_VPATH") (Lit_Other ":") ($ VSub_Name "$i") } spids: [19255] ) ] spids: [19255] ) ] spids: [19251 19253 19260 -1] ) ] spids: [19234 19238 19263] ) ] spids: [-1 19232] ) ] spids: [-1 19266] ) ] spids: [19185 19269] ) spids: [-1 -1] ) ] spids: [19152 19154 -1 19272] ) ] spids: [19145 19149 19272] ) ] spids: [-1 19143 19275 -1] ) ] spids: [19134 19138 19278] ) (Case to_match: {($ VSub_Name "$USER_VPATH")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:IFS) op: Equal rhs: {(SQ <":">)} spids: [19292] ) ] spids: [19292] ) (C {(set)} {(SQ )} {($ VSub_Name "$USER_VPATH")}) (C {(shift)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:IFS) op: Equal rhs: {($ VSub_Name "$ifs")} spids: [19309] ) ] spids: [19309] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:USER_VPATH) op: Equal rhs: {(SQ )} spids: [19313] ) ] spids: [19313] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:USER_VPATH_CHAIN) op: Equal rhs: {(SQ )} spids: [19316] ) ] spids: [19316] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:p) op: Equal rhs: {($ VSub_Name "$PACKAGEROOT")} spids: [19319] ) ] spids: [19319] ) (ForEach iter_name: i do_arg_iter: True body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$i")} arms: [ (case_arm pat_list: [ {(SQ )} {($ VSub_Name "$PACKAGEROOT")} {($ VSub_Name "$INSTALLROOT")} ] spids: [-1 19343 19346 -1] ) (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:USER_VPATH) op: Equal rhs: {($ VSub_Name "$USER_VPATH") (Lit_Other ":") ($ VSub_Name "$i") } spids: [19353] ) ] spids: [19353] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:USER_VPATH_CHAIN) op: Equal rhs: { (DQ ($ VSub_Name "$USER_VPATH_CHAIN") (" ") ($ VSub_Name "$p") (" ") ($ VSub_Name "$i") ) } spids: [19359] ) ] spids: [19359] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:p) op: Equal rhs: {($ VSub_Name "$i")} spids: [19369] ) ] spids: [19369] ) (Case to_match: {($ VSub_Name "$PROTOROOT")} arms: [ (case_arm pat_list: [{(-)}] action: [ (AndOr children: [ (C {(executable)} {($ VSub_Name "$i") (/bin/mamake)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:PROTOROOT) op: Equal rhs: {(SQ )} spids: [19390] ) ] spids: [19390] ) ] op_id: Op_DAmp ) ] spids: [19380 19381 19392 -1] ) ] spids: [19373 19377 19395] ) ] spids: [19349 19351 19398 -1] ) ] spids: [19330 19334 19401] ) ] spids: [19328 19404] ) spids: [-1 -1] ) ] spids: [19288 19290 19407 -1] ) ] spids: [19281 19285 19410] ) ] spids: [16093 16094 19413 -1] ) ] spids: [16029 16033 19415] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:PACKAGESRC) op: Equal rhs: {($ VSub_Name "$PACKAGEROOT") (/lib/package)} spids: [19418] ) ] spids: [19418] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:PACKAGEBIN) op: Equal rhs: {($ VSub_Name "$INSTALLROOT") (/lib/package)} spids: [19422] ) ] spids: [19422] ) (Case to_match: {($ VSub_Name "$action") (Lit_Other ":") ($ VSub_Name "$run")} arms: [ (case_arm pat_list: [{(use) (Lit_Other ":") (-)}] action: [ (C {(set)} {(SQ )} {($ VSub_Name "$args")}) (C {(shift)}) (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list:[{(0)}] spids:[194571945819460-1]) (case_arm pat_list: [{(Lit_Other "*")}] action: [(C {(shift)})] spids: [19463 19464 19468 -1] ) ] spids: [19450 19454 19471] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:run) op: Equal rhs: {(DQ ($ VSub_At "$@"))} spids: [19474] ) ] spids: [19474] ) ] spids: [19434 19437 19480 -1] ) ] spids: [19426 19432 19482] ) (If arms: [ (if_arm cond: [(C {(test)} {(-r)} {($ VSub_Name "$INSTALLROOT") (/lib/package/profile)})] action: [(C {(.)} {($ VSub_Name "$INSTALLROOT") (/lib/package/profile)})] spids: [-1 19498] ) ] spids: [-1 19505] ) (Case to_match: {($ VSub_Name "$HOSTTYPE")} arms: [ (case_arm pat_list: [{(cygwin.) (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:lose) op:Equal rhs:{(SQ )} spids:[19523])] spids: [19523] ) (Case to_match: {($ VSub_Name "$CYGWIN")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (nontsec) (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:lose) op: Equal rhs: {(ntsec)} spids: [19539] ) ] spids: [19539] ) ] spids: [19533 19536 19543 -1] ) (case_arm pat_list: [{(Lit_Other "*") (ntsec) (Lit_Other "*")}] spids: [19546 19549 19550 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:exe) op: Equal rhs: {(/tmp/pkg) ($ VSub_Dollar "$$") (.exe)} spids: [19556] ) ] spids: [19556] ) (C {(rm)} {(-f)} {($ VSub_Name "$exe")}) (SimpleCommand words: [{(Lit_Other ":")}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {($ VSub_Name "$exe")} spids: [19571] ) ] ) (If arms: [ (if_arm cond: [(C {(test)} {(-x)} {($ VSub_Name "$exe")})] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:lose) op: Equal rhs: {(ntsec)} spids: [19587] ) ] spids: [19587] ) ] spids: [-1 19585] ) ] spids: [-1 19591] ) ] spids: [19553 19554 19594 -1] ) ] spids: [19526 19530 19597] ) (Case to_match: {($ VSub_Name "$CYGWIN")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (nobinmode) (Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$lose")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:lose) op: Equal rhs: {(binmode)} spids: [19624] ) ] spids: [19624] ) ] spids: [-1 19622 19627 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:lose) op: Equal rhs: {(DQ ($ VSub_Name "$lose") (" binmode"))} spids: [19633] ) ] spids: [19633] ) ] spids: [19630 19631 19639 -1] ) ] spids: [19613 19617 19642] ) ] spids: [19607 19610 19645 -1] ) ] spids: [19600 19604 19648] ) (Case to_match: {($ VSub_Name "$lose")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$HOSTTYPE") (": export '") ($ VSub_Name "$lose") ("' in CYGWIN or languish in windows") ) } ] redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[19673])] ) (C {(exit)} {(1)}) ] spids: [19658 19660 19682 -1] ) ] spids: [19651 19655 19685] ) ] spids: [19518 19520 19688 -1] ) ] spids: [19512 19516 19690] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:VIEW_bin) op: Equal rhs: {($ VSub_Name "$INSTALLROOT")} spids: [19697] ) (assign_pair lhs: (LhsName name:VIEW_src) op: Equal rhs: {($ VSub_Name "$PACKAGEROOT")} spids: [19700] ) (assign_pair lhs: (LhsName name:VIEW_all) op: Equal rhs: {(DQ ($ VSub_Name "$INSTALLROOT") (" ") ($ VSub_Name "$PACKAGEROOT"))} spids: [19703] ) ] spids: [19697] ) (If arms: [ (if_arm cond: [ (AndOr children: [ (Subshell child: (C {(vpath)} {($ VSub_Name "$INSTALLROOT")} {($ VSub_Name "$PACKAGEROOT")} {($ VSub_Name "$USER_VPATH_CHAIN")} ) redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(/dev/null)} spids: [19722] ) (Redir op_id: Redir_GreatAnd fd: 2 arg_word: {(1)} spids: [19725] ) ] spids: [19712 19720] ) (C {(vpath)} {($ VSub_Name "$INSTALLROOT")} {($ VSub_Name "$PACKAGEROOT")} {($ VSub_Name "$USER_VPATH_CHAIN")} ) ] op_id: Op_DAmp ) ] action: [ (C {($ VSub_Name "$show")} {(vpath)} {($ VSub_Name "$INSTALLROOT")} {($ VSub_Name "$PACKAGEROOT")} {($ VSub_Name "$USER_VPATH_CHAIN")} ) ] spids: [-1 19739] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:VPATH) op: Equal rhs: {($ VSub_Name "$INSTALLROOT") (Lit_Other ":") ($ VSub_Name "$PACKAGEROOT") ($ VSub_Name "$USER_VPATH") } spids: [19753] ) ] spids: [19753] ) (C {($ VSub_Name "$show")} {(Lit_VarLike "VPATH=") ($ VSub_Name "$VPATH")}) (C {($ VSub_Name "$show")} {(export)} {(VPATH)}) (C {(export)} {(VPATH)}) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:IFS) op:Equal rhs:{(SQ <":">)} spids:[19778])] spids: [19778] ) (C {(set)} {(SQ )} {($ VSub_Name "$VPATH")}) (C {(shift)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:IFS) op: Equal rhs: {($ VSub_Name "$ifs")} spids: [19795] ) ] spids: [19795] ) (ForEach iter_name: i do_arg_iter: True body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$i")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (/arch/) (Lit_Other "*") (/) (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:VIEW_src) op: Equal rhs: {(DQ ($ VSub_Name "$VIEW_src") (" ") ($ VSub_Name "$i"))} spids: [19821] ) ] spids: [19821] ) ] spids: [19813 19818 19829 -1] ) (case_arm pat_list: [{(Lit_Other "*") (/arch/) (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:VIEW_bin) op: Equal rhs: {(DQ ($ VSub_Name "$VIEW_bin") (" ") ($ VSub_Name "$i"))} spids: [19838] ) ] spids: [19838] ) ] spids: [19832 19835 19846 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:VIEW_src) op: Equal rhs: {(DQ ($ VSub_Name "$VIEW_src") (" ") ($ VSub_Name "$i"))} spids: [19853] ) ] spids: [19853] ) ] spids: [19849 19850 19861 -1] ) ] spids: [19806 19810 19864] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:VIEW_all) op: Equal rhs: {(DQ ($ VSub_Name "$VIEW_all") (" ") ($ VSub_Name "$i"))} spids: [19867] ) ] spids: [19867] ) ] spids: [19804 19875] ) spids: [-1 -1] ) ] spids: [19751 19877] ) (FuncDef name: view body: (BraceGroup children: [ (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [{(-) (Lit_Other "[") (dfsx) (Lit_Other "]")}] action: [ (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_view_T_) op: Equal rhs: {($ VSub_Number "$1")} spids: [19906] ) ] spids: [19906] ) terminator: <Op_Semi ";"> ) (C {(shift)}) ] spids: [19901 19905 19912 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_view_T_) op: Equal rhs: {(-f)} spids: [19918] ) ] spids: [19918] ) ] spids: [19915 19916 19921 -1] ) ] spids: [19894 19898 19924] ) (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [{(-)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_view_t_) op: Equal rhs: {(SQ )} spids: [19937] ) ] spids: [19937] ) ] spids: [19934 19935 19939 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_view_t_) op: Equal rhs: {($ VSub_Number "$1")} spids: [19945] ) ] spids: [19945] ) ] spids: [19942 19943 19948 -1] ) ] spids: [19927 19931 19951] ) (C {(shift)}) (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [{(all)}] action: [ (Sentence child:(C {(shift)}) terminator:<Op_Semi ";">) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_view_v_) op: Equal rhs: {($ VSub_Name "$VIEW_all")} spids: [19970] ) ] spids: [19970] ) ] spids: [19964 19965 19973 -1] ) (case_arm pat_list: [{(bin)}] action: [ (Sentence child:(C {(shift)}) terminator:<Op_Semi ";">) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_view_v_) op: Equal rhs: {($ VSub_Name "$VIEW_bin")} spids: [19982] ) ] spids: [19982] ) ] spids: [19976 19977 19985 -1] ) (case_arm pat_list: [{(src)}] action: [ (Sentence child:(C {(shift)}) terminator:<Op_Semi ";">) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_view_v_) op: Equal rhs: {($ VSub_Name "$VIEW_src")} spids: [19994] ) ] spids: [19994] ) ] spids: [19988 19989 19997 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_view_v_) op: Equal rhs: {($ VSub_Name "$VIEW_all")} spids: [20003] ) ] spids: [20003] ) ] spids: [20000 20001 20006 -1] ) ] spids: [19957 19961 20009] ) (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [{(/) (Lit_Other "*")}] action: [ (If arms: [ (if_arm cond: [(C {(test)} {($ VSub_Name "$_view_T_")} {($ VSub_Number "$1")})] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_view_) op: Equal rhs: {($ VSub_Number "$1")} spids: [20034] ) ] spids: [20034] ) (ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [-1 20032] ) ] spids: [-1 20043] ) ] spids: [20019 20021 20046 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (ForEach iter_name: _view_d_ iter_words: [{($ VSub_Name "$_view_v_")}] do_arg_iter: False body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (C {(test)} {($ VSub_Name "$_view_T_")} {($ VSub_Name "$_view_d_") (/) ($ VSub_Number "$1")} ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_view_) op: Equal rhs: {($ VSub_Name "$_view_d_") (/) ($ VSub_Number "$1")} spids: [20076] ) ] spids: [20076] ) (ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [-1 20074] ) ] spids: [-1 20087] ) ] spids: [20061 20090] ) spids: [20057 -1] ) ] spids: [20049 20050 20093 -1] ) ] spids: [20012 20016 20096] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:_view_) op:Equal rhs:{(SQ )} spids:[20099])] spids: [20099] ) (Case to_match: {($ VSub_Name "$_view_t_")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (SimpleCommand words: [ {(echo)} {($ VSub_Name "$command") (Lit_Other ":")} {($ VSub_Number "$1") (Lit_Other ":")} {($ VSub_Name "$_view_t_")} {(not)} {(found)} ] redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[20127])] ) ] spids: [20109 20111 20130 -1] ) ] spids: [20102 20106 20133] ) (ControlFlow token:<ControlFlow_Return return> arg_word:{(1)}) ] spids: [19891] ) spids: [19884 19887] ) (Case to_match: {($ VSub_Name "$action")} arms: [ (case_arm pat_list: [{(admin)}] action: [ (Case to_match: {($ VSub_Name "$admin_action")} arms: [ (case_arm pat_list: [{(results)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:action) op: Equal rhs: {($ VSub_Name "$admin_action")} spids: [20165] ) ] spids: [20165] ) (C {(set)} {(SQ )} {($ VSub_Name "$admin_args")}) (Sentence child:(C {(shift)}) terminator:<Op_Semi ";">) (C {(shift)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:admin_args) op: Equal rhs: {(DQ ("admin ") ($ VSub_Star "$*"))} spids: [20182] ) ] spids: [20182] ) (Case to_match: {($ VSub_Name "$admin_on")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:target) op: Equal rhs: {($ VSub_Name "$admin_args")} spids: [20200] ) ] spids: [20200] ) ] spids: [-1 20198 20203 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:target) op: Equal rhs: { (DQ ("on ") ($ VSub_Name "$admin_on") (" ") ($ VSub_Name "$admin_args") ) } spids: [20209] ) ] spids: [20209] ) ] spids: [20206 20207 20217 -1] ) ] spids: [20189 20193 20220] ) ] spids: [20163 20164 20223 -1] ) ] spids: [20156 20160 20226] ) ] spids: [20153 20154 20229 -1] ) (case_arm pat_list: [{(release)}] action: [ (C {(set)} {(SQ )} {($ VSub_Name "$args")}) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:target) op:Equal rhs:{(SQ )} spids:[20241])] spids: [20241] ) (While cond: [(C {(Lit_Other ":")})] body: (DoGroup children: [ (C {(shift)}) (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [ {(-)} {(Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (-) (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (-) (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") } {(Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (-) (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (-) (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:target) op: Equal rhs: {(DQ ($ VSub_Name "$target") (" ") ($ VSub_Number "$1"))} spids: [20313] ) ] spids: [20313] ) ] spids: [20261 20310 20321 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [(ControlFlow token:<ControlFlow_Break break>)] spids: [20324 20325 20330 -1] ) ] spids: [20254 20258 20333] ) ] spids: [20249 20336] ) ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:package) op: Equal rhs: {($ VSub_Star "$*")} spids: [20339] ) ] spids: [20339] ) ] spids: [20231 20232 20343 -1] ) (case_arm pat_list: [{(setup)}] action: [ (C {(set)} {(SQ )} {($ VSub_Name "$args")}) (C {(shift)}) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:types) op:Equal rhs:{(SQ )} spids:[20377])] spids: [20377] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:url) op:Equal rhs:{(SQ )} spids:[20380])] spids: [20380] ) (While cond: [(C {(Lit_Other ":")})] body: (DoGroup children: [ (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(0)}] action: [(ControlFlow token:<ControlFlow_Break break>)] spids: [20397 20398 20402 -1] ) ] spids: [20390 20394 20405] ) (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [{(--)}] action: [(C {(shift)}) (ControlFlow token:<ControlFlow_Break break>)] spids: [20415 20416 20424 -1] ) (case_arm pat_list: [{(flat)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:flat) op: Equal rhs: {(1)} spids: [20430] ) ] spids: [20430] ) ] spids: [20427 20428 20437 -1] ) (case_arm pat_list: [ {(Lit_Other "*") (Lit_Other ":") (//) (Lit_Other "*")} {(Lit_Other "*") (.url)} ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:url) op: Equal rhs: {($ VSub_Number "$1")} spids: [20450] ) ] spids: [20450] ) (C {(shift)}) (ControlFlow token:<ControlFlow_Break break>) ] spids: [20440 20447 20460 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:types) op: Equal rhs: {(DQ ($ VSub_Name "$types") (" ") ($ VSub_Number "$1"))} spids: [20466] ) ] spids: [20466] ) ] spids: [20463 20464 20474 -1] ) ] spids: [20408 20412 20477] ) (C {(shift)}) ] spids: [20388 20483] ) ) (If arms: [ (if_arm cond: [ (C {(test)} {(KW_Bang "!")} {(-d)} {($ VSub_Name "$PACKAGEROOT") (/lib/package/tgz)}) ] action: [ (AndOr children: [ (C {($ VSub_Name "$exec")} {(mkdir)} {(-p)} {($ VSub_Name "$PACKAGEROOT") (/lib/package/tgz)} ) (C {(exit)}) ] op_id: Op_DPipe ) ] spids: [-1 20498] ) ] spids: [-1 20514] ) (Case to_match: {(DQ (" ") ($ VSub_Name "$types") (" "))} arms: [ (case_arm pat_list: [{(Lit_Other "*") (DQ (" source ")) (Lit_Other "*")}] action: [ (Case to_match: {(DQ (" ") ($ VSub_Star "$*") (" "))} arms: [ (case_arm pat_list: [{(SQ <" ">)}] spids: [20548 20550 20552 -1] ) (case_arm pat_list: [{(Lit_Other "*") (DQ (" INIT ")) (Lit_Other "*")}] spids: [20555 20560 20563 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (AndOr children: [ (C {(view)} {(-)} {(all)} {(src/cmd/INIT)}) (C {(set)} {(INIT)} {(DQ ($ VSub_At "$@"))}) ] op_id: Op_DPipe ) ] spids: [20566 20567 20589 -1] ) ] spids: [20536 20544 20592] ) ] spids: [20528 20533 20595 -1] ) ] spids: [20517 20525 20598] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:packages) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (C {($ VSub_Number "$0")} {($ VSub_Name "$global")} {(authorize)} {(DQ ($ VSub_Name "$authorize"))} {(password)} {(DQ ($ VSub_Name "$password"))} {(update)} {(setup)} {($ VSub_Name "$types")} {($ VSub_Name "$url")} {(DQ ($ VSub_At "$@"))} {(Lit_VarLike "PACKAGEROOT=") ($ VSub_Name "$PACKAGEROOT")} ) ] ) left_token: <Left_Backtick "`"> spids: [20602 20633] ) } spids: [20601] ) ] spids: [20601] ) (Case to_match: {($ VSub_Name "$packages")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (C {($ VSub_Number "$0")} {($ VSub_Name "$global")} {(read)} {($ VSub_Name "$packages")} {(Lit_VarLike "PACKAGEROOT=") ($ VSub_Name "$PACKAGEROOT")} ) ] spids: [20643 20645 -1 20659] ) ] spids: [20636 20640 20659] ) (C {(exit)}) ] spids: [20345 20346 20665 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:package) op:Equal rhs:{(SQ )} spids:[20670])] spids: [20670] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:target) op:Equal rhs:{(SQ )} spids:[20673])] spids: [20673] ) (C {(set)} {(SQ )} {($ VSub_Name "$args")}) (While cond: [(C {(Lit_Other ":")})] body: (DoGroup children: [ (C {(shift)}) (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(0)}] action: [(ControlFlow token:<ControlFlow_Break break>)] spids: [20701 20702 20706 -1] ) ] spids: [20694 20698 20709] ) (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [{(SQ )} {(-)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:target) op: Equal rhs: {(DQ ($ VSub_Name "$target") (" ") ($ VSub_Name "$package"))} spids: [20725] ) ] spids: [20725] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:package) op: Equal rhs: {(SQ )} spids: [20733] ) ] spids: [20733] ) ] spids: [-1 20723 20736 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (If arms: [ (if_arm cond: [ (C {(view)} {(-)} {(src)} {(DQ (lib/package/) ($ VSub_Number "$1") (.pkg))} ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:package) op: Equal rhs: { (DQ ($ VSub_Name "$package") (" ") ($ VSub_Number "$1")) } spids: [20759] ) ] spids: [20759] ) ] spids: [-1 20757] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:target) op: Equal rhs: { (DQ ($ VSub_Name "$target") (" ") ($ VSub_Name "$package") (" ") ($ VSub_Number "$1") ) } spids: [20769] ) ] spids: [20769] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:package) op: Equal rhs: {(SQ )} spids: [20779] ) ] spids: [20779] ) ] spids: [20767 20782] ) ] spids: [20739 20740 20785 -1] ) ] spids: [20712 20716 20788] ) ] spids: [20689 20791] ) ) ] spids: [20667 20668 20794 -1] ) ] spids: [20147 20151 20796] ) (Case to_match: {($ VSub_Name "$flat")} arms: [ (case_arm pat_list: [{(1)}] action: [ (Case to_match: {($ VSub_Name "$action")} arms: [ (case_arm pat_list: [{(make)} {(read)} {(setup)} {(update)} {(use)} {(view)}] action: [ (If arms: [ (if_arm cond: [(C {(test)} {(KW_Bang "!")} {(-d)} {($ VSub_Name "$INSTALLROOT")})] action: [ (AndOr children: [ (C {($ VSub_Name "$exec")} {(mkdir)} {(-p)} {($ VSub_Name "$INSTALLROOT")} ) (C {(exit)}) ] op_id: Op_DPipe ) ] spids: [-1 20844] ) ] spids: [-1 20859] ) (ForEach iter_name: i iter_words: [{(bin)} {(include)} {(lib)} {(fun)} {(man)} {(share)}] do_arg_iter: False body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (C {(test)} {(KW_Bang "!")} {(-d)} {($ VSub_Name "$INSTALLROOT") (/../../) ($ VSub_Name "$i")} ) ] action: [ (C {($ VSub_Name "$exec")} {(mkdir)} {($ VSub_Name "$INSTALLROOT") (/../../) ($ VSub_Name "$i")} ) ] spids: [-1 20896] ) ] spids: [-1 20907] ) (If arms: [ (if_arm cond: [ (C {(test)} {(KW_Bang "!")} {(-d)} {($ VSub_Name "$INSTALLROOT") (/) ($ VSub_Name "$i")} ) ] action: [ (If arms: [ (if_arm cond: [ (C {(test)} {(KW_Bang "!")} {(-h)} {($ VSub_Name "$INSTALLROOT") (/) ($ VSub_Name "$i")} ) ] action: [ (C {($ VSub_Name "$exec")} {(ln)} {(-s)} {(../../) ($ VSub_Name "$i")} {($ VSub_Name "$INSTALLROOT") (/) ($ VSub_Name "$i")} ) ] spids: [-1 20938] ) ] spids: [-1 20954] ) ] spids: [-1 20923] ) (if_arm cond: [ (C {(test)} {(KW_Bang "!")} {(-h)} {($ VSub_Name "$INSTALLROOT") (/) ($ VSub_Name "$i")} ) ] action: [ (ForEach iter_name: x iter_words: [ {($ VSub_Name "$INSTALLROOT") (/) ($ VSub_Name "$i") (/.) (Lit_Other "[") (a-z) (Lit_Other "]") (Lit_Other "*") } {($ VSub_Name "$INSTALLROOT") (/) ($ VSub_Name "$i") (/) (Lit_Other "*") } ] do_arg_iter: False body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (C {(test)} {(-f)} {($ VSub_Name "$x")} {(-o)} {(-d)} {($ VSub_Name "$x")} ) ] action: [ (If arms: [ (if_arm cond: [ (AndOr children: [ (C {(test)} {(KW_Bang "!")} {(-d)} {($ VSub_Name "$INSTALLROOT") (/) ($ VSub_Name "$i") (/) ($ VSub_Name "$x") } ) (C {(test)} {(KW_Bang "!")} {(-d)} {($ VSub_Name "$INSTALLROOT") (/../../) ($ VSub_Name "$i") (/) ($ VSub_Name "$x") } ) ] op_id: Op_DPipe ) ] action: [ (C {($ VSub_Name "$exec")} {(mv)} {($ VSub_Name "$x")} {($ VSub_Name "$INSTALLROOT") (/../../) ($ VSub_Name "$i")} ) ] spids: [-1 21042] ) ] spids: [-1 21055] ) ] spids: [-1 21011] ) ] spids: [-1 21058] ) ] spids: [20994 21061] ) spids: [20977 -1] ) (C {($ VSub_Name "$exec")} {(rm)} {(-rf)} {($ VSub_Name "$INSTALLROOT") (/) ($ VSub_Name "$i")} ) (C {($ VSub_Name "$exec")} {(ln)} {(-s)} {(../../) ($ VSub_Name "$i")} {($ VSub_Name "$INSTALLROOT") (/) ($ VSub_Name "$i")} ) ] spids: [20957 20970] ) ] spids: [-1 21089] ) ] spids: [20881 21092] ) spids: [20867 -1] ) ] spids: [20819 20830 21095 -1] ) ] spids: [20812 20816 21098] ) ] spids: [20809 20810 21101 -1] ) ] spids: [20803 20807 21103] ) (FuncDef name: checkaout body: (BraceGroup children: [ (Case to_match: {($ VSub_Name "$PROTOROOT")} arms: [ (case_arm pat_list: [{(-)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:PROTOROOT) op: Equal rhs: {(SQ )} spids: [21130] ) ] spids: [21130] ) (Case to_match: {($ VSub_Star "$*")} arms: [ (case_arm pat_list: [{(ratz)}] action: [ (If arms: [ (if_arm cond: [ (C {(test)} {(-f)} {($ VSub_Name "$INITROOT") (/ratz.c)} {(-a)} {(-w)} {($ VSub_Name "$PACKAGEROOT")} ) ] action: [ (AndOr children: [ (C {(test)} {(-f)} {($ VSub_Name "$INITROOT") (/hello.c)}) (BraceGroup children: [ (SimpleCommand words: [{(cat)}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {($ VSub_Name "$INITROOT") (/hello.c)} spids: [21175] ) (HereDoc op_id: Redir_DLess fd: -1 body: {("#ifndef printf\n") ("#include <stdio.h>\n") ("#endif\n") ("int main() { int new = 0; printf(\"hello world\\n\"); return new;}\n") } do_expansion: False here_end: "!" was_filled: True spids: [21180] ) ] ) ] spids: [21170] ) ] op_id: Op_DPipe ) (AndOr children: [ (C {(test)} {(-f)} {($ VSub_Name "$INITROOT") (/p.c)}) (BraceGroup children: [ (SimpleCommand words: [{(cat)}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {($ VSub_Name "$INITROOT") (/p.c)} spids: [21203] ) (HereDoc op_id: Redir_DLess fd: -1 body: {("/*\n") (" * small test for prototyping cc\n") (" */\n") ("\n") ("int main(int argc, char** argv) { return argc || argv; }\n") } do_expansion: False here_end: "!" was_filled: True spids: [21208] ) ] ) ] spids: [21198] ) ] op_id: Op_DPipe ) ] spids: [-1 21159] ) ] spids: [-1 21217] ) ] spids: [21140 21141 21220 -1] ) ] spids: [21133 21137 21223] ) (AndOr children: [ (C {(test)} {(-f)} {($ VSub_Name "$INITROOT") (/hello.c)} {(-a)} {(-f)} {($ VSub_Name "$INITROOT") (/p.c)} {(-a)} {(-w)} {($ VSub_Name "$PACKAGEROOT")} ) (BraceGroup children: [ (ForEach iter_name: i do_arg_iter: True body: (DoGroup children: [ (AndOr children: [ (C {(onpath)} {($ VSub_Name "$i")}) (BraceGroup children: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$i") (": command not found") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [21276] ) ] ) (ControlFlow token: <ControlFlow_Return return> arg_word: {(1)} ) ] spids: [21264] ) ] op_id: Op_DPipe ) ] spids: [21256 21288] ) spids: [-1 -1] ) (ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [21248] ) ] op_id: Op_DPipe ) (Case to_match: {($ VSub_Name "$cc")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_PACKAGE_cc) op: Equal rhs: {(0)} spids: [21310] ) ] spids: [21310] ) ] spids: [-1 21308 21314 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_PACKAGE_cc) op: Equal rhs: {(1)} spids: [21320] ) ] spids: [21320] ) (AndOr children: [ (C {(test)} {(-f)} {($ VSub_Name "$INITROOT") (/hello.c)} {(-a)} {(-f)} {($ VSub_Name "$INITROOT") (/p.c)} ) (BraceGroup children: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$INITROOT") (": INIT package source not found") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [21352] ) ] ) (ControlFlow token: <ControlFlow_Return return> arg_word: {(1)} ) ] spids: [21340] ) ] op_id: Op_DPipe ) (AndOr children: [ (C {(executable)} {($ VSub_Name "$INSTALLROOT") (/bin/nmake)}) (BraceGroup children: [ (SimpleCommand words: [ {($ VSub_Name "$CC")} {(-c)} {($ VSub_Name "$INITROOT") (/p.c)} ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(/dev/null)} spids: [21390] ) (Redir op_id: Redir_GreatAnd fd: 2 arg_word: {(1)} spids: [21393] ) ] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:c) op: Equal rhs: {($ VSub_QMark "$?")} spids: [21397] ) ] spids: [21397] ) (C {(rm)} {(-f)} {(p.) (Lit_Other "*")}) (AndOr children: [ (C {(test)} {(0)} {(KW_Bang "!") (Lit_Other "=")} {(DQ ($ VSub_Name "$c"))} ) (BraceGroup children: [ (AndOr children: [ (C {(checkaout)} {(proto)}) (ControlFlow token: <ControlFlow_Return return> ) ] op_id: Op_DPipe ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:PROTOROOT) op: Equal rhs: {($ VSub_Name "$PACKAGEROOT") (/proto)} spids: [21434] ) ] spids: [21434] ) (C {($ VSub_Name "$show")} {(Lit_VarLike "PROTOROOT=") ($ VSub_Name "$PACKAGEROOT") (/proto) } ) (C {(export)} {(PROTOROOT)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:INITPROTO) op: Equal rhs: {($ VSub_Name "$PROTOROOT") (/src/cmd/INIT)} spids: [21451] ) ] spids: [21451] ) (C {(note)} {(proto)} {(convert)} {($ VSub_Name "$PACKAGEROOT") (/src)} {(into)} {($ VSub_Name "$PROTOROOT") (/src)} ) (If arms: [ (if_arm cond: [ (C {(test)} {(-d)} {($ VSub_Name "$PACKAGEROOT") (/src/cmd/nmake)} ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:dirs) op: Equal rhs: { (DQ ( "src/cmd/INIT src/lib/libast src/lib/libardir src/lib/libcoshell src/lib/libpp src/cmd/probe src/cmd/cpp src/cmd/nmake" ) ) } spids: [21483] ) ] spids: [21483] ) ] spids: [-1 21481] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:dirs) op: Equal rhs: {(DQ (src))} spids: [21491] ) ] spids: [21491] ) ] spids: [21489 21497] ) (Subshell child: (CommandList children: [ (If arms: [ (if_arm cond: [ (C {(test)} {(-f)} {($ VSub_Name "$PROTOROOT") (/UPDATE)} ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:newer) op: Equal rhs: { (DQ ("-newer ") ($ VSub_Name "$PROTOROOT") (/UPDATE) ) } spids: [21515] ) ] spids: [21515] ) ] spids: [-1 21513] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:newer) op: Equal rhs: {(DQ )} spids: [21525] ) ] spids: [21525] ) ] spids: [21523 21530] ) (Case to_match: {($ VSub_Name "$exec")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (C {(cd)} {($ VSub_Name "$PACKAGEROOT")}) (Pipeline children: [ (C {(find)} {($ VSub_Name "$dirs")} {(-name)} {(SQ <"*.[CcHh]">)} {($ VSub_Name "$newer")} {(-print)} ) (C {(proto)} {(-v)} {(-L)} {(-)} {(-C)} {(proto)} ) ] negated: False ) ] spids: [-1 21542 21578 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (C {($ VSub_Name "$exec")} {(cd)} {($ VSub_Name "$PACKAGEROOT")} ) (C {($ VSub_Name "$exec")} { (DQ ("find ") ($ VSub_Name "$dirs") (" -name '*.[CcHh]' ") ($ VSub_Name "$newer") (" -print | proto -L - -C proto") ) } ) ] spids: [21581 21582 21602 -1] ) ] spids: [21533 21537 21605] ) (C {($ VSub_Name "$exec")} {(touch)} {($ VSub_Name "$PROTOROOT") (/UPDATE)} ) ] ) spids: [21500 21616] ) (If arms: [ (if_arm cond: [ (AndOr children: [ (Subshell child: (C {(vpath)} {($ VSub_Name "$INSTALLROOT")} {(-)} {($ VSub_Name "$INSTALLROOT")} {($ VSub_Name "$PROTOROOT")} {($ VSub_Name "$PROTOROOT")} {($ VSub_Name "$PACKAGEROOT")} ) redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(/dev/null)} spids: [21637] ) (Redir op_id: Redir_GreatAnd fd: 2 arg_word: {(1)} spids: [21640] ) ] spids: [21621 21635] ) (C {(vpath)} {($ VSub_Name "$INSTALLROOT")} {(-)} {($ VSub_Name "$INSTALLROOT")} {($ VSub_Name "$PROTOROOT")} {($ VSub_Name "$PROTOROOT")} {($ VSub_Name "$PACKAGEROOT")} ) ] op_id: Op_DAmp ) ] action: [ (C {($ VSub_Name "$show")} {(vpath)} {($ VSub_Name "$INSTALLROOT")} {($ VSub_Name "$PROTOROOT")} {($ VSub_Name "$PROTOROOT")} {($ VSub_Name "$PACKAGEROOT")} {($ VSub_Name "$USER_VPATH_CHAIN")} ) ] spids: [-1 21661] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:VPATH) op: Equal rhs: {($ VSub_Name "$INSTALLROOT") (Lit_Other ":") ($ VSub_Name "$PROTOROOT") (Lit_Other ":") ($ VSub_Name "$PACKAGEROOT") ($ VSub_Name "$USER_VPATH") } spids: [21680] ) ] spids: [21680] ) (C {($ VSub_Name "$show")} {(Lit_VarLike "VPATH=") ($ VSub_Name "$VPATH")} ) (C {(export)} {(VPATH)}) ] spids: [21678 21700] ) ] spids: [21422] ) ] op_id: Op_DAmp ) ] spids: [21371] ) ] op_id: Op_DPipe ) (ForEach iter_name: i iter_words: [ {(arch)} {(arch/) ($ VSub_Name "$HOSTTYPE")} {(arch/) ($ VSub_Name "$HOSTTYPE") (/bin)} ] do_arg_iter: False body: (DoGroup children: [ (AndOr children: [ (C {(test)} {(-d)} {($ VSub_Name "$PACKAGEROOT") (/) ($ VSub_Name "$i")} ) (AndOr children: [ (C {($ VSub_Name "$exec")} {(mkdir)} {($ VSub_Name "$PACKAGEROOT") (/) ($ VSub_Name "$i")} ) (ControlFlow token: <ControlFlow_Return return> ) ] op_id: Op_DPipe ) ] op_id: Op_DPipe ) ] spids: [21725 21750] ) spids: [21714 -1] ) ] spids: [21317 21318 21753 -1] ) ] spids: [21299 21303 21756] ) ] spids: [21127 21128 21759 -1] ) ] spids: [21120 21124 21762] ) (Case to_match: {($ VSub_Name "$_PACKAGE_cc")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Case to_match: {($ VSub_Name "$cc")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_PACKAGE_cc) op: Equal rhs: {(0)} spids: [21787] ) ] spids: [21787] ) ] spids: [-1 21785 21790 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_PACKAGE_cc) op: Equal rhs: {(1)} spids: [21796] ) ] spids: [21796] ) ] spids: [21793 21794 21799 -1] ) ] spids: [21776 21780 21802] ) ] spids: [-1 21774 21805 -1] ) ] spids: [21765 21769 21808] ) (ForEach iter_name: i do_arg_iter: True body: (DoGroup children: [ (C {(eval)} {(Lit_VarLike "j=") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (_PACKAGE_AOUT_) ($ VSub_Name "$i") } ) (Case to_match: {($ VSub_Name "$j")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (C {(eval)} {(_PACKAGE_AOUT_) ($ VSub_Name "$i") (Lit_Other "=") (1)}) ] spids: [-1 21835 21844 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [(ControlFlow token:<ControlFlow_Continue continue>)] spids: [21847 21848 21852 -1] ) ] spids: [21826 21830 21855] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:k) op: Equal rhs: {($ VSub_Name "$_PACKAGE_cc")} spids: [21858] ) ] spids: [21858] ) (If arms: [ (if_arm cond: [ (C {(test)} {(-f)} {($ VSub_Name "$INITROOT") (/) ($ VSub_Name "$i") (.c)}) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:k) op: Equal rhs: {(${ VSub_Name k) (1)} spids: [21876] ) ] spids: [21876] ) ] spids: [-1 21874] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:k) op: Equal rhs: {(${ VSub_Name k) (0)} spids: [21885] ) ] spids: [21885] ) ] spids: [21883 21892] ) (If arms: [ (if_arm cond: [ (C {(executable)} {($ VSub_Name "$EXECROOT") (/bin/) ($ VSub_Name "$i")}) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:k) op: Equal rhs: {(${ VSub_Name k) (1)} spids: [21906] ) ] spids: [21906] ) ] spids: [-1 21904] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:k) op: Equal rhs: {(${ VSub_Name k) (0)} spids: [21915] ) ] spids: [21915] ) ] spids: [21913 21922] ) (C {(Lit_Other ":")} {($ VSub_Name "$k")} {(Lit_Other ":")} {(compiler)} {(Lit_Other ":")} {(source)} {(Lit_Other ":")} {(binary)} {(Lit_Other ":")} ) (Case to_match: {($ VSub_Name "$k")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (00)}] action: [ (AndOr children: [ (C {(view)} {(-)} {(bin/) ($ VSub_Name "$i")}) (ControlFlow token: <ControlFlow_Continue continue> ) ] op_id: Op_DAmp ) ] spids: [21951 21953 21966 -1] ) ] spids: [21944 21948 21969] ) (Case to_match: {($ VSub_Name "$k")} arms: [ (case_arm pat_list: [{(000)}] action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$i") (": not found: download the INIT package ") ($ VSub_Name "$HOSTTYPE") (" binary to continue") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [21993] ) ] ) (ControlFlow token: <ControlFlow_Return return> arg_word: {(1)} ) ] spids: [21979 21980 22002 -1] ) (case_arm pat_list: [{(010)}] action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$i") ( ": not found: set CC=C-compiler or download the INIT package " ) ($ VSub_Name "$HOSTTYPE") (" binary to continue") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [22019] ) ] ) (ControlFlow token: <ControlFlow_Return return> arg_word: {(1)} ) ] spids: [22005 22006 22028 -1] ) (case_arm pat_list: [{(100)}] action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$i") (": not found: download the INIT package source or ") ($ VSub_Name "$HOSTTYPE") (" binary to continue") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [22045] ) ] ) (ControlFlow token: <ControlFlow_Return return> arg_word: {(1)} ) ] spids: [22031 22032 22054 -1] ) (case_arm pat_list: [{(110)}] action: [ (Case to_match: {($ VSub_Name "$CROSS")} arms: [ (case_arm pat_list: [{(1)}] action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$i") (": not found: make the local ") ($ VSub_Name "$EXECTYPE") (" binary package before ") ($ VSub_Name "$HOSTTYPE") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [22082] ) ] ) (ControlFlow token: <ControlFlow_Return return> arg_word: {(1)} ) ] spids: [22067 22068 22091 -1] ) ] spids: [22060 22064 22094] ) ] spids: [22057 22058 22097 -1] ) (case_arm pat_list: [{(Lit_Other "?") (01)}] action: [ (C {(Lit_Other ":")} {(accept)} {(binary)}) (ControlFlow token: <ControlFlow_Continue continue> ) ] spids: [22100 22102 22114 -1] ) (case_arm pat_list: [{(011)}] action: [ (C {(Lit_Other ":")} {(accept)} {(binary)}) (ControlFlow token: <ControlFlow_Continue continue> ) ] spids: [22117 22118 22130 -1] ) (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "?") (1)}] action: [ (Case to_match: {($ VSub_Name "$CROSS")} arms: [ (case_arm pat_list: [{(1)}] action: [(ControlFlow token:<ControlFlow_Continue continue>)] spids: [22145 22146 22150 -1] ) ] spids: [22138 22142 22153] ) ] spids: [22133 22136 22156 -1] ) ] spids: [21972 21976 22159] ) (Case to_match: { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [ {(ls)} {(-t)} {($ VSub_Name "$INITROOT") (/) ($ VSub_Name "$i") (.c)} {($ VSub_Name "$INSTALLROOT") (/bin/) ($ VSub_Name "$i")} ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [22178] ) ] ) ] ) left_token: <Left_Backtick "`"> spids: [22164 22180] ) } arms: [ (case_arm pat_list: [ {(DQ ($ VSub_Name "$INITROOT") (/) ($ VSub_Name "$i") (.c)) (Lit_Other "*") } ] action: [ (C {(note)} {(update)} {($ VSub_Name "$INSTALLROOT") (/bin/) ($ VSub_Name "$i")} ) (If arms: [ (if_arm cond: [ (AndOr children: [ (C {(test)} {(proto)} {(KW_Bang "!") (Lit_Other "=")} {(DQ ($ VSub_Name "$i"))} ) (C {(executable)} {($ VSub_Name "$INSTALLROOT") (/bin/proto)}) ] op_id: Op_DAmp ) ] action: [ (Case to_match: {($ VSub_Name "$exec")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (AndOr children: [ (SimpleCommand words: [ {($ VSub_Name "$INSTALLROOT") (/bin/proto)} {(-p)} {($ VSub_Name "$INITROOT") (/) ($ VSub_Name "$i") (.c) } ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {($ VSub_Name "$i") (.c)} spids: [22248] ) ] ) (ControlFlow token: <ControlFlow_Return return> ) ] op_id: Op_DPipe ) ] spids: [-1 22236 22257 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (C {($ VSub_Name "$exec")} { (DQ ($ VSub_Name "$INSTALLROOT") ("/bin/proto -p ") ($ VSub_Name "$INITROOT") (/) ($ VSub_Name "$i") (".c > ") ($ VSub_Name "$i") (.c) ) } ) ] spids: [22260 22261 22276 -1] ) ] spids: [22227 22231 22279] ) (AndOr children: [ (C {($ VSub_Name "$exec")} {($ VSub_Name "$CC")} {($ VSub_Name "$CCFLAGS")} {(-o)} {($ VSub_Name "$INSTALLROOT") (/bin/) ($ VSub_Name "$i")} {($ VSub_Name "$i") (.c)} ) (ControlFlow token: <ControlFlow_Return return> ) ] op_id: Op_DPipe ) (C {($ VSub_Name "$exec")} {(rm)} {(-f)} {($ VSub_Name "$i") (.c)}) ] spids: [-1 22225] ) ] else_action: [ (If arms: [ (if_arm cond: [ (C {(test)} {(KW_Bang "!")} {(-d)} {($ VSub_Name "$INSTALLROOT") (/bin)} ) ] action: [ (ForEach iter_name: j iter_words: [ {(arch)} {(arch/) ($ VSub_Name "$HOSTTYPE")} {(arch/) ($ VSub_Name "$HOSTTYPE") (/bin)} ] do_arg_iter: False body: (DoGroup children: [ (AndOr children: [ (C {(test)} {(-d)} {($ VSub_Name "$PACKAGEROOT") (/) ($ VSub_Name "$j") } ) (AndOr children: [ (C {($ VSub_Name "$exec")} {(mkdir)} {($ VSub_Name "$PACKAGEROOT") (/) ($ VSub_Name "$j") } ) (ControlFlow token: <ControlFlow_Return return> ) ] op_id: Op_DPipe ) ] op_id: Op_DPipe ) ] spids: [22344 22369] ) spids: [22333 -1] ) ] spids: [-1 22326] ) ] spids: [-1 22372] ) (If arms: [ (if_arm cond: [ (C {(test)} {(SQ )} {(KW_Bang "!") (Lit_Other "=")} {(DQ ($ VSub_Name "$PROTOROOT"))} {(-a)} {(-f)} {($ VSub_Name "$INITPROTO") (/) ($ VSub_Name "$i") (.c)} ) ] action: [ (AndOr children: [ (C {($ VSub_Name "$exec")} {($ VSub_Name "$CC")} {($ VSub_Name "$CCFLAGS")} {(-o)} {($ VSub_Name "$INSTALLROOT") (/bin/) ($ VSub_Name "$i")} {($ VSub_Name "$INITPROTO") (/) ($ VSub_Name "$i") (.c)} ) (ControlFlow token: <ControlFlow_Return return> ) ] op_id: Op_DPipe ) ] spids: [-1 22399] ) ] else_action: [ (AndOr children: [ (C {($ VSub_Name "$exec")} {($ VSub_Name "$CC")} {($ VSub_Name "$CCFLAGS")} {(-o)} {($ VSub_Name "$INSTALLROOT") (/bin/) ($ VSub_Name "$i")} {($ VSub_Name "$INITROOT") (/) ($ VSub_Name "$i") (.c)} ) (ControlFlow token: <ControlFlow_Return return> ) ] op_id: Op_DPipe ) ] spids: [22423 22447] ) (Case to_match: {($ VSub_Name "$i") (Lit_Other ":") ($ VSub_Name "$exec")} arms: [ (case_arm pat_list: [{(proto) (Lit_Other ":")}] action: [ (AndOr children: [ (C {(test)} {(-d)} {($ VSub_Name "$INSTALLROOT") (/include)}) (C {(mkdir)} {($ VSub_Name "$INSTALLROOT") (/include)}) ] op_id: Op_DPipe ) (SimpleCommand words: [ {($ VSub_Name "$INSTALLROOT") (/bin/proto)} {(-f)} {(/dev/null)} ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {($ VSub_Name "$i") (.c)} spids: [22485] ) ] ) (AndOr children: [ (SimpleCommand words: [ {(cmp)} {(-s)} {($ VSub_Name "$i") (.c)} {($ VSub_Name "$INSTALLROOT") (/include/prototyped.h) } ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [22501] ) ] ) (C {(cp)} {($ VSub_Name "$i") (.c)} {($ VSub_Name "$INSTALLROOT") (/include/prototyped.h)} ) ] op_id: Op_DPipe ) (C {(rm)} {($ VSub_Name "$i") (.c)}) ] spids: [22459 22461 22521 -1] ) ] spids: [22450 22456 22524] ) ] spids: [22312 22527] ) (AndOr children: [ (C {(test)} {(-f)} {($ VSub_Name "$i") (.o)}) (C {($ VSub_Name "$exec")} {(rm)} {(-f)} {($ VSub_Name "$i") (.o)}) ] op_id: Op_DAmp ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:i) op: Equal rhs: {($ VSub_Name "$PATH")} spids: [22549] ) ] spids: [22549] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:PATH) op: Equal rhs: {(/bin)} spids: [22553] ) ] spids: [22553] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:PATH) op: Equal rhs: {($ VSub_Name "$i")} spids: [22557] ) ] spids: [22557] ) ] spids: [22186 22192 22561 -1] ) ] spids: [22162 22182 22564] ) ] spids: [21816 22567] ) spids: [-1 -1] ) (ControlFlow token:<ControlFlow_Return return> arg_word:{(0)}) ] spids: [21117] ) spids: [21110 21113] ) (FuncDef name: requirements body: (BraceGroup children: [ (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [{(binary)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:r) op: Equal rhs: {($ VSub_Name "$VIEW_BIN")} spids: [22601] ) ] spids: [22601] ) ] spids: [22598 22599 22604 -1] ) (case_arm pat_list: [{(source)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:r) op: Equal rhs: {($ VSub_Name "$VIEW_SRC")} spids: [22610] ) ] spids: [22610] ) ] spids: [22607 22608 22613 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:r) op: Equal rhs: {($ VSub_Name "$VIEW_ALL")} spids: [22619] ) ] spids: [22619] ) ] spids: [22616 22617 22622 -1] ) ] spids: [22591 22595 22625] ) (C {(shift)}) (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:x) op:Equal rhs:{(SQ )} spids:[22642])] spids: [22642] ) ] spids: [-1 22640 22644 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:x) op: Equal rhs: {($ VSub_Star "$*")} spids: [22650] ) ] spids: [22650] ) ] spids: [22647 22648 22653 -1] ) ] spids: [22631 22635 22656] ) (C {(set)} {(SQ )}) (ForEach iter_name: d iter_words: [{($ VSub_Name "$r")}] do_arg_iter: False body: (DoGroup children: [ (C {(set)} {(DQ ($ VSub_At "$@"))} {($ VSub_Name "$d") (/gen/) (Lit_Other "*") (.ver)} ) (Case to_match: {($ VSub_Name "$x")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (C {(set)} {(DQ ($ VSub_At "$@"))} {($ VSub_Name "$d") (/gen/) (Lit_Other "*") (.req)} ) ] spids: [-1 22697 22711 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (ForEach iter_name: p iter_words: [{($ VSub_Name "$x")}] do_arg_iter: False body: (DoGroup children: [ (C {(set)} {(DQ ($ VSub_At "$@"))} {($ VSub_Name "$d") (/gen/) ($ VSub_Name "$p") (.req)} ) ] spids: [22726 22740] ) spids: [22722 -1] ) ] spids: [22714 22715 22743 -1] ) ] spids: [22688 22692 22746] ) ] spids: [22674 22749] ) spids: [22670 -1] ) (C {(shift)}) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:e) op:Equal rhs:{(0)} spids:[22755])] spids: [22755] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:x) op: Equal rhs: {($ VSub_Star "$*")} spids: [22759] ) ] spids: [22759] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:y) op:Equal rhs:{(SQ )} spids:[22763])] spids: [22763] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:n) op:Equal rhs:{(SQ )} spids:[22766])] spids: [22766] ) (C {(set)} {(SQ )}) (ForEach iter_name: i iter_words: [{($ VSub_Name "$x")}] do_arg_iter: False body: (DoGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:p) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Name "$i")}) (C {(sed)} {(-e)} {(SQ <"s,.*/,,">)} {(-e)} {(SQ <"s,\\....$,,">)} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [22787 22807] ) } spids: [22786] ) ] spids: [22786] ) (If arms: [ (if_arm cond: [(C {(test)} {(-f)} {($ VSub_Name "$i")})] action: [ (C {(set)} {(DQ ($ VSub_At "$@"))} {($ VSub_Name "$i")}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:y) op: Equal rhs: {(DQ ($ VSub_Name "$y") (" ") ($ VSub_Name "$p"))} spids: [22830] ) ] spids: [22830] ) ] spids: [-1 22819] ) ] else_action: [ (Case to_match: {($ VSub_Name "$p")} arms: [ (case_arm pat_list: [{(SQ <"*">)}] spids: [22848 22850 22852 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:n) op: Equal rhs: {(DQ ($ VSub_Name "$n") (" ") ($ VSub_Name "$p"))} spids: [22858] ) ] spids: [22858] ) ] spids: [22855 22856 22865 -1] ) ] spids: [22840 22844 22868] ) ] spids: [22838 22871] ) ] spids: [22784 22874] ) spids: [22780 -1] ) (ForEach iter_name: i iter_words: [{($ VSub_Name "$n")}] do_arg_iter: False body: (DoGroup children: [ (Case to_match: {(DQ (" ") ($ VSub_Name "$y") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$i") (" ")) (Lit_Other "*")} ] spids: [22899 22906 22909 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$i") (": must read or write package") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [22924] ) ] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:e) op: Equal rhs: {(1)} spids: [22928] ) ] spids: [22928] ) ] spids: [22912 22913 22932 -1] ) ] spids: [22888 22896 22935] ) ] spids: [22886 22938] ) spids: [22882 -1] ) (Case to_match: {($ VSub_Name "$e")} arms: [ (case_arm pat_list: [{(1)}] action: [(C {(exit)} {(1)})] spids: [22948 22949 22955 -1] ) ] spids: [22941 22945 22958] ) (C {(shift)}) (AndOr children: [ (C {(test)} {(0)} {(KW_Bang "!") (Lit_Other "=")} {(DQ ($ VSub_Pound "$#"))}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:release) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(sort)} {(-r)} {(DQ ($ VSub_At "$@"))}) (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:q) op: Equal rhs: {(SQ )} spids: [22992] ) ] spids: [22992] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:e) op: Equal rhs: {(0)} spids: [22995] ) ] spids: [22995] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:o) op: Equal rhs: {(SQ )} spids: [22999] ) ] spids: [22999] ) (While cond: [(C {(read)} {(p)} {(v)} {(r)} {(s)})] body: (DoGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:q) op: Equal rhs: { (DQ ($ VSub_Name "$q") ("\n") ($ VSub_Name "$v") (" ") ($ VSub_Name "$r") ) } spids: [23017] ) ] spids: [23017] ) (Case to_match: {($ VSub_Name "$p")} arms: [ (case_arm pat_list: [{($ VSub_Name "$o")}] action: [ (ControlFlow token: <ControlFlow_Continue continue> ) ] spids: [23034 23035 23039 -1] ) ] spids: [23027 23031 23042] ) (Case to_match: {($ VSub_Name "$s")} arms: [ (case_arm pat_list: [{(0)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:e) op: Equal rhs: {(1)} spids: [23055] ) ] spids: [23055] ) (Case to_match: {($ VSub_Name "$r")} arms: [ (case_arm pat_list: [{(base)}] action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": base package ") ($ VSub_Name "$p") (.) ($ VSub_Name "$v") (" or newer required") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [23080] ) ] ) ] spids: [23066 23067 23083 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": delta package ") ($ VSub_Name "$p") (.) ($ VSub_Name "$v") (.) ($ VSub_Name "$r") (" or newer required") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [23102] ) ] ) ] spids: [23086 23087 23105 -1] ) ] spids: [23059 23063 23108] ) ] spids: [23052 23053 23111 -1] ) ] spids: [23045 23049 23114] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:o) op: Equal rhs: {($ VSub_Name "$p")} spids: [23117] ) ] spids: [23117] ) ] spids: [23015 23121] ) ) (Case to_match: {($ VSub_Name "$e")} arms: [ (case_arm pat_list: [{(0)}] action: [ (Pipeline children: [ (C {(echo)} {(DQ ($ VSub_Name "$q"))}) (C {(sort)}) (BraceGroup children: [ (Sentence child: (C {(read)} {(v)} {(r)}) terminator: <Op_Semi ";"> ) (Sentence child: (C {(read)} {(v)} {(r)}) terminator: <Op_Semi ";"> ) (Sentence child: (C {(echo)} {($ VSub_Name "$v")}) terminator: <Op_Semi ";"> ) ] spids: [23146] ) ] negated: False ) ] spids: [23131 23132 23169 -1] ) (case_arm pat_list: [{(1)}] action: [(C {(echo)} {(ERROR)})] spids: [23172 23173 23179 -1] ) ] spids: [23124 23128 23182] ) ] spids: [22989] ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [22978 23186] ) } spids: [22977] ) ] spids: [22977] ) ] op_id: Op_DAmp ) (Case to_match: {($ VSub_Name "$release")} arms: [ (case_arm pat_list: [{(ERROR)}] action: [ (Case to_match: {($ VSub_Name "$force")} arms: [ (case_arm pat_list: [{(0)}] action: [(C {(exit)} {(1)})] spids: [23206 23207 23213 -1] ) ] spids: [23199 23203 23216] ) ] spids: [23196 23197 23219 -1] ) (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (C {(eval)} { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Name "$release")}) (C {(sed)} {(-e)} {(SQ <"s,\\(.*\\)-\\(.*\\)-\\(.*\\),yy=\\1 mm=\\2 dd=\\3,">)} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [23228 23242] ) } ) (Case to_match: {($ VSub_Name "$mm")} arms: [ (case_arm pat_list: [{(01)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:mm) op: Equal rhs: {(09)} spids: [23259] ) (assign_pair lhs: (LhsName name:dd) op: Equal rhs: {(1)} spids: [23262] ) ] spids: [23259] ) ] spids: [23256 23257 23265 -1] ) (case_arm pat_list: [{(02)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:mm) op: Equal rhs: {(10)} spids: [23271] ) (assign_pair lhs: (LhsName name:dd) op: Equal rhs: {(1)} spids: [23274] ) ] spids: [23271] ) ] spids: [23268 23269 23277 -1] ) (case_arm pat_list: [{(03)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:mm) op: Equal rhs: {(11)} spids: [23283] ) (assign_pair lhs: (LhsName name:dd) op: Equal rhs: {(1)} spids: [23286] ) ] spids: [23283] ) ] spids: [23280 23281 23289 -1] ) (case_arm pat_list: [{(04)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:mm) op: Equal rhs: {(12)} spids: [23295] ) (assign_pair lhs: (LhsName name:dd) op: Equal rhs: {(1)} spids: [23298] ) ] spids: [23295] ) ] spids: [23292 23293 23301 -1] ) (case_arm pat_list: [{(05)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:mm) op: Equal rhs: {(01)} spids: [23307] ) (assign_pair lhs: (LhsName name:dd) op: Equal rhs: {(0)} spids: [23310] ) ] spids: [23307] ) ] spids: [23304 23305 23313 -1] ) (case_arm pat_list: [{(06)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:mm) op: Equal rhs: {(02)} spids: [23319] ) (assign_pair lhs: (LhsName name:dd) op: Equal rhs: {(0)} spids: [23322] ) ] spids: [23319] ) ] spids: [23316 23317 23325 -1] ) (case_arm pat_list: [{(07)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:mm) op: Equal rhs: {(03)} spids: [23331] ) (assign_pair lhs: (LhsName name:dd) op: Equal rhs: {(0)} spids: [23334] ) ] spids: [23331] ) ] spids: [23328 23329 23337 -1] ) (case_arm pat_list: [{(08)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:mm) op: Equal rhs: {(04)} spids: [23343] ) (assign_pair lhs: (LhsName name:dd) op: Equal rhs: {(0)} spids: [23346] ) ] spids: [23343] ) ] spids: [23340 23341 23349 -1] ) (case_arm pat_list: [{(09)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:mm) op: Equal rhs: {(05)} spids: [23355] ) (assign_pair lhs: (LhsName name:dd) op: Equal rhs: {(0)} spids: [23358] ) ] spids: [23355] ) ] spids: [23352 23353 23361 -1] ) (case_arm pat_list: [{(10)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:mm) op: Equal rhs: {(06)} spids: [23367] ) (assign_pair lhs: (LhsName name:dd) op: Equal rhs: {(0)} spids: [23370] ) ] spids: [23367] ) ] spids: [23364 23365 23373 -1] ) (case_arm pat_list: [{(11)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:mm) op: Equal rhs: {(07)} spids: [23379] ) (assign_pair lhs: (LhsName name:dd) op: Equal rhs: {(0)} spids: [23382] ) ] spids: [23379] ) ] spids: [23376 23377 23385 -1] ) (case_arm pat_list: [{(12)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:mm) op: Equal rhs: {(08)} spids: [23391] ) (assign_pair lhs: (LhsName name:dd) op: Equal rhs: {(0)} spids: [23394] ) ] spids: [23391] ) ] spids: [23388 23389 23397 -1] ) ] spids: [23249 23253 23400] ) (Case to_match: {($ VSub_Name "$dd")} arms: [ (case_arm pat_list: [{(1)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:yy) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [(C {(expr)} {($ VSub_Name "$yy")} {(-)} {(1)})] ) left_token: <Left_Backtick "`"> spids: [23414 23422] ) } spids: [23413] ) ] spids: [23413] ) ] spids: [23410 23411 23424 -1] ) ] spids: [23403 23407 23427] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:release) op: Equal rhs: {($ VSub_Name "$yy") (-) ($ VSub_Name "$mm") (-01)} spids: [23430] ) ] spids: [23430] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:count) op:Equal rhs:{(1)} spids:[23437])] spids: [23437] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:lo) op: Equal rhs: {($ VSub_Name "$release")} spids: [23441] ) ] spids: [23441] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:release) op: Equal rhs: {(DQ ("-f ") ($ VSub_Name "$release") (" -r ") ($ VSub_Name "$count"))} spids: [23445] ) ] spids: [23445] ) ] spids: [23222 23224 23454 -1] ) ] spids: [23189 23193 23457] ) ] spids: [22588] ) spids: [22581 22584] ) (FuncDef name: order body: (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_order_t_) op: Equal rhs: {(lib/package/tgz)} spids: [23476] ) ] spids: [23476] ) (Case to_match: {($ VSub_Name "$action")} arms: [ (case_arm pat_list: [{(binary)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_order_a_) op: Equal rhs: {(.) ($ VSub_Name "$HOSTTYPE")} spids: [23490] ) ] spids: [23490] ) ] spids: [23487 23488 23494 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_order_a_) op: Equal rhs: {(SQ )} spids: [23500] ) ] spids: [23500] ) ] spids: [23497 23498 23502 -1] ) ] spids: [23480 23484 23505] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_order_n_) op: Equal rhs: {($ VSub_Pound "$#")} spids: [23508] ) ] spids: [23508] ) (Case to_match: {($ VSub_Name "$_order_n_")} arms: [ (case_arm pat_list: [{(0)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_order_p_) op: Equal rhs: {(SQ )} spids: [23522] ) ] spids: [23522] ) (ForEach iter_name: _order_v_ iter_words: [{($ VSub_Name "$VIEW_all")}] do_arg_iter: False body: (DoGroup children: [ (ForEach iter_name: _order_f_ iter_words: [ {($ VSub_Name "$_order_v_") (/lib/package/) (Lit_Other "*") (.pkg)} ] do_arg_iter: False body: (DoGroup children: [ (If arms: [ (if_arm cond: [(C {(test)} {(-f)} {($ VSub_Name "$_order_f_")})] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_order_p_) op: Equal rhs: { (DQ ($ VSub_Name "$_order_p_") (" ") ($ VSub_Name "$_order_f_") ) } spids: [23561] ) ] spids: [23561] ) ] spids: [-1 23559] ) ] spids: [-1 23569] ) ] spids: [23548 23572] ) spids: [23541 -1] ) ] spids: [23534 23575] ) spids: [23530 -1] ) (C {(set)} {(SQ )} {($ VSub_Name "$_order_p_")}) (C {(shift)}) ] spids: [23519 23520 -1 23589] ) ] spids: [23512 23516 23589] ) (Pipeline children: [ (BraceGroup children: [ (If arms: [ (if_arm cond: [ (C {(test)} {(ratz)} {(KW_Bang "!") (Lit_Other "=")} {(DQ ($ VSub_Star "$*"))}) ] action: [ (ForEach iter_name: _order_f_ iter_words: [{(ratz)} {(INIT)}] do_arg_iter: False body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (C {(view)} {(-s)} {(-)} {(src)} {($ VSub_Name "$_order_t_") (/) ($ VSub_Name "$_order_f_") ($ VSub_Name "$_order_a_") (.tim) } ) ] action: [ (C {(echo)} {($ VSub_Name "$_order_f_")} {($ VSub_Name "$_order_f_")} ) ] spids: [-1 23641] ) ] spids: [-1 23650] ) ] spids: [23622 23653] ) spids: [23616 -1] ) ] spids: [-1 23609] ) ] spids: [-1 23656] ) (ForEach iter_name: _order_f_ do_arg_iter: True body: (DoGroup children: [ (While cond: [(C {(Lit_Other ":")})] body: (DoGroup children: [ (AndOr children: [ (C {(view)} {(-)} {(src)} {($ VSub_Name "$_order_f_")}) (ControlFlow token: <ControlFlow_Break break> ) ] op_id: Op_DAmp ) (Case to_match: {($ VSub_Name "$_order_f_")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (.pkg)}] spids: [23693 23695 23697 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_order_f_) op: Equal rhs: {($ VSub_Name "$_order_f_") (.pkg)} spids: [23703] ) ] spids: [23703] ) terminator: <Op_Semi ";"> ) (AndOr children: [ (C {(view)} {(-)} {(src)} {($ VSub_Name "$_order_f_")}) (ControlFlow token: <ControlFlow_Break break> ) ] op_id: Op_DAmp ) ] spids: [23700 23701 23720 -1] ) ] spids: [23686 23690 23723] ) (Case to_match: {($ VSub_Name "$_order_f_")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (/) (Lit_Other "*")}] spids: [23733 23736 23738 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_order_f_) op: Equal rhs: {(lib/package/) ($ VSub_Name "$_order_f_")} spids: [23744] ) ] spids: [23744] ) terminator: <Op_Semi ";"> ) (AndOr children: [ (C {(view)} {(-)} {(src)} {($ VSub_Name "$_order_f_")}) (ControlFlow token: <ControlFlow_Break break> ) ] op_id: Op_DAmp ) ] spids: [23741 23742 23761 -1] ) ] spids: [23726 23730 23764] ) (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$_order_f_") (": not a package") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [23776] ) ] ) (ControlFlow token: <ControlFlow_Continue continue> arg_word: {(2)} ) ] spids: [23671 23785] ) ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_order_f_) op: Equal rhs: {($ VSub_Name "$_view_")} spids: [23788] ) ] spids: [23788] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_order_p_) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Name "$_order_f_")}) (C {(sed)} {(-e)} {(SQ <"s,.*/,,">)} {(-e)} {(SQ <"s,\\.pkg$,,">)} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [23793 23813] ) } spids: [23792] ) ] spids: [23792] ) (Case to_match: {($ VSub_Name "$_order_n_")} arms: [ (case_arm pat_list: [{(0)}] action: [ (AndOr children: [ (C {(view)} {(-s)} {(-)} {(src)} {($ VSub_Name "$_order_t_") (/) ($ VSub_Name "$_order_p_") ($ VSub_Name "$_order_a_") (.tim) } ) (ControlFlow token: <ControlFlow_Continue continue> ) ] op_id: Op_DPipe ) ] spids: [23823 23824 23844 -1] ) ] spids: [23816 23820 23847] ) (C {(echo)} {($ VSub_Name "$_order_p_")} {($ VSub_Name "$_order_p_")}) (Case to_match: {($ VSub_Name "$_order_p_")} arms: [ (case_arm pat_list: [{(INIT)} {(ratz)}] spids: [23864 23867 23870 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [(C {(echo)} {(INIT)} {($ VSub_Name "$_order_p_")})] spids: [23873 23874 23883 -1] ) ] spids: [23857 23861 23886] ) (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:req) op: Equal rhs: {(SQ )} spids: [23892] ) (assign_pair lhs: (LhsName name:req_sep) op: Equal rhs: {(SQ )} spids: [23894] ) ] spids: [23892] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:op) op: Equal rhs: {(Lit_Other ":") (Lit_Other ":")} spids: [23897] ) ] spids: [23897] ) (While cond: [(C {(read)} {(line)})] body: (DoGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:IFS) op: Equal rhs: {(SQ <" \t\\\\">)} spids: [23911] ) ] spids: [23911] ) (C {(set)} {(SQ )} {($ VSub_Name "$line")}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:IFS) op: Equal rhs: {($ VSub_Name "$ifs")} spids: [23925] ) ] spids: [23925] ) (While cond: [(C {(Lit_Other ":")})] body: (DoGroup children: [ (C {(shift)}) (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(0)}] action: [ (ControlFlow token: <ControlFlow_Break break> ) ] spids: [23946 23947 23951 -1] ) ] spids: [23939 23943 23954] ) (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [ {(Lit_Other ":") (Lit_Other "*") (Lit_Other ":") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:op) op: Equal rhs: {($ VSub_Number "$1")} spids: [23969] ) ] spids: [23969] ) ] spids: [23964 23967 23973 -1] ) (case_arm pat_list: [ {(INIT)} {(SQ <"$(">) (Lit_Other "*")} {(Lit_Other "*") (SQ <")">)} ] spids: [23976 23987 23990 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$op")} arms: [ (case_arm pat_list: [ {(Lit_Other ":") (REQUIRES) (Lit_Other ":") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:req) op: Equal rhs: { (DQ ($ VSub_Name "$req") ($ VSub_Name "$req_sep") ($ VSub_Number "$1") ) } spids: [24009] ) ] spids: [24009] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:req_sep) op: Equal rhs: {(DQ (" "))} spids: [24017] ) ] spids: [24017] ) ] spids: [24003 24006 24023 -1] ) ] spids: [23996 24000 24026] ) ] spids: [23993 23994 24029 -1] ) ] spids: [23957 23961 24032] ) ] spids: [23934 24035] ) ) ] spids: [23909 24038] ) ) (ForEach iter_name: _order_i_ iter_words: [{($ VSub_Name "$req")}] do_arg_iter: False body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (C {(view)} {(-)} {(src)} {(lib/package/) ($ VSub_Name "$_order_i_") (.pkg)} ) ] action: [ (Case to_match: {($ VSub_Name "$_order_u_")} arms: [ (case_arm pat_list: [{(0)}] action: [ (AndOr children: [ (C {(view)} {(-s)} {(-)} {(src)} {($ VSub_Name "$_order_t_") (/) ($ VSub_Name "$_order_i_") ($ VSub_Name "$_order_a_") (.tim) } ) (ControlFlow token: <ControlFlow_Continue continue> ) ] op_id: Op_DPipe ) ] spids: [24074 24075 24095 -1] ) ] spids: [24067 24071 24098] ) (Sentence child: (C {(echo)} {($ VSub_Name "$_order_i_")} {($ VSub_Name "$_order_i_")} ) terminator: <Op_Semi ";"> ) (Sentence child: (C {(echo)} {(INIT)} {($ VSub_Name "$_order_i_")}) terminator: <Op_Semi ";"> ) (C {(echo)} {($ VSub_Name "$_order_i_")} {($ VSub_Name "$_order_p_")} ) ] spids: [-1 24065] ) ] spids: [-1 24122] ) ] spids: [24050 24125] ) spids: [24046 -1] ) ] redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: {($ VSub_Name "$_order_f_")} spids: [24130] ) ] spids: [23889] ) ] spids: [23664 24135] ) spids: [-1 -1] ) ] spids: [23592] ) (C {(tsort)}) ] negated: False ) ] spids: [23473] ) spids: [23466 23469] ) (FuncDef name: components body: (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_components_) op: Equal rhs: {(SQ )} spids: [24161] ) ] spids: [24161] ) (ForEach iter_name: p do_arg_iter: True body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$p")} arms: [ (case_arm pat_list:[{(SQ )}] spids:[-12418024182-1]) (case_arm pat_list: [{(INIT)}] action: [ (Case to_match: {(DQ (" ") ($ VSub_Name "$_components_") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$p") (" ")) (Lit_Other "*") } ] spids: [24199 24206 24208 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_components_) op: Equal rhs: { (DQ ($ VSub_Name "$_components_") (" ") ($ VSub_Name "$p") ) } spids: [24214] ) ] spids: [24214] ) ] spids: [24211 24212 24221 -1] ) ] spids: [24188 24196 24224] ) ] spids: [24185 24186 24227 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (If arms: [ (if_arm cond: [ (C {(view)} {(-)} {(src)} {(lib/package/) ($ VSub_Name "$p") (.pkg)}) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:p) op: Equal rhs: {($ VSub_Name "$_view_")} spids: [24248] ) ] spids: [24248] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:op) op: Equal rhs: {(Lit_Other ":") (Lit_Other ":")} spids: [24252] ) ] spids: [24252] ) (SimpleCommand words: [{(exec)}] redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: {($ VSub_Name "$p")} spids: [24259] ) ] ) (While cond: [(C {(read)} {(line)})] body: (DoGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:IFS) op: Equal rhs: {(SQ <" \t\\\\">)} spids: [24273] ) ] spids: [24273] ) (C {(set)} {(SQ )} {($ VSub_Name "$line")}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:IFS) op: Equal rhs: {($ VSub_Name "$ifs")} spids: [24287] ) ] spids: [24287] ) (While cond: [(C {(Lit_Other ":")})] body: (DoGroup children: [ (C {(shift)}) (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(0)}] action: [ (ControlFlow token: <ControlFlow_Break break> ) ] spids: [24308 24309 24313 -1] ) ] spids: [24301 24305 24316] ) (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [ {(Lit_Other ":") (Lit_Other "*") (Lit_Other ":") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:op) op: Equal rhs: {($ VSub_Number "$1")} spids: [24331] ) ] spids: [24331] ) ] spids: [24326 24329 24335 -1] ) (case_arm pat_list: [ {(INIT)} {(SQ <"$(">) (Lit_Other "*")} {(Lit_Other "*") (SQ <")">)} ] spids: [24338 24349 24352 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$op")} arms: [ (case_arm pat_list: [ {(Lit_Other ":") (PACKAGE) (Lit_Other ":") } ] action: [ (Case to_match: { (DQ (" ") ($ VSub_Name "$_components_" ) (" ") ) } arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Number "$1") (" ") ) (Lit_Other "*") } ] spids: [24382 24389 24391 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name: _components_ ) op: Equal rhs: { (DQ ($ VSub_Name "$_components_" ) (" ") ($ VSub_Number "$1") ) } spids: [24397] ) ] spids: [24397] ) ] spids: [24394 24395 24404 -1] ) ] spids: [24371 24379 24407] ) ] spids: [24365 24368 24410 -1] ) ] spids: [24358 24362 24413] ) ] spids: [24355 24356 24416 -1] ) ] spids: [24319 24323 24419] ) ] spids: [24296 24422] ) ) ] spids: [24271 24425] ) ) (SimpleCommand words: [{(exec)}] redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: {(/dev/null)} spids: [24430] ) ] ) ] spids: [-1 24246] ) (if_arm cond: [ (C {(test)} {(-d)} {($ VSub_Name "$PACKAGEROOT") (/src/cmd/) ($ VSub_Name "$p")} {(-o)} {(-d)} {($ VSub_Name "$PACKAGEROOT") (/src/lib/) ($ VSub_Name "$p")} ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_components_) op: Equal rhs: { (DQ ($ VSub_Name "$_components_") (" ") ($ VSub_Name "$p") ) } spids: [24456] ) ] spids: [24456] ) ] spids: [24435 24454] ) ] else_action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$p") (": package or component not found") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [24475] ) ] ) (C {(exit)} {(1)}) ] spids: [24464 24484] ) ] spids: [24230 24231 24487 -1] ) ] spids: [24171 24175 24490] ) ] spids: [24169 24493] ) spids: [-1 -1] ) ] spids: [24158] ) spids: [24151 24154] ) (FuncDef name: showenv body: (BraceGroup children: [ (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [{(SQ )} {(make)}] action: [ (ForEach iter_name: __i__ iter_words: [{(CC)} {(SHELL)} {($ VSub_Name "$env")}] do_arg_iter: False body: (DoGroup children: [ (C {(eval)} {(echo)} {($ VSub_Name "$__i__") (Lit_Other "=") (SQ <"$">) ($ VSub_Name "$__i__") } ) ] spids: [24534 24548] ) spids: [24526 -1] ) ] spids: [-1 24520 24551 -1] ) ] spids: [24509 24513 24554] ) ] spids: [24506] ) spids: [24502 24505] ) (FuncDef name: capture body: (BraceGroup children: [ (Case to_match: {($ VSub_Name "$make") (Lit_Other ":") ($ VSub_Name "$noexec")} arms: [ (case_arm pat_list: [{(Lit_Other ":")}] action: [ (Case to_match: {($ VSub_Name "$action")} arms: [ (case_arm pat_list: [{(install)} {(make)} {(view)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:o) op: Equal rhs: {($ VSub_Name "$action")} spids: [24600] ) ] spids: [24600] ) ] spids: [24592 24597 24604 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$package")} arms: [ (case_arm pat_list: [{(SQ )} {(Lit_Other "*") (SQ <" ">) (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:o) op: Equal rhs: {($ VSub_Name "$action")} spids: [24628] ) ] spids: [24628] ) ] spids: [-1 24625 24632 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:o) op: Equal rhs: {($ VSub_Name "$package")} spids: [24638] ) ] spids: [24638] ) ] spids: [24635 24636 24642 -1] ) ] spids: [24610 24614 24645] ) ] spids: [24607 24608 24648 -1] ) ] spids: [24585 24589 24651] ) (Case to_match: {($ VSub_Name "$action")} arms: [ (case_arm pat_list: [{(write)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:d) op: Equal rhs: {($ VSub_Name "$PACKAGESRC") (/gen)} spids: [24664] ) ] spids: [24664] ) ] spids: [24661 24662 24668 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:d) op: Equal rhs: {($ VSub_Name "$PACKAGEBIN") (/gen)} spids: [24674] ) ] spids: [24674] ) ] spids: [24671 24672 24678 -1] ) ] spids: [24654 24658 24681] ) (AndOr children: [ (C {(test)} {(-d)} {($ VSub_Name "$d")}) (C {($ VSub_Name "$exec")} {(mkdir)} {($ VSub_Name "$d")}) ] op_id: Op_DPipe ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:o) op: Equal rhs: {($ VSub_Name "$d") (/) ($ VSub_Name "$o")} spids: [24699] ) ] spids: [24699] ) (Case to_match: {($ VSub_Name "$o")} arms: [ (case_arm pat_list: [{($ VSub_Name "$output")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:o) op: Equal rhs: {($ VSub_Name "$o") (.out)} spids: [24714] ) ] spids: [24714] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:s) op: Equal rhs: {(SQ )} spids: [24719] ) ] spids: [24719] ) ] spids: [24712 24713 24722 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:output) op: Equal rhs: {($ VSub_Name "$o")} spids: [24728] ) ] spids: [24728] ) (If arms: [ (if_arm cond: [(C {(test)} {(-f)} {($ VSub_Name "$o") (.old)})] action: [ (C {(mv)} {($ VSub_Name "$o") (.old)} {($ VSub_Name "$o") (.out.1)}) (If arms: [ (if_arm cond: [(C {(test)} {(-f)} {($ VSub_Name "$o") (.out)})] action: [ (C {(mv)} {($ VSub_Name "$o") (.out)} {($ VSub_Name "$o") (.out.2)} ) ] spids: [-1 24763] ) ] spids: [-1 24774] ) ] spids: [-1 24742] ) (if_arm cond: [(C {(test)} {(-f)} {($ VSub_Name "$o") (.out)})] action: [ (ForEach iter_name: i iter_words: [ { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [ {(ls)} {(-t)} {($ VSub_Name "$o") (.out.) (Lit_Other "?")} ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [24804] ) ] ) ] ) left_token: <Left_Backtick "`"> spids: [24795 24806] ) } ] do_arg_iter: False body: (DoGroup children: [(ControlFlow token:<ControlFlow_Break break>)] spids: [24809 24814] ) spids: [24794 -1] ) (Case to_match: {($ VSub_Name "$i")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (.1)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:i) op: Equal rhs: {(2)} spids: [24828] ) ] spids: [24828] ) ] spids: [24824 24826 24831 -1] ) (case_arm pat_list: [{(Lit_Other "*") (.2)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:i) op: Equal rhs: {(3)} spids: [24838] ) ] spids: [24838] ) ] spids: [24834 24836 24841 -1] ) (case_arm pat_list: [{(Lit_Other "*") (.3)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:i) op: Equal rhs: {(4)} spids: [24848] ) ] spids: [24848] ) ] spids: [24844 24846 24851 -1] ) (case_arm pat_list: [{(Lit_Other "*") (.4)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:i) op: Equal rhs: {(5)} spids: [24858] ) ] spids: [24858] ) ] spids: [24854 24856 24861 -1] ) (case_arm pat_list: [{(Lit_Other "*") (.5)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:i) op: Equal rhs: {(6)} spids: [24868] ) ] spids: [24868] ) ] spids: [24864 24866 24871 -1] ) (case_arm pat_list: [{(Lit_Other "*") (.6)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:i) op: Equal rhs: {(7)} spids: [24878] ) ] spids: [24878] ) ] spids: [24874 24876 24881 -1] ) (case_arm pat_list: [{(Lit_Other "*") (.7)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:i) op: Equal rhs: {(8)} spids: [24888] ) ] spids: [24888] ) ] spids: [24884 24886 24891 -1] ) (case_arm pat_list: [{(Lit_Other "*") (.8)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:i) op: Equal rhs: {(9)} spids: [24898] ) ] spids: [24898] ) ] spids: [24894 24896 24901 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:i) op: Equal rhs: {(1)} spids: [24907] ) ] spids: [24907] ) ] spids: [24904 24905 24910 -1] ) ] spids: [24817 24821 24913] ) (C {(mv)} {($ VSub_Name "$o") (.out)} {($ VSub_Name "$o") (.out.) ($ VSub_Name "$i")} ) ] spids: [24777 24787] ) ] spids: [-1 24926] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:o) op: Equal rhs: {($ VSub_Name "$o") (.out)} spids: [24929] ) ] spids: [24929] ) (SimpleCommand words: [{(Lit_Other ":")}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {($ VSub_Name "$o")} spids: [24936] ) ] ) (C {(note)} {($ VSub_Name "$action")} {(output)} {(captured)} {(KW_In in)} {($ VSub_Name "$o")} ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:s) op: Equal rhs: { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$action") (" start at ") (CommandSubPart command_list: (CommandList children:[(C {(date)})]) left_token: <Left_Backtick "`"> spids: [24960 24962] ) (" in ") ($ VSub_Name "$INSTALLROOT") ) } spids: [24954] ) ] spids: [24954] ) (Case to_match: {($ VSub_Name "$quiet")} arms: [ (case_arm pat_list: [{(0)}] action: [ (C {(trap)} { (DQ ("echo ") (EscapedLiteralPart token: <Lit_EscapedChar "\\\""> ) ($ VSub_Name "$command") (": ") ($ VSub_Name "$action") (" done at ") (EscapedLiteralPart token: <Lit_EscapedChar "\\`"> ) (date) (EscapedLiteralPart token:<Lit_EscapedChar "\\`">) (EscapedLiteralPart token: <Lit_EscapedChar "\\\""> ) (" in ") ($ VSub_Name "$INSTALLROOT") (" 2>&1 | ") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ("TEE -a ") ($ VSub_Name "$o") ) } {(0)} {(1)} {(2)} ) ] spids: [24975 24976 25005 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (C {(trap)} { (DQ ("echo ") (EscapedLiteralPart token: <Lit_EscapedChar "\\\""> ) ($ VSub_Name "$command") (": ") ($ VSub_Name "$action") (" done at ") (EscapedLiteralPart token: <Lit_EscapedChar "\\`"> ) (date) (EscapedLiteralPart token:<Lit_EscapedChar "\\`">) (EscapedLiteralPart token: <Lit_EscapedChar "\\\""> ) (" in ") ($ VSub_Name "$INSTALLROOT") (" >> ") ($ VSub_Name "$o") ) } {(0)} {(1)} {(2)} ) ] spids: [25008 25009 25036 -1] ) ] spids: [24968 24972 25039] ) ] spids: [24725 24726 25042 -1] ) ] spids: [24705 24709 25045] ) (Case to_match: {($ VSub_Name "$quiet")} arms: [ (case_arm pat_list: [{(0)}] action: [ (If arms: [ (if_arm cond: [(C {(executable)} {(KW_Bang "!")} {($ VSub_Name "$TEE")})] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:TEE) op: Equal rhs: {(tee)} spids: [25069] ) ] spids: [25069] ) ] spids: [-1 25067] ) ] spids: [-1 25073] ) (Pipeline children: [ (BraceGroup children: [ (Case to_match: {($ VSub_Name "$s")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [(C {(echo)} {(DQ ($ VSub_Name "$s"))})] spids: [25086 25088 25096 -1] ) ] spids: [25079 25083 25099] ) (C {(showenv)} {($ VSub_Name "$action")}) (C {(DQ ($ VSub_At "$@"))}) ] redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: {(/dev/null)} spids: [25114] ) (Redir op_id: Redir_GreatAnd fd: 2 arg_word: {(1)} spids: [25118] ) ] spids: [25076] ) (C {($ VSub_Name "$TEE")} {(-a)} {($ VSub_Name "$o")}) ] negated: False ) ] spids: [25055 25056 25130 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (BraceGroup children: [ (Case to_match: {($ VSub_Name "$s")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [(C {(echo)} {(DQ ($ VSub_Name "$s"))})] spids: [25146 25148 25156 -1] ) ] spids: [25139 25143 25159] ) (C {(showenv)} {($ VSub_Name "$action")}) (C {(DQ ($ VSub_At "$@"))}) ] redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: {(/dev/null)} spids: [25174] ) (Redir op_id: Redir_Great fd: -1 arg_word: {($ VSub_Name "$o")} spids: [25178] ) (Redir op_id: Redir_GreatAnd fd: 2 arg_word: {(1)} spids: [25182] ) ] spids: [25136] ) ] spids: [25133 25134 25186 -1] ) ] spids: [25048 25052 25189] ) ] spids: [24582 24583 25192 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [(C {($ VSub_Name "$make")} {(DQ ($ VSub_At "$@"))})] spids: [25195 25196 25205 -1] ) ] spids: [24573 24579 25208] ) ] spids: [24570] ) spids: [24563 24566] ) (FuncDef name: package_install body: (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:dest) op: Equal rhs: {($ VSub_Number "$1")} spids: [25223] ) (assign_pair lhs: (LhsName name:sum) op: Equal rhs: {($ VSub_Number "$2")} spids: [25226] ) ] spids: [25223] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:ot) op:Equal rhs:{(SQ )} spids:[25230])] spids: [25230] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:code) op:Equal rhs:{(0)} spids:[25233])] spids: [25233] ) (Pipeline children: [ (C {(sed)} {(-e)} {(SQ <"/ /!d">)} {(-e)} {(SQ <"s,[^ ]* ,,">)} {(-e)} {(SQ <"s, \\(arch/[^/]*\\)/, \\1 ,">)} {(-e)} {(SQ <"/ arch\\//!s,^[^ ]* [^ ]* [^ ]*,& .,">)} {(-e)} {(SQ <"s,/\\([^ /]*\\)$, \\1,">)} {($ VSub_Name "$sum")} ) (While cond: [(C {(read)} {(mode)} {(user)} {(group)} {(arch)} {(dir)} {(file)})] body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$flat") (Lit_Other ":") ($ VSub_Name "$arch")} arms: [ (case_arm pat_list: [ {(1) (Lit_Other ":") (Lit_Other "*")} {(Lit_Other "?") (Lit_Other ":") (.)} ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:t) op: Equal rhs: {($ VSub_Name "$dest") (/) ($ VSub_Name "$dir")} spids: [25310] ) ] spids: [25310] ) ] spids: [25302 25309 25315 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:t) op: Equal rhs: {($ VSub_Name "$dest") (/) ($ VSub_Name "$arch") (/) ($ VSub_Name "$dir") } spids: [25321] ) ] spids: [25321] ) ] spids: [25318 25319 25328 -1] ) ] spids: [25293 25299 25331] ) (Case to_match: {($ VSub_Name "$t")} arms: [ (case_arm pat_list: [{($ VSub_Name "$ot")}] spids: [25341 25342 25344 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (If arms: [ (if_arm cond: [ (C {(test)} {(KW_Bang "!")} {(-d)} {(DQ ($ VSub_Name "$t"))}) ] action: [ (AndOr children: [ (C {($ VSub_Name "$exec")} {(mkdir)} {(-p)} {(DQ ($ VSub_Name "$t"))} ) (C {(exit)}) ] op_id: Op_DPipe ) ] spids: [-1 25363] ) ] spids: [-1 25380] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:ot) op: Equal rhs: {($ VSub_Name "$t")} spids: [25383] ) ] spids: [25383] ) ] spids: [25347 25348 25387 -1] ) ] spids: [25334 25338 25390] ) (Case to_match: {($ VSub_Name "$file")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$arch")} arms: [ (case_arm pat_list: [{(.)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:f) op: Equal rhs: {($ VSub_Name "$dir") (/) ($ VSub_Name "$file")} spids: [25414] ) ] spids: [25414] ) ] spids: [25411 25412 25419 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:f) op: Equal rhs: {($ VSub_Name "$arch") (/) ($ VSub_Name "$dir") (/) ($ VSub_Name "$file") } spids: [25425] ) ] spids: [25425] ) ] spids: [25422 25423 25432 -1] ) ] spids: [25404 25408 25435] ) (If arms: [ (if_arm cond: [(C {(test)} {(-f)} {(DQ ($ VSub_Name "$f"))})] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:t) op: Equal rhs: {($ VSub_Name "$t") (/) ($ VSub_Name "$file")} spids: [25451] ) ] spids: [25451] ) (Case to_match: {($ VSub_Name "$quiet")} arms: [ (case_arm pat_list: [{(0)}] action: [(C {(echo)} {(DQ ($ VSub_Name "$t"))})] spids: [25464 25465 25473 -1] ) ] spids: [25457 25461 25476] ) (AndOr children: [ (C {($ VSub_Name "$exec")} {(cp)} {(-f)} {(DQ ($ VSub_Name "$f"))} {(DQ ($ VSub_Name "$t"))} ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {(1)} spids: [25495] ) ] spids: [25495] ) ] op_id: Op_DPipe ) (AndOr children: [ (C {($ VSub_Name "$exec")} {(chmod)} {($ VSub_Name "$mode")} {(DQ ($ VSub_Name "$t"))} ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {(1)} spids: [25511] ) ] spids: [25511] ) ] op_id: Op_DPipe ) ] spids: [-1 25449] ) ] spids: [-1 25515] ) ] spids: [25400 25402 25518 -1] ) ] spids: [25393 25397 25521] ) ] spids: [25291 25524] ) ) ] negated: False ) (ControlFlow token: <ControlFlow_Return return> arg_word: {($ VSub_Name "$code")} ) ] spids: [25220] ) spids: [25213 25216] ) (FuncDef name: package_verify body: (BraceGroup children: [(C {($ VSub_Name "$exec")} {($ VSub_Name "$SUM")} {(-cp)} {($ VSub_Number "$1")})] spids: [25541] ) spids: [25534 25537] ) (FuncDef name: make_recurse body: (BraceGroup children: [ (ForEach iter_name: _make_recurse_j iter_words: [{($ VSub_Name "$makefiles")}] do_arg_iter: False body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (C {(view)} {(-)} {($ VSub_Number "$1") (/) ($ VSub_Name "$_make_recurse_j")} ) ] action: [(ControlFlow token:<ControlFlow_Return return>)] spids: [-1 25587] ) ] spids: [-1 25592] ) ] spids: [25574 25595] ) spids: [25570 -1] ) (If arms: [ (if_arm cond: [(C {(test)} {(-d)} {($ VSub_Number "$1")})] action: [ (Case to_match: {($ VSub_Name "$exec")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (AndOr children: [ (SimpleCommand words: [{(echo)} {(Lit_Other ":") (MAKE) (Lit_Other ":")}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {($ VSub_Number "$1") (/Makefile)} spids: [25626] ) ] ) (C {(exit)}) ] op_id: Op_DPipe ) ] spids: [-1 25618 25635 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (C {($ VSub_Name "$exec")} {(DQ ("echo :MAKE: > ") ($ VSub_Number "$1") (/Makefile))} ) ] spids: [25638 25639 25649 -1] ) ] spids: [25609 25613 25652] ) ] spids: [-1 25607] ) ] spids: [-1 25655] ) ] spids: [25562] ) spids: [25555 25558] ) (FuncDef name: get body: (BraceGroup children: [ (Case to_match: {($ VSub_Name "$HURL")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:HURL) op:Equal rhs:{(.)} spids:[25681])] spids: [25681] ) (ForEach iter_name: i iter_words: [{(wget)} {(lynx)} {(curl)}] do_arg_iter: False body: (DoGroup children: [ (If arms: [ (if_arm cond: [(C {(onpath)} {($ VSub_Name "$i")})] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:HURL) op: Equal rhs: {($ VSub_Name "$i")} spids: [25709] ) ] spids: [25709] ) (Sentence child: (ControlFlow token:<ControlFlow_Break break>) terminator: <Op_Semi ";"> ) ] spids: [-1 25707] ) ] spids: [-1 25717] ) ] spids: [25698 25720] ) spids: [25690 -1] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:AUTHORIZE) op: Equal rhs: { (DQ ("User-Agent: package AT&T Research") (EscapedLiteralPart token: <Lit_EscapedChar "\\\\"> ) (r) (EscapedLiteralPart token:<Lit_EscapedChar "\\\\">) (n) ) } spids: [25723] ) ] spids: [25723] ) (Case to_match: {($ VSub_Name "$HURL") (Lit_Other ":") ($ VSub_Name "$authorize")} arms: [ (case_arm pat_list: [{(.) (Lit_Other ":") (Lit_Other "?") (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:AUTHORIZE) op: Equal rhs: { (DQ (${ VSub_Name AUTHORIZE) ("Authorization: Basic ") (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(print)} {(-n)} {(-r)} {(--)} {($ VSub_Name "$authorize") (Lit_Other ":") ($ VSub_Name "$password") } ) (C {(uuencode)} {(-h)} {(-x)} {(base64)}) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [25754 25776] ) (EscapedLiteralPart token:<Lit_EscapedChar "\\\\">) (r) (EscapedLiteralPart token: <Lit_EscapedChar "\\\\"> ) (n) ) } spids: [25748] ) ] spids: [25748] ) ] spids: [25742 25746 25783 -1] ) ] spids: [25733 25739 25786] ) ] spids: [-1 25679 25789 -1] ) ] spids: [25670 25674 25792] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:getfd) op:Equal rhs:{(8)} spids:[25795])] spids: [25795] ) (Case to_match: {($ VSub_Number "$3")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Case to_match: {($ VSub_Name "$HURL")} arms: [ (case_arm pat_list: [{(.)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:host) op: Equal rhs: {($ VSub_Number "$1")} spids: [25820] ) ] spids: [25820] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:path) op: Equal rhs: {($ VSub_Number "$2")} spids: [25824] ) ] spids: [25824] ) (While cond: [(C {(Lit_Other ":")})] body: (DoGroup children: [ (AndOr children: [ (C {(eval)} { (DQ ("exec ") ($ VSub_Name "$getfd") ("<> /dev/tcp/") ($ VSub_Name "$host") (/80) ) } ) (C {(exit)}) ] op_id: Op_DPipe ) (Case to_match: {($ VSub_Name "$path")} arms: [ (case_arm pat_list: [{(/) (Lit_Other "*")}] spids: [25857 25859 25861 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:path) op: Equal rhs: {(/) ($ VSub_Name "$path")} spids: [25867] ) ] spids: [25867] ) ] spids: [25864 25865 25871 -1] ) ] spids: [25850 25854 25874] ) (SimpleCommand words: [ {(print)} { (DQ ("GET ") ($ VSub_Name "$path") (" HTTP/1.0") (EscapedLiteralPart token: <Lit_EscapedChar "\\\\"> ) (r) (EscapedLiteralPart token:<Lit_EscapedChar "\\\\">) ("nHost: ") ($ VSub_Name "$host") (EscapedLiteralPart token: <Lit_EscapedChar "\\\\"> ) (r) (EscapedLiteralPart token:<Lit_EscapedChar "\\\\">) (n) ($ VSub_Name "$AUTHORIZE") (EscapedLiteralPart token: <Lit_EscapedChar "\\\\"> ) (r) ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {($ VSub_Name "$getfd")} spids: [25897] ) ] ) (SimpleCommand words: [{(cat)}] redirects: [ (Redir op_id: Redir_LessAnd fd: -1 arg_word: {(8)} spids: [25903] ) (Redir op_id: Redir_Great fd: -1 arg_word: {(get.tmp)} spids: [25906] ) ] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:got) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [(C {(sed)} {(-e)} {(1q)} {(get.tmp)})] ) left_token: <Left_Backtick "`"> spids: [25912 25920] ) } spids: [25911] ) ] spids: [25911] ) (Case to_match: {($ VSub_Name "$got")} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ")) (200) (DQ (" ")) (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:got) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (C {(sed)} {(-e)} {(SQ <"1,/^.$/d">)} {(-e)} {(SQ <"/^[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWYZ]/!d">)} {(get.tmp)} ) ] ) left_token: <Left_Backtick "`"> spids: [25943 25959] ) } spids: [25942] ) ] spids: [25942] ) (SimpleCommand words: [{(Lit_Other ":")}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(get.err)} spids: [25964] ) ] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {(0)} spids: [25969] ) ] spids: [25969] ) (ControlFlow token: <ControlFlow_Break break> ) ] spids: [25930 25939 25976 -1] ) (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ")) (30) (Lit_Other "[") (123) (Lit_Other "]") (DQ (" ")) (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:got) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (C {(sed)} {(-e)} {(SQ <"/^Location: /!d">)} {(-e)} { (SQ < "s,^Location: \\(.*\\)://\\([^/]*\\)\\(/.*\\),prot=" > ) (EscapedLiteralPart token:<Lit_EscapedChar "\\'">) (SQ <"\\1">) (EscapedLiteralPart token: <Lit_EscapedChar "\\'"> ) (SQ <" host=">) (EscapedLiteralPart token:<Lit_EscapedChar "\\'">) (SQ <"\\2">) (EscapedLiteralPart token: <Lit_EscapedChar "\\'"> ) (SQ <" path=">) (EscapedLiteralPart token:<Lit_EscapedChar "\\'">) (SQ <"\\3">) (EscapedLiteralPart token: <Lit_EscapedChar "\\'"> ) (SQ <",">) } {(get.tmp)} ) ] ) left_token: <Left_Backtick "`"> spids: [25995 26035] ) } spids: [25994] ) ] spids: [25994] ) (Case to_match: {($ VSub_Name "$got")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (C {(rm)} {(get.tmp)}) (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$action") (": ") ($ VSub_Name "$url") (": redirect error") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [26065] ) ] ) (C {(exit)} {(1)}) ] spids: [-1 26047 26074 -1] ) ] spids: [26038 26042 26077] ) (C {(eval)} {($ VSub_Name "$got")}) ] spids: [25979 25991 26085 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (C {(rm)} {(get.tmp)}) (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$action") (": ") ($ VSub_Name "$url") (": ") ($ VSub_Name "$got") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [26108] ) ] ) (SimpleCommand words: [{(echo)} {(SQ )} {(DQ ($ VSub_Name "$got"))}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(get.err)} spids: [26121] ) ] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {(1)} spids: [26126] ) ] spids: [26126] ) (ControlFlow token: <ControlFlow_Break break> ) ] spids: [26088 26089 26133 -1] ) ] spids: [25923 25927 26136] ) ] spids: [25833 26139] ) ) ] spids: [25817 25818 26142 -1] ) (case_arm pat_list: [{(curl)}] action: [ (Case to_match: {($ VSub_Name "$authorize")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Sentence child: (SimpleCommand words: [ {(curl)} {(-s)} {(-L)} {(-o)} {(get.tmp)} {(http) (Lit_Other ":") (//) ($ VSub_Number "$1") (/) ($ VSub_Number "$2") } ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(get.err)} spids: [26176] ) ] ) terminator: <Op_Semi ";"> ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {($ VSub_QMark "$?")} spids: [26181] ) ] spids: [26181] ) ] spids: [-1 26157 26184 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Sentence child: (SimpleCommand words: [ {(curl)} {(-s)} {(-L)} {(-o)} {(get.tmp)} {(-u)} {(DQ ($ VSub_Name "$authorize")) (Lit_Other ":") (DQ ($ VSub_Name "$password")) } {(http) (Lit_Other ":") (//) ($ VSub_Number "$1") (/) ($ VSub_Number "$2") } ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(get.err)} spids: [26217] ) ] ) terminator: <Op_Semi ";"> ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {($ VSub_QMark "$?")} spids: [26222] ) ] spids: [26222] ) ] spids: [26187 26188 26225 -1] ) ] spids: [26148 26152 26228] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:got) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [ {(grep)} { (SQ < "^[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWYZ]" > ) } {(get.tmp)} ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [26241] ) ] ) ] ) left_token: <Left_Backtick "`"> spids: [26232 26243] ) } spids: [26231] ) ] spids: [26231] ) (Case to_match: {($ VSub_Name "$code")} arms: [ (case_arm pat_list: [{(0)}] action: [ (If arms: [ (if_arm cond: [ (SimpleCommand words: [ {(grep)} {(SQ <"^<H1>Authorization Required</H1>">)} {(get.tmp)} ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(get.err)} spids: [26266] ) ] ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {(1)} spids: [26273] ) ] spids: [26273] ) ] spids: [-1 26271] ) ] spids: [-1 26277] ) ] spids: [26253 26254 26280 -1] ) ] spids: [26246 26250 26283] ) ] spids: [26145 26146 26286 -1] ) (case_arm pat_list: [{(hurl)}] action: [ (Case to_match: {($ VSub_Name "$authorize")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Sentence child: (SimpleCommand words: [ {(hurl)} {(http) (Lit_Other ":") (//) ($ VSub_Number "$1") (/) ($ VSub_Number "$2") } ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(get.tmp)} spids: [26312] ) (Redir op_id: Redir_Great fd: 2 arg_word: {(get.err)} spids: [26316] ) ] ) terminator: <Op_Semi ";"> ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {($ VSub_QMark "$?")} spids: [26321] ) ] spids: [26321] ) ] spids: [-1 26301 26324 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Sentence child: (SimpleCommand words: [ {(hurl)} {(-a)} {(DQ ($ VSub_Name "$authorize")) (Lit_Other ":") (DQ ($ VSub_Name "$password")) } {(http) (Lit_Other ":") (//) ($ VSub_Number "$1") (/) ($ VSub_Number "$2") } ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(get.tmp)} spids: [26349] ) (Redir op_id: Redir_Great fd: 2 arg_word: {(get.err)} spids: [26353] ) ] ) terminator: <Op_Semi ";"> ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {($ VSub_QMark "$?")} spids: [26358] ) ] spids: [26358] ) ] spids: [26327 26328 26361 -1] ) ] spids: [26292 26296 26364] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:got) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (C {(grep)} { (SQ < "^[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWYZ]" > ) } {(get.tmp)} ) ] ) left_token: <Left_Backtick "`"> spids: [26368 26376] ) } spids: [26367] ) ] spids: [26367] ) ] spids: [26289 26290 26379 -1] ) (case_arm pat_list: [{(lynx)}] action: [ (Case to_match: {($ VSub_Name "$authorize")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Sentence child: (SimpleCommand words: [ {(lynx)} {(-source)} {(http) (Lit_Other ":") (//) ($ VSub_Number "$1") (/) ($ VSub_Number "$2") } ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(get.tmp)} spids: [26407] ) (Redir op_id: Redir_Great fd: 2 arg_word: {(get.err)} spids: [26411] ) ] ) terminator: <Op_Semi ";"> ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {($ VSub_QMark "$?")} spids: [26416] ) ] spids: [26416] ) ] spids: [-1 26394 26419 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Sentence child: (SimpleCommand words: [ {(lynx)} {(-source)} {(-auth)} {(DQ ($ VSub_Name "$authorize")) (Lit_Other ":") (DQ ($ VSub_Name "$password")) } {(http) (Lit_Other ":") (//) ($ VSub_Number "$1") (/) ($ VSub_Number "$2") } ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(get.tmp)} spids: [26446] ) (Redir op_id: Redir_Great fd: 2 arg_word: {(get.err)} spids: [26450] ) ] ) terminator: <Op_Semi ";"> ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {($ VSub_QMark "$?")} spids: [26455] ) ] spids: [26455] ) ] spids: [26422 26423 26458 -1] ) ] spids: [26385 26389 26461] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:got) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (C {(grep)} { (SQ < "^[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWYZ]" > ) } {(get.tmp)} ) ] ) left_token: <Left_Backtick "`"> spids: [26465 26473] ) } spids: [26464] ) ] spids: [26464] ) ] spids: [26382 26383 26476 -1] ) (case_arm pat_list: [{(wget)}] action: [ (SimpleCommand words: [ {(wget)} {(-nv)} {(-O)} {(get.tmp)} { (BracedVarSub token: <VSub_Name authorize> suffix_op: (StringUnary op_id: VTest_ColonPlus arg_word: {("--http-user=") (DQ ($ VSub_Name "$authorize"))} ) spids: [26490 26497] ) } { (BracedVarSub token: <VSub_Name password> suffix_op: (StringUnary op_id: VTest_ColonPlus arg_word: {("--http-passwd=") (DQ ($ VSub_Name "$password"))} ) spids: [26499 26506] ) } {(http) (Lit_Other ":") (//) ($ VSub_Number "$1") (/) ($ VSub_Number "$2") } ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(get.err)} spids: [26515] ) ] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {($ VSub_QMark "$?")} spids: [26520] ) ] spids: [26520] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:got) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [ {(grep)} { (SQ < "^[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWYZ]" > ) } {(get.tmp)} ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [26534] ) ] ) ] ) left_token: <Left_Backtick "`"> spids: [26525 26536] ) } spids: [26524] ) ] spids: [26524] ) ] spids: [26479 26480 26539 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (SimpleCommand words: [ {(echo)} {($ VSub_Name "$command") (Lit_Other ":")} {($ VSub_Name "$action") (Lit_Other ":")} {($ VSub_Name "$HURL") (Lit_Other ":")} {(url)} {(get)} {(command)} {(not)} {(found)} ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [26566] ) ] ) (C {(exit)} {(1)}) ] spids: [26542 26543 26575 -1] ) ] spids: [25810 25814 26578] ) (If arms: [ (if_arm cond: [ (C {(test)} {(0)} {(KW_Bang "!") (Lit_Other "=")} {(DQ ($ VSub_Name "$code"))}) ] action: [ (Case to_match: { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [{(cat)} {(get.err)} {(get.tmp)}] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [26606] ) ] ) ] ) left_token: <Left_Backtick "`"> spids: [26599 26608] ) } arms: [ (case_arm pat_list: [ {(Lit_Other "*") (Lit_Other "[") (Aa) (Lit_Other "]") (Lit_Other "[") (Uu) (Lit_Other "]") (Lit_Other "[") (Tt) (Lit_Other "]") (Lit_Other "[") (Hh) (Lit_Other "]") (Lit_Other "[") (Oo) (Lit_Other "]") (Lit_Other "[") (Rr) (Lit_Other "]") (Lit_Other "[") (Ii) (Lit_Other "]") (Lit_Other "[") (SsZz) (Lit_Other "]") (Lit_Other "*") } {(Lit_Other "*") (Lit_Other "[") (Dd) (Lit_Other "]") (Lit_Other "[") (Ee) (Lit_Other "]") (Lit_Other "[") (Nn) (Lit_Other "]") (Lit_Other "[") (Ii) (Lit_Other "]") (Lit_Other "[") (Ee) (Lit_Other "]") (Lit_Other "[") (Dd) (Lit_Other "]") (Lit_Other "*") } ] action: [ (SimpleCommand words: [ {(echo)} {($ VSub_Name "$command") (Lit_Other ":")} {($ VSub_Name "$action") (Lit_Other ":")} {(authorization)} {(required)} {(--)} {(see)} {($ VSub_Name "$url")} {(KW_For for)} {(license)} {(acceptance)} {(authorization)} {(name)} {(and)} {(password)} ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [26695] ) ] ) ] spids: [26613 26660 26699 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [(C {(cat)} {(get.err)})] spids: [26702 26703 26710 -1] ) ] spids: [26597 26610 26713] ) (C {(rm)} {(-f)} {(get.tmp)} {(get.err)}) (SimpleCommand words: [ {(echo)} {($ VSub_Name "$command") (Lit_Other ":")} {($ VSub_Name "$action") (Lit_Other ":")} {($ VSub_Number "$2") (Lit_Other ":")} {(download)} {(failed)} ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [26740] ) ] ) (C {(exit)} {(1)}) ] spids: [-1 26595] ) ] spids: [-1 26749] ) (C {(rm)} {(-f)} {(get.tmp)} {(get.err)}) ] spids: [-1 25808 26761 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$exec")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (SimpleCommand words: [ {(echo)} {(DQ ($ VSub_Number "$3") (" (") ($ VSub_Number "$4") (" bytes):"))} ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [26787] ) ] ) (Case to_match: {($ VSub_Name "$HURL")} arms: [ (case_arm pat_list: [{(.)}] action: [ (AndOr children: [ (C {(eval)} { (DQ ("exec ") ($ VSub_Name "$getfd") ("<> /dev/tcp/") ($ VSub_Number "$1") (/80) ) } ) (C {(exit)}) ] op_id: Op_DPipe ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:path) op: Equal rhs: {($ VSub_Number "$2") (/) ($ VSub_Number "$3")} spids: [26816] ) ] spids: [26816] ) (Case to_match: {($ VSub_Name "$path")} arms: [ (case_arm pat_list: [{(/) (Lit_Other "*")}] spids: [26829 26831 26833 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:path) op: Equal rhs: {(/) ($ VSub_Name "$path")} spids: [26839] ) ] spids: [26839] ) ] spids: [26836 26837 26843 -1] ) ] spids: [26822 26826 26846] ) (SimpleCommand words: [ {(print)} { (DQ ("GET ") ($ VSub_Name "$path") (" HTTP/1.0") (EscapedLiteralPart token: <Lit_EscapedChar "\\\\"> ) (r) (EscapedLiteralPart token:<Lit_EscapedChar "\\\\">) ("nHost: ") ($ VSub_Name "$host") (EscapedLiteralPart token: <Lit_EscapedChar "\\\\"> ) (r) (EscapedLiteralPart token:<Lit_EscapedChar "\\\\">) (n) ($ VSub_Name "$AUTHORIZE") (EscapedLiteralPart token: <Lit_EscapedChar "\\\\"> ) (r) ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {($ VSub_Name "$getfd")} spids: [26869] ) ] ) (SimpleCommand words: [{(read)} {(got)}] redirects: [ (Redir op_id: Redir_LessAnd fd: -1 arg_word: {($ VSub_Name "$getfd")} spids: [26877] ) ] ) (Case to_match: {($ VSub_Name "$got")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (DQ (" 200 ")) (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {(0)} spids: [26896] ) ] spids: [26896] ) (SimpleCommand words: [{(Lit_Other ":")}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(get.err)} spids: [26902] ) ] ) ] spids: [26888 26893 26907 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (SimpleCommand words: [{(echo)} {(SQ )} {(DQ ($ VSub_Name "$got"))}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(get.err)} spids: [26922] ) ] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {(1)} spids: [26927] ) ] spids: [26927] ) ] spids: [26910 26911 26931 -1] ) ] spids: [26881 26885 26934] ) (While cond: [ (SimpleCommand words: [{(read)} {(got)}] redirects: [ (Redir op_id: Redir_LessAnd fd: -1 arg_word: {($ VSub_Name "$getfd")} spids: [26943] ) ] ) ] body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$got")} arms: [ (case_arm pat_list: [{(SQ )} {(Lit_Other "?")}] action: [ (ControlFlow token: <ControlFlow_Break break> ) ] spids: [-1 26960 26964 -1] ) ] spids: [26949 26953 26967] ) ] spids: [26947 26970] ) ) (SimpleCommand words: [{(cat)}] redirects: [ (Redir op_id: Redir_LessAnd fd: -1 arg_word: {($ VSub_Name "$getfd")} spids: [26975] ) (Redir op_id: Redir_Great fd: -1 arg_word: {(get.tmp)} spids: [26978] ) ] ) ] spids: [26798 26799 26983 -1] ) (case_arm pat_list: [{(curl)}] action: [ (Case to_match: {($ VSub_Name "$authorize")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Sentence child: (SimpleCommand words: [ {(curl)} {(-s)} {(-L)} {(-o)} {(get.tmp)} {(http) (Lit_Other ":") (//) ($ VSub_Number "$1") (/) ($ VSub_Number "$2") (/) ($ VSub_Number "$3") } ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(get.err)} spids: [27019] ) ] ) terminator: <Op_Semi ";"> ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {($ VSub_QMark "$?")} spids: [27024] ) ] spids: [27024] ) ] spids: [-1 26998 27027 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Sentence child: (SimpleCommand words: [ {(curl)} {(-s)} {(-L)} {(-o)} {(get.tmp)} {(-u)} {(DQ ($ VSub_Name "$authorize")) (Lit_Other ":") (DQ ($ VSub_Name "$password")) } {(http) (Lit_Other ":") (//) ($ VSub_Number "$1") (/) ($ VSub_Number "$2") (/) ($ VSub_Number "$3") } ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(get.err)} spids: [27062] ) ] ) terminator: <Op_Semi ";"> ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {($ VSub_QMark "$?")} spids: [27067] ) ] spids: [27067] ) ] spids: [27030 27031 -1 27071] ) ] spids: [26989 26993 27071] ) (Case to_match: {($ VSub_Name "$code")} arms: [ (case_arm pat_list: [{(0)}] action: [ (If arms: [ (if_arm cond: [ (SimpleCommand words: [ {(grep)} {(SQ <"^<H1>Authorization Required</H1>">)} {(get.tmp)} ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(get.err)} spids: [27094] ) ] ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {(1)} spids: [27101] ) ] spids: [27101] ) ] spids: [-1 27099] ) ] spids: [-1 27105] ) ] spids: [27081 27082 27108 -1] ) ] spids: [27074 27078 27111] ) ] spids: [26986 26987 27114 -1] ) (case_arm pat_list: [{(hurl)}] action: [ (Case to_match: {($ VSub_Name "$authorize")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Sentence child: (SimpleCommand words: [ {(ksh)} {(-x)} {(hurl)} {(http) (Lit_Other ":") (//) ($ VSub_Number "$1") (/) ($ VSub_Number "$2") (/) ($ VSub_Number "$3") } ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(get.tmp)} spids: [27146] ) (Redir op_id: Redir_Great fd: 2 arg_word: {(get.err)} spids: [27150] ) ] ) terminator: <Op_Semi ";"> ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {($ VSub_QMark "$?")} spids: [27155] ) ] spids: [27155] ) ] spids: [-1 27129 27158 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Sentence child: (SimpleCommand words: [ {(ksh)} {(-x)} {(hurl)} {(-a)} {(DQ ($ VSub_Name "$authorize")) (Lit_Other ":") (DQ ($ VSub_Name "$password")) } {(http) (Lit_Other ":") (//) ($ VSub_Number "$1") (/) ($ VSub_Number "$2") (/) ($ VSub_Number "$3") } ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(get.tmp)} spids: [27189] ) (Redir op_id: Redir_Great fd: 2 arg_word: {(get.err)} spids: [27193] ) ] ) terminator: <Op_Semi ";"> ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {($ VSub_QMark "$?")} spids: [27198] ) ] spids: [27198] ) ] spids: [27161 27162 27201 -1] ) ] spids: [27120 27124 27204] ) ] spids: [27117 27118 27207 -1] ) (case_arm pat_list: [{(lynx)}] action: [ (Case to_match: {($ VSub_Name "$authorize")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Sentence child: (SimpleCommand words: [ {(lynx)} {(-source)} {(http) (Lit_Other ":") (//) ($ VSub_Number "$1") (/) ($ VSub_Number "$2") (/) ($ VSub_Number "$3") } ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(get.tmp)} spids: [27237] ) (Redir op_id: Redir_Great fd: 2 arg_word: {(get.err)} spids: [27241] ) ] ) terminator: <Op_Semi ";"> ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {($ VSub_QMark "$?")} spids: [27246] ) ] spids: [27246] ) ] spids: [-1 27222 27249 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Sentence child: (SimpleCommand words: [ {(lynx)} {(-source)} {(-auth)} {(DQ ($ VSub_Name "$authorize")) (Lit_Other ":") (DQ ($ VSub_Name "$password")) } {(http) (Lit_Other ":") (//) ($ VSub_Number "$1") (/) ($ VSub_Number "$2") (/) ($ VSub_Number "$3") } ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(get.tmp)} spids: [27278] ) (Redir op_id: Redir_Great fd: 2 arg_word: {(get.err)} spids: [27282] ) ] ) terminator: <Op_Semi ";"> ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {($ VSub_QMark "$?")} spids: [27287] ) ] spids: [27287] ) ] spids: [27252 27253 27290 -1] ) ] spids: [27213 27217 27293] ) ] spids: [27210 27211 27296 -1] ) (case_arm pat_list: [{(wget)}] action: [ (SimpleCommand words: [ {(wget)} {(-nv)} {(-O)} {(get.tmp)} { (BracedVarSub token: <VSub_Name authorize> suffix_op: (StringUnary op_id: VTest_ColonPlus arg_word: {("--http-user=") (DQ ($ VSub_Name "$authorize"))} ) spids: [27310 27317] ) } { (BracedVarSub token: <VSub_Name password> suffix_op: (StringUnary op_id: VTest_ColonPlus arg_word: {("--http-passwd=") (DQ ($ VSub_Name "$password"))} ) spids: [27319 27326] ) } {(http) (Lit_Other ":") (//) ($ VSub_Number "$1") (/) ($ VSub_Number "$2") (/) ($ VSub_Number "$3") } ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(get.err)} spids: [27337] ) ] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {($ VSub_QMark "$?")} spids: [27342] ) ] spids: [27342] ) ] spids: [27299 27300 27346 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (SimpleCommand words: [ {(echo)} {($ VSub_Name "$command") (Lit_Other ":")} {($ VSub_Name "$action") (Lit_Other ":")} {($ VSub_Name "$HURL") (Lit_Other ":")} {(url)} {(get)} {(command)} {(not)} {(found)} ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [27373] ) ] ) (C {(exit)} {(1)}) ] spids: [27349 27350 27382 -1] ) ] spids: [26791 26795 27385] ) (If arms: [ (if_arm cond: [ (C {(test)} {(0)} {(KW_Bang "!") (Lit_Other "=")} {(DQ ($ VSub_Name "$code"))} ) ] action: [ (Case to_match: { (CommandSubPart command_list: (CommandList children: [(C {(cat)} {(get.err)} {(get.tmp)})] ) left_token: <Left_Backtick "`"> spids: [27406 27412] ) } arms: [ (case_arm pat_list: [ {(Lit_Other "*") (Lit_Other "[") (Aa) (Lit_Other "]") (Lit_Other "[") (Uu) (Lit_Other "]") (Lit_Other "[") (Tt) (Lit_Other "]") (Lit_Other "[") (Hh) (Lit_Other "]") (Lit_Other "[") (Oo) (Lit_Other "]") (Lit_Other "[") (Rr) (Lit_Other "]") (Lit_Other "[") (Ii) (Lit_Other "]") (Lit_Other "[") (SsZz) (Lit_Other "]") (Lit_Other "*") } {(Lit_Other "*") (Lit_Other "[") (Dd) (Lit_Other "]") (Lit_Other "[") (Ee) (Lit_Other "]") (Lit_Other "[") (Nn) (Lit_Other "]") (Lit_Other "[") (Ii) (Lit_Other "]") (Lit_Other "[") (Ee) (Lit_Other "]") (Lit_Other "[") (Dd) (Lit_Other "]") (Lit_Other "*") } ] action: [ (SimpleCommand words: [ {(echo)} {($ VSub_Name "$command") (Lit_Other ":")} {($ VSub_Name "$action") (Lit_Other ":")} {(authorization)} {(required)} {(--)} {(see)} {($ VSub_Name "$url")} {(KW_For for)} {(license)} {(acceptance)} {(authorization)} {(name)} {(and)} {(password)} ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [27499] ) ] ) ] spids: [27417 27464 27503 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [(C {(cat)} {(get.err)})] spids: [27506 27507 27514 -1] ) ] spids: [27404 27414 27517] ) (C {(rm)} {(get.tmp)} {(get.err)}) (SimpleCommand words: [ {(echo)} {($ VSub_Name "$command") (Lit_Other ":")} {($ VSub_Name "$action") (Lit_Other ":")} {($ VSub_Number "$3") (Lit_Other ":")} {(download)} {(failed)} ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [27542] ) ] ) (C {(exit)} {(1)}) ] spids: [-1 27402] ) ] spids: [-1 27551] ) (C {(rm)} {(get.err)}) (Case to_match: {($ VSub_Name "$checksum") (Lit_Other ":") ($ VSub_Number "$5")} arms: [ (case_arm pat_list: [ {(Lit_Other ":") (Lit_Other "*")} {(Lit_Other "*") (Lit_Other ":") (-)} ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:z) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [{(wc)} {(-c)}] redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: {(get.tmp)} spids: [27582] ) ] ) ] ) left_token: <Left_Backtick "`"> spids: [27577 27585] ) } spids: [27576] ) ] spids: [27576] ) (Case to_match: {(DQ (" ") ($ VSub_Name "$z") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Number "$4") (" ")) (Lit_Other "*") } ] spids: [27599 27606 27609 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (C {(rm)} {(-f)} {(get.tmp)}) (SimpleCommand words: [ {(echo)} {($ VSub_Name "$command") (Lit_Other ":")} {($ VSub_Number "$3") (Lit_Other ":")} {(download)} {(error) (Lit_Other ":")} {(expected)} {($ VSub_Number "$4")} {(bytes) (Lit_Comma ",")} {(got)} {($ VSub_Name "$z")} ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [27646] ) ] ) (C {(exit)} {(1)}) ] spids: [27612 27613 27655 -1] ) ] spids: [27588 27596 27658] ) ] spids: [27568 27574 27661 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:z) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (SimpleCommand words: [{($ VSub_Name "$checksum")}] redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: {(get.tmp)} spids: [27671] ) ] ) (C {(sed)} {(-e)} {(SQ <"s,^[ \t][ \t]*,,">)} {(-e)} {(SQ <"s,[ \t].*,,">)} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [27668 27690] ) } spids: [27667] ) ] spids: [27667] ) (Case to_match: {(DQ (" ") ($ VSub_Name "$z") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Number "$5") (" ")) (Lit_Other "*") } ] spids: [27704 27711 27714 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (C {(rm)} {(-f)} {(get.tmp)}) (SimpleCommand words: [ {(echo)} {($ VSub_Name "$command") (Lit_Other ":")} {($ VSub_Number "$3") (Lit_Other ":")} {(download)} {($ VSub_Name "$checksum")} {(error) (Lit_Other ":")} {(expected)} {($ VSub_Number "$5") (Lit_Comma ",")} {(got)} {($ VSub_Name "$z")} ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [27751] ) ] ) (C {(exit)} {(1)}) ] spids: [27717 27718 27760 -1] ) ] spids: [27693 27701 27763] ) ] spids: [27664 27665 27766 -1] ) ] spids: [27559 27565 27769] ) (AndOr children: [(C {(mv)} {(get.tmp)} {($ VSub_Number "$3")}) (C {(exit)})] op_id: Op_DPipe ) ] spids: [-1 26776 27783 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (SimpleCommand words: [ {(echo)} {(DQ ($ VSub_Number "$3") (" (") ($ VSub_Number "$4") (" bytes)"))} ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [27798] ) ] ) ] spids: [27786 27787 27802 -1] ) ] spids: [26767 26771 27805] ) ] spids: [26764 26765 -1 27808] ) ] spids: [25799 25803 27808] ) ] spids: [25667] ) spids: [25660 25663] ) (FuncDef name: copyright body: (BraceGroup children: [ (If arms: [ (if_arm cond: [(C {(test)} {(-f)} {($ VSub_Number "$1") (.lic)})] action: [ (C {(echo)} {($ VSub_Number "$1")} {(package)} {(general)} {(copyright)} {(notice)}) (C {(echo)}) (C {(proto)} {(-c) (SQ <"#">)} {(-p)} {(-s)} {(-l)} {($ VSub_Number "$1") (.lic)} {(-o)} {(Lit_VarLike "type=") (verbose) (Lit_Comma ",") (Lit_VarLike "author=") (SQ <"*">) } {(/dev/null)} ) (ControlFlow token:<ControlFlow_Return return> arg_word:{(0)}) ] spids: [-1 27834] ) ] spids: [-1 27886] ) (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (-) (Lit_Other "*")}] action: [ (C {(eval)} { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {(SQ )} {($ VSub_Number "$1")}) (C {(sed)} {(SQ <"s/\\([^-]*\\)-\\(.*\\)/__j__=\"\\1\" __i__=\"\\2\"/">)} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [27903 27918] ) } ) (If arms: [ (if_arm cond: [ (AndOr children: [ (C {(copyright)} {($ VSub_Name "$__i__")}) (C {(copyright)} {($ VSub_Name "$__j__")}) ] op_id: Op_DPipe ) ] action: [(ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})] spids: [-1 27934] ) ] spids: [-1 27941] ) ] spids: [27896 27899 27944 -1] ) ] spids: [27889 27893 27947] ) (ControlFlow token:<ControlFlow_Return return> arg_word:{(1)}) ] spids: [27821] ) spids: [27817 27820] ) (FuncDef name: remote body: (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:host) op: Equal rhs: {($ VSub_Number "$1")} spids: [27971] ) ] spids: [27971] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:background) op: Equal rhs: {($ VSub_Number "$2")} spids: [27975] ) ] spids: [27975] ) (C {(eval)} {(Lit_VarLike "name=") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (${ VSub_Name host) (_name) } {(Lit_VarLike "user=") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (${ VSub_Name host) (_user)} {(Lit_VarLike "snarf=") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (${ VSub_Name host) (_snarf) } {(Lit_VarLike "type=") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (${ VSub_Name host) (_type)} {(Lit_VarLike "rsh=") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (${ VSub_Name host) (_rsh) } {(Lit_VarLike "root=") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (${ VSub_Name host) (_root)} {(Lit_VarLike "keep=") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (${ VSub_Name host) (_keep) } {(Lit_VarLike "log=") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (${ VSub_Name host) (_log)} ) (Case to_match: {($ VSub_Name "$keep")} arms: [ (case_arm pat_list:[{(1) (Lit_Other "*")}] spids:[280452804728049-1]) (case_arm pat_list: [{(Lit_Other "*")}] action: [(ControlFlow token:<ControlFlow_Return return>)] spids: [28052 28053 28057 -1] ) ] spids: [28038 28042 28060] ) (Case to_match: {($ VSub_Name "$host")} arms: [ (case_arm pat_list: [{($ VSub_Name "$main")}] spids: [28070 28071 28073 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$exec")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (SimpleCommand words: [{(exec)}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {($ VSub_Name "$admin_log") (/) ($ VSub_Name "$log")} spids: [28092] ) (Redir op_id: Redir_GreatAnd fd: 2 arg_word: {(1)} spids: [28098] ) ] ) ] spids: [-1 28088 28101 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (C {(echo)} { (DQ ("exec > ") ($ VSub_Name "$admin_log") (/) ($ VSub_Name "$log") (" 2>&1") ) } ) ] spids: [28104 28105 28117 -1] ) ] spids: [28079 28083 28120] ) ] spids: [28076 28077 28123 -1] ) ] spids: [28063 28067 28126] ) (If arms: [ (if_arm cond: [ (AndOr children: [ (SimpleCommand words: [{($ VSub_Name "$admin_ping")} {($ VSub_Name "$name")}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(/dev/null)} spids: [28135] ) (Redir op_id: Redir_GreatAnd fd: 2 arg_word: {(1)} spids: [28138] ) ] ) (SimpleCommand words: [{($ VSub_Name "$admin_ping")} {($ VSub_Name "$name")}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(/dev/null)} spids: [28147] ) (Redir op_id: Redir_GreatAnd fd: 2 arg_word: {(1)} spids: [28150] ) ] ) ] op_id: Op_DPipe ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:cmd) op: Equal rhs: {(DQ (". ./.profile"))} spids: [28156] ) ] spids: [28156] ) (Case to_match: {($ VSub_Name "$root")} arms: [ (case_arm pat_list: [{(.)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:root) op: Equal rhs: {(SQ )} spids: [28172] ) ] spids: [28172] ) ] spids: [28169 28170 28175 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:cmd) op: Equal rhs: {(DQ ($ VSub_Name "$cmd") (" && cd ") ($ VSub_Name "$root"))} spids: [28181] ) ] spids: [28181] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:root) op: Equal rhs: {($ VSub_Name "$root") (/)} spids: [28189] ) ] spids: [28189] ) ] spids: [28178 28179 28194 -1] ) ] spids: [28162 28166 28197] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:cmd) op: Equal rhs: { (DQ ($ VSub_Name "$cmd") (" && { test -f lib/package/admin/") ($ VSub_Name "$admin_env") (" && . ./lib/package/admin/") ($ VSub_Name "$admin_env") (" || true ;} && PATH=") (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) ("{PWD:-") (EscapedLiteralPart token:<Lit_EscapedChar "\\`">) (pwd) (EscapedLiteralPart token: <Lit_EscapedChar "\\`"> ) ("}/bin:") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ("PATH ") (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) ("{SHELL:-/bin/sh} -c 'package ") ($ VSub_Name "$admin_args") (" PACKAGEROOT=") (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) ("{PWD:-") (EscapedLiteralPart token:<Lit_EscapedChar "\\`">) (pwd) (EscapedLiteralPart token: <Lit_EscapedChar "\\`"> ) ("} HOSTTYPE=") ($ VSub_Name "$type") (" VPATH='") ) } spids: [28200] ) ] spids: [28200] ) (Case to_match: {($ VSub_Name "$admin_binary")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:snarf) op: Equal rhs: {(SQ )} spids: [28242] ) ] spids: [28242] ) ] spids: [-1 28240 28244 -1] ) ] spids: [28231 28235 28247] ) (Case to_match: {($ VSub_Name "$snarf")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (C {($ VSub_Name "$exec")} {($ VSub_Name "$rsh")} {($ VSub_Name "$user") ($ VSub_Name "$name")} {(DQ ($ VSub_Name "$cmd"))} {($ VSub_Name "$background")} ) ] spids: [-1 28259 28275 -1] ) (case_arm pat_list: [{(Lit_Other "*") (Lit_Other "?")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:rcp) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Name "$rsh")}) (C {(sed)} {(SQ <"s/\\(.\\).*/\\1/">)}) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [28283 28295] ) (cp) } spids: [28282] ) ] spids: [28282] ) (Case to_match: {($ VSub_Name "$background")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [(C {($ VSub_Name "$exec")} {(DQ ("{"))})] spids: [28306 28308 28316 -1] ) ] spids: [28299 28303 28319] ) (C {($ VSub_Name "$exec")} {($ VSub_Name "$rsh")} {($ VSub_Name "$user") ($ VSub_Name "$name")} {(DQ ($ VSub_Name "$cmd"))} ) (C {(eval)} {(Lit_VarLike "lst=") ($ VSub_Name "$admin_list")}) (Case to_match: {($ VSub_Name "$admin_pkgs")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:filter) op: Equal rhs: {(cat)} spids: [28351] ) ] spids: [28351] ) ] spids: [-1 28349 28354 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:filter) op: Equal rhs: { (DQ ("egrep lib/package/tgz/(") ($ VSub_Name "$admin_pkgs") (")") (EscapedLiteralPart token:<Lit_EscapedChar "\\\\">) (.) ) } spids: [28360] ) ] spids: [28360] ) ] spids: [28357 28358 28369 -1] ) ] spids: [28340 28344 28372] ) (If arms: [ (if_arm cond: [ (C {($ VSub_Name "$exec")} {($ VSub_Name "$rcp")} {($ VSub_Name "$user") ($ VSub_Name "$name") (Lit_Other ":") (${ VSub_Name root) (lib/package/tgz/) ($ VSub_Name "$lst") } {($ VSub_Name "$PACKAGESRC") (/tgz)} ) ] action: [ (C {($ VSub_Name "$exec")} {($ VSub_Name "$rcp")} { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {($ VSub_Name "$filter")} {($ VSub_Name "$PACKAGESRC") (/tgz/) ($ VSub_Name "$lst") } ) (C {(sed)} { (DQ ("s,^,") ($ VSub_Name "$user") ($ VSub_Name "$name") (":,") ) } ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [28400 28417] ) } {($ VSub_Name "$PACKAGESRC") (/tgz)} ) ] spids: [-1 28394] ) ] else_action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$user") ($ VSub_Name "$name") (":") (${ VSub_Name root) (lib/package/tgz/) ($ VSub_Name "$lst") (": not found") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [28441] ) ] ) ] spids: [28423 28445] ) (Case to_match: {($ VSub_Name "$background")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (C {($ VSub_Name "$exec")} {(DQ ("} ") ($ VSub_Name "$background"))}) ] spids: [28455 28457 28466 -1] ) ] spids: [28448 28452 28469] ) ] spids: [28278 28280 28472 -1] ) ] spids: [28250 28254 28475] ) ] spids: [-1 28154] ) ] else_action: [ (SimpleCommand words: [ {(echo)} {(DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$name") (": down"))} ] redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[28489])] ) ] spids: [28478 28493] ) ] spids: [27968] ) spids: [27961 27964] ) (FuncDef name: checksrc body: (BraceGroup children: [ (Case to_match: {($ VSub_Name "$package_src")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:package_src) op: Equal rhs: {($ VSub_Name "$src")} spids: [28520] ) ] spids: [28520] ) (ForEach iter_name: _i_ iter_words: [ { (CommandSubPart command_list: (CommandList children: [ (Sentence child: (C {(cd)} {($ VSub_Name "$PACKAGESRC")}) terminator: <Op_Semi ";"> ) (Pipeline children: [ (SimpleCommand words: [ {(ls)} {(Lit_Other "*") (.def)} {(Lit_Other "*") (.lic)} {(Lit_Other "*") (.pkg)} ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [28547] ) ] ) (C {(sed)} {(SQ <"s/[-.].*//">)}) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [28530 28557] ) } ] do_arg_iter: False body: (DoGroup children: [ (Case to_match: {(DQ (" ") ($ VSub_Name "$package_src") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$_i_") (" ")) (Lit_Other "*") } ] spids: [28573 28580 28583 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:package_src) op: Equal rhs: { (DQ ($ VSub_Name "$package_src") (" ") ($ VSub_Name "$_i_") ) } spids: [28589] ) ] spids: [28589] ) ] spids: [28586 28587 28597 -1] ) ] spids: [28562 28570 28600] ) ] spids: [28560 28603] ) spids: [28529 -1] ) ] spids: [-1 28518 28606 -1] ) ] spids: [28509 28513 28609] ) ] spids: [28506] ) spids: [28502 28505] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:__isascii__) op:Equal rhs:{(SQ )} spids:[28618])] spids: [28618] ) (FuncDef name: isascii body: (BraceGroup children: [ (Case to_match: {($ VSub_Name "$__isascii__")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Case to_match: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {(A)}) (C {(od)} {(-o)}) (C {(sed)} {(-e)} {(SQ <"s/[ \t]*$//">)} {(-e)} {(SQ <"/[ \t]/!d">)} {(-e)} {(SQ <"s/.*[ \t]//">)} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [28641 28673] ) } arms: [ (case_arm pat_list: [{(005101)} {(040412)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:__isascii__) op: Equal rhs: {(0)} spids: [28683] ) ] spids: [28683] ) ] spids: [28678 28681 28686 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:__isascii__) op: Equal rhs: {(1)} spids: [28692] ) ] spids: [28692] ) ] spids: [28689 28690 28695 -1] ) ] spids: [28639 28675 28698] ) ] spids: [-1 28637 -1 28701] ) ] spids: [28628 28632 28701] ) (ControlFlow token: <ControlFlow_Return return> arg_word: {($ VSub_Name "$__isascii__")} ) ] spids: [28625] ) spids: [28621 28624] ) (Case to_match: {($ VSub_Name "$action")} arms: [ (case_arm pat_list: [{(admin)}] action: [ (While cond: [(C {(test)} {(KW_Bang "!")} {(-f)} {($ VSub_Name "$admin_db")})] body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$admin_db")} arms: [ (case_arm pat_list: [{(/) (Lit_Other "*")}] action: [ (SimpleCommand words: [ {(echo)} {($ VSub_Name "$command") (Lit_Other ":")} {($ VSub_Name "$action") (Lit_Other ":")} {($ VSub_Name "$admin_db") (Lit_Other ":")} {(data)} {(file)} {(not)} {(found)} ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [28764] ) ] ) (C {(exit)} {(1)}) ] spids: [28741 28743 28773 -1] ) ] spids: [28734 28738 28776] ) (AndOr children: [ (C {(view)} {(file)} {(src)} {(lib/package/admin/) ($ VSub_Name "$admin_db")}) (C {(exit)} {(1)}) ] op_id: Op_DPipe ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:admin_db) op: Equal rhs: {($ VSub_Name "$_view_")} spids: [28795] ) ] spids: [28795] ) ] spids: [28732 28799] ) ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:admin_components) op: Equal rhs: {(SQ )} spids: [28802] ) ] spids: [28802] ) (Case to_match: {($ VSub_Name "$admin_action")} arms: [ (case_arm pat_list: [{(list)}] action: [(C {(cat)} {($ VSub_Name "$admin_db")}) (C {(exit)})] spids: [28812 28813 28823 -1] ) (case_arm pat_list: [{(test)}] action: [ (C {(set)} {($ VSub_Name "$admin_args")}) (While cond: [(C {(Lit_Other ":")})] body: (DoGroup children: [ (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(1)}] action: [(ControlFlow token:<ControlFlow_Break break>)] spids: [28848 28849 28853 -1] ) ] spids: [28841 28845 28856] ) (C {(shift)}) (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (Lit_Other "=") (Lit_Other "*")}] spids: [28869 28872 28874 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:admin_components) op: Equal rhs: {(-) ($ VSub_Number "$1")} spids: [28880] ) ] spids: [28880] ) (ControlFlow token: <ControlFlow_Break break> ) ] spids: [28877 28878 28888 -1] ) ] spids: [28862 28866 28891] ) ] spids: [28839 28894] ) ) ] spids: [28826 28827 28897 -1] ) ] spids: [28805 28809 28900] ) (C {(Lit_Other ":")} {(all)} {(work)} {(KW_Done done)} {(KW_In in)} {($ VSub_Name "$PACKAGESRC") (/admin)} ) (AndOr children: [(C {(cd)} {($ VSub_Name "$PACKAGESRC") (/admin)}) (C {(exit)})] op_id: Op_DPipe ) (C {(checksrc)}) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:packages) op:Equal rhs:{(SQ )} spids:[28930])] spids: [28930] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:admin_log) op: Equal rhs: {(${ VSub_Name admin_action) (${ VSub_Name admin_components) (.log)} spids: [28933] ) ] spids: [28933] ) (AndOr children: [ (SimpleCommand words: [{(exec)}] redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: {($ VSub_Name "$admin_db")} spids: [28945] ) ] ) (C {(exit)}) ] op_id: Op_DPipe ) (AndOr children: [ (C {(test)} {(-d)} {($ VSub_Name "$admin_log")}) (AndOr children: [ (C {($ VSub_Name "$exec")} {(mkdir)} {($ VSub_Name "$admin_log")}) (C {(exit)}) ] op_id: Op_DPipe ) ] op_id: Op_DPipe ) (Case to_match: {($ VSub_Name "$admin_on")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:admin_on) op: Equal rhs: {(DQ ("*"))} spids: [28984] ) ] spids: [28984] ) ] spids: [-1 28982 28989 -1] ) ] spids: [28973 28977 28992] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:hostname) op:Equal rhs:{(SQ )} spids:[28995])] spids: [28995] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:hosts) op:Equal rhs:{(SQ )} spids:[28998])] spids: [28998] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:logs) op:Equal rhs:{(SQ )} spids:[29001])] spids: [29001] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:local_hosts) op:Equal rhs:{(SQ )} spids:[29004])] spids: [29004] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:local_types) op:Equal rhs:{(SQ )} spids:[29007])] spids: [29007] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pids) op:Equal rhs:{(SQ )} spids:[29010])] spids: [29010] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:remote_hosts) op: Equal rhs: {(SQ )} spids: [29013] ) ] spids: [29013] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:sync_hosts) op:Equal rhs:{(SQ )} spids:[29016])] spids: [29016] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:admin_host) op: Equal rhs: {(_admin_host_)} spids: [29019] ) ] spids: [29019] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:admin_out) op:Equal rhs:{(SQ )} spids:[29023])] spids: [29023] ) (Case to_match: {(DQ (" ") ($ VSub_Name "$admin_args") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" write binary ")) (Lit_Other "*")} {(Lit_Other "*") (DQ (" write ")) (Lit_Other "*") (DQ (" binary ")) (Lit_Other "*")} ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:admin_binary) op: Equal rhs: {(1)} spids: [29055] ) ] spids: [29055] ) ] spids: [29037 29052 29059 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:admin_binary) op: Equal rhs: {(SQ )} spids: [29065] ) ] spids: [29065] ) ] spids: [29062 29063 29068 -1] ) ] spids: [29026 29034 29071] ) (Case to_match: {($ VSub_Name "$only")} arms: [ (case_arm pat_list: [{(1)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:admin_args) op: Equal rhs: {(DQ ("only ") ($ VSub_Name "$admin_args"))} spids: [29084] ) ] spids: [29084] ) ] spids: [29081 29082 29090 -1] ) ] spids: [29074 29078 29093] ) (C {(trap)} {(SQ <"kill $pids >/dev/null 2>&1">)} {(1)} {(2)} {(3)} {(15)}) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:index) op:Equal rhs:{(0)} spids:[29111])] spids: [29111] ) (While cond: [ (C {(read)} {(type)} {(host)} {(root)} {(date)} {(KW_Time time)} {(make)} {(test)} {(write)} {(owner)} {(attributes)} ) ] body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$type")} arms: [ (case_arm pat_list: [{(SQ )} {(SQ <"#">) (Lit_Other "*")}] spids: [-1 29156 29157 -1] ) (case_arm pat_list: [{(Lit_Other "*") (Lit_Other "=") (Lit_Other "*")}] action: [ (C {(eval)} { (DQ ($ VSub_Name "$type") (" ") ($ VSub_Name "$host") (" ") ($ VSub_Name "$root") (" ") ($ VSub_Name "$date") (" ") ($ VSub_Name "$time") (" ") ($ VSub_Name "$make") (" ") ($ VSub_Name "$test") (" ") ($ VSub_Name "$write") (" ") ($ VSub_Name "$owner") (" ") ($ VSub_Name "$attributes") ) } ) ] spids: [29160 29163 29190 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$admin_action")} arms: [ (case_arm pat_list: [{(make)} {(test)} {(write)}] action: [ (C {(eval)} {(Lit_VarLike "f=") (SQ <"$">) ($ VSub_Name "$admin_action")} ) (Case to_match: {($ VSub_Name "$f")} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (Lit_Other "[") (KW_Bang "!") (0123456789) (Lit_Other "]") (Lit_Other "*") } ] action: [(ControlFlow token:<ControlFlow_Continue continue>)] spids: [29227 29233 29237 -1] ) ] spids: [29220 29224 29240] ) ] spids: [29203 29208 29243 -1] ) ] spids: [29196 29200 29246] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:rsh) op: Equal rhs: {(rsh)} spids: [29249] ) ] spids: [29249] ) (Case to_match: {($ VSub_Name "$host")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (Lit_Other "@") (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:IFS) op: Equal rhs: {(Lit_Other "@")} spids: [29265] ) ] spids: [29265] ) (C {(set)} {(SQ )} {($ VSub_Name "$host")}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:IFS) op: Equal rhs: {($ VSub_Name "$ifs")} spids: [29277] ) ] spids: [29277] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:user) op: Equal rhs: {(${ VSub_Number 2) (Lit_Other "@")} spids: [29281] ) ] spids: [29281] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:host) op: Equal rhs: {($ VSub_Number "$3")} spids: [29288] ) ] spids: [29288] ) ] spids: [29260 29263 29292 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:user) op: Equal rhs: {(SQ )} spids: [29298] ) ] spids: [29298] ) ] spids: [29295 29296 29301 -1] ) ] spids: [29253 29257 29304] ) (C {(Lit_Other ":")} {(Lit_VarLike "type=") ($ VSub_Name "$type")} {(Lit_VarLike "host=") ($ VSub_Name "$host")} {(Lit_VarLike "root=") ($ VSub_Name "$root")} {(Lit_VarLike "date=") ($ VSub_Name "$date")} {(Lit_VarLike "time=") ($ VSub_Name "$time")} {(Lit_VarLike "make=") ($ VSub_Name "$make")} {(Lit_VarLike "test=") ($ VSub_Name "$test")} {(Lit_VarLike "write=") ($ VSub_Name "$write")} {(Lit_Other ":")} ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:name) op: Equal rhs: {($ VSub_Name "$host")} spids: [29336] ) ] spids: [29336] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:host) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Name "$name")}) (C {(sed)} { (SQ < "s,[^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789],__,g" > ) } ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [29341 29353] ) } spids: [29340] ) ] spids: [29340] ) (C {(eval)} {(Lit_VarLike "x=") (SQ <"$">) (${ VSub_Name host) (_index)}) (C {(eval)} {(${ VSub_Name host) (Lit_VarLike "_index=") (1)}) (Case to_match: {($ VSub_Name "$x")} arms: [ (case_arm pat_list: [{(1)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:i) op: Equal rhs: {(0)} spids: [29387] ) ] spids: [29387] ) (While cond: [(C {(Lit_Other ":")})] body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$i")} arms: [ (case_arm pat_list: [{($ VSub_Name "$index")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:h) op: Equal rhs: {(SQ )} spids: [29408] ) ] spids: [29408] ) (ControlFlow token: <ControlFlow_Break break> ) ] spids: [29405 29406 29416 -1] ) ] spids: [29398 29402 29419] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:i) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (C {(expr)} {($ VSub_Name "$i")} {(Lit_Other "+")} {(1)} ) ] ) left_token: <Left_Backtick "`"> spids: [29423 29431] ) } spids: [29422] ) ] spids: [29422] ) (C {(eval)} {(Lit_VarLike "h=") (SQ <"$">) (${ VSub_Name admin_host) (${ VSub_Name i) (_name) } ) (Case to_match: {($ VSub_Name "$h")} arms: [ (case_arm pat_list: [{($ VSub_Name "$host")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:host) op: Equal rhs: {(${ VSub_Name admin_host) (${ VSub_Name i) } spids: [29459] ) ] spids: [29459] ) (C {(eval)} {(Lit_VarLike "user=") (SQ <"$">) (${ VSub_Name host) (_user) } {(Lit_VarLike "root=") (SQ <"$">) (${ VSub_Name host) (_rsh) (Lit_Other ":") ($ VSub_Name "$host") (Lit_Other ":") (SQ <"$">) (${ VSub_Name host) (_root) } ) (ControlFlow token: <ControlFlow_Break break> ) ] spids: [29456 29457 29502 -1] ) ] spids: [29449 29453 29505] ) ] spids: [29396 29508] ) ) ] spids: [29384 29385 29511 -1] ) ] spids: [29377 29381 29514] ) (Case to_match: {($ VSub_Name "$root")} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (Lit_Other ":") ($ VSub_Name "$name") (Lit_Other ":") (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:root) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {(SQ )} {($ VSub_Name "$root")}) (C {(sed)} {(SQ <"s,:.*,:,">)}) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [29531 29546] ) } spids: [29530] ) ] spids: [29530] ) ] spids: [29524 29529 29548 -1] ) ] spids: [29517 29521 29551] ) (Case to_match: {($ VSub_Name "$root")} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (Lit_Other ":") (Lit_Other "*") (Lit_Other ":") (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:index) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (C {(expr)} {($ VSub_Name "$index")} {(Lit_Other "+")} {(1)} ) ] ) left_token: <Left_Backtick "`"> spids: [29569 29577] ) } spids: [29568] ) ] spids: [29568] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:host) op: Equal rhs: {(${ VSub_Name admin_host) ($ VSub_Name "$index")} spids: [29580] ) ] spids: [29580] ) ] spids: [29561 29566 29587 -1] ) (case_arm pat_list: [{(Lit_Other "*") (Lit_Other ":") (Lit_Other "*")}] action: [ (Case to_match: {(DQ (" ") ($ VSub_Name "$sync_hosts") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$name") (" ") (${ VSub_Name admin_host) ) (Lit_Other "*") } ] action: [ (C {(set)} {(SQ )} {(SQ )} {($ VSub_Name "$sync_hosts")}) (While cond: [(C {(Lit_Other ":")})] body: (DoGroup children: [ (C {(shift)}) (C {(shift)}) (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [{($ VSub_Name "$name")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:host) op: Equal rhs: {($ VSub_Number "$2")} spids: [29653] ) ] spids: [29653] ) (ControlFlow token: <ControlFlow_Break break> ) ] spids: [29650 29651 29660 -1] ) ] spids: [29643 29647 29663] ) ] spids: [29635 29666] ) ) ] spids: [29606 29616 29669 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:index) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (C {(expr)} {($ VSub_Name "$index")} {(Lit_Other "+")} {(1)} ) ] ) left_token: <Left_Backtick "`"> spids: [29676 29684] ) } spids: [29675] ) ] spids: [29675] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:host) op: Equal rhs: {(${ VSub_Name admin_host) ($ VSub_Name "$index") } spids: [29687] ) ] spids: [29687] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sync_hosts) op: Equal rhs: { (DQ ($ VSub_Name "$sync_hosts") (" ") ($ VSub_Name "$name") (" ") ($ VSub_Name "$host") ) } spids: [29694] ) ] spids: [29694] ) ] spids: [29672 29673 29704 -1] ) ] spids: [29595 29603 29707] ) ] spids: [29590 29593 29710 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:index) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (C {(expr)} {($ VSub_Name "$index")} {(Lit_Other "+")} {(1)} ) ] ) left_token: <Left_Backtick "`"> spids: [29717 29725] ) } spids: [29716] ) ] spids: [29716] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:host) op: Equal rhs: {(${ VSub_Name admin_host) ($ VSub_Name "$index")} spids: [29728] ) ] spids: [29728] ) ] spids: [29713 29714 29735 -1] ) ] spids: [29554 29558 29738] ) (Case to_match: {($ VSub_Name "$root")} arms: [ (case_arm pat_list: [{(-) (Lit_Other "*")}] action: [(ControlFlow token:<ControlFlow_Continue continue>)] spids: [29748 29750 29755 -1] ) (case_arm pat_list: [{(Lit_Other "*") (Lit_Other ":") (Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$admin_all")} arms: [ (case_arm pat_list: [{(0)}] action: [(ControlFlow token:<ControlFlow_Continue continue>)] spids: [29770 29771 29775 -1] ) ] spids: [29763 29767 29778] ) (Case to_match: {($ VSub_Name "$root")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (Lit_Other ":")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:root) op: Equal rhs: {(${ VSub_Name root) (.)} spids: [29792] ) ] spids: [29792] ) ] spids: [29788 29790 29798 -1] ) ] spids: [29781 29785 29801] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:IFS) op: Equal rhs: {(Lit_Other ":")} spids: [29804] ) ] spids: [29804] ) (C {(set)} {(SQ )} {($ VSub_Name "$root")}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:IFS) op: Equal rhs: {($ VSub_Name "$ifs")} spids: [29816] ) ] spids: [29816] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sync) op: Equal rhs: {($ VSub_Name "$host")} spids: [29820] ) ] spids: [29820] ) (Case to_match: {($ VSub_Name "$hostname")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (C {(hostinfo)} {(name)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:hostname) op: Equal rhs: {($ VSub_Name "$_hostinfo_")} spids: [29840] ) ] spids: [29840] ) ] spids: [-1 29833 29844 -1] ) ] spids: [29824 29828 29847] ) (C {(shift)}) (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(0)}] spids: [29860 29861 29863 -1] ) (case_arm pat_list: [{(1)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:root) op: Equal rhs: {($ VSub_Number "$1")} spids: [29869] ) ] spids: [29869] ) ] spids: [29866 29867 29873 -1] ) (case_arm pat_list: [{(2)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:rsh) op: Equal rhs: {($ VSub_Number "$1")} spids: [29879] ) (assign_pair lhs: (LhsName name:root) op: Equal rhs: {($ VSub_Number "$2")} spids: [29882] ) ] spids: [29879] ) ] spids: [29876 29877 29886 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:rsh) op: Equal rhs: {($ VSub_Number "$1")} spids: [29892] ) (assign_pair lhs: (LhsName name:sync) op: Equal rhs: {($ VSub_Number "$2")} spids: [29895] ) (assign_pair lhs: (LhsName name:root) op: Equal rhs: {($ VSub_Number "$3")} spids: [29898] ) ] spids: [29892] ) (Case to_match: {($ VSub_Name "$sync")} arms: [ (case_arm pat_list: [ {(${ VSub_Name admin_host) (Lit_Other "*")} ] spids: [29909 29913 29916 -1] ) (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Case to_match: { (DQ (" ") ($ VSub_Name "$sync_hosts") (" ")) } arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$sync") (" ") (${ VSub_Name admin_host) ) (Lit_Other "*") } ] action: [ (C {(set)} {(SQ )} {(SQ )} {($ VSub_Name "$sync_hosts")} ) (While cond: [(C {(Lit_Other ":")})] body: (DoGroup children: [ (C {(shift)}) (C {(shift)}) (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [ {($ VSub_Name "$sync")} ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name: sync ) op: Equal rhs: { ($ VSub_Number "$2" ) } spids: [29981] ) ] spids: [29981] ) (ControlFlow token: <ControlFlow_Break break > ) ] spids: [29978 29979 29988 -1] ) ] spids: [29971 29975 29991] ) ] spids: [29963 29994] ) ) ] spids: [29934 29944 29997 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:index) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (C {(expr)} { ($ VSub_Name "$index" ) } {(Lit_Other "+")} {(1)} ) ] ) left_token: <Left_Backtick "`"> spids: [30004 30012] ) } spids: [30003] ) ] spids: [30003] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:x) op: Equal rhs: {(${ VSub_Name admin_host) ($ VSub_Name "$index") } spids: [30015] ) ] spids: [30015] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sync_hosts) op: Equal rhs: { (DQ ($ VSub_Name "$sync_hosts") (" ") ($ VSub_Name "$sync") (" ") ($ VSub_Name "$x") ) } spids: [30022] ) ] spids: [30022] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sync) op: Equal rhs: {($ VSub_Name "$x")} spids: [30032] ) ] spids: [30032] ) ] spids: [30000 30001 30036 -1] ) ] spids: [29923 29931 30039] ) ] spids: [29919 29921 30042 -1] ) ] spids: [29902 29906 30045] ) ] spids: [29889 29890 30048 -1] ) ] spids: [29853 29857 30051] ) ] spids: [29758 29761 30054 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sync) op: Equal rhs: {(SQ )} spids: [30060] ) ] spids: [30060] ) ] spids: [30057 30058 30063 -1] ) ] spids: [29741 29745 30066] ) (Case to_match: {($ VSub_Name "$name")} arms: [ (case_arm pat_list: [{($ VSub_Name "$admin_on")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:keep) op: Equal rhs: {(1)} spids: [30080] ) ] spids: [30080] ) ] spids: [30076 30077 30084 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {(DQ (" ") ($ VSub_Name "$admin_on") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$name") (" ")) (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:keep) op: Equal rhs: {(1)} spids: [30110] ) ] spids: [30110] ) ] spids: [30101 30108 30113 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:keep) op: Equal rhs: {(0)} spids: [30119] ) ] spids: [30119] ) ] spids: [30116 30117 30122 -1] ) ] spids: [30090 30098 30125] ) ] spids: [30087 30088 30128 -1] ) ] spids: [30069 30073 30131] ) (Case to_match: {(DQ (" ") ($ VSub_Name "$admin_out") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$name") (" ")) (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:log) op: Equal rhs: {($ VSub_Name "$name") (.) ($ VSub_Name "$type")} spids: [30155] ) ] spids: [30155] ) ] spids: [30145 30152 30161 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:admin_out) op: Equal rhs: { (DQ ($ VSub_Name "$admin_out") (" ") ($ VSub_Name "$name") ) } spids: [30167] ) ] spids: [30167] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:log) op: Equal rhs: {($ VSub_Name "$name")} spids: [30175] ) ] spids: [30175] ) ] spids: [30164 30165 30179 -1] ) ] spids: [30134 30142 30182] ) (Case to_match: {($ VSub_Name "$sync")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:local_types) op: Equal rhs: { (DQ ($ VSub_Name "$local_types") (" ") ($ VSub_Name "$type") ) } spids: [30196] ) ] spids: [30196] ) ] spids: [-1 30194 30203 -1] ) ] spids: [30185 30189 30206] ) (Case to_match: {($ VSub_Name "$sync")} arms: [ (case_arm pat_list: [{($ VSub_Name "$host")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:remote_hosts) op: Equal rhs: { (DQ ($ VSub_Name "$remote_hosts") (" ") ($ VSub_Name "$host") ) } spids: [30219] ) ] spids: [30219] ) ] spids: [30216 30217 30227 -1] ) (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (C {(eval)} {(${ VSub_Name sync) (Lit_VarLike "_share=") (EscapedLiteralPart token: <Lit_EscapedChar "\\\""> ) (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (${ VSub_Name sync) (_share) } {($ VSub_Name "$host") (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">)} ) ] spids: [30230 30232 30251 -1] ) (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:local_hosts) op: Equal rhs: { (DQ ($ VSub_Name "$local_hosts") (" ") ($ VSub_Name "$host") ) } spids: [30258] ) ] spids: [30258] ) ] spids: [-1 30256 30266 -1] ) ] spids: [30209 30213 30269] ) (C {(eval)} {(${ VSub_Name host) (Lit_VarLike "_name=") (SQ <"$">) (name)} {(${ VSub_Name host) (Lit_VarLike "_type=") (SQ <"$">) (type)} {(${ VSub_Name host) (Lit_VarLike "_user=") (SQ <"$">) (user)} {(${ VSub_Name host) (Lit_VarLike "_sync=") (SQ <"$">) (sync)} {(${ VSub_Name host) (Lit_VarLike "_snarf=") (SQ <"$">) (sync)} {(${ VSub_Name host) (Lit_VarLike "_rsh=") (SQ <"$">) (rsh)} {(${ VSub_Name host) (Lit_VarLike "_root=") (SQ <"$">) (root)} {(${ VSub_Name host) (Lit_VarLike "_keep=") (SQ <"$">) (keep)} {(${ VSub_Name host) (Lit_VarLike "_log=") (SQ <"$">) (log)} ) ] spids: [29193 29194 30356 -1] ) ] spids: [29142 29146 30359] ) ] spids: [29140 30362] ) ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:p) op:Equal rhs:{(SQ )} spids:[30365])] spids: [30365] ) (ForEach iter_name: i iter_words: [{($ VSub_Name "$admin_args")}] do_arg_iter: False body: (DoGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:p) op: Equal rhs: {(DQ ($ VSub_Name "$i") (" ") ($ VSub_Name "$p"))} spids: [30379] ) ] spids: [30379] ) ] spids: [30377 30387] ) spids: [30373 -1] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:admin_pkgs) op:Equal rhs:{(SQ )} spids:[30390])] spids: [30390] ) (ForEach iter_name: i iter_words: [{($ VSub_Name "$p")}] do_arg_iter: False body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (C {(view)} {(-)} {(src)} {(DQ (lib/package/) ($ VSub_Name "$i") (.pkg))}) ] action: [ (Case to_match: {($ VSub_Name "$admin_pkgs")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:admin_pkgs) op: Equal rhs: {(DQ ($ VSub_Name "$i"))} spids: [30432] ) ] spids: [30432] ) ] spids: [-1 30430 30437 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:admin_pkgs) op: Equal rhs: { (DQ ($ VSub_Name "$admin_pkgs") ("|") ($ VSub_Name "$i")) } spids: [30443] ) ] spids: [30443] ) ] spids: [30440 30441 30450 -1] ) ] spids: [30421 30425 30453] ) ] spids: [-1 30419] ) ] spids: [-1 30456] ) ] spids: [30402 30459] ) spids: [30398 -1] ) (C {(Lit_Other ":")} {(DQ ("admin_binary :"))} {($ VSub_Name "$admin_binary")}) (C {(Lit_Other ":")} {(DQ ("admin_args :"))} {($ VSub_Name "$admin_args")}) (C {(Lit_Other ":")} {(DQ ("admin_pkgs :"))} {($ VSub_Name "$admin_pkgs")}) (C {(Lit_Other ":")} {(DQ ("admin_on :"))} {(DQ ($ VSub_Name "$admin_on"))}) (C {(Lit_Other ":")} {(DQ ("local_hosts :"))} {($ VSub_Name "$local_hosts")}) (C {(Lit_Other ":")} {(DQ ("local_types :"))} {($ VSub_Name "$local_types")}) (C {(Lit_Other ":")} {(DQ ("remote_hosts :"))} {($ VSub_Name "$remote_hosts")}) (C {(Lit_Other ":")} {(DQ ("sync_hosts :"))} {($ VSub_Name "$sync_hosts")}) (C {(Lit_Other ":")} {(DQ ("sync_share :"))} {($ VSub_Name "$sync_share")}) (Case to_match: {($ VSub_Name "$admin_binary")} arms: [ (case_arm pat_list: [{(1)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:admin_bin_types) op: Equal rhs: {(SQ )} spids: [30555] ) ] spids: [30555] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:admin_bin_main) op: Equal rhs: {(SQ )} spids: [30558] ) ] spids: [30558] ) (ForEach iter_name: main iter_words: [{($ VSub_Name "$local_hosts")} {($ VSub_Name "$remote_hosts")}] do_arg_iter: False body: (DoGroup children: [ (C {(eval)} {(Lit_VarLike "share=") (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) (${ VSub_Name main) (_share) } {(Lit_VarLike "keep=") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (${ VSub_Name main) (_keep)} ) (Case to_match: {($ VSub_Name "$keep")} arms: [ (case_arm pat_list: [{(0) (Lit_Other "*")}] action: [(ControlFlow token:<ControlFlow_Continue continue>)] spids: [30598 30600 30604 -1] ) ] spids: [30591 30595 30607] ) (ForEach iter_name: host iter_words: [{($ VSub_Name "$main")} {($ VSub_Name "$share")}] do_arg_iter: False body: (DoGroup children: [ (Case to_match: {(DQ (" ") ($ VSub_Name "$admin_bin_hosts") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$host") (" ")) (Lit_Other "*") } ] action: [(ControlFlow token:<ControlFlow_Continue continue>)] spids: [30634 30641 30647 -1] ) ] spids: [30623 30631 30650] ) (C {(eval)} {(Lit_VarLike "type=") (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) (${ VSub_Name host) (_type) } ) (Case to_match: {(DQ (" ") ($ VSub_Name "$admin_bin_types") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$type") (" ")) (Lit_Other "*") } ] action: [(ControlFlow token:<ControlFlow_Continue continue>)] spids: [30674 30681 30687 -1] ) ] spids: [30663 30671 30690] ) (Case to_match: {(DQ (" ") ($ VSub_Name "$types") (" "))} arms: [ (case_arm pat_list: [{(DQ (" "))}] spids: [30705 30707 30709 -1] ) (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$type") (" ")) (Lit_Other "*") } ] spids: [30712 30719 30722 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [(ControlFlow token:<ControlFlow_Continue continue>)] spids: [30725 30726 30731 -1] ) ] spids: [30693 30701 30734] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:admin_bin_hosts) op: Equal rhs: { (DQ ($ VSub_Name "$admin_bin_hosts") (" ") ($ VSub_Name "$host") ) } spids: [30737] ) ] spids: [30737] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:admin_bin_types) op: Equal rhs: { (DQ ($ VSub_Name "$admin_bin_types") (" ") ($ VSub_Name "$type") ) } spids: [30745] ) ] spids: [30745] ) (Case to_match: {(DQ (" ") ($ VSub_Name "$admin_bin_hosts") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$main") (" ")) (Lit_Other "*") } ] spids: [30764 30771 30774 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {(DQ (" ") ($ VSub_Name "$admin_bin_main") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$main") (" ")) (Lit_Other "*") } ] spids: [30791 30798 30801 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:admin_bin_main) op: Equal rhs: { (DQ ($ VSub_Name "$admin_bin_main") (" ") ($ VSub_Name "$main") ) } spids: [30807] ) ] spids: [30807] ) ] spids: [30804 30805 30815 -1] ) ] spids: [30780 30788 30818] ) ] spids: [30777 30778 30821 -1] ) ] spids: [30753 30761 30824] ) ] spids: [30621 30827] ) spids: [30615 -1] ) ] spids: [30572 30830] ) spids: [30566 -1] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:local) op: Equal rhs: {(SQ )} spids: [30833] ) ] spids: [30833] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:remote) op: Equal rhs: {(SQ )} spids: [30836] ) ] spids: [30836] ) (ForEach iter_name: host iter_words: [{($ VSub_Name "$admin_bin_main")} {($ VSub_Name "$admin_bin_hosts")}] do_arg_iter: False body: (DoGroup children: [ (Case to_match: {(DQ (" ") ($ VSub_Name "$local_hosts") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$host") (" ")) (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:local) op: Equal rhs: {(DQ ($ VSub_Name "$local") (" ") ($ VSub_Name "$host"))} spids: [30873] ) ] spids: [30873] ) ] spids: [30863 30870 30881 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {(DQ (" ") ($ VSub_Name "$remote_hosts") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$host") (" ")) (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:remote) op: Equal rhs: { (DQ ($ VSub_Name "$remote") (" ") ($ VSub_Name "$host") ) } spids: [30908] ) ] spids: [30908] ) ] spids: [30898 30905 30916 -1] ) ] spids: [30887 30895 30919] ) ] spids: [30884 30885 30922 -1] ) ] spids: [30852 30860 30925] ) ] spids: [30850 30928] ) spids: [30844 -1] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:local_hosts) op: Equal rhs: {($ VSub_Name "$local")} spids: [30931] ) ] spids: [30931] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:remote_hosts) op: Equal rhs: {($ VSub_Name "$remote")} spids: [30935] ) ] spids: [30935] ) ] spids: [30552 30553 30939 -1] ) ] spids: [30545 30549 30942] ) (ForEach iter_name: host iter_words: [{($ VSub_Name "$remote_hosts")} {($ VSub_Name "$local_hosts")}] do_arg_iter: False body: (DoGroup children: [ (C {(eval)} {(Lit_VarLike "share=") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (${ VSub_Name host) (_share) } ) (Case to_match: {($ VSub_Name "$share")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (While cond: [(C {(Lit_Other ":")})] body: (DoGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:oshare) op: Equal rhs: {($ VSub_Name "$share")} spids: [30986] ) ] spids: [30986] ) (ForEach iter_name: s iter_words: [{($ VSub_Name "$share")}] do_arg_iter: False body: (DoGroup children: [ (C {(eval)} {(Lit_VarLike "r=") (SQ <"$">) (${ VSub_Name s) (_share)} ) (Case to_match: {($ VSub_Name "$r")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Case to_match: {(DQ (" ") ($ VSub_Name "$share") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$r") (" ")) (Lit_Other "*") } ] spids: [31035 31042 31044 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:share) op: Equal rhs: { (DQ ($ VSub_Name "$share") (" ") ($ VSub_Name "$r") ) } spids: [31050] ) ] spids: [31050] ) ] spids: [31047 31048 31057 -1] ) ] spids: [31024 31032 31060] ) ] spids: [31020 31022 31063 -1] ) ] spids: [31013 31017 31066] ) ] spids: [30999 31069] ) spids: [30995 -1] ) (Case to_match: {($ VSub_Name "$share")} arms: [ (case_arm pat_list: [{($ VSub_Name "$oshare")}] action: [ (C {(eval)} {(${ VSub_Name host) (Lit_VarLike "_share=") (DQ ("'") ($ VSub_Name "$share") ("'")) } ) (ControlFlow token: <ControlFlow_Break break> ) ] spids: [31079 31080 31098 -1] ) ] spids: [31072 31076 31101] ) ] spids: [30984 31104] ) ) ] spids: [30975 30977 31107 -1] ) ] spids: [30968 30972 31110] ) ] spids: [30956 31113] ) spids: [30950 -1] ) (ForEach iter_name: host iter_words: [{($ VSub_Name "$remote_hosts")}] do_arg_iter: False body: (DoGroup children: [ (C {(eval)} {(Lit_VarLike "type=") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (${ VSub_Name host) (_type) } ) (Case to_match: {(DQ (" ") ($ VSub_Name "$local_types") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$type") (" ")) (Lit_Other "*")} ] action: [(C {(eval)} {(${ VSub_Name host) (Lit_VarLike "_snarf=")})] spids: [31148 31155 31166 -1] ) ] spids: [31137 31145 31169] ) (C {(eval)} {(Lit_VarLike "name=") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (${ VSub_Name host) (_name) } {(Lit_VarLike "keep=") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (${ VSub_Name host) (_keep)} {(Lit_VarLike "share=") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (${ VSub_Name host) (_share) } ) (ForEach iter_name: share iter_words: [{($ VSub_Name "$share")}] do_arg_iter: False body: (DoGroup children: [ (C {(eval)} {(Lit_VarLike "type=") (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) (${ VSub_Name share) (_type) } {(Lit_VarLike "keep=") (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) (keep) (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (${ VSub_Name share) (_keep) } ) (Case to_match: {(DQ (" ") ($ VSub_Name "$local_types") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$type") (" ")) (Lit_Other "*") } ] action: [(C {(eval)} {(${ VSub_Name share) (Lit_VarLike "_snarf=")})] spids: [31237 31244 31255 -1] ) ] spids: [31226 31234 31258] ) ] spids: [31205 31261] ) spids: [31201 -1] ) (Case to_match: {($ VSub_Name "$keep")} arms: [ (case_arm pat_list: [{(0) (Lit_Other "*") (1) (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:keep) op: Equal rhs: {(2) ($ VSub_Name "$keep")} spids: [31277] ) ] spids: [31277] ) ] spids: [31271 31275 31281 -1] ) (case_arm pat_list: [{(Lit_Other "*") (1) (Lit_Other "*")}] spids: [31284 31287 31289 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:keep) op: Equal rhs: {(0)} spids: [31295] ) ] spids: [31295] ) ] spids: [31292 31293 31298 -1] ) ] spids: [31264 31268 31301] ) (C {(eval)} {(${ VSub_Name host) (Lit_VarLike "_keep=") ($ VSub_Name "$keep")}) ] spids: [31125 31313] ) spids: [31121 -1] ) (ForEach iter_name: host iter_words: [{($ VSub_Name "$remote_hosts")} {($ VSub_Name "$local_hosts")}] do_arg_iter: False body: (DoGroup children: [ (C {(eval)} {(Lit_VarLike "name=") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (${ VSub_Name host) (_name) } {(Lit_VarLike "user=") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (${ VSub_Name host) (_user)} {(Lit_VarLike "type=") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (${ VSub_Name host) (_type) } {(Lit_VarLike "sync=") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (${ VSub_Name host) (_sync)} {(Lit_VarLike "snarf=") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (${ VSub_Name host) (_snarf) } {(Lit_VarLike "share=") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (${ VSub_Name host) (_share) } {(Lit_VarLike "rsh=") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (${ VSub_Name host) (_rsh)} {(Lit_VarLike "root=") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (${ VSub_Name host) (_root) } {(Lit_VarLike "keep=") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (${ VSub_Name host) (_keep)} ) (Case to_match: {($ VSub_Name "$keep")} arms: [ (case_arm pat_list: [{(0) (Lit_Other "*")}] action: [(ControlFlow token:<ControlFlow_Continue continue>)] spids: [31402 31404 31408 -1] ) ] spids: [31395 31399 31411] ) (Case to_match: {($ VSub_Name "$sync")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Case to_match: {($ VSub_Name "$admin_action")} arms: [ (case_arm pat_list: [{(ditto)}] action: [(ControlFlow token:<ControlFlow_Continue continue>)] spids: [31432 31433 31437 -1] ) ] spids: [31425 31429 31440] ) (Case to_match: {($ VSub_Name "$admin_binary")} arms: [ (case_arm pat_list: [{(1)}] action: [ (Case to_match: {($ VSub_Name "$keep")} arms: [ (case_arm pat_list: [ {(1) (Lit_Other "*")} {(Lit_Other "?") (Lit_Other "*") (1) (Lit_Other "*")} ] spids: [31460 31467 31468 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [(ControlFlow token:<ControlFlow_Continue continue>)] spids: [31471 31472 31476 -1] ) ] spids: [31453 31457 31479] ) ] spids: [31450 31451 31482 -1] ) ] spids: [31443 31447 31485] ) ] spids: [-1 31423 31488 -1] ) ] spids: [31414 31418 31491] ) (C {(eval)} {(Lit_VarLike "main_log=") (SQ <"$">) (${ VSub_Name host) (_log)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:main) op: Equal rhs: {(SQ )} spids: [31506] ) ] spids: [31506] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:share_keep) op: Equal rhs: {(SQ )} spids: [31509] ) ] spids: [31509] ) (ForEach iter_name: i iter_words: [{($ VSub_Name "$host")} {($ VSub_Name "$share")}] do_arg_iter: False body: (DoGroup children: [ (C {(eval)} {(Lit_VarLike "n=") (SQ <"$">) (${ VSub_Name i) (_name)} {(Lit_VarLike "t=") (SQ <"$">) (${ VSub_Name i) (_type)} {(Lit_VarLike "q=") (SQ <"$">) (${ VSub_Name i) (_sync)} {(Lit_VarLike "s=") (SQ <"$">) (${ VSub_Name i) (_snarf)} {(Lit_VarLike "l=") (SQ <"$">) (${ VSub_Name i) (_log)} {(Lit_VarLike "k=") (SQ <"$">) (${ VSub_Name i) (_keep)} ) (Case to_match: {($ VSub_Name "$main") (Lit_Other ":") ($ VSub_Name "$k")} arms: [ (case_arm pat_list: [{(Lit_Other ":") (Lit_Other "*")}] spids: [31591 31593 31595 -1] ) (case_arm pat_list: [{(Lit_Other "*") (Lit_Other ":") (0)}] action: [(ControlFlow token:<ControlFlow_Continue continue>)] spids: [31598 31601 31605 -1] ) ] spids: [31582 31588 31608] ) (Case to_match: {($ VSub_Name "$admin_binary")} arms: [ (case_arm pat_list: [{(1)}] action: [ (Case to_match: {($ VSub_Name "$s") (Lit_Other ":") ($ VSub_Name "$q")} arms: [ (case_arm pat_list: [{(Lit_Other ":") (Lit_Other "?") (Lit_Other "*")}] action: [(ControlFlow token:<ControlFlow_Continue continue>)] spids: [31630 31633 31637 -1] ) ] spids: [31621 31627 31640] ) (Case to_match: {(DQ (" ") ($ VSub_Name "$admin_bin_hosts") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$i") (" ")) (Lit_Other "*") } ] spids: [31654 31661 31664 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [(ControlFlow token:<ControlFlow_Continue continue>)] spids: [31667 31668 31673 -1] ) ] spids: [31643 31651 31676] ) ] spids: [31618 31619 31679 -1] ) ] spids: [31611 31615 31682] ) (Case to_match: {($ VSub_Name "$main")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:main) op: Equal rhs: {($ VSub_Name "$i")} spids: [31696] ) ] spids: [31696] ) ] spids: [-1 31694 31699 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:share_keep) op: Equal rhs: { (DQ ($ VSub_Name "$share_keep") (" ") ($ VSub_Name "$i")) } spids: [31705] ) ] spids: [31705] ) ] spids: [31702 31703 31712 -1] ) ] spids: [31685 31689 31715] ) (C {(echo)} {(package)} {(DQ ($ VSub_Name "$admin_args"))} {(DQ ("[ ") ($ VSub_Name "$n") (" ") ($ VSub_Name "$t") (" ]"))} ) (Case to_match: {($ VSub_Name "$exec")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (SimpleCommand words: [{(Lit_Other ":")}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {($ VSub_Name "$admin_log") (/) ($ VSub_Name "$l")} spids: [31748] ) ] ) ] spids: [-1 31744 31754 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (C {($ VSub_Name "$exec")} { (DQ (": > ") ($ VSub_Name "$admin_log") (/) ($ VSub_Name "$l")) } ) ] spids: [31757 31758 31769 -1] ) ] spids: [31735 31739 31772] ) ] spids: [31523 31775] ) spids: [31517 -1] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:host) op: Equal rhs: {($ VSub_Name "$main")} spids: [31778] ) ] spids: [31778] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:share) op: Equal rhs: {($ VSub_Name "$share_keep")} spids: [31782] ) ] spids: [31782] ) (Case to_match: {($ VSub_Name "$force")} arms: [ (case_arm pat_list: [{(0)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:admin_ditto_update) op: Equal rhs: {(--update)} spids: [31796] ) ] spids: [31796] ) ] spids: [31793 31794 31799 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:admin_ditto_update) op: Equal rhs: {(SQ )} spids: [31805] ) ] spids: [31805] ) ] spids: [31802 31803 31807 -1] ) ] spids: [31786 31790 31810] ) (Case to_match: {($ VSub_Name "$exec")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Sentence child: (BraceGroup children: [ (Case to_match: {($ VSub_Name "$admin_binary") (Lit_Other ":") ($ VSub_Name "$sync") } arms: [ (case_arm pat_list: [{(Lit_Other ":") (Lit_Other "?") (Lit_Other "*")}] action: [ (C {(eval)} {(Lit_VarLike "syncname=") (SQ <"$">) (${ VSub_Name sync) (_name) } ) (AndOr children: [ (C {(test)} {(-x)} {($ VSub_Name "$PACKAGEROOT") (/bin/package)} ) (C {($ VSub_Name "$admin_ditto")} {($ VSub_Name "$admin_ditto_update")} {(--remote) (Lit_Other "=") ($ VSub_Name "$rsh")} {(--expr) (Lit_Other "=") (DQ ("name=='package'"))} {($ VSub_Name "$PACKAGEROOT") (/bin)} {($ VSub_Name "$user") ($ VSub_Name "$syncname") (Lit_Other ":") ($ VSub_Name "$root") (/bin)} ) ] op_id: Op_DAmp ) (AndOr children: [ (C {(test)} {(-d)} {($ VSub_Name "$PACKAGESRC")}) (C {($ VSub_Name "$admin_ditto")} {($ VSub_Name "$admin_ditto_update")} {(--remote) (Lit_Other "=") ($ VSub_Name "$rsh")} {(--expr) (Lit_Other "=") (DQ ( "if(level>1&&path!='LICENSES/*')status=SKIP;path=='LICENSES*|*.(pkg|lic|def)'" ) ) } {($ VSub_Name "$PACKAGESRC")} {($ VSub_Name "$user") ($ VSub_Name "$syncname") (Lit_Other ":") ($ VSub_Name "$root") (/lib/package) } ) ] op_id: Op_DAmp ) (ForEach iter_name: dir iter_words: [{($ VSub_Name "$package_src")}] do_arg_iter: False body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$MAKESKIP")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:expr) op: Equal rhs: { (DQ ("--expr=if(name=='") ($ VSub_Name "$admin_ditto_skip" ) ("')status=SKIP") ) } spids: [31939] ) ] spids: [31939] ) ] spids: [-1 31937 31946 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:expr) op: Equal rhs: { (DQ ("--expr=if(name=='") ($ VSub_Name "$admin_ditto_skip" ) ("'||level==1&&name=='") ($ VSub_Name "$MAKESKIP") ("')status=SKIP") ) } spids: [31952] ) ] spids: [31952] ) ] spids: [31949 31950 31961 -1] ) ] spids: [31928 31932 31964] ) (AndOr children: [ (C {(test)} {(-d)} {($ VSub_Name "$PACKAGEROOT") (/src/) ($ VSub_Name "$dir") } ) (C {($ VSub_Name "$admin_ditto")} {($ VSub_Name "$admin_ditto_update")} {(--remote) (Lit_Other "=") ($ VSub_Name "$rsh")} {(DQ ($ VSub_Name "$expr"))} {($ VSub_Name "$PACKAGEROOT") (/src/) ($ VSub_Name "$dir") } {($ VSub_Name "$user") ($ VSub_Name "$syncname") (Lit_Other ":") ($ VSub_Name "$root") (/src/) ($ VSub_Name "$dir") } ) ] op_id: Op_DAmp ) ] spids: [31926 32001] ) spids: [31922 -1] ) ] spids: [31836 31839 32004 -1] ) ] spids: [31827 31833 32007] ) (Case to_match: {($ VSub_Name "$admin_action")} arms: [ (case_arm pat_list: [{(ditto)}] spids: [32017 32018 32020 -1] ) (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:pids) op: Equal rhs: {(SQ )} spids: [32027] ) ] spids: [32027] ) (C {(set)} {(SQ )} {($ VSub_Name "$host")} {($ VSub_Name "$share")} ) (While cond: [(C {(Lit_Other ":")})] body: (DoGroup children: [ (C {(shift)}) (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(0)}] action: [ (ControlFlow token: <ControlFlow_Break break> ) ] spids: [32057 32058 32063 -1] ) (case_arm pat_list: [{(1)}] action: [ (C {(remote)} {($ VSub_Number "$1")}) ] spids: [32066 32067 32074 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Sentence child: (C {(remote)} {($ VSub_Number "$1")}) terminator: <Op_Amp "&"> ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:pids) op: Equal rhs: { (DQ ($ VSub_Name "$pids") (" ") ($ VSub_Bang "$!") ) } spids: [32087] ) ] spids: [32087] ) ] spids: [32077 32078 32095 -1] ) ] spids: [32050 32054 32098] ) ] spids: [32045 32101] ) ) (Case to_match: {($ VSub_Name "$pids")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [(C {(wait)} {($ VSub_Name "$pids")})] spids: [32111 32113 32119 -1] ) ] spids: [32104 32108 32122] ) ] spids: [32023 32025 32125 -1] ) ] spids: [32010 32014 32128] ) ] redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: {(/dev/null)} spids: [32133] ) (Redir op_id: Redir_Great fd: -1 arg_word: {($ VSub_Name "$admin_log") (/) ($ VSub_Name "$main_log")} spids: [32137] ) (Redir op_id: Redir_GreatAnd fd: 2 arg_word: {(1)} spids: [32143] ) ] spids: [31824] ) terminator: <Op_Amp "&"> ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:pids) op: Equal rhs: {(DQ ($ VSub_Name "$pids") (" ") ($ VSub_Bang "$!"))} spids: [32149] ) ] spids: [32149] ) ] spids: [-1 31822 32157 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (C {(echo)} {(DQ ("{"))}) (Case to_match: {($ VSub_Name "$admin_binary") (Lit_Other ":") ($ VSub_Name "$sync")} arms: [ (case_arm pat_list: [{(Lit_Other ":") (Lit_Other "?") (Lit_Other "*")}] action: [ (C {(eval)} {(Lit_VarLike "syncname=") (SQ <"$">) (${ VSub_Name sync) (_name) } ) (AndOr children: [ (C {(test)} {(-d)} {($ VSub_Name "$PACKAGESRC")}) (C {(echo)} {($ VSub_Name "$admin_ditto")} {($ VSub_Name "$admin_ditto_update")} {(--remote) (Lit_Other "=") ($ VSub_Name "$rsh")} {(--expr) (Lit_Other "=") (DQ ("if(level>1)status=SKIP;name=='*.(pkg|lic|def)'")) } {($ VSub_Name "$PACKAGESRC")} {($ VSub_Name "$user") ($ VSub_Name "$syncname") (Lit_Other ":") ($ VSub_Name "$root") (/lib/package) } ) ] op_id: Op_DAmp ) (ForEach iter_name: dir iter_words: [{($ VSub_Name "$package_src")}] do_arg_iter: False body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$MAKESKIP")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:expr) op: Equal rhs: { (DQ ("--expr=if(name=='") ($ VSub_Name "$admin_ditto_skip") ("')status=SKIP") ) } spids: [32251] ) ] spids: [32251] ) ] spids: [-1 32249 32258 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:expr) op: Equal rhs: { (DQ ("--expr=if(name=='") ($ VSub_Name "$admin_ditto_skip") ("'||level==1&&name=='") ($ VSub_Name "$MAKESKIP") ("')status=SKIP") ) } spids: [32264] ) ] spids: [32264] ) ] spids: [32261 32262 32273 -1] ) ] spids: [32240 32244 32276] ) (AndOr children: [ (C {(test)} {(-d)} {($ VSub_Name "$PACKAGEROOT") (/src/) ($ VSub_Name "$dir") } ) (C {(echo)} {($ VSub_Name "$admin_ditto")} {($ VSub_Name "$admin_ditto_update")} {(--remote) (Lit_Other "=") ($ VSub_Name "$rsh")} {(DQ ($ VSub_Name "$expr"))} {($ VSub_Name "$PACKAGEROOT") (/src/) ($ VSub_Name "$dir") } {($ VSub_Name "$user") ($ VSub_Name "$syncname") (Lit_Other ":") ($ VSub_Name "$root") (/src/) ($ VSub_Name "$dir") } ) ] op_id: Op_DAmp ) ] spids: [32238 32315] ) spids: [32234 -1] ) ] spids: [32179 32182 32318 -1] ) ] spids: [32170 32176 32321] ) (Case to_match: {($ VSub_Name "$admin_action")} arms: [ (case_arm pat_list: [{(ditto)}] spids: [32331 32332 32334 -1] ) (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:pids) op: Equal rhs: {(SQ )} spids: [32341] ) ] spids: [32341] ) (C {(set)} {(SQ )} {($ VSub_Name "$host")} {($ VSub_Name "$share")}) (While cond: [(C {(Lit_Other ":")})] body: (DoGroup children: [ (C {(shift)}) (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(0)}] action: [ (ControlFlow token: <ControlFlow_Break break> ) ] spids: [32371 32372 32377 -1] ) (case_arm pat_list: [{(1)}] action: [(C {(remote)} {($ VSub_Number "$1")})] spids: [32380 32381 32388 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (C {(remote)} {($ VSub_Number "$1")} {(DQ ("&"))}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:pids) op: Equal rhs: {(1)} spids: [32403] ) ] spids: [32403] ) ] spids: [32391 32392 32407 -1] ) ] spids: [32364 32368 32410] ) ] spids: [32359 32413] ) ) (Case to_match: {($ VSub_Name "$pids")} arms: [ (case_arm pat_list: [{(1)}] action: [(C {(echo)} {(wait)})] spids: [32423 32424 32430 -1] ) ] spids: [32416 32420 32433] ) ] spids: [32337 32339 32436 -1] ) ] spids: [32324 32328 32439] ) (C {(echo)} { (DQ ("} < /dev/null > ") ($ VSub_Name "$admin_log") (/) ($ VSub_Name "$main_log") (" 2>&1 &") ) } ) ] spids: [32160 32161 32453 -1] ) ] spids: [31813 31817 32456] ) (C {(eval)} {(Lit_VarLike "name=") (SQ <"$">) (${ VSub_Name main) (_name)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:hosts) op: Equal rhs: {(DQ ($ VSub_Name "$hosts") (" ") ($ VSub_Name "$name"))} spids: [32471] ) ] spids: [32471] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:logs) op: Equal rhs: {(DQ ($ VSub_Name "$logs") (" ") ($ VSub_Name "$main_log"))} spids: [32479] ) ] spids: [32479] ) (ForEach iter_name: share iter_words: [{($ VSub_Name "$share")}] do_arg_iter: False body: (DoGroup children: [ (C {(eval)} {(Lit_VarLike "keep=") (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) (${ VSub_Name share) (_keep) } ) (Case to_match: {($ VSub_Name "$keep")} arms: [ (case_arm pat_list: [{(1)}] action: [ (C {(eval)} {(Lit_VarLike "name=") (SQ <"$">) (${ VSub_Name share) (_name)} {(Lit_VarLike "log=") (SQ <"$">) (${ VSub_Name share) (_log)} ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:hosts) op: Equal rhs: {(DQ ($ VSub_Name "$hosts") (" ") ($ VSub_Name "$name"))} spids: [32539] ) ] spids: [32539] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:logs) op: Equal rhs: {(DQ ($ VSub_Name "$logs") (" ") ($ VSub_Name "$log"))} spids: [32547] ) ] spids: [32547] ) ] spids: [32515 32516 32555 -1] ) ] spids: [32508 32512 32558] ) ] spids: [32496 32561] ) spids: [32492 -1] ) ] spids: [31327 32564] ) spids: [31321 -1] ) (Case to_match: {($ VSub_Name "$exec")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Case to_match: {($ VSub_Name "$quiet")} arms: [ (case_arm pat_list: [{(0)}] action: [ (C {(cd)} {($ VSub_Name "$admin_log")}) (C {(tail)} {(-t)} {($ VSub_Name "$PACKAGE_admin_tail_timeout")} {(-f)} {($ VSub_Name "$logs")} ) (C {(cd)} {(..)}) ] spids: [32589 32590 32613 -1] ) ] spids: [32582 32586 32616] ) (C {(wait)}) (C {(trap)} {(-)} {(1)} {(2)} {(3)} {(15)}) (AndOr children: [ (SimpleCommand words: [{(exec)}] redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: {($ VSub_Name "$admin_db")} spids: [32645] ) ] ) (C {(exit)}) ] op_id: Op_DPipe ) (SimpleCommand words: [{(exec)}] redirects: [(Redir op_id:Redir_GreatAnd fd:9 arg_word:{(1)} spids:[32656])] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:D) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (C {(date)} {(Lit_Other "+") (Lit_Other "%") (y) (Lit_Other "%") (m) (Lit_Other "%") (d) } ) ] ) left_token: <Left_Backtick "`"> spids: [32661 32671] ) } spids: [32660] ) ] spids: [32660] ) (While cond: [(C {(read)} {(line)})] body: (DoGroup children: [ (C {(set)} {(--)} {($ VSub_Name "$line")}) (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [ {(SQ )} {(SQ <"#">) (Lit_Other "*")} {(Lit_Other "*") (Lit_Other "=") (Lit_Other "*")} ] spids: [-1 32708 32711 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {(DQ (" ") ($ VSub_Name "$hosts") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Number "$2") (" ")) (Lit_Other "*") } ] action: [ (C {(Lit_Other ":")} {(ast)} {(date)} {(command)} {(assumed)} {(Lit_Other ":")} ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:E) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(eval)} {(date)} {(-E)} { (EscapedLiteralPart token: <Lit_EscapedChar "\\`"> ) (egrep) } {(SQ <"[ \t](start|done)[ \t][ \t]*at[ \t]">)} {($ VSub_Name "$admin_log") (/) ($ VSub_Number "$2")} ) (C {(sed)} {(-e)} { (SQ < "s/.*[ \t][ \t]*at[ \t][ \t]*//" > ) } {(-e)} {(SQ <"s/[ \t][ \t]*in[ \t].*$//">)} {(-e)} {(SQ <"s/.*/\"&\"/">) (EscapedLiteralPart token: <Lit_EscapedChar "\\`"> ) } ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [32752 32792] ) } spids: [32751] ) ] spids: [32751] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:M) op: Equal rhs: {($ VSub_Number "$6")} spids: [32795] ) (assign_pair lhs: (LhsName name:T) op: Equal rhs: {($ VSub_Number "$7")} spids: [32798] ) (assign_pair lhs: (LhsName name:W) op: Equal rhs: {($ VSub_Number "$8")} spids: [32801] ) ] spids: [32795] ) (Case to_match: {($ VSub_Name "$admin_action")} arms: [ (case_arm pat_list: [{(make)} {(view)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:M) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (C {(egrep)} {(-c)} { (SQ < "]:.* (\\*\\*\\*.* code|don" > ) (EscapedLiteralPart token:<Lit_EscapedChar "\\'">) (SQ <"t know) | \\*\\*\\* termination code ">) } {($ VSub_Name "$admin_log") (/) ($ VSub_Number "$2")} ) ] ) left_token: <Left_Backtick "`"> spids: [32819 32835] ) } spids: [32818] ) ] spids: [32818] ) ] spids: [32812 32815 32837 -1] ) (case_arm pat_list: [{(test)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:T) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (C {(grep)} {(-ci)} {(SQ <"fail[es]">)} {($ VSub_Name "$admin_log") (/) ($ VSub_Number "$2")} ) ] ) left_token: <Left_Backtick "`"> spids: [32844 32856] ) } spids: [32843] ) ] spids: [32843] ) ] spids: [32840 32841 32858 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:W) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(grep)} { (SQ < "^[abcdefghijklmnopqrstuvwxyz][abcdefghijklmnopqrstuvwxyz]*:." > ) } {($ VSub_Name "$admin_log") (/) ($ VSub_Number "$2")} ) (C {(egrep)} {(-cv)} { (SQ < "start at|done at|output captured|warning:|: package not found|whence: command not found" > ) } ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [32865 32885] ) } spids: [32864] ) ] spids: [32864] ) ] spids: [32861 32862 32887 -1] ) ] spids: [32805 32809 32890] ) (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [ {(Lit_Other "?")} {(Lit_Other "?") (Lit_Other "?")} {(Lit_Other "?") (Lit_Other "?") (Lit_Other "?")} {(Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") } {(Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") } {(Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") } {(Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:t1) op: Equal rhs: {(SQ <"\t\t">)} spids: [32937] ) ] spids: [32937] ) ] spids: [32900 32934 32943 -1] ) (case_arm pat_list: [ {(Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") } {(Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") } {(Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") } {(Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") } {(Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") } {(Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") } {(Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") } {(Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:t1) op: Equal rhs: {(SQ <"\t">)} spids: [33048] ) ] spids: [33048] ) ] spids: [32946 33045 33054 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:t1) op: Equal rhs: {(SQ )} spids: [33060] ) ] spids: [33060] ) ] spids: [33057 33058 33065 -1] ) ] spids: [32893 32897 33068] ) (Case to_match: {($ VSub_Number "$2")} arms: [ (case_arm pat_list: [ {(Lit_Other "?")} {(Lit_Other "?") (Lit_Other "?")} {(Lit_Other "?") (Lit_Other "?") (Lit_Other "?")} {(Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") } {(Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") } {(Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") } {(Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:t2) op: Equal rhs: {(SQ <"\t">)} spids: [33115] ) ] spids: [33115] ) ] spids: [33078 33112 33121 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:t2) op: Equal rhs: {(SQ )} spids: [33127] ) ] spids: [33127] ) ] spids: [33124 33125 33132 -1] ) ] spids: [33071 33075 33135] ) (Case to_match: {($ VSub_Number "$3")} arms: [ (case_arm pat_list: [ {(Lit_Other "?")} {(Lit_Other "?") (Lit_Other "?")} {(Lit_Other "?") (Lit_Other "?") (Lit_Other "?")} {(Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") } {(Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") } {(Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") } {(Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:t3) op: Equal rhs: {(SQ <"\t">)} spids: [33182] ) ] spids: [33182] ) ] spids: [33145 33179 33188 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:t3) op: Equal rhs: {(SQ )} spids: [33194] ) ] spids: [33194] ) ] spids: [33191 33192 33199 -1] ) ] spids: [33138 33142 33202] ) (Case to_match: {($ VSub_Name "$E")} arms: [ (case_arm pat_list: [ {(Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:E) op: Equal rhs: {(DQ (" ") ($ VSub_Name "$E"))} spids: [33219] ) ] spids: [33219] ) ] spids: [33212 33217 33225 -1] ) (case_arm pat_list: [ {(Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:E) op: Equal rhs: {(DQ (" ") ($ VSub_Name "$E"))} spids: [33234] ) ] spids: [33234] ) ] spids: [33228 33232 33240 -1] ) (case_arm pat_list: [ {(Lit_Other "?") (Lit_Other "?") (Lit_Other "?")} ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:E) op: Equal rhs: {(DQ (" ") ($ VSub_Name "$E"))} spids: [33248] ) ] spids: [33248] ) ] spids: [33243 33246 33254 -1] ) (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "?")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:E) op: Equal rhs: {(DQ (" ") ($ VSub_Name "$E"))} spids: [33261] ) ] spids: [33261] ) ] spids: [33257 33259 33267 -1] ) (case_arm pat_list: [{(Lit_Other "?")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:E) op: Equal rhs: {(DQ (" ") ($ VSub_Name "$E"))} spids: [33273] ) ] spids: [33273] ) ] spids: [33270 33271 33279 -1] ) ] spids: [33205 33209 33282] ) (Case to_match: {($ VSub_Name "$M")} arms: [ (case_arm pat_list: [ {(Lit_Other "?") (Lit_Other "?") (Lit_Other "?")} ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:M) op: Equal rhs: {(DQ ($ VSub_Name "$M"))} spids: [33297] ) ] spids: [33297] ) ] spids: [33292 33295 33302 -1] ) (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "?")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:M) op: Equal rhs: {(DQ (" ") ($ VSub_Name "$M"))} spids: [33309] ) ] spids: [33309] ) ] spids: [33305 33307 33315 -1] ) (case_arm pat_list: [{(Lit_Other "?")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:M) op: Equal rhs: {(DQ (" ") ($ VSub_Name "$M"))} spids: [33321] ) ] spids: [33321] ) ] spids: [33318 33319 33327 -1] ) (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:M) op: Equal rhs: {(DQ (" 0"))} spids: [33334] ) ] spids: [33334] ) ] spids: [-1 33332 33339 -1] ) ] spids: [33285 33289 33342] ) (Case to_match: {($ VSub_Name "$T")} arms: [ (case_arm pat_list: [ {(Lit_Other "?") (Lit_Other "?") (Lit_Other "?")} ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:T) op: Equal rhs: {(DQ ($ VSub_Name "$T"))} spids: [33357] ) ] spids: [33357] ) ] spids: [33352 33355 33362 -1] ) (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "?")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:T) op: Equal rhs: {(DQ (" ") ($ VSub_Name "$T"))} spids: [33369] ) ] spids: [33369] ) ] spids: [33365 33367 33375 -1] ) (case_arm pat_list: [{(Lit_Other "?")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:T) op: Equal rhs: {(DQ (" ") ($ VSub_Name "$T"))} spids: [33381] ) ] spids: [33381] ) ] spids: [33378 33379 33387 -1] ) (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:T) op: Equal rhs: {(DQ (" 0"))} spids: [33394] ) ] spids: [33394] ) ] spids: [-1 33392 33399 -1] ) ] spids: [33345 33349 33402] ) (Case to_match: {($ VSub_Name "$W")} arms: [ (case_arm pat_list: [ {(Lit_Other "?") (Lit_Other "?") (Lit_Other "?")} ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:W) op: Equal rhs: {(DQ ($ VSub_Name "$W"))} spids: [33417] ) ] spids: [33417] ) ] spids: [33412 33415 33422 -1] ) (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "?")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:W) op: Equal rhs: {(DQ (" ") ($ VSub_Name "$W"))} spids: [33429] ) ] spids: [33429] ) ] spids: [33425 33427 33435 -1] ) (case_arm pat_list: [{(Lit_Other "?")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:W) op: Equal rhs: {(DQ (" ") ($ VSub_Name "$W"))} spids: [33441] ) ] spids: [33441] ) ] spids: [33438 33439 33447 -1] ) (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:W) op: Equal rhs: {(DQ (" 0"))} spids: [33454] ) ] spids: [33454] ) ] spids: [-1 33452 33459 -1] ) ] spids: [33405 33409 33462] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:A) op: Equal rhs: {($ VSub_Number "$1") ($ VSub_Name "$t1")} spids: [33465] ) ] spids: [33465] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:H) op: Equal rhs: {($ VSub_Number "$2") ($ VSub_Name "$t2")} spids: [33470] ) ] spids: [33470] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:R) op: Equal rhs: {($ VSub_Number "$3") ($ VSub_Name "$t3")} spids: [33475] ) ] spids: [33475] ) (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(Lit_Other "[") (0-8) (Lit_Other "]")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:O) op: Equal rhs: {(SQ )} spids: [33492] ) ] spids: [33492] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:K) op: Equal rhs: {(SQ )} spids: [33495] ) ] spids: [33495] ) ] spids: [33487 33490 33498 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (C {(shift)} {(8)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:O) op: Equal rhs: {($ VSub_Number "$1")} spids: [33509] ) ] spids: [33509] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:K) op: Equal rhs: {($ VSub_Number "$2")} spids: [33513] ) ] spids: [33513] ) (Case to_match: {($ VSub_Name "$O")} arms: [ (case_arm pat_list: [ {(SQ )} {(Lit_Other "?")} {(Lit_Other "?") (Lit_Other "?")} {(Lit_Other "?") (Lit_Other "?") (Lit_Other "?") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:K) op: Equal rhs: {(DQ ("\t") ($ VSub_Name "$K"))} spids: [33537] ) ] spids: [33537] ) ] spids: [-1 33535 33543 -1] ) ] spids: [33517 33521 33546] ) (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [ {(Lit_Other "[") (0-2) (Lit_Other "]")} ] spids: [33556 33559 33561 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:K) op: Equal rhs: { (DQ ($ VSub_Name "$K") (" ") ($ VSub_Star "$*") ) } spids: [33567] ) ] spids: [33567] ) ] spids: [33564 33565 33574 -1] ) ] spids: [33549 33553 33577] ) ] spids: [33501 33502 33580 -1] ) ] spids: [33480 33484 33583] ) (C {(echo)} { (DQ ($ VSub_Name "$A") ("\t") ($ VSub_Name "$H") ("\t") ($ VSub_Name "$R") ("\t") ($ VSub_Name "$D") ("\t") ($ VSub_Name "$E") ("\t") ($ VSub_Name "$M") (" ") ($ VSub_Name "$T") (" ") ($ VSub_Name "$W") (" ") ($ VSub_Name "$O") ("\t") ($ VSub_Name "$K") ) } ) (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$A") ("\t") ($ VSub_Name "$H") ("\t") ($ VSub_Name "$R") ("\t") ($ VSub_Name "$D") ("\t") ($ VSub_Name "$E") ("\t") ($ VSub_Name "$M") (" ") ($ VSub_Name "$T") (" ") ($ VSub_Name "$W") (" ") ($ VSub_Name "$O") ("\t") ($ VSub_Name "$K") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(9)} spids: [33635] ) ] ) (ControlFlow token: <ControlFlow_Continue continue> ) ] spids: [32728 32735 33642 -1] ) ] spids: [32717 32725 33645] ) ] spids: [32714 32715 33648 -1] ) ] spids: [32690 32694 33651] ) (C {(echo)} {(DQ ($ VSub_Name "$line"))}) ] spids: [32681 33661] ) redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {($ VSub_Name "$admin_db") (.new)} spids: [33663] ) ] ) (C {(mv)} {($ VSub_Name "$admin_db")} {($ VSub_Name "$admin_db") (.old)}) (C {(mv)} {($ VSub_Name "$admin_db") (.new)} {($ VSub_Name "$admin_db")}) ] spids: [-1 32576 33685 -1] ) ] spids: [32567 32571 33688] ) ] spids: [28718 28719 33691 -1] ) (case_arm pat_list: [{(clean)} {(clobber)}] action: [ (C {(cd)} {($ VSub_Name "$PACKAGEROOT")}) (C {($ VSub_Name "$exec")} {(rm)} {(-rf)} {($ VSub_Name "$INSTALLROOT")}) (C {(exit)}) ] spids: [33694 33697 33717 -1] ) (case_arm pat_list: [{(contents)} {(list)}] action: [ (C {(cd)} {($ VSub_Name "$PACKAGESRC")}) (C {(set)} {(SQ )} {($ VSub_Name "$target")} {($ VSub_Name "$package")}) (C {(shift)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:argc) op: Equal rhs: {($ VSub_Pound "$#")} spids: [33755] ) ] spids: [33755] ) (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(0)}] action: [ (C {(set)} {(SQ )} {(Lit_Other "*") (.pkg)}) (Case to_match: {($ VSub_Number "$2")} arms: [ (case_arm pat_list: [{(SQ <"*.pkg">)}] action: [ (SimpleCommand words: [ {(echo)} {($ VSub_Name "$command") (Lit_Other ":")} {($ VSub_Name "$action") (Lit_Other ":")} {(no)} {(packages)} ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [33803] ) ] ) (C {(exit)} {(1)}) ] spids: [33786 33788 33812 -1] ) ] spids: [33778 33782 33815] ) (C {(set)} {(SQ )} { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Star "$*")}) (C {(sed)} {(SQ <"s,\\.pkg,,g">)}) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [33823 33835] ) } ) (C {(shift)}) ] spids: [33766 33767 33841 -1] ) ] spids: [33759 33763 33844] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sep) op: Equal rhs: {(DQ ($ VSub_Name "$nl") (" "))} spids: [33847] ) ] spids: [33847] ) (C {(echo)} {(packages)} {(KW_In in)} {($ VSub_Name "$PACKAGEROOT")}) (Case to_match: {($ VSub_Name "$action")} arms: [ (case_arm pat_list: [{(list)}] action: [ (C {(echo)}) (Pipeline children: [ (C {(echo)} { (DQ (NAME) (${ VSub_Name nl) (VERSION) (${ VSub_Name nl) (RELEASE) (${ VSub_Name nl) (TYPE) (${ VSub_Name nl) (STATUS) (${ VSub_Name nl) (REQUIRES) (${ VSub_Name nl) (----) (${ VSub_Name nl) (-------) (${ VSub_Name nl) (-------) (${ VSub_Name nl) (----) (${ VSub_Name nl) (------) (${ VSub_Name nl) (--------) ) } ) (C {(pr)} {(-6)} {(-a)} {(-o4)} {(-t)}) ] negated: False ) ] spids: [33870 33871 33939 -1] ) ] spids: [33863 33867 33942] ) (Pipeline children: [ (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:omit) op: Equal rhs: {(Lit_Other ":")} spids: [33948] ) ] spids: [33948] ) (ForEach iter_name: pkg do_arg_iter: True body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (C {(test)} {(KW_Bang "!")} {(-f)} {($ VSub_Name "$pkg") (.pkg)}) ] action: [ (SimpleCommand words: [ {(echo)} {($ VSub_Name "$command") (Lit_Other ":")} {($ VSub_Name "$action") (Lit_Other ":")} {($ VSub_Name "$pkg") (Lit_Other ":")} {(not)} {(a)} {(package)} ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [33990] ) ] ) ] spids: [-1 33971] ) ] else_action: [ (If arms: [ (if_arm cond: [(C {(test)} {(-f)} {(gen/) ($ VSub_Name "$pkg") (.ver)})] action: [ (C {(set)} {(SQ )} { (CommandSubPart command_list: (CommandList children: [ (C {(cat)} {(gen/) ($ VSub_Name "$pkg") (.ver)}) ] ) left_token: <Left_Backtick "`"> spids: [34014 34020] ) } ) (Case to_match: {($ VSub_Number "$3")} arms: [ (case_arm pat_list: [{($ VSub_Number "$2")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:ver) op: Equal rhs: {(base)} spids: [34033] ) ] spids: [34033] ) ] spids: [34030 34031 34036 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:ver) op: Equal rhs: {($ VSub_Number "$3")} spids: [34042] ) ] spids: [34042] ) ] spids: [34039 34040 34045 -1] ) ] spids: [34023 34027 34048] ) (If arms: [ (if_arm cond: [ (C {(test)} {(-s)} {(tgz/) ($ VSub_Name "$pkg") (.tim)}) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sts) op: Equal rhs: {(Assign_Local local)} spids: [34064] ) ] spids: [34064] ) ] spids: [-1 34062] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sts) op: Equal rhs: {(SQ )} spids: [34070] ) ] spids: [34070] ) ] spids: [34068 34073] ) ] spids: [-1 34007] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:ver) op: Equal rhs: {(SQ )} spids: [34078] ) ] spids: [34078] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sts) op: Equal rhs: {(unwritten)} spids: [34081] ) ] spids: [34081] ) ] spids: [34076 34085] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:typ) op: Equal rhs: {(SQ )} spids: [34088] ) ] spids: [34088] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:txt) op: Equal rhs: {(SQ )} spids: [34091] ) ] spids: [34091] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:cmp) op: Equal rhs: {(SQ )} spids: [34094] ) (assign_pair lhs: (LhsName name:cmp_sep) op: Equal rhs: {(SQ )} spids: [34096] ) ] spids: [34094] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:req) op: Equal rhs: {(SQ )} spids: [34099] ) (assign_pair lhs: (LhsName name:req_sep) op: Equal rhs: {(SQ )} spids: [34101] ) ] spids: [34099] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:op) op: Equal rhs: {(Lit_Other ":") (Lit_Other ":")} spids: [34104] ) ] spids: [34104] ) (SimpleCommand words: [{(exec)}] redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: {($ VSub_Name "$pkg") (.pkg)} spids: [34111] ) ] ) (While cond: [(C {(read)} {(line)})] body: (DoGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:IFS) op: Equal rhs: {(SQ <" \t\\\\">)} spids: [34126] ) ] spids: [34126] ) (C {(set)} {(SQ )} {($ VSub_Name "$line")}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:IFS) op: Equal rhs: {($ VSub_Name "$ifs")} spids: [34140] ) ] spids: [34140] ) (While cond: [(C {(Lit_Other ":")})] body: (DoGroup children: [ (C {(shift)}) (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(0)}] action: [ (ControlFlow token: <ControlFlow_Break break> ) ] spids: [34161 34162 34166 -1] ) ] spids: [34154 34158 34169] ) (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [ {(Lit_Other ":") (Lit_Other "*") (Lit_Other ":") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:op) op: Equal rhs: {($ VSub_Number "$1")} spids: [34184] ) ] spids: [34184] ) ] spids: [34179 34182 34188 -1] ) (case_arm pat_list: [ {(INIT)} {(SQ <"$(">) (Lit_Other "*")} {(Lit_Other "*") (SQ <")">)} ] spids: [34191 34202 34205 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$op")} arms: [ (case_arm pat_list: [ {(Lit_Other ":") (DESCRIPTION) (Lit_Other ":") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:txt) op: Equal rhs: { (DQ ($ VSub_Name "$txt") ($ VSub_Name "$sep") ($ VSub_Name "$line") ) } spids: [34224] ) ] spids: [34224] ) (ControlFlow token: <ControlFlow_Break break> ) ] spids: [34218 34221 34235 -1] ) (case_arm pat_list: [ {(Lit_Other ":") (PACKAGE) (Lit_Other ":") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:cmp) op: Equal rhs: { (DQ ($ VSub_Name "$cmp") ($ VSub_Name "$cmp_sep") ($ VSub_Number "$1") ) } spids: [34244] ) ] spids: [34244] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:cmp_sep) op: Equal rhs: {($ VSub_Name "$nl")} spids: [34252] ) ] spids: [34252] ) ] spids: [34238 34241 34256 -1] ) (case_arm pat_list: [ {(Lit_Other ":") (REQUIRES) (Lit_Other ":") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:req) op: Equal rhs: { (DQ ($ VSub_Name "$req") ($ VSub_Name "$req_sep") ($ VSub_Number "$1") ) } spids: [34265] ) ] spids: [34265] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:req_sep) op: Equal rhs: {(DQ (" "))} spids: [34273] ) ] spids: [34273] ) ] spids: [34259 34262 34279 -1] ) ] spids: [34211 34215 34282] ) ] spids: [34208 34209 34285 -1] ) ] spids: [34172 34176 34288] ) ] spids: [34149 34291] ) ) ] spids: [34124 34294] ) ) (SimpleCommand words: [{(exec)}] redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: {(/dev/null)} spids: [34299] ) ] ) (Case to_match: {($ VSub_Name "$txt")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:txt) op: Equal rhs: {(DQ ($ VSub_Name "$nl") ($ VSub_Name "$txt"))} spids: [34315] ) ] spids: [34315] ) ] spids: [34311 34313 34321 -1] ) ] spids: [34304 34308 34324] ) (Case to_match: {(Lit_Other ":") ($ VSub_Name "$ver") (Lit_Other ":")} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (Lit_Other ":") (Lit_Other ":") (Lit_Other "*") } ] spids: [34336 34340 34342 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$action")} arms: [ (case_arm pat_list: [{(list)}] action: [ (Case to_match: {($ VSub_Name "$sts")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Case to_match: { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [ {(ls)} {(-t)} { (DQ (tgz/) ($ VSub_Name "$pkg") (.) ($ VSub_Name "$ver") (.base) ) } { (DQ (tgz/) ($ VSub_Name "$pkg") (.tim) ) } ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [34390] ) ] ) ] ) left_token: <Left_Backtick "`"> spids: [34371 34392] ) } arms: [ (case_arm pat_list: [ { (DQ (tgz/) ($ VSub_Name "$pkg") (.tim) ) (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sts) op: Equal rhs: {(read)} spids: [34406] ) ] spids: [34406] ) ] spids: [34398 34403 34410 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sts) op: Equal rhs: {(unread)} spids: [34416] ) ] spids: [34416] ) ] spids: [34413 34414 34420 -1] ) ] spids: [34369 34394 34423] ) ] spids: [-1 34367 34426 -1] ) ] spids: [34358 34362 34429] ) (C {(echo)} { (DQ ($ VSub_Name "$pkg") (${ VSub_Name nl) ($ VSub_Name "$ver") (${ VSub_Name nl) (base) (${ VSub_Name nl) ($ VSub_Name "$typ") (${ VSub_Name nl) ($ VSub_Name "$sts") (${ VSub_Name nl) ($ VSub_Name "$req") ) } ) (Case to_match: {($ VSub_Name "$typ")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:omit) op: Equal rhs: {($ VSub_Name "$omit") ($ VSub_Name "$pkg") (.) ($ VSub_Name "$ver") (.base) (Lit_Other ":") } spids: [34470] ) ] spids: [34470] ) ] spids: [-1 34468 34478 -1] ) ] spids: [34459 34463 34481] ) ] spids: [34355 34356 34484 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$req")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:req) op: Equal rhs: {(DQ (": ") ($ VSub_Name "$req"))} spids: [34501] ) ] spids: [34501] ) ] spids: [34497 34499 34507 -1] ) ] spids: [34490 34494 34510] ) (C {(echo)}) (C {(echo)} {($ VSub_Name "$pkg")} {($ VSub_Name "$ver")} {($ VSub_Name "$req")} {(DQ ($ VSub_Name "$txt"))} ) (Case to_match: {($ VSub_Name "$cmp")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (C {(echo)} { (DQ (${ VSub_Name sep) ("Components in this package:") ($ VSub_Name "$nl") ) } ) (Pipeline children: [ (C {(echo)} {(DQ ($ VSub_Name "$cmp"))}) (C {(pr)} {(-4)} {(-o4)} {(-t)}) ] negated: False ) ] spids: [34536 34538 34567 -1] ) ] spids: [34529 34533 34570] ) ] spids: [34487 34488 34573 -1] ) ] spids: [34348 34352 34576] ) ] spids: [34345 34346 34579 -1] ) ] spids: [34327 34333 34582] ) ] spids: [33994 34585] ) ] spids: [33957 34588] ) spids: [-1 -1] ) (Case to_match: {($ VSub_Name "$argc") (Lit_Other ":") ($ VSub_Name "$action")} arms: [ (case_arm pat_list: [{(0) (Lit_Other ":") (list)}] action: [ (If arms: [ (if_arm cond: [(C {(test)} {(-d)} {(tgz)})] action: [ (C {(cd)} {(tgz)}) (ForEach iter_name: f iter_words: [ { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(find)} {(.)} {(-name)} { (SQ < "*?[_.][0123456789][0123456789][0123456789][0123456789]-[0123456789][0123456789]-[0123456789][0123456789][_.]*" > ) } {(-print)} ) (C {(sed)} {(SQ <"s,^\\./,,">)}) (C {(sort)} {(-r)}) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [34631 34657] ) } ] do_arg_iter: False body: (DoGroup children: [ (C {(eval)} { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {(DQ ($ VSub_Name "$f"))}) (C {(sed)} {(-e)} {(SQ <"s,\\.c$,,">)} {(-e)} {(SQ <"s,\\.gz$,,">)} {(-e)} {(SQ <"s,\\.exe$,,">)} {(-e)} {(SQ <"s,\\.tgz$,,">)} {(-e)} { (SQ < "s,\\([^_.]*\\)[_.]\\([0123456789][0123456789][0123456789][0123456789]-[0123456789][0123456789]-[0123456789][0123456789]\\)[_.]\\([0123456789][0123456789][0123456789][0123456789][^_.]*\\)[_.]*\\(.*\\),p=\\1 v=\\2 r=\\3 t=\\4," > ) } {(-e)} { (SQ < "s,\\([^_.]*\\)[_.]\\([0123456789][0123456789][0123456789][0123456789]-[0123456789][0123456789]-[0123456789][0123456789]\\)[_.]*\\(.*\\),p=\\1 v=\\2 r=base t=\\3," > ) } ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [34664 34710] ) } ) (Case to_match: {($ VSub_Name "$t")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Case to_match: {($ VSub_Name "$omit")} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (Lit_Other ":") ($ VSub_Name "$p") (.) ($ VSub_Name "$v") (.) ($ VSub_Name "$r") (Lit_Other ":") (Lit_Other "*") } ] action: [ (ControlFlow token: <ControlFlow_Continue continue> ) ] spids: [34731 34740 34744 -1] ) ] spids: [34724 34728 34747] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:u) op: Equal rhs: {($ VSub_Name "$p") (.tim)} spids: [34750] ) ] spids: [34750] ) ] spids: [-1 34722 34755 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:u) op: Equal rhs: {($ VSub_Name "$p") (.) ($ VSub_Name "$t") (.tim) } spids: [34761] ) ] spids: [34761] ) ] spids: [34758 34759 34768 -1] ) ] spids: [34713 34717 34771] ) (If arms: [ (if_arm cond: [(C {(test)} {(-s)} {(DQ ($ VSub_Name "$u"))})] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:s) op: Equal rhs: {(Assign_Local local)} spids: [34787] ) ] spids: [34787] ) ] spids: [-1 34785] ) (if_arm cond: [(C {(test)} {(-f)} {(DQ ($ VSub_Name "$u"))})] action: [ (Case to_match: { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [ {(ls)} {(-t)} {(DQ ($ VSub_Name "$f"))} {(DQ ($ VSub_Name "$u"))} ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [34819] ) ] ) ] ) left_token: <Left_Backtick "`"> spids: [34806 34821] ) } arms: [ (case_arm pat_list: [ {(DQ ($ VSub_Name "$u")) (Lit_Other "*")} ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:s) op: Equal rhs: {(read)} spids: [34832] ) ] spids: [34832] ) ] spids: [34827 34830 34835 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:s) op: Equal rhs: {(unread)} spids: [34841] ) ] spids: [34841] ) ] spids: [34838 34839 34844 -1] ) ] spids: [34804 34823 34847] ) ] spids: [34791 34802] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:s) op: Equal rhs: {(unread)} spids: [34852] ) ] spids: [34852] ) ] spids: [34850 34856] ) (C {(echo)} { (DQ ($ VSub_Name "$p") ($ VSub_Name "$nl") ($ VSub_Name "$v") ($ VSub_Name "$nl") ($ VSub_Name "$r") ($ VSub_Name "$nl") ($ VSub_Name "$t") ($ VSub_Name "$nl") ($ VSub_Name "$s") ($ VSub_Name "$nl") ) } ) ] spids: [34660 34875] ) spids: [34630 -1] ) ] spids: [-1 34614] ) ] spids: [-1 34878] ) ] spids: [34600 34603 34881 -1] ) ] spids: [34591 34597 34884] ) ] spids: [33945] ) (Case to_match: {($ VSub_Name "$action")} arms: [ (case_arm pat_list: [{(list)}] action: [ (Pipeline children: [(C {(pr)} {(-6)} {(-a)} {(-o4)} {(-t)}) (C {(sort)} {(-u)})] negated: False ) ] spids: [34899 34900 34918 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [(C {(cat)})] spids: [34921 34922 34926 -1] ) ] spids: [34892 34896 34929] ) ] negated: False ) (Case to_match: {($ VSub_Name "$argc")} arms: [ (case_arm pat_list: [{(0)}] action: [ (If arms: [ (if_arm cond: [(C {(test)} {(-d)} {($ VSub_Name "$PACKAGEROOT") (/arch)})] action: [ (C {(echo)}) (C {(echo)} {(architectures)} {(KW_In in)} {($ VSub_Name "$PACKAGEROOT")}) (C {(echo)}) (Pipeline children: [ (ForEach iter_name: i iter_words: [ { (CommandSubPart command_list: (CommandList children: [ (C {(ls)} {($ VSub_Name "$PACKAGEROOT") (/arch)}) ] ) left_token: <Left_Backtick "`"> spids: [34975 34980] ) } ] do_arg_iter: False body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (C {(test)} {(-f)} {($ VSub_Name "$PACKAGEROOT") (/arch/) ($ VSub_Name "$i") (/lib/package/gen/host) } ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:h) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (C {(cat)} {($ VSub_Name "$PACKAGEROOT") (/arch/) ($ VSub_Name "$i") (/lib/package/gen/host) } ) ] ) left_token: <Left_Backtick "`"> spids: [35000 35007] ) } spids: [34999] ) ] spids: [34999] ) ] spids: [-1 34997] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:h) op: Equal rhs: {(SQ )} spids: [35012] ) ] spids: [35012] ) ] spids: [35010 35015] ) (C {(echo)} {($ VSub_Name "$i")}) (C {(echo)} {($ VSub_Name "$h")}) (C {(echo)}) (C {(echo)}) ] spids: [34983 35034] ) spids: [34974 -1] ) (C {(pr)} {(-4)} {(-a)} {(-o4)} {(-t)}) ] negated: False ) ] spids: [-1 34952] ) ] spids: [-1 35049] ) ] spids: [34939 34940 35052 -1] ) ] spids: [34932 34936 35055] ) ] spids: [33720 33723 35058 -1] ) (case_arm pat_list: [{(copyright)}] action: [ (C {(cd)} {($ VSub_Name "$PACKAGESRC")}) (C {(set)} {(SQ )} {($ VSub_Name "$target")} {($ VSub_Name "$package")}) (C {(shift)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:argc) op: Equal rhs: {($ VSub_Pound "$#")} spids: [35094] ) ] spids: [35094] ) (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(0)}] action: [ (C {(set)} {(SQ )} { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {(Lit_Other "*") (.lic)}) (C {(sed)} {(SQ <"s,\\.lic,,g">)}) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [35113 35126] ) } ) (C {(shift)}) (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [{(SQ <"*">)}] action: [ (SimpleCommand words: [ {(echo)} {($ VSub_Name "$command") (Lit_Other ":")} {($ VSub_Name "$action") (Lit_Other ":")} {(no)} {(packages)} ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [35156] ) ] ) (C {(exit)} {(1)}) ] spids: [35140 35142 35165 -1] ) ] spids: [35132 35136 35168] ) ] spids: [35105 35106 35171 -1] ) ] spids: [35098 35102 35174] ) (AndOr children:[(C {(checkaout)} {(proto)})(C {(exit)})] op_id:Op_DPipe) (ForEach iter_name: i do_arg_iter: True body: (DoGroup children:[(C {(copyright)} {($ VSub_Name "$i")})] spids:[3519135198]) spids: [-1 -1] ) ] spids: [35061 35062 35201 -1] ) (case_arm pat_list: [{(export)}] action: [ (Case to_match: {($ VSub_Name "$INSTALLROOT")} arms: [ (case_arm pat_list: [{($ VSub_Name "$PACKAGEROOT")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:INSTALLROOT) op: Equal rhs: {($ VSub_Name "$INSTALLROOT") (/arch/) ($ VSub_Name "$HOSTTYPE")} spids: [35218] ) ] spids: [35218] ) ] spids: [35214 35215 35224 -1] ) ] spids: [35207 35211 35227] ) (Case to_match: {($ VSub_Name "$only")} arms: [ (case_arm pat_list: [{(0)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:v) op: Equal rhs: {(SQ <"$i=">)} spids: [35240] ) ] spids: [35240] ) ] spids: [35237 35238 35245 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:v) op:Equal rhs:{(SQ )} spids:[35251])] spids: [35251] ) ] spids: [35248 35249 35253 -1] ) ] spids: [35230 35234 35256] ) (C {(set)} {(SQ )} {($ VSub_Name "$target")} {($ VSub_Name "$package")}) (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(1)}] action: [(C {(set)} {(SQ )} {($ VSub_Name "$env")})] spids: [35276 35277 35286 -1] ) ] spids: [35269 35273 35289] ) (While cond: [(C {(Lit_Other ":")})] body: (DoGroup children: [ (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(1)}] action: [(ControlFlow token:<ControlFlow_Break break>)] spids: [35306 35307 35311 -1] ) ] spids: [35299 35303 35314] ) (C {(shift)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:i) op: Equal rhs: {($ VSub_Number "$1")} spids: [35320] ) ] spids: [35320] ) (C {(eval)} {(echo)} {(${ VSub_Name v) (SQ <"$">) (${ VSub_Name i)}) ] spids: [35297 35339] ) ) ] spids: [35204 35205 35342 -1] ) (case_arm pat_list: [{(install)}] action: [ (C {(cd)} {($ VSub_Name "$PACKAGEROOT")}) (C {(set)} {(SQ )} {($ VSub_Name "$package")}) (C {(shift)}) (Case to_match: {($ VSub_Name "$only")} arms: [ (case_arm pat_list: [{(0)}] action: [ (C {(set)} {(SQ )} { (CommandSubPart command_list: (CommandList children: [(C {(order)} {(DQ ($ VSub_At "$@"))})] ) left_token: <Left_Backtick "`"> spids: [35378 35384] ) } ) (C {(shift)}) ] spids: [35370 35371 35390 -1] ) ] spids: [35363 35367 35393] ) (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(0)}] action: [ (SimpleCommand words: [ {(echo)} {(DQ ($ VSub_Name "$command") (": at least one package name expected"))} ] redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[35413])] ) (C {(exit)} {(1)}) ] spids: [35403 35404 35422 -1] ) ] spids: [35396 35400 35425] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:package) op: Equal rhs: {($ VSub_Star "$*")} spids: [35428] ) ] spids: [35428] ) (C {(requirements)} {(-)} {($ VSub_Name "$package")}) (C {(set)} {(SQ )} {($ VSub_Name "$target")}) (C {(shift)}) (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [{(flat)}] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:flat) op:Equal rhs:{(1)} spids:[35460])] spids: [35460] ) (C {(shift)}) ] spids: [35457 35458 35470 -1] ) ] spids: [35450 35454 35473] ) (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(0)}] action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$action") (": target directory argument expected") ) } ] redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[35495])] ) (C {(exit)} {(1)}) ] spids: [35483 35484 35504 -1] ) ] spids: [35476 35480 35507] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:target) op:Equal rhs:{(SQ )} spids:[35510])] spids: [35510] ) (While cond: [(C {(Lit_Other ":")})] body: (DoGroup children: [ (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(1)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:directory) op: Equal rhs: {($ VSub_Number "$1")} spids: [35530] ) ] spids: [35530] ) (ControlFlow token:<ControlFlow_Break break>) ] spids: [35527 35528 35537 -1] ) ] spids: [35520 35524 35540] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:target) op: Equal rhs: {(DQ ($ VSub_Name "$target") (" ") ($ VSub_Number "$1"))} spids: [35543] ) ] spids: [35543] ) (C {(shift)}) ] spids: [35518 35554] ) ) (If arms: [ (if_arm cond: [(C {(test)} {(KW_Bang "!")} {(-d)} {($ VSub_Name "$directory")})] action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$action") (": ") ($ VSub_Name "$directory") (": target directory not found") ) } ] redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[35581])] ) (C {(exit)} {(1)}) ] spids: [-1 35568] ) ] spids: [-1 35590] ) (Case to_match: {($ VSub_Name "$target")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (C {(cd)} {(arch)}) (C {(set)} {(SQ )} {(Lit_Other "*")}) (C {(shift)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:target) op: Equal rhs: {($ VSub_Star "$*")} spids: [35620] ) ] spids: [35620] ) (C {(cd)} {(..)}) ] spids: [-1 35602 35629 -1] ) ] spids: [35593 35597 35632] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:code) op:Equal rhs:{(0)} spids:[35635])] spids: [35635] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:makecheck) op:Equal rhs:{(1)} spids:[35639])] spids: [35639] ) (ForEach iter_name: a iter_words: [{($ VSub_Name "$target")}] do_arg_iter: False body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$a")} arms: [ (case_arm pat_list: [{(-)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:a) op: Equal rhs: {($ VSub_Name "$HOSTTYPE")} spids: [35664] ) ] spids: [35664] ) ] spids: [35661 35662 35667 -1] ) ] spids: [35654 35658 35670] ) (Case to_match: {($ VSub_Name "$flat") (Lit_Other ":") ($ VSub_Name "$a")} arms: [ (case_arm pat_list: [ {(1) (Lit_Other ":") (Lit_Other "*")} {(Lit_Other "?") (Lit_Other ":") (.)} ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:dest) op: Equal rhs: {($ VSub_Name "$directory")} spids: [35690] ) ] spids: [35690] ) ] spids: [35682 35689 35694 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:dest) op: Equal rhs: {($ VSub_Name "$directory") (/arch/) ($ VSub_Name "$a")} spids: [35700] ) ] spids: [35700] ) (If arms: [ (if_arm cond: [ (C {(test)} {(DQ )} {(Lit_Other "=")} {(DQ ($ VSub_Name "$exec"))} {(-a)} {(KW_Bang "!")} {(-d)} {($ VSub_Name "$dest")} ) ] action: [ (AndOr children: [ (C {(mkdir)} {(-p)} {($ VSub_Name "$dest")}) (BraceGroup children: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$dest") (": destination directory must exist") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [35750] ) ] ) (C {(exit)} {(1)}) ] spids: [35738] ) ] op_id: Op_DPipe ) ] spids: [-1 35728] ) ] spids: [-1 35762] ) ] spids: [35697 35698 35765 -1] ) ] spids: [35673 35679 35768] ) (ForEach iter_name: i iter_words: [{($ VSub_Name "$package")}] do_arg_iter: False body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (C {(test)} {(DQ (ratz))} {(Lit_Other "=")} {(DQ ($ VSub_Name "$i"))}) ] action: [(C {(Lit_Other ":")} {(skip)})] spids: [-1 35797] ) (if_arm cond: [ (C {(test)} {(-f)} {(arch/) ($ VSub_Name "$a") (/lib/package/gen/) ($ VSub_Name "$i") (.sum) } ) ] action: [ (AndOr children: [ (C {(package_install)} {($ VSub_Name "$directory")} {(arch/) ($ VSub_Name "$a") (/lib/package/gen/) ($ VSub_Name "$i") (.sum) } ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {(1)} spids: [35831] ) ] spids: [35831] ) ] op_id: Op_DPipe ) ] spids: [35804 35817] ) (if_arm cond: [ (C {(test)} {(KW_Bang "!")} {(-d)} {(arch/) ($ VSub_Name "$a") (/bin)} ) ] action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$a") (": invalid architecture") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [35859] ) ] ) ] spids: [35835 35848] ) (if_arm cond: [(C {(test)} {(KW_Bang "!")} {(-d)} {($ VSub_Name "$dest")})] action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$dest") (": destination directory must exist") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [35885] ) ] ) ] spids: [35863 35874] ) ] else_action: [ (If arms: [ (if_arm cond: [ (C {(test)} {(DQ )} {(KW_Bang "!") (Lit_Other "=")} {(DQ ($ VSub_Name "$makecheck"))} ) ] action: [ (If arms: [ (if_arm cond: [(C {(onpath)} {($ VSub_Name "$MAKE")})] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:MAKE) op: Equal rhs: {($ VSub_Name "$_onpath_")} spids: [35917] ) ] spids: [35917] ) ] spids: [-1 35915] ) ] else_action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$MAKE") (": not found") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [35932] ) ] ) (C {(exit)} {(1)}) ] spids: [35921 35941] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:makecheck) op: Equal rhs: {(SQ )} spids: [35944] ) ] spids: [35944] ) ] spids: [-1 35906] ) ] spids: [-1 35947] ) (If arms: [ (if_arm cond: [ (C {(test)} {(DQ )} {(KW_Bang "!") (Lit_Other "=")} {(DQ ($ VSub_Name "$exec"))} ) ] action: [ (Subshell child: (CommandList children: [ (C {(trap)} {(-)} {(0)} {(1)} {(2)} {(15)}) (C {(echo)} { (DQ ("=== ") ($ VSub_Name "$i") (" installation manifest ===") ) } ) (C {(cd)} {(arch/) ($ VSub_Name "$a")}) (Pipeline children: [ (Subshell child: (CommandList children: [ (C {(cd)} {(lib/package)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:INSTALLROOT) op: Equal rhs: {($ VSub_Name "$PACKAGEROOT") (/arch/) ($ VSub_Name "$a") } spids: [36006] ) ] spids: [36006] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:VPATH) op: Equal rhs: {($ VSub_Name "$INSTALLROOT") (Lit_Other ":") ($ VSub_Name "$PACKAGEROOT") (Lit_Other ":") ($ VSub_Name "$VPATH") } spids: [36012] ) ] spids: [36012] ) (C {(export)} {(INSTALLROOT)} {(VPATH)}) (C {($ VSub_Name "$MAKE")} {(-s)} {($ VSub_Name "$makeflags")} {(-f)} {($ VSub_Name "$i") (.pkg)} {($ VSub_Name "$qualifier")} {(list.installed)} {($ VSub_Name "$assign")} ) ] ) spids: [35998 36045] ) (C {(sort)} {(-u)}) ] negated: False ) ] ) spids: [35967 36054] ) ] spids: [-1 35965] ) ] else_action: [ (Subshell child: (CommandList children: [ (C {(set)} {(-)}) (C {(cd)} {(arch/) ($ VSub_Name "$a")}) (Pipeline children: [ (Subshell child: (CommandList children: [ (C {(cd)} {(lib/package)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:INSTALLROOT) op: Equal rhs: {($ VSub_Name "$PACKAGEROOT") (/arch/) ($ VSub_Name "$a") } spids: [36081] ) ] spids: [36081] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:VPATH) op: Equal rhs: {($ VSub_Name "$INSTALLROOT") (Lit_Other ":") ($ VSub_Name "$PACKAGEROOT") (Lit_Other ":") ($ VSub_Name "$VPATH") } spids: [36087] ) ] spids: [36087] ) (C {(export)} {(INSTALLROOT)} {(VPATH)}) (C {(echo)} {(lib/) ($ VSub_Name "$command")}) (C {($ VSub_Name "$MAKE")} {(-s)} {($ VSub_Name "$makeflags")} {(-f)} {($ VSub_Name "$i") (.pkg)} {($ VSub_Name "$qualifier")} {(list.installed)} {($ VSub_Name "$assign")} ) ] ) spids: [36073 36126] ) (C {(sort)} {(-u)}) (C {(pax)} {(-drw)} {(-ps)} {($ VSub_Name "$dest")}) ] negated: False ) ] ) spids: [36059 36145] ) ] spids: [36057 36148] ) ] spids: [35889 36151] ) ] spids: [35780 36154] ) spids: [35776 -1] ) ] spids: [35652 36157] ) spids: [35648 -1] ) (C {(exit)} {($ VSub_Name "$code")}) ] spids: [35345 35346 36165 -1] ) (case_arm pat_list: [{(license)}] action: [ (AndOr children: [(C {(cd)} {($ VSub_Name "$PACKAGESRC") (/LICENSES)}) (C {(exit)})] op_id: Op_DPipe ) (C {(set)} {(SQ )} {($ VSub_Name "$target")} {($ VSub_Name "$package")}) (C {(shift)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:argc) op: Equal rhs: {($ VSub_Pound "$#")} spids: [36204] ) ] spids: [36204] ) (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(0)}] action: [ (C {(set)} {(SQ )} {(Lit_Other "*")}) (C {(shift)}) (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [{(SQ <"*">)}] action: [ (SimpleCommand words: [ {(echo)} {($ VSub_Name "$command") (Lit_Other ":")} {($ VSub_Name "$action") (Lit_Other ":")} {(no)} {(licenses)} ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [36253] ) ] ) (C {(exit)} {(1)}) ] spids: [36237 36239 36262 -1] ) ] spids: [36229 36233 36265] ) ] spids: [36215 36216 36268 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (AndOr children: [(C {(checkaout)} {(proto)}) (C {(exit)})] op_id: Op_DPipe ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:a) op:Equal rhs:{(SQ )} spids:[36283])] spids: [36283] ) (ForEach iter_name: i do_arg_iter: True body: (DoGroup children: [ (While cond: [(C {(Lit_Other ":")})] body: (DoGroup children: [ (If arms: [ (if_arm cond: [(C {(test)} {(-f)} {(../) ($ VSub_Name "$i") (.lic)})] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:j) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [ {(proto)} {(-df)} {(-l)} {(../) ($ VSub_Name "$i") (.lic)} {(-o)} {(Lit_VarLike "query=") (type)} {(/dev/null)} ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [36332] ) ] ) ] ) left_token: <Left_Backtick "`"> spids: [36314 36334] ) } spids: [36313] ) ] spids: [36313] ) (Case to_match: {($ VSub_Name "$j")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (If arms: [ (if_arm cond: [ (C {(test)} {(-f)} {($ VSub_Name "$j")}) ] action: [ (Case to_match: {(DQ (" ") ($ VSub_Name "$a") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$j") (" ") ) (Lit_Other "*") } ] spids: [36370 36377 36379 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:a) op: Equal rhs: { (DQ ($ VSub_Name "$a") (" ") ($ VSub_Name "$j") ) } spids: [36385] ) ] spids: [36385] ) ] spids: [36382 36383 36392 -1] ) ] spids: [36359 36367 36395] ) ] spids: [-1 36357] ) ] spids: [-1 36398] ) (ControlFlow token: <ControlFlow_Break break> ) ] spids: [36344 36346 36404 -1] ) ] spids: [36337 36341 36407] ) ] spids: [-1 36311] ) ] spids: [-1 36410] ) (Case to_match: {($ VSub_Name "$i")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (-) (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:i) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Name "$i")}) (C {(sed)} {(SQ <"s/-[^-]*$//">)}) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [36426 36438] ) } spids: [36425] ) ] spids: [36425] ) ] spids: [36420 36423 36441 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$i") (": package license not found") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [36456] ) ] ) (ControlFlow token: <ControlFlow_Break break> ) ] spids: [36444 36445 36463 -1] ) ] spids: [36413 36417 36466] ) ] spids: [36298 36469] ) ) ] spids: [36291 36472] ) spids: [-1 -1] ) (C {(set)} {(SQ )} {($ VSub_Name "$a")}) (C {(shift)}) ] spids: [36271 36272 36486 -1] ) ] spids: [36208 36212 36489] ) (ForEach iter_name: i do_arg_iter: True body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$exec")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (C {(echo)}) (C {(echo)} {(DQ ("\t\t--- ") ($ VSub_Name "$i") (" source license ---"))}) (C {(echo)}) (C {(cat)} {($ VSub_Name "$i")}) ] spids: [-1 36508 36530 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (C {(echo)} {($ VSub_Name "$PACKAGESRC") (/LICENSES/) ($ VSub_Name "$i")}) ] spids: [36533 36534 36543 -1] ) ] spids: [36499 36503 36546] ) ] spids: [36497 36549] ) spids: [-1 -1] ) ] spids: [36168 36169 36552 -1] ) (case_arm pat_list: [{(make)} {(view)}] action: [ (C {(cd)} {($ VSub_Name "$PACKAGEROOT")}) (Case to_match: {($ VSub_Name "$package")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:lic) op: Equal rhs: {(DQ ("lib/package/*.lic"))} spids: [36577] ) ] spids: [36577] ) ] spids: [-1 36575 36583 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (ForEach iter_name: i iter_words: [{($ VSub_Name "$package")}] do_arg_iter: False body: (DoGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:lic) op: Equal rhs: { (DQ ($ VSub_Name "$lic") (" lib/package/") ($ VSub_Name "$i") (.lic) ) } spids: [36600] ) ] spids: [36600] ) (Case to_match: {($ VSub_Name "$i")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (-) (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:lic) op: Equal rhs: {(DQ ($ VSub_Name "$lic") (" lib/package/")) (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Name "$i")}) (C {(sed)} {(SQ <"s,-.*,,">)}) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [36626 36638] ) (DQ (.lic)) } spids: [36621] ) ] spids: [36621] ) ] spids: [36616 36619 36643 -1] ) ] spids: [36609 36613 36646] ) ] spids: [36598 36649] ) spids: [36594 -1] ) ] spids: [36586 36587 36652 -1] ) ] spids: [36566 36570 36655] ) (C {(checksrc)}) (C {(requirements)} {(source)} {($ VSub_Name "$package")}) (C {(components)} {($ VSub_Name "$package")}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:package) op: Equal rhs: {($ VSub_Name "$_components_")} spids: [36673] ) ] spids: [36673] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:must) op: Equal rhs: {(DQ ($ VSub_Name "$AR"))} spids: [36683] ) ] spids: [36683] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:warn) op: Equal rhs: {(DQ ($ VSub_Name "$NM") (" yacc bison"))} spids: [36689] ) ] spids: [36689] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:test) op: Equal rhs: {(DQ ($ VSub_Name "$must") (" ") ($ VSub_Name "$warn"))} spids: [36696] ) ] spids: [36696] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:have) op:Equal rhs:{(SQ )} spids:[36704])] spids: [36704] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:IFS) op: Equal rhs: {(Lit_Other ":")} spids: [36707] ) ] spids: [36707] ) (C {(set)} {(/) ($ VSub_Name "$IFS") ($ VSub_Name "$PATH")}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:IFS) op: Equal rhs: {($ VSub_Name "$ifs")} spids: [36718] ) ] spids: [36718] ) (C {(shift)}) (ForEach iter_name: t iter_words: [{($ VSub_Name "$test")}] do_arg_iter: False body: (DoGroup children: [ (If arms: [ (if_arm cond: [(C {(executable)} {($ VSub_Name "$t")})] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:have) op: Equal rhs: {(DQ ($ VSub_Name "$have") (" ") ($ VSub_Name "$t"))} spids: [36745] ) ] spids: [36745] ) ] spids: [-1 36743] ) ] spids: [-1 36753] ) ] spids: [36734 36756] ) spids: [36730 -1] ) (ForEach iter_name: d do_arg_iter: True body: (DoGroup children: [ (ForEach iter_name: t iter_words: [{($ VSub_Name "$test")}] do_arg_iter: False body: (DoGroup children: [ (Case to_match: {(DQ (" ") ($ VSub_Name "$have") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$t") (" ")) (Lit_Other "*") } ] spids: [36788 36795 36798 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (If arms: [ (if_arm cond: [ (C {(executable)} {($ VSub_Name "$d") (/) ($ VSub_Name "$t")} ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:have) op: Equal rhs: { (DQ ($ VSub_Name "$have") (" ") ($ VSub_Name "$t") ) } spids: [36815] ) ] spids: [36815] ) ] spids: [-1 36813] ) ] spids: [-1 36823] ) ] spids: [36801 36802 36826 -1] ) ] spids: [36777 36785 36829] ) ] spids: [36775 36832] ) spids: [36771 -1] ) ] spids: [36764 36835] ) spids: [-1 -1] ) (Case to_match: {(DQ (" ") ($ VSub_Name "$have") (" "))} arms: [ (case_arm pat_list: [{(Lit_Other "*") (DQ (" bison ")) (Lit_Other "*")}] spids: [36849 36854 36856 -1] ) (case_arm pat_list: [{(Lit_Other "*") (DQ (" yacc ")) (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:have) op: Equal rhs: {(DQ ($ VSub_Name "$have") (" bison"))} spids: [36866] ) ] spids: [36866] ) ] spids: [36859 36864 36872 -1] ) ] spids: [36838 36846 36875] ) (Case to_match: {(DQ (" ") ($ VSub_Name "$have") (" "))} arms: [ (case_arm pat_list: [{(Lit_Other "*") (DQ (" yacc ")) (Lit_Other "*")}] spids: [36889 36894 36896 -1] ) (case_arm pat_list: [{(Lit_Other "*") (DQ (" bison ")) (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:have) op: Equal rhs: {(DQ ($ VSub_Name "$have") (" yacc"))} spids: [36906] ) ] spids: [36906] ) ] spids: [36899 36904 36912 -1] ) ] spids: [36878 36886 36915] ) (ForEach iter_name: t iter_words: [{($ VSub_Name "$test")}] do_arg_iter: False body: (DoGroup children: [ (Case to_match: {(DQ (" ") ($ VSub_Name "$have") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$t") (" ")) (Lit_Other "*")} ] spids: [36940 36947 36950 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {(DQ (" ") ($ VSub_Name "$must") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$t") (" ")) (Lit_Other "*") } ] action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$t") (": not found -- must be on PATH to ") ($ VSub_Name "$action") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [36987] ) ] ) (C {(exit)} {(1)}) ] spids: [36967 36974 36996 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": warning: ") ($ VSub_Name "$t") (": not found -- some ") ($ VSub_Name "$action") (" actions may fail") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [37013] ) ] ) ] spids: [36999 37000 37017 -1] ) ] spids: [36956 36964 37020] ) ] spids: [36953 36954 37023 -1] ) ] spids: [36929 36937 37026] ) ] spids: [36927 37029] ) spids: [36923 -1] ) (If arms: [ (if_arm cond: [(C {(test)} {(KW_Bang "!")} {(-d)} {($ VSub_Name "$PACKAGEROOT") (/src)})] action: [ (C {(note)} {(no)} {(source)} {(packages)} {(to)} {(make)}) (C {(exit)} {(0)}) ] spids: [-1 37050] ) (if_arm cond: [(C {(test)} {(KW_Bang "!")} {(-d)} {($ VSub_Name "$INSTALLROOT") (/src)})] action: [(C {(note)} {(initialize)} {(the)} {($ VSub_Name "$INSTALLROOT")} {(view)})] spids: [37070 37082] ) ] spids: [-1 37095] ) (ForEach iter_name: i iter_words: [{(arch)} {(arch/) ($ VSub_Name "$HOSTTYPE")}] do_arg_iter: False body: (DoGroup children: [ (AndOr children: [ (C {(test)} {(-d)} {($ VSub_Name "$PACKAGEROOT") (/) ($ VSub_Name "$i")}) (AndOr children: [ (C {($ VSub_Name "$exec")} {(mkdir)} {($ VSub_Name "$PACKAGEROOT") (/) ($ VSub_Name "$i")} ) (C {(exit)}) ] op_id: Op_DPipe ) ] op_id: Op_DPipe ) ] spids: [37110 37135] ) spids: [37103 -1] ) (ForEach iter_name: i iter_words: [ {(bin)} {(bin/) ($ VSub_Name "$OK")} {(bin/) ($ VSub_Name "$OK") (/lib)} {(fun)} {(include)} {(lib)} {(lib/package)} {(lib/package/gen)} {(src)} {(man)} {(man/man1)} {(man/man3)} {(man/man8)} ] do_arg_iter: False body: (DoGroup children: [ (AndOr children: [ (C {(test)} {(-d)} {($ VSub_Name "$INSTALLROOT") (/) ($ VSub_Name "$i")}) (AndOr children: [ (C {($ VSub_Name "$exec")} {(mkdir)} {($ VSub_Name "$INSTALLROOT") (/) ($ VSub_Name "$i")} ) (C {(exit)}) ] op_id: Op_DPipe ) ] op_id: Op_DPipe ) ] spids: [37174 37199] ) spids: [37143 -1] ) (C {(make_recurse)} {(src)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs:(LhsName name:o) op:Equal rhs:{(SQ )} spids:[37207]) (assign_pair lhs:(LhsName name:k) op:Equal rhs:{(SQ )} spids:[37209]) ] spids: [37207] ) (ForEach iter_name: i iter_words: [{($ VSub_Name "$makefiles")}] do_arg_iter: False body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$o")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:o) op: Equal rhs: {(DQ ($ VSub_Name "$o") (" -o"))} spids: [37234] ) (assign_pair lhs: (LhsName name:k) op: Equal rhs: {(DQ ($ VSub_Name "$k") ("|"))} spids: [37240] ) ] spids: [37234] ) ] spids: [37230 37232 37246 -1] ) ] spids: [37223 37227 37249] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:o) op: Equal rhs: {(DQ ($ VSub_Name "$o") (" -name ") ($ VSub_Name "$i"))} spids: [37252] ) ] spids: [37252] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:k) op: Equal rhs: {(DQ ($ VSub_Name "$k") ($ VSub_Name "$i"))} spids: [37260] ) ] spids: [37260] ) ] spids: [37221 37267] ) spids: [37217 -1] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:o) op: Equal rhs: {(DQ ("( ") ($ VSub_Name "$o") (" ) -print"))} spids: [37270] ) ] spids: [37270] ) (ForEach iter_name: d iter_words: [{($ VSub_Name "$package_src")}] do_arg_iter: False body: (DoGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:i) op: Equal rhs: {(src/) ($ VSub_Name "$d")} spids: [37289] ) ] spids: [37289] ) (If arms: [ (if_arm cond: [(C {(test)} {(-d)} {($ VSub_Name "$i")})] action: [ (AndOr children: [ (C {(test)} {(-d)} {($ VSub_Name "$INSTALLROOT") (/) ($ VSub_Name "$i")}) (AndOr children: [ (C {($ VSub_Name "$exec")} {(mkdir)} {($ VSub_Name "$INSTALLROOT") (/) ($ VSub_Name "$i")} ) (C {(exit)}) ] op_id: Op_DPipe ) ] op_id: Op_DPipe ) (C {(make_recurse)} {($ VSub_Name "$i")}) (ForEach iter_name: j iter_words: [ { (CommandSubPart command_list: (CommandList children: [ (Sentence child: (C {(cd)} {($ VSub_Name "$i")}) terminator: <Op_Semi ";"> ) (Pipeline children: [ (SimpleCommand words: [{(find)} {(.)} {($ VSub_Name "$o")}] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [37351] ) ] ) (C {(sed)} {(-e)} {(SQ <"s,^\\./,,">)} {(-e)} {(SQ <"/\\//!d">)} {(-e)} {(SQ <"s,/[^/]*$,,">)} ) (C {(sort)} {(-u)}) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [37339 37381] ) } ] do_arg_iter: False body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$j")} arms: [ (case_arm pat_list: [{($ VSub_Name "$k")} {($ VSub_Name "$MAKESKIP")}] action: [(ControlFlow token:<ControlFlow_Continue continue>)] spids: [37393 37396 37400 -1] ) ] spids: [37386 37390 37403] ) (AndOr children: [ (C {(test)} {(-d)} {($ VSub_Name "$INSTALLROOT") (/) ($ VSub_Name "$i") (/) ($ VSub_Name "$j") } ) (AndOr children: [ (C {($ VSub_Name "$exec")} {(mkdir)} {(-p)} {($ VSub_Name "$INSTALLROOT") (/) ($ VSub_Name "$i") (/) ($ VSub_Name "$j") } ) (C {(exit)}) ] op_id: Op_DPipe ) ] op_id: Op_DPipe ) ] spids: [37384 37436] ) spids: [37338 -1] ) ] spids: [-1 37303] ) ] spids: [-1 37439] ) ] spids: [37287 37442] ) spids: [37283 -1] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:def) op:Equal rhs:{(SQ )} spids:[37445])] spids: [37445] ) (ForEach iter_name: i iter_words: [{($ VSub_Name "$lic")}] do_arg_iter: False body: (DoGroup children: [ (AndOr children: [ (C {(test)} {(-f)} {($ VSub_Name "$i")}) (ControlFlow token:<ControlFlow_Continue continue>) ] op_id: Op_DPipe ) (AndOr children: [ (SimpleCommand words: [ {(cmp)} {(-s)} {($ VSub_Name "$i")} {($ VSub_Name "$INSTALLROOT") (/) ($ VSub_Name "$i")} ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [37480] ) ] ) (C {($ VSub_Name "$exec")} {(cp)} {($ VSub_Name "$PACKAGEROOT") (/) ($ VSub_Name "$i")} {($ VSub_Name "$INSTALLROOT") (/) ($ VSub_Name "$i")} ) ] op_id: Op_DPipe ) (ForEach iter_name: j iter_words: [ { (CommandSubPart command_list: (CommandList children: [(C {(grep)} {(SQ <"^. .*\\.def$">)} {($ VSub_Name "$i")})] ) left_token: <Left_Backtick "`"> spids: [37505 37513] ) } ] do_arg_iter: False body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$j")} arms: [ (case_arm pat_list: [{(.)}] spids: [37525 37526 37528 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {(DQ (" ") ($ VSub_Name "$def") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$i") (" ")) (Lit_Other "*") } ] spids: [37545 37552 37554 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:def) op: Equal rhs: { (DQ ($ VSub_Name "$def") (" ") ($ VSub_Name "$i")) } spids: [37560] ) ] spids: [37560] ) ] spids: [37557 37558 37567 -1] ) ] spids: [37534 37542 37570] ) ] spids: [37531 37532 37573 -1] ) ] spids: [37518 37522 37576] ) ] spids: [37516 37579] ) spids: [37504 -1] ) ] spids: [37457 37582] ) spids: [37453 -1] ) (ForEach iter_name: i iter_words: [{($ VSub_Name "$def")}] do_arg_iter: False body: (DoGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:i) op: Equal rhs: {(lib/package/) ($ VSub_Name "$i")} spids: [37596] ) ] spids: [37596] ) (AndOr children: [ (C {(test)} {(-f)} {($ VSub_Name "$i")}) (ControlFlow token:<ControlFlow_Continue continue>) ] op_id: Op_DPipe ) (AndOr children: [ (SimpleCommand words: [ {(cmp)} {(-s)} {($ VSub_Name "$i")} {($ VSub_Name "$INSTALLROOT") (/) ($ VSub_Name "$i")} ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [37622] ) ] ) (C {($ VSub_Name "$exec")} {(cp)} {($ VSub_Name "$PACKAGEROOT") (/) ($ VSub_Name "$i")} {($ VSub_Name "$INSTALLROOT") (/) ($ VSub_Name "$i")} ) ] op_id: Op_DPipe ) ] spids: [37594 37641] ) spids: [37590 -1] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:h) op: Equal rhs: {(DQ (${ VSub_Name HOSTTYPE) (" ") (${ VSub_Name HOSTTYPE) (".*"))} spids: [37650] ) ] spids: [37650] ) (Case to_match: {($ VSub_Name "$HOSTTYPE")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (.) (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:t) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Name "$HOSTTYPE")}) (C {(sed)} {(SQ <"s/[.][^.]*//">)}) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [37676 37688] ) } spids: [37675] ) ] spids: [37675] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:h) op: Equal rhs: {(DQ ($ VSub_Name "$h") (" ") ($ VSub_Name "$t"))} spids: [37691] ) ] spids: [37691] ) ] spids: [37670 37673 37699 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:t) op: Equal rhs: {($ VSub_Name "$HOSTTYPE")} spids: [37705] ) ] spids: [37705] ) ] spids: [37702 37703 37709 -1] ) ] spids: [37663 37667 37712] ) (Case to_match: {($ VSub_Name "$t")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (Lit_Other "[") (0123456789) (Lit_Other "]")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:t) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Name "$t")}) (C {(sed)} {(SQ <"s/[0123456789]*$//">)}) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [37730 37742] ) } spids: [37729] ) ] spids: [37729] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:h) op: Equal rhs: {(DQ ($ VSub_Name "$h") (" ") ($ VSub_Name "$t"))} spids: [37745] ) ] spids: [37745] ) ] spids: [37722 37726 37753 -1] ) ] spids: [37715 37719 37756] ) (Case to_match: {($ VSub_Name "$CC")} arms: [ (case_arm pat_list: [{(cc)}] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:c) op:Equal rhs:{(cc)} spids:[37769])] spids: [37769] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:b) op: Equal rhs: {($ VSub_Name "$INSTALLROOT") (/bin/) ($ VSub_Name "$c")} spids: [37773] ) ] spids: [37773] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:t) op: Equal rhs: {($ VSub_Name "$INSTALLROOT") (/lib/package/gen/) ($ VSub_Name "$c") (.tim) } spids: [37779] ) ] spids: [37779] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:intercept) op: Equal rhs: {(0)} spids: [37786] ) ] spids: [37786] ) (ForEach iter_name: k iter_words: [{($ VSub_Name "$h")}] do_arg_iter: False body: (DoGroup children: [ (ForEach iter_name: s iter_words: [ {($ VSub_Name "$INITROOT") (/) ($ VSub_Name "$c") (.) ($ VSub_Name "$k") } ] do_arg_iter: False body: (DoGroup children: [ (AndOr children: [ (C {(test)} {(-x)} {(DQ ($ VSub_Name "$s"))}) (ControlFlow token: <ControlFlow_Continue continue> ) ] op_id: Op_DPipe ) (If arms: [ (if_arm cond: [ (SimpleCommand words: [ {(cmp)} {(-s)} {(DQ ($ VSub_Name "$s"))} {(DQ ($ VSub_Name "$b"))} ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(/dev/null)} spids: [37843] ) (Redir op_id: Redir_GreatAnd fd: 2 arg_word: {(1)} spids: [37846] ) ] ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:intercept) op: Equal rhs: {(1)} spids: [37852] ) ] spids: [37852] ) (ControlFlow token: <ControlFlow_Break break> arg_word: {(2)} ) ] spids: [-1 37850] ) ] spids: [-1 37861] ) (Case to_match: { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [ {(ls)} {(-t)} {(DQ ($ VSub_Name "$t"))} {(DQ ($ VSub_Name "$b"))} {(DQ ($ VSub_Name "$s"))} ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [37883] ) ] ) ] ) left_token: <Left_Backtick "`"> spids: [37866 37885] ) } arms: [ (case_arm pat_list: [{($ VSub_Name "$t") (Lit_Other "*")}] spids: [37890 37892 37894 -1] ) (case_arm pat_list: [{($ VSub_Name "$b") (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:cc) op: Equal rhs: {($ VSub_Name "$b")} spids: [37901] ) ] spids: [37901] ) ] spids: [37897 37899 37905 -1] ) (case_arm pat_list: [{($ VSub_Name "$s") (Lit_Other "*")}] action: [ (C {(cd)} {($ VSub_Name "$INSTALLROOT") (/lib/package/gen)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:tmp) op: Equal rhs: {(pkg) ($ VSub_Dollar "$$")} spids: [37918] ) ] spids: [37918] ) (C {(eval)} {(SQ <"$">) (exec)} {(echo)} { (DQ ("'int main(){return 0;}' > ") ($ VSub_Name "$tmp") (.c) ) } ) (If arms: [ (if_arm cond: [ (AndOr children: [ (SimpleCommand words: [ {($ VSub_Name "$exec")} {($ VSub_Name "$s")} {(-o)} {($ VSub_Name "$tmp") (.exe)} {($ VSub_Name "$tmp") (.c)} ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(/dev/null)} spids: [37953] ) (Redir op_id: Redir_GreatAnd fd: 2 arg_word: {(1)} spids: [37956] ) ] ) (C {(test)} {(-x)} {($ VSub_Name "$tmp") (.exe)}) ] op_id: Op_DAmp ) ] action: [ (Case to_match: {($ VSub_Name "$HOSTTYPE")} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (.mips) (Lit_Other "*")} ] action: [ (AndOr children: [ (SimpleCommand words: [ {($ VSub_Name "$s")} {(-version)} ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(/dev/null)} spids: [37987] ) (Redir op_id: Redir_GreatAnd fd: 2 arg_word: {(1)} spids: [37990] ) ] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:s) op: Equal rhs: {(SQ )} spids: [37995] ) ] spids: [37995] ) ] op_id: Op_DPipe ) ] spids: [37979 37982 37997 -1] ) ] spids: [37972 37976 38000] ) (Case to_match: {($ VSub_Name "$s")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (AndOr children: [ (SimpleCommand words: [ {($ VSub_Name "$exec")} {(sed)} { (DQ ( "s/^HOSTTYPE=.*/HOSTTYPE=" ) ($ VSub_Name "$HOSTTYPE") (/) ) } ] redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: {(DQ ($ VSub_Name "$s"))} spids: [38024] ) (Redir op_id: Redir_Great fd: -1 arg_word: {(DQ ($ VSub_Name "$b"))} spids: [38030] ) ] ) (C {(exit)}) ] op_id: Op_DPipe ) (AndOr children: [ (C {($ VSub_Name "$exec")} {(chmod)} {(Lit_Other "+") (x)} {(DQ ($ VSub_Name "$b"))} ) (C {(exit)}) ] op_id: Op_DPipe ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:cc) op: Equal rhs: {($ VSub_Name "$b")} spids: [38057] ) ] spids: [38057] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:intercept) op: Equal rhs: {(1)} spids: [38061] ) ] spids: [38061] ) (C {(note)} {(update)} {($ VSub_Name "$b")}) ] spids: [38010 38012 38072 -1] ) ] spids: [38003 38007 38075] ) ] spids: [-1 37970] ) ] spids: [-1 38078] ) (C {($ VSub_Name "$exec")} {(rm)} {(-f)} {($ VSub_Name "$tmp") (.) (Lit_Other "*")} ) (C {($ VSub_Name "$exec")} {(touch)} {(DQ ($ VSub_Name "$t"))} ) (C {(cd)} {($ VSub_Name "$PACKAGEROOT")}) ] spids: [37908 37910 38106 -1] ) ] spids: [37864 37887 38109] ) (ControlFlow token: <ControlFlow_Break break> arg_word: {(2)} ) ] spids: [37814 38117] ) spids: [37806 -1] ) ] spids: [37799 38120] ) spids: [37795 -1] ) (Case to_match: {($ VSub_Name "$intercept")} arms: [ (case_arm pat_list: [{(1)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:c) op: Equal rhs: {(ld)} spids: [38133] ) ] spids: [38133] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:b) op: Equal rhs: {($ VSub_Name "$INSTALLROOT") (/bin/) ($ VSub_Name "$c")} spids: [38137] ) ] spids: [38137] ) (ForEach iter_name: k iter_words: [{($ VSub_Name "$h")}] do_arg_iter: False body: (DoGroup children: [ (ForEach iter_name: s iter_words: [ {($ VSub_Name "$INITROOT") (/) ($ VSub_Name "$c") (.) ($ VSub_Name "$k") } ] do_arg_iter: False body: (DoGroup children: [ (AndOr children: [ (C {(test)} {(-x)} {(DQ ($ VSub_Name "$s"))}) (ControlFlow token: <ControlFlow_Continue continue> ) ] op_id: Op_DPipe ) (Case to_match: { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [ {(ls)} {(-t)} {(DQ ($ VSub_Name "$b"))} {(DQ ($ VSub_Name "$s"))} ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [38197] ) ] ) ] ) left_token: <Left_Backtick "`"> spids: [38184 38199] ) } arms: [ (case_arm pat_list: [{($ VSub_Name "$b") (Lit_Other "*")}] spids: [38204 38206 38208 -1] ) (case_arm pat_list: [{($ VSub_Name "$s") (Lit_Other "*")}] action: [ (C {($ VSub_Name "$exec")} {(cp)} {(DQ ($ VSub_Name "$s"))} {(DQ ($ VSub_Name "$b"))} ) (C {(note)} {(update)} {($ VSub_Name "$b")}) ] spids: [38211 38213 38235 -1] ) ] spids: [38182 38201 38238] ) ] spids: [38167 38241] ) spids: [38159 -1] ) ] spids: [38152 38244] ) spids: [38148 -1] ) ] spids: [38130 38131 38247 -1] ) ] spids: [38123 38127 38250] ) ] spids: [37766 37767 38253 -1] ) ] spids: [37759 37763 38256] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:c) op:Equal rhs:{(ldd)} spids:[38259])] spids: [38259] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:b) op: Equal rhs: {($ VSub_Name "$INSTALLROOT") (/bin/) ($ VSub_Name "$c")} spids: [38263] ) ] spids: [38263] ) (ForEach iter_name: t iter_words: [{($ VSub_Name "$h")}] do_arg_iter: False body: (DoGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:s) op: Equal rhs: {($ VSub_Name "$INITROOT") (/) ($ VSub_Name "$c") (.) ($ VSub_Name "$t")} spids: [38280] ) ] spids: [38280] ) (AndOr children: [ (C {(test)} {(-x)} {(DQ ($ VSub_Name "$s"))}) (ControlFlow token:<ControlFlow_Continue continue>) ] op_id: Op_DPipe ) (AndOr children: [ (C {(onpath)} {($ VSub_Name "$c")}) (Case to_match: { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [ {(ls)} {(-t)} {(DQ ($ VSub_Name "$b"))} {(DQ ($ VSub_Name "$s"))} ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [38323] ) ] ) ] ) left_token: <Left_Backtick "`"> spids: [38310 38325] ) } arms: [ (case_arm pat_list: [{($ VSub_Name "$b") (Lit_Other "*")}] spids: [38330 38332 38334 -1] ) (case_arm pat_list: [{($ VSub_Name "$s") (Lit_Other "*")}] action: [ (C {($ VSub_Name "$exec")} {(cp)} {(DQ ($ VSub_Name "$s"))} {(DQ ($ VSub_Name "$b"))} ) (C {(note)} {(update)} {($ VSub_Name "$b")}) ] spids: [38337 38339 38361 -1] ) ] spids: [38308 38327 38364] ) ] op_id: Op_DPipe ) ] spids: [38278 38367] ) spids: [38274 -1] ) (Case to_match: {($ VSub_Name "$cc")} arms: [ (case_arm pat_list:[{(/) (Lit_Other "*")}] spids:[384313843338435-1]) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$CC") (": not found -- set CC=C-compiler") ) } ] redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[38450])] ) (C {(exit)} {(1)}) ] spids: [38438 38439 38459 -1] ) ] spids: [38424 38428 38462] ) (Case to_match: {($ VSub_Name "$exec")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (C {(cd)} {($ VSub_Name "$INSTALLROOT") (/lib/package/gen)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:tmp) op: Equal rhs: {(pkg) ($ VSub_Dollar "$$")} spids: [38482] ) ] spids: [38482] ) (SimpleCommand words: [{(echo)} {(SQ <"int main(){return 0;}">)}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {($ VSub_Name "$tmp") (.c)} spids: [38493] ) ] ) (If arms: [ (if_arm cond: [ (AndOr children: [ (SimpleCommand words: [ {($ VSub_Name "$CC")} {(-o)} {($ VSub_Name "$tmp") (.exe)} {($ VSub_Name "$tmp") (.c)} ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(/dev/null)} spids: [38511] ) (Redir op_id: Redir_Great fd: 2 arg_word: {($ VSub_Name "$tmp") (.err)} spids: [38515] ) ] ) (C {(test)} {(-x)} {($ VSub_Name "$tmp") (.exe)}) ] op_id: Op_DAmp ) ] action: [(C {(Lit_Other ":")} {(ok)})] spids: [-1 38531] ) ] else_action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$CC") (": failed to compile this program:") ) } ] redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[38549])] ) (SimpleCommand words: [{(cat)} {($ VSub_Name "$tmp") (.c)}] redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[38558])] ) (If arms: [ (if_arm cond: [(C {(test)} {(-s)} {($ VSub_Name "$tmp") (.err)})] action: [ (SimpleCommand words: [{(cat)} {($ VSub_Name "$tmp") (.err)}] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [38579] ) ] ) ] spids: [-1 38572] ) ] else_action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$CC") (": not a C compiler") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [38594] ) ] ) ] spids: [38583 38598] ) (C {(rm)} {(-f)} {($ VSub_Name "$tmp") (.) (Lit_Other "*")}) (C {(exit)} {(1)}) ] spids: [38538 38615] ) (C {(rm)} {(-f)} {($ VSub_Name "$tmp") (.) (Lit_Other "*")}) (C {(cd)} {($ VSub_Name "$PACKAGEROOT")}) ] spids: [-1 38474 38632 -1] ) ] spids: [38465 38469 38635] ) (Case to_match: {($ VSub_Name "$CC")} arms: [ (case_arm pat_list:[{(cc)}] spids:[386513865238654-1]) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (If arms: [ (if_arm cond: [(C {(test)} {(-x)} {($ VSub_Name "$INSTALLROOT") (/bin/cc)})] action: [ (Case to_match: { (CommandSubPart command_list: (CommandList children: [ (C {(sed)} {(1q)} {($ VSub_Name "$INSTALLROOT") (/bin/cc)}) ] ) left_token: <Left_Backtick "`"> spids: [38674 38681] ) } arms: [ (case_arm pat_list: [{(DQ (": ") ($ VSub_Name "$CC") (" :"))}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:CC) op: Equal rhs: {(cc)} spids: [38694] ) ] spids: [38694] ) (C {(export)} {(CC)}) ] spids: [38687 38691 38703 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:assign) op: Equal rhs: { (DQ ($ VSub_Name "$assign") (" CC=") (EscapedLiteralPart token: <Lit_EscapedChar "\\\""> ) (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (CC) (EscapedLiteralPart token: <Lit_EscapedChar "\\\""> ) ) } spids: [38709] ) ] spids: [38709] ) ] spids: [38706 38707 38720 -1] ) ] spids: [38672 38683 38723] ) ] spids: [-1 38670] ) ] else_action: [ (Case to_match: {($ VSub_Name "$CROSS")} arms: [ (case_arm pat_list: [{(1)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:assign) op: Equal rhs: { (DQ ($ VSub_Name "$assign") (" CC=") (EscapedLiteralPart token: <Lit_EscapedChar "\\\""> ) (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (CC) (EscapedLiteralPart token: <Lit_EscapedChar "\\\""> ) ) } spids: [38738] ) ] spids: [38738] ) ] spids: [38735 38736 38749 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$exec")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (BraceGroup children: [ (C {(echo)} {(DQ (": ") ($ VSub_Name "$CC") (" :"))}) (C {(echo)} { (DQ ($ VSub_Name "$CC") (" ") (EscapedLiteralPart token: <Lit_EscapedChar "\\\""> ) (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ("@") (EscapedLiteralPart token: <Lit_EscapedChar "\\\""> ) ) } ) ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {($ VSub_Name "$INSTALLROOT") (/bin/cc)} spids: [38792] ) ] spids: [38766] ) (C {(chmod)} {(Lit_Other "+") (x)} {($ VSub_Name "$INSTALLROOT") (/bin/cc)} ) ] spids: [-1 38764 38807 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (C {(note)} {(generate)} {(a)} {($ VSub_Name "$INSTALLROOT") (/bin/cc)} {(wrapper)} {(KW_For for)} {($ VSub_Name "$CC")} ) ] spids: [38810 38811 38829 -1] ) ] spids: [38755 38759 38832] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:CC) op: Equal rhs: {(cc)} spids: [38835] ) ] spids: [38835] ) (C {(export)} {(CC)}) ] spids: [38752 38753 38844 -1] ) ] spids: [38728 38732 38847] ) ] spids: [38726 38850] ) ] spids: [38657 38658 38853 -1] ) ] spids: [38644 38648 38856] ) (If arms: [ (if_arm cond: [(C {(test)} {(-d)} {($ VSub_Name "$INITROOT")})] action: [ (ForEach iter_name: i iter_words: [{(lib/probe)} {(lib/probe/C)} {(lib/probe/C/make)}] do_arg_iter: False body: (DoGroup children: [ (AndOr children: [ (C {(test)} {(-d)} {($ VSub_Name "$INSTALLROOT") (/) ($ VSub_Name "$i")}) (AndOr children: [ (C {($ VSub_Name "$exec")} {(mkdir)} {($ VSub_Name "$INSTALLROOT") (/) ($ VSub_Name "$i")} ) (C {(exit)}) ] op_id: Op_DPipe ) ] op_id: Op_DPipe ) ] spids: [38895 38920] ) spids: [38887 -1] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:i) op: Equal rhs: {($ VSub_Name "$INSTALLROOT") (/lib/probe/C/make/probe)} spids: [38923] ) ] spids: [38923] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:j) op: Equal rhs: {($ VSub_Name "$INITROOT") (/C) (Lit_Other "+") (probe)} spids: [38928] ) ] spids: [38928] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:k) op: Equal rhs: {($ VSub_Name "$INITROOT") (/make.probe)} spids: [38935] ) ] spids: [38935] ) (Case to_match: { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [ {(ls)} {(-t)} {($ VSub_Name "$i")} {($ VSub_Name "$j")} {($ VSub_Name "$k")} ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [38953] ) ] ) ] ) left_token: <Left_Backtick "`"> spids: [38942 38955] ) } arms: [ (case_arm pat_list: [{($ VSub_Name "$i") (Lit_Other "*")}] spids: [38960 38962 38964 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (If arms: [ (if_arm cond: [ (C {(test)} {(-f)} {($ VSub_Name "$j")} {(-a)} {(-f)} {($ VSub_Name "$k")} ) ] action: [ (C {(note)} {(update)} {($ VSub_Name "$i")}) (C {(shellmagic)}) (Case to_match: {($ VSub_Name "$exec")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (AndOr children: [ (BraceGroup children: [ (Case to_match: {($ VSub_Name "$SHELLMAGIC")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (C {(echo)} {(DQ ($ VSub_Name "$SHELLMAGIC"))} ) ] spids: [39018 39020 39028 -1] ) ] spids: [39011 39015 39031] ) (C {(cat)} {($ VSub_Name "$j")} {($ VSub_Name "$k")}) ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {($ VSub_Name "$i")} spids: [39043] ) ] spids: [39008] ) (C {(exit)}) ] op_id: Op_DPipe ) ] spids: [-1 39006 39052 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (C {(echo)} { (DQ ("{\n") ("echo ") ($ VSub_Name "$SHELLMAGIC") ("\n") ("cat ") ($ VSub_Name "$j") (" ") ($ VSub_Name "$k") ("\n") ("} > ") ($ VSub_Name "$i") ) } ) ] spids: [39055 39056 39075 -1] ) ] spids: [38997 39001 39078] ) (AndOr children: [ (C {($ VSub_Name "$exec")} {(chmod)} {(Lit_Other "+") (x)} {($ VSub_Name "$i")} ) (C {(exit)}) ] op_id: Op_DPipe ) ] spids: [-1 38985] ) ] spids: [-1 39095] ) ] spids: [38967 38968 39098 -1] ) ] spids: [38940 38957 39101] ) ] spids: [-1 38874] ) ] spids: [-1 39104] ) (AndOr children: [(C {(checkaout)} {(mamake)} {(proto)} {(ratz)} {(release)}) (C {(exit)})] op_id: Op_DPipe ) (If arms: [ (if_arm cond: [ (Subshell child: (C {(execrate)}) redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(/dev/null)} spids: [39140] ) (Redir op_id: Redir_GreatAnd fd: 2 arg_word: {(1)} spids: [39143] ) ] spids: [39136 39138] ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:execrate) op: Equal rhs: {(execrate)} spids: [39149] ) ] spids: [39149] ) (C {($ VSub_Name "$make")} {(cd)} {($ VSub_Name "$INSTALLROOT") (/bin)}) (ForEach iter_name: i iter_words: [{(chmod)} {(chgrp)} {(cmp)} {(cp)} {(ln)} {(mv)} {(rm)}] do_arg_iter: False body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (C {(test)} {(KW_Bang "!")} {(-x)} {($ VSub_Name "$OK") (/) ($ VSub_Name "$i")} {(-a)} {(-x)} {(/bin/) ($ VSub_Name "$i") (.exe)} ) ] action: [ (C {(shellmagic)}) (Case to_match: {($ VSub_Name "$exec")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (SimpleCommand words: [ {(echo)} {(DQ ($ VSub_Name "$SHELLMAGIC")) (SQ <"execrate /bin/">) ($ VSub_Name "$i") (SQ <" \"$@\"">) } ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {($ VSub_Name "$OK") (/) ($ VSub_Name "$i")} spids: [39234] ) ] ) (C {(chmod)} {(Lit_Other "+") (x)} {($ VSub_Name "$OK") (/) ($ VSub_Name "$i")} ) ] spids: [-1 39219 39251 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (C {($ VSub_Name "$exec")} {(echo)} {(EscapedLiteralPart token:<Lit_EscapedChar "\\'">) (DQ ($ VSub_Name "$SHELLMAGIC")) (SQ <"execrate /bin/">) ($ VSub_Name "$i") (SQ <" \"$@\"">) (EscapedLiteralPart token: <Lit_EscapedChar "\\'"> ) (SQ <" >">) } {($ VSub_Name "$OK") (/) ($ VSub_Name "$i")} ) (C {($ VSub_Name "$exec")} {(chmod)} {(Lit_Other "+") (x)} {($ VSub_Name "$OK") (/) ($ VSub_Name "$i")} ) ] spids: [39254 39255 39294 -1] ) ] spids: [39210 39214 39297] ) ] spids: [-1 39205] ) ] spids: [-1 39300] ) ] spids: [39182 39303] ) spids: [39166 -1] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:PATH) op: Equal rhs: {($ VSub_Name "$INSTALLROOT") (/bin/) ($ VSub_Name "$OK") (Lit_Other ":") ($ VSub_Name "$PATH") } spids: [39306] ) ] spids: [39306] ) (C {(export)} {(PATH)}) ] spids: [-1 39147] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:execrate) op: Equal rhs: {(SQ )} spids: [39321] ) ] spids: [39321] ) ] spids: [39319 39324] ) (Case to_match: {($ VSub_Name "$action")} arms: [ (case_arm pat_list: [{(view)}] action: [(C {(exit)} {(0)})] spids: [39334 39335 39341 -1] ) ] spids: [39327 39331 39344] ) (C {($ VSub_Name "$make")} {(cd)} {($ VSub_Name "$INSTALLROOT") (/src)}) (Case to_match: {($ VSub_Name "$noexec")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (C {(hostinfo)} {(name)}) (Pipeline children: [ (C {(echo)} {(DQ ($ VSub_Name "$_hostinfo_"))}) (SimpleCommand words: [{(sed)} {(SQ <"s,\\..*,,">)}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {($ VSub_Name "$PACKAGEBIN") (/gen/host)} spids: [39397] ) ] ) ] negated: False ) ] spids: [-1 39376 39403 -1] ) ] spids: [39367 39371 39406] ) (Case to_match: {($ VSub_Name "$NPROC")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (C {(hostinfo)} {(cpu)}) (Case to_match: {($ VSub_Name "$_hostinfo_")} arms: [ (case_arm pat_list: [{(0)} {(1)}] spids: [39438 39441 39443 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:NPROC) op: Equal rhs: {($ VSub_Name "$_hostinfo_")} spids: [39449] ) ] spids: [39449] ) (C {($ VSub_Name "$show")} {(Lit_VarLike "NPROC=") ($ VSub_Name "$NPROC")}) (C {($ VSub_Name "$show")} {(export)} {(NPROC)}) (C {(export)} {(NPROC)}) ] spids: [39446 39447 39471 -1] ) ] spids: [39431 39435 39474] ) ] spids: [-1 39424 39477 -1] ) ] spids: [39415 39419 39480] ) (Case to_match: {($ VSub_Name "$target")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (-) (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:a) op:Equal rhs:{(SQ )} spids:[39501])] spids: [39501] ) (ForEach iter_name: t iter_words: [{($ VSub_Name "$target")}] do_arg_iter: False body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$t")} arms: [ (case_arm pat_list: [ {(-) (Lit_Other "[") (eiknFKNV) (Lit_Other "]") (Lit_Other "*")} {(--) (Lit_Other "*") (-symbols)} ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:makeflags) op: Equal rhs: { (DQ ($ VSub_Name "$makeflags") (" ") ($ VSub_Name "$t")) } spids: [39534] ) ] spids: [39534] ) ] spids: [39522 39531 39542 -1] ) (case_arm pat_list: [{(-) (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:nmakeflags) op: Equal rhs: { (DQ ($ VSub_Name "$nmakeflags") (" ") ($ VSub_Name "$t")) } spids: [39549] ) ] spids: [39549] ) ] spids: [39545 39547 39557 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:a) op: Equal rhs: {(DQ ($ VSub_Name "$a") (" ") ($ VSub_Name "$t"))} spids: [39563] ) ] spids: [39563] ) ] spids: [39560 39561 39571 -1] ) ] spids: [39515 39519 39574] ) ] spids: [39513 39577] ) spids: [39509 -1] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:target) op: Equal rhs: {($ VSub_Name "$a")} spids: [39580] ) ] spids: [39580] ) ] spids: [39496 39499 39584 -1] ) ] spids: [39489 39493 39587] ) (If arms: [ (if_arm cond: [ (AndOr children: [ (C {(executable)} {(KW_Bang "!")} {($ VSub_Name "$NMAKE")}) (C {(test)} {(-d)} {($ VSub_Name "$PACKAGEROOT") (/src/cmd/nmake)}) ] op_id: Op_DAmp ) ] action: [ (If arms: [ (if_arm cond: [(C {(nonmake)} {($ VSub_Name "$MAKE")})] action: [ (C {(note)} {(make)} {($ VSub_Name "$NMAKE")} {(with)} {(mamake)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:c) op: Equal rhs: {($ VSub_Name "$CC")} spids: [39636] ) ] spids: [39636] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:a) op: Equal rhs: {($ VSub_Name "$assign")} spids: [39640] ) ] spids: [39640] ) (Case to_match: {($ VSub_Name "$HOSTTYPE")} arms: [ (case_arm pat_list: [{(win32) (Lit_Other "*")} {(cygwin) (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:CC) op: Equal rhs: {(DQ ($ VSub_Name "$CC") (" -D_BLD_STATIC"))} spids: [39659] ) ] spids: [39659] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:accept) op: Equal rhs: {(DQ (libast))} spids: [39666] ) ] spids: [39666] ) (Case to_match: {($ VSub_Name "$assign")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (SQ <" CC=">) (Lit_Other "*")}] spids: [39679 39684 39686 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:assign) op: Equal rhs: { (DQ ($ VSub_Name "$assign") (" CC=") (EscapedLiteralPart token: <Lit_EscapedChar "\\\""> ) (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (CC) (EscapedLiteralPart token: <Lit_EscapedChar "\\\""> ) ) } spids: [39692] ) ] spids: [39692] ) ] spids: [39689 39690 39702 -1] ) ] spids: [39672 39676 39705] ) ] spids: [39651 39656 39708 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:accept) op: Equal rhs: {(nmake)} spids: [39714] ) ] spids: [39714] ) ] spids: [39711 39712 39718 -1] ) ] spids: [39644 39648 39721] ) (C {(eval)} {(capture)} {(mamake)} {(EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (makeflags)} {(EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (nmakeflags)} {(EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (noexec)} {(install)} {(nmake)} {($ VSub_Name "$assign")} ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:assign) op: Equal rhs: {($ VSub_Name "$a")} spids: [39746] ) ] spids: [39746] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:CC) op: Equal rhs: {($ VSub_Name "$c")} spids: [39750] ) ] spids: [39750] ) (Case to_match: {($ VSub_Name "$make") ($ VSub_Name "$noexec")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (If arms: [ (if_arm cond: [ (C {(executable)} {(KW_Bang "!")} {($ VSub_Name "$NMAKE")}) ] action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$action") (": errors making ") ($ VSub_Name "$NMAKE") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [39787] ) ] ) (C {(exit)} {(1)}) ] spids: [-1 39775] ) ] spids: [-1 39796] ) ] spids: [-1 39764 39799 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:make) op: Equal rhs: {(echo)} spids: [39805] ) ] spids: [39805] ) ] spids: [39802 39803 39809 -1] ) ] spids: [39754 39759 39812] ) (If arms: [ (if_arm cond: [ (C {(test)} {(SQ )} {(KW_Bang "!") (Lit_Other "=")} {(DQ ($ VSub_Name "$PROTOROOT"))} ) ] action: [ (If arms: [ (if_arm cond: [ (AndOr children: [ (Subshell child: (C {(vpath)} {($ VSub_Name "$INSTALLROOT")} {(-)} {($ VSub_Name "$PROTOROOT")} {(-)} {($ VSub_Name "$INSTALLROOT")} {($ VSub_Name "$PACKAGEROOT")} ) redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(/dev/null)} spids: [39850] ) (Redir op_id: Redir_GreatAnd fd: 2 arg_word: {(1)} spids: [39853] ) ] spids: [39834 39848] ) (C {(vpath)} {($ VSub_Name "$INSTALLROOT")} {(-)} {($ VSub_Name "$PROTOROOT")} {(-)} {($ VSub_Name "$INSTALLROOT")} {($ VSub_Name "$PACKAGEROOT")} ) ] op_id: Op_DAmp ) ] action: [ (C {($ VSub_Name "$show")} {(vpath)} {($ VSub_Name "$INSTALLROOT")} {($ VSub_Name "$PACKAGEROOT")} {($ VSub_Name "$USER_VPATH_CHAIN")} ) ] spids: [-1 39874] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:VPATH) op: Equal rhs: {($ VSub_Name "$INSTALLROOT") (Lit_Other ":") ($ VSub_Name "$PACKAGEROOT") ($ VSub_Name "$USER_VPATH") } spids: [39889] ) ] spids: [39889] ) (C {($ VSub_Name "$show")} {(Lit_VarLike "VPATH=") ($ VSub_Name "$VPATH")} ) (C {(export)} {(VPATH)}) ] spids: [39887 39907] ) ] spids: [-1 39830] ) ] spids: [-1 39910] ) (C {(note)} {(believe)} {(generated)} {(files)} {(KW_For for)} {($ VSub_Name "$accept")} ) (C {(eval)} {(capture)} {(EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (NMAKE)} {(EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (makeflags)} {(EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (nmakeflags)} {(EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (noexec)} {(recurse)} {(believe)} {(EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (nmakesep)} {($ VSub_Name "$accept")} {($ VSub_Name "$assign")} ) (C {($ VSub_Name "$exec")} {(touch)} {($ VSub_Name "$INSTALLROOT") (/bin/.paths)} ) (C {(note)} {(make)} {(the)} {(remaining)} {(targets)} {(with)} {($ VSub_Name "$NMAKE")} ) ] spids: [-1 39623] ) ] else_action: [ (C {(eval)} {(capture)} {($ VSub_Name "$MAKE")} {(EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (makeflags)} {(EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (nmakeflags)} {(EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (noexec)} {(install)} {(nmake)} {($ VSub_Name "$assign")} ) (Case to_match: {($ VSub_Name "$make") ($ VSub_Name "$noexec")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (If arms: [ (if_arm cond: [ (C {(executable)} {(KW_Bang "!")} {($ VSub_Name "$NMAKE")}) ] action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$action") (": errors making ") ($ VSub_Name "$NMAKE") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [40034] ) ] ) (C {(exit)} {(1)}) ] spids: [-1 40022] ) ] spids: [-1 40043] ) ] spids: [-1 40011 40046 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:make) op: Equal rhs: {(echo)} spids: [40052] ) ] spids: [40052] ) ] spids: [40049 40050 40056 -1] ) ] spids: [40001 40006 40059] ) ] spids: [39977 40062] ) ] spids: [-1 39614] ) ] spids: [-1 40065] ) (If arms: [ (if_arm cond: [(C {(nonmake)} {($ VSub_Name "$MAKE")})] action: [ (C {(Lit_Other ":")} {(no)} {(need)} {(to)} {(generate)} {(ksh)} {(next)} {(--)} {(it)} {(could)} {(be)} {(the)} {(only)} {(package)} ) ] spids: [-1 40081] ) (if_arm cond: [ (AndOr children: [ (C {(test)} {(DQ ($ VSub_Name "$KEEP_SHELL"))} {(KW_Bang "!") (Lit_Other "=")} {(1)} {(-a)} {(-d)} {($ VSub_Name "$PACKAGEROOT") (/src/cmd/ksh93)} ) (C {(executable)} {(KW_Bang "!")} {($ VSub_Name "$KSH")}) ] op_id: Op_DAmp ) ] action: [ (C {(eval)} {(capture)} {(nmake)} {($ VSub_Name "$nmakeflags")} {(EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (makeflags)} {(EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (noexec)} {(install)} {(ksh93)} {($ VSub_Name "$assign")} ) (Case to_match: {($ VSub_Name "$make") ($ VSub_Name "$noexec")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (If arms: [ (if_arm cond: [(C {(executable)} {(KW_Bang "!")} {($ VSub_Name "$KSH")})] action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$action") (": errors making ") ($ VSub_Name "$KSH") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [40197] ) ] ) (C {(exit)} {(1)}) ] spids: [-1 40185] ) ] spids: [-1 40206] ) ] spids: [-1 40174 40209 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:make) op: Equal rhs: {(echo)} spids: [40215] ) ] spids: [40215] ) ] spids: [40212 40213 40219 -1] ) ] spids: [40164 40169 40222] ) ] spids: [40112 40141] ) ] spids: [-1 40225] ) (Case to_match: {($ VSub_Name "$exec")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (If arms: [ (if_arm cond: [ (C {(test)} {(KW_Bang "!")} {(-f)} {($ VSub_Name "$INSTALLROOT") (/bin/.paths)} {(-o)} {(-w)} {($ VSub_Name "$INSTALLROOT") (/bin/.paths)} ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:N) op: Equal rhs: {(SQ <"\n">)} spids: [40266] ) ] spids: [40266] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:b) op: Equal rhs: {(SQ )} spids: [40272] ) (assign_pair lhs: (LhsName name:f) op: Equal rhs: {(SQ )} spids: [40274] ) (assign_pair lhs: (LhsName name:h) op: Equal rhs: {(SQ )} spids: [40276] ) (assign_pair lhs: (LhsName name:n) op: Equal rhs: {(SQ )} spids: [40278] ) (assign_pair lhs: (LhsName name:p) op: Equal rhs: {(SQ )} spids: [40280] ) (assign_pair lhs: (LhsName name:u) op: Equal rhs: {(SQ )} spids: [40282] ) (assign_pair lhs: (LhsName name:B) op: Equal rhs: {(SQ )} spids: [40284] ) (assign_pair lhs: (LhsName name:L) op: Equal rhs: {(SQ )} spids: [40286] ) ] spids: [40272] ) (If arms: [ (if_arm cond: [ (C {(test)} {(-f)} {($ VSub_Name "$INSTALLROOT") (/bin/.paths)}) ] action: [ (SimpleCommand words: [{(exec)}] redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: {($ VSub_Name "$INSTALLROOT") (/bin/.paths)} spids: [40303] ) ] ) (While cond: [(C {(read)} {(x)})] body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$x")} arms: [ (case_arm pat_list: [ {(SQ <"#">) (Lit_Other "?") (Lit_Other "*")} ] action: [ (Case to_match: {($ VSub_Name "$h")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:h) op: Equal rhs: {($ VSub_Name "$x")} spids: [40343] ) ] spids: [40343] ) ] spids: [-1 40341 40346 -1] ) ] spids: [40332 40336 40349] ) ] spids: [40326 40330 40352 -1] ) (case_arm pat_list: [ {(Lit_Other "*") (Lit_VarLike "BUILTIN_LIB=") (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:b) op: Equal rhs: {($ VSub_Name "$x")} spids: [40360] ) ] spids: [40360] ) ] spids: [40355 40358 40364 -1] ) (case_arm pat_list: [ {(Lit_Other "*") (Lit_VarLike "FPATH=") (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:f) op: Equal rhs: {($ VSub_Name "$x")} spids: [40372] ) ] spids: [40372] ) ] spids: [40367 40370 40376 -1] ) (case_arm pat_list: [ {(Lit_Other "*") (Lit_VarLike "PLUGIN_LIB=") (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:p) op: Equal rhs: {($ VSub_Name "$x")} spids: [40384] ) ] spids: [40384] ) ] spids: [40379 40382 40388 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$u")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:u) op: Equal rhs: {($ VSub_Name "$u") ($ VSub_Name "$N") } spids: [40405] ) ] spids: [40405] ) ] spids: [40401 40403 40409 -1] ) ] spids: [40394 40398 40412] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:u) op: Equal rhs: {($ VSub_Name "$u") ($ VSub_Name "$x")} spids: [40415] ) ] spids: [40415] ) ] spids: [40391 40392 40420 -1] ) ] spids: [40318 40322 40423] ) ] spids: [40316 40426] ) ) ] spids: [-1 40299] ) ] spids: [-1 40429] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:ifs) op: Equal rhs: {($ VSub_Name "$IFS")} spids: [40432] ) ] spids: [40432] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:m) op: Equal rhs: {(SQ )} spids: [40436] ) ] spids: [40436] ) (Case to_match: {($ VSub_Name "$p")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:b) op: Equal rhs: {(SQ )} spids: [40450] ) ] spids: [40450] ) ] spids: [40446 40448 40453 -1] ) ] spids: [40439 40443 40456] ) (Case to_match: {($ VSub_Name "$b")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:IFS) op: Equal rhs: {(SQ <"=">)} spids: [40470] ) ] spids: [40470] ) (C {(set)} {($ VSub_Name "$b")}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:IFS) op: Equal rhs: {($ VSub_Name "$ifs")} spids: [40481] ) ] spids: [40481] ) (C {(shift)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:p) op: Equal rhs: {(DQ ("PLUGIN_LIB=") ($ VSub_Star "$*"))} spids: [40488] ) ] spids: [40488] ) (Case to_match: {($ VSub_Name "$b")} arms: [ (case_arm pat_list: [ {(Lit_Other "[") (Nn) (Lit_Other "]") (Lit_Other "[") (Oo) (Lit_Other "]") (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:p) op: Equal rhs: {(no) ($ VSub_Name "$p")} spids: [40511] ) ] spids: [40511] ) ] spids: [40502 40509 40515 -1] ) ] spids: [40495 40499 40518] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:m) op: Equal rhs: {(1)} spids: [40521] ) ] spids: [40521] ) ] spids: [40466 40468 40525 -1] ) ] spids: [40459 40463 40528] ) (Case to_match: {($ VSub_Name "$f")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:f) op: Equal rhs: {(DQ ("FPATH=../fun"))} spids: [40542] ) ] spids: [40542] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:m) op: Equal rhs: {(1)} spids: [40548] ) ] spids: [40548] ) ] spids: [-1 40540 40552 -1] ) ] spids: [40531 40535 40555] ) (Case to_match: {($ VSub_Name "$h")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:h) op: Equal rhs: { (SQ <"# use { no NO } prefix to permanently disable #">) } spids: [40569] ) ] spids: [40569] ) ] spids: [-1 40567 40574 -1] ) ] spids: [40558 40562 40577] ) (Case to_match: {($ VSub_Name "$p")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:p) op: Equal rhs: {(DQ ("PLUGIN_LIB=cmd"))} spids: [40591] ) ] spids: [40591] ) (If arms: [ (if_arm cond: [ (SimpleCommand words: [ {(grep)} {(SQ <"^setv mam_cc_DIALECT .* EXPORT=[AD]LL">)} {($ VSub_Name "$INSTALLROOT") (/lib/probe/C/mam/) (Lit_Other "*") } ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(/dev/null)} spids: [40609] ) (Redir op_id: Redir_GreatAnd fd: 2 arg_word: {(1)} spids: [40612] ) ] ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:p) op: Equal rhs: {(no) ($ VSub_Name "$p")} spids: [40618] ) ] spids: [40618] ) ] spids: [-1 40616] ) ] spids: [-1 40623] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:m) op: Equal rhs: {(1)} spids: [40626] ) ] spids: [40626] ) ] spids: [-1 40589 40630 -1] ) ] spids: [40580 40584 40633] ) (Case to_match: {($ VSub_Name "$m")} arms: [ (case_arm pat_list: [{(1)}] action: [ (Case to_match: {($ VSub_Name "$u")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:u) op: Equal rhs: {($ VSub_Name "$N") ($ VSub_Name "$u")} spids: [40657] ) ] spids: [40657] ) ] spids: [40653 40655 40661 -1] ) ] spids: [40646 40650 40664] ) (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$h") ($ VSub_Name "$N") ($ VSub_Name "$p") ($ VSub_Name "$N") ($ VSub_Name "$f") ($ VSub_Name "$N") ($ VSub_Name "$u") ) } ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {($ VSub_Name "$INSTALLROOT") (/bin/.paths)} spids: [40679] ) ] ) ] spids: [40643 40644 40685 -1] ) ] spids: [40636 40640 40688] ) ] spids: [-1 40264] ) ] spids: [-1 40691] ) ] spids: [-1 40243 40694 -1] ) ] spids: [40234 40238 40697] ) (Case to_match: {($ VSub_Name "$EXECROOT")} arms: [ (case_arm pat_list: [{($ VSub_Name "$INSTALLROOT")}] action: [ (C {($ VSub_Name "$make")} {(cd)} {($ VSub_Name "$INSTALLROOT") (/bin)}) (If arms: [ (if_arm cond: [(C {(executable)} {(/bin/cp)})] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:cp) op: Equal rhs: {(/bin/cp)} spids: [40734] ) ] spids: [40734] ) ] spids: [-1 40732] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:cp) op: Equal rhs: {(cp)} spids: [40740] ) ] spids: [40740] ) ] spids: [40738 40744] ) (If arms: [ (if_arm cond: [(C {(executable)} {(/bin/mv)})] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:mv) op: Equal rhs: {(/bin/mv)} spids: [40756] ) ] spids: [40756] ) ] spids: [-1 40754] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:mv) op: Equal rhs: {(mv)} spids: [40762] ) ] spids: [40762] ) ] spids: [40760 40766] ) (If arms: [ (if_arm cond: [(C {(executable)} {(/bin/rm)})] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:rm) op: Equal rhs: {(/bin/rm)} spids: [40778] ) ] spids: [40778] ) ] spids: [-1 40776] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:rm) op: Equal rhs: {(rm)} spids: [40784] ) ] spids: [40784] ) ] spids: [40782 40788] ) (ForEach iter_name: i iter_words: [ {(ksh)} {(nmake)} {(tee)} {(cp)} {(ln)} {(mv)} {(rm)} {(Lit_Other "*") (ast) (Lit_Other "*") (.dll)} {(Lit_Other "*") (cmd) (Lit_Other "*") (.dll)} {(Lit_Other "*") (dll) (Lit_Other "*") (.dll)} {(Lit_Other "*") (shell) (Lit_Other "*") (.dll)} ] do_arg_iter: False body: (DoGroup children: [ (AndOr children: [ (C {(executable)} {($ VSub_Name "$i")}) (BraceGroup children: [ (AndOr children: [ (SimpleCommand words: [ {(cmp)} {(-s)} {($ VSub_Name "$i")} {($ VSub_Name "$OK") (/) ($ VSub_Name "$i")} ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [40857] ) ] ) (BraceGroup children: [ (AndOr children: [ (C {(test)} {(-f)} {($ VSub_Name "$OK") (/) ($ VSub_Name "$i")} ) (SimpleCommand words: [ {($ VSub_Name "$exec")} {($ VSub_Name "$execrate")} {($ VSub_Name "$rm")} {($ VSub_Name "$OK") (/) ($ VSub_Name "$i")} ] redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: {(/dev/null)} spids: [40886] ) ] ) ] op_id: Op_DAmp ) (AndOr children: [ (C {(test)} {(-f)} {($ VSub_Name "$OK") (/) ($ VSub_Name "$i")} ) (SimpleCommand words: [ {($ VSub_Name "$exec")} {($ VSub_Name "$execrate")} {($ VSub_Name "$mv")} {($ VSub_Name "$OK") (/) ($ VSub_Name "$i")} {($ VSub_Name "$OK") (/) ($ VSub_Name "$i") (.old)} ] redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: {(/dev/null)} spids: [40916] ) ] ) ] op_id: Op_DAmp ) (AndOr children: [ (C {(test)} {(-f)} {($ VSub_Name "$OK") (/) ($ VSub_Name "$i")} ) (Case to_match: {($ VSub_Name "$exec") (Lit_Other ":") ($ VSub_Name "$i") } arms: [ (case_arm pat_list: [ {(Lit_Other ":") (nmake)} {(Lit_Other ":") (ksh)} ] action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$OK") (/) ($ VSub_Name "$i") ( ": cannot update [may be in use by a running process] remove manually and try again" ) ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [40959] ) ] ) (C {(exit)} {(1)}) ] spids: [40940 40945 40968 -1] ) ] spids: [40931 40937 40971] ) ] op_id: Op_DAmp ) (C {($ VSub_Name "$exec")} {($ VSub_Name "$execrate")} {($ VSub_Name "$cp")} {($ VSub_Name "$i")} {($ VSub_Name "$OK") (/) ($ VSub_Name "$i")} ) ] spids: [40862] ) ] op_id: Op_DPipe ) ] spids: [40844] ) ] op_id: Op_DAmp ) ] spids: [40836 40993] ) spids: [40796 -1] ) (If arms: [ (if_arm cond: [(C {(test)} {(-f)} {(../lib/make/makerules.mo)})] action: [ (AndOr children: [ (C {(cmp)} {(-s)} {(../lib/make/makerules.mo)} {($ VSub_Name "$OK") (/lib/makerules.mo)} ) (AndOr children: [ (C {($ VSub_Name "$exec")} {($ VSub_Name "$execrate")} {($ VSub_Name "$cp")} {(-p)} {(../lib/make/makerules.mo)} {($ VSub_Name "$OK") (/lib/makerules.mo)} ) (C {($ VSub_Name "$exec")} {($ VSub_Name "$execrate")} {($ VSub_Name "$cp")} {(../lib/make/makerules.mo)} {($ VSub_Name "$OK") (/lib/makerules.mo)} ) ] op_id: Op_DPipe ) ] op_id: Op_DPipe ) ] spids: [-1 41005] ) ] spids: [-1 41047] ) (If arms: [ (if_arm cond: [(C {(executable)} {($ VSub_Name "$OK") (/nmake)})] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:MAKE) op: Equal rhs: { (DQ ($ VSub_Name "$INSTALLROOT") (/bin/) ($ VSub_Name "$OK") ("/nmake LOCALRULESPATH=") ($ VSub_Name "$INSTALLROOT") (/bin/) ($ VSub_Name "$OK") (/lib) ) } spids: [41060] ) ] spids: [41060] ) ] spids: [-1 41058] ) ] spids: [-1 41073] ) (If arms: [ (if_arm cond: [(C {(executable)} {($ VSub_Name "$OK") (/tee)})] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:TEE) op: Equal rhs: {($ VSub_Name "$INSTALLROOT") (/bin/) ($ VSub_Name "$OK") (/tee)} spids: [41086] ) ] spids: [41086] ) ] spids: [-1 41084] ) ] spids: [-1 41093] ) (If arms: [ (if_arm cond: [ (AndOr children: [ (C {(test)} {(DQ ($ VSub_Name "$KEEP_SHELL"))} {(KW_Bang "!") (Lit_Other "=")} {(1)} ) (C {(executable)} {($ VSub_Name "$OK") (/ksh)}) ] op_id: Op_DAmp ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:SHELL) op: Equal rhs: {($ VSub_Name "$INSTALLROOT") (/bin/) ($ VSub_Name "$OK") (/ksh)} spids: [41119] ) ] spids: [41119] ) (C {(export)} {(SHELL)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:COSHELL) op: Equal rhs: {($ VSub_Name "$SHELL")} spids: [41131] ) ] spids: [41131] ) (C {(export)} {(COSHELL)}) ] spids: [-1 41117] ) ] spids: [-1 41140] ) (Case to_match: {(Lit_Other ":") ($ VSub_Name "$PATH") (Lit_Other ":")} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (Lit_Other ":") ($ VSub_Name "$INSTALLROOT") (/bin/) ($ VSub_Name "$OK") (Lit_Other ":") (Lit_Other "*") } ] spids: [41152 41159 41162 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:PATH) op: Equal rhs: {($ VSub_Name "$INSTALLROOT") (/bin/) ($ VSub_Name "$OK") (Lit_Other ":") ($ VSub_Name "$PATH") } spids: [41168] ) ] spids: [41168] ) (C {(export)} {(PATH)}) ] spids: [41165 41166 41181 -1] ) ] spids: [41143 41149 41184] ) (C {($ VSub_Name "$make")} {(cd)} {($ VSub_Name "$INSTALLROOT") (/src)}) ] spids: [40713 40714 41195 -1] ) ] spids: [40706 40710 41198] ) (If arms: [ (if_arm cond: [(C {(nonmake)} {($ VSub_Name "$MAKE")})] action: [ (C {(note)} {(make)} {(with)} {(mamake)}) (Case to_match: {($ VSub_Name "$target")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:target) op: Equal rhs: {(DQ (install))} spids: [41236] ) ] spids: [41236] ) ] spids: [-1 41234 41241 -1] ) ] spids: [41225 41229 41244] ) (C {(eval)} {(capture)} {(mamake)} {(EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (makeflags)} {(EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (noexec)} {(EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (target)} {($ VSub_Name "$assign")} ) ] spids: [-1 41214] ) ] else_action: [ (Case to_match: {($ VSub_Name "$target")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:target) op: Equal rhs: {(DQ ("install cc-"))} spids: [41278] ) ] spids: [41278] ) ] spids: [-1 41276 41283 -1] ) ] spids: [41267 41271 41286] ) (C {(eval)} {(capture)} {(EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (MAKE)} {(EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (makeflags)} {(EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (nmakeflags)} {(EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (noexec)} {(recurse)} {(EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (target)} {(EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (nmakesep)} {(EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (package)} {($ VSub_Name "$assign")} ) ] spids: [41265 41319] ) ] spids: [36555 36558 41322 -1] ) (case_arm pat_list: [{(read)}] action: [ (Case to_match: { (BracedVarSub token: <VSub_Name PWD> suffix_op: (StringUnary op_id: VTest_ColonHyphen arg_word: { (CommandSubPart command_list: (CommandList children:[(C {(pwd)})]) left_token: <Left_Backtick "`"> spids: [41333 41335] ) } ) spids: [41330 41336] ) } arms: [ (case_arm pat_list: [{($ VSub_Name "$PACKAGEROOT")}] spids: [41341 41342 41345 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (SimpleCommand words: [ {(echo)} {(DQ ($ VSub_Name "$command") (": must be in package root directory"))} ] redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[41358])] ) (C {(exit)} {(1)}) ] spids: [41348 41349 41367 -1] ) ] spids: [41328 41338 41370] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:PAX) op:Equal rhs:{(SQ )} spids:[41373])] spids: [41373] ) (If arms: [ (if_arm cond: [(C {(onpath)} {(pax)})] action: [ (Case to_match: { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [ {($ VSub_Name "$_onpath_")} {(-rw)} {(--) (Lit_Other "?") (meter)} ] redirects: [ (Redir op_id: Redir_GreatAnd fd: 2 arg_word: {(1)} spids: [41396] ) ] ) ] ) left_token: <Left_Backtick "`"> spids: [41387 41398] ) } arms: [ (case_arm pat_list: [{(Lit_Other "*") (--meter) (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:PAX) op: Equal rhs: {(pax)} spids: [41408] ) ] spids: [41408] ) ] spids: [41403 41406 41411 -1] ) ] spids: [41385 41400 41414] ) ] spids: [-1 41383] ) ] spids: [-1 41417] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:code) op:Equal rhs:{(0)} spids:[41420])] spids: [41420] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:i) op:Equal rhs:{(SQ )} spids:[41424])] spids: [41424] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:x) op:Equal rhs:{(SQ )} spids:[41427])] spids: [41427] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:remove) op:Equal rhs:{(SQ )} spids:[41430])] spids: [41430] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:touch) op:Equal rhs:{(SQ )} spids:[41433])] spids: [41433] ) (C {(set)} {(SQ )} {($ VSub_Name "$target")}) (Case to_match: {($ VSub_Number "$2")} arms: [ (case_arm pat_list: [{(lcl)} {(tgz)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:tgz) op: Equal rhs: {($ VSub_Number "$2")} spids: [41455] ) ] spids: [41455] ) (C {(shift)} {(2)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:target) op: Equal rhs: {($ VSub_Star "$*")} spids: [41464] ) ] spids: [41464] ) ] spids: [41451 41454 41468 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:tgz) op:Equal rhs:{(tgz)} spids:[41474])] spids: [41474] ) ] spids: [41471 41472 41478 -1] ) ] spids: [41444 41448 41481] ) (C {(set)} {(SQ )} {($ VSub_Name "$package")} {($ VSub_Name "$target")}) (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(1)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:verbose) op: Equal rhs: {(Lit_Other ":")} spids: [41504] ) ] spids: [41504] ) (C {(set)} {(SQ )} { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [ {(ls)} {(lib/package/) ($ VSub_Name "$tgz") (/) (Lit_Other "*") (Lit_Other "?") (Lit_Other "[") (_.) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (-) (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (-) (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (_.) (Lit_Other "]") (Lit_Other "*") } ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [41555] ) ] ) ] ) left_token: <Left_Backtick "`"> spids: [41513 41557] ) } ) ] spids: [41501 41502 41560 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:verbose) op: Equal rhs: {(SQ )} spids: [41566] ) ] spids: [41566] ) ] spids: [41563 41564 41569 -1] ) ] spids: [41494 41498 41572] ) (C {(shift)}) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:files) op:Equal rhs:{(SQ )} spids:[41578])] spids: [41578] ) (ForEach iter_name: f do_arg_iter: True body: (DoGroup children: [ (If arms: [ (if_arm cond: [(C {(test)} {(-f)} {(DQ ($ VSub_Name "$f"))})] action: [(C {(Lit_Other ":")} {(ok)})] spids: [-1 41599] ) (if_arm cond: [ (C {(test)} {(-f)} {(DQ (lib/package/) ($ VSub_Name "$tgz") (/) ($ VSub_Name "$f"))} ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:f) op: Equal rhs: {(lib/package/) ($ VSub_Name "$tgz") (/) ($ VSub_Name "$f")} spids: [41622] ) ] spids: [41622] ) ] spids: [41606 41620] ) ] else_action: [ (C {(set)} {(SQ )} { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [ {(ls)} {(-r)} {(${ VSub_Name f) (Lit_Other "[") (_.) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (-) (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (-) (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (_.) (Lit_Other "]") (Lit_Other "*") } ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [41678] ) ] ) ] ) left_token: <Left_Backtick "`"> spids: [41636 41680] ) } ) (If arms: [ (if_arm cond: [ (C {(test)} {(SQ )} {(KW_Bang "!") (Lit_Other "=")} {(DQ ($ VSub_Number "$2"))} {(-a)} {(-f)} {(DQ ($ VSub_Number "$2"))} ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:f) op: Equal rhs: {($ VSub_Number "$2")} spids: [41708] ) ] spids: [41708] ) ] spids: [-1 41706] ) ] else_action: [ (C {(set)} {(SQ )} { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [ {(ls)} {(-r)} {(lib/package/) ($ VSub_Name "$tgz") (/) (${ VSub_Name f) (Lit_Other "[") (_.) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (-) (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (-) (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (_.) (Lit_Other "]") (Lit_Other "*") } ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [41764] ) ] ) ] ) left_token: <Left_Backtick "`"> spids: [41719 41766] ) } ) (If arms: [ (if_arm cond: [ (C {(test)} {(SQ )} {(KW_Bang "!") (Lit_Other "=")} {(DQ ($ VSub_Number "$2"))} {(-a)} {(-f)} {(DQ ($ VSub_Number "$2"))} ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:f) op: Equal rhs: {($ VSub_Number "$2")} spids: [41794] ) ] spids: [41794] ) ] spids: [-1 41792] ) ] else_action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$f") (": package archive not found") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [41809] ) ] ) (ControlFlow token: <ControlFlow_Continue continue> ) ] spids: [41798 41816] ) ] spids: [41712 41819] ) ] spids: [41629 41822] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:files) op: Equal rhs: {(DQ ($ VSub_Name "$files") (" ") ($ VSub_Name "$f"))} spids: [41825] ) ] spids: [41825] ) ] spids: [41586 41833] ) spids: [-1 -1] ) (Case to_match: {($ VSub_Name "$files")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": lib/package/") ($ VSub_Name "$tgz") (": no package archives") ) } ] redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[41856])] ) (C {(exit)} {(1)}) ] spids: [-1 41845 41865 -1] ) ] spids: [41836 41840 41868] ) (C {(set)} {(SQ )} { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [{(ls)} {(-r)} {($ VSub_Name "$files")}] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [41883] ) ] ) ] ) left_token: <Left_Backtick "`"> spids: [41876 41885] ) } ) (C {(shift)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:f1) op: Equal rhs: {(SQ )} spids: [41891] ) (assign_pair lhs: (LhsName name:f2) op: Equal rhs: {(SQ )} spids: [41893] ) (assign_pair lhs: (LhsName name:f3) op: Equal rhs: {(SQ )} spids: [41895] ) (assign_pair lhs: (LhsName name:f4) op: Equal rhs: {(SQ )} spids: [41897] ) ] spids: [41891] ) (ForEach iter_name: f do_arg_iter: True body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$f")} arms: [ (case_arm pat_list: [ {(ratz.) (Lit_Other "*")} {(Lit_Other "*") (/ratz.) (Lit_Other "*")} ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:f1) op: Equal rhs: {(DQ ($ VSub_Name "$f1") (" ") ($ VSub_Name "$f"))} spids: [41923] ) ] spids: [41923] ) ] spids: [41914 41920 41931 -1] ) (case_arm pat_list: [ {(INIT.) (Lit_Other "*")} {(Lit_Other "*") (/INIT.) (Lit_Other "*")} ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:f2) op: Equal rhs: {(DQ ($ VSub_Name "$f2") (" ") ($ VSub_Name "$f"))} spids: [41943] ) ] spids: [41943] ) ] spids: [41934 41940 41951 -1] ) (case_arm pat_list: [{(INIT) (Lit_Other "*")} {(Lit_Other "*") (/INIT) (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:f3) op: Equal rhs: {(DQ ($ VSub_Name "$f3") (" ") ($ VSub_Name "$f"))} spids: [41963] ) ] spids: [41963] ) ] spids: [41954 41960 41971 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:f4) op: Equal rhs: {(DQ ($ VSub_Name "$f4") (" ") ($ VSub_Name "$f"))} spids: [41977] ) ] spids: [41977] ) ] spids: [41974 41975 41985 -1] ) ] spids: [41907 41911 41988] ) ] spids: [41905 41991] ) spids: [-1 -1] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:gen) op:Equal rhs:{(SQ )} spids:[41994])] spids: [41994] ) (C {(set)} {(SQ )} {($ VSub_Name "$f1")} {($ VSub_Name "$f2")} {($ VSub_Name "$f3")} {($ VSub_Name "$f4")} ) (While cond: [(C {(Lit_Other ":")})] body: (DoGroup children: [ (C {(shift)}) (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(0)}] action: [(ControlFlow token:<ControlFlow_Break break>)] spids: [42028 42029 42033 -1] ) ] spids: [42021 42025 42036] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:f) op: Equal rhs: {($ VSub_Number "$1")} spids: [42039] ) ] spids: [42039] ) (Case to_match: {($ VSub_Name "$f")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (.gz)}] action: [ (C {(Lit_Other ":")} {(standalone)} {(packages)} {(unbundled)} {(manually)}) (ControlFlow token: <ControlFlow_Continue continue> ) ] spids: [42050 42052 42068 -1] ) (case_arm pat_list: [{(Lit_Other "*") (.md5)}] action: [ (C {(Lit_Other ":")} {(tarball)} {(checksum)}) (ControlFlow token: <ControlFlow_Continue continue> ) ] spids: [42071 42073 42085 -1] ) (case_arm pat_list: [ {(Lit_Other "*") (Lit_Other "?") (Lit_Other "[") (_.) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (-) (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (-) (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (_.) (Lit_Other "]") (Lit_Other "*") } ] spids: [42088 42123 42126 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$f") (": not a package archive") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [42141] ) ] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {(1)} spids: [42145] ) ] spids: [42145] ) (ControlFlow token: <ControlFlow_Continue continue> ) ] spids: [42129 42130 42152 -1] ) ] spids: [42043 42047 42155] ) (Case to_match: {($ VSub_Name "$f")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (/) (Lit_Other "*")}] action: [ (C {(eval)} { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {(DQ ($ VSub_Name "$f"))}) (C {(sed)} {(-e)} {(SQ <"s,\\(.*/\\)\\(.*\\),d=\\1 a=\\2,">)}) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [42172 42188] ) } ) ] spids: [42165 42168 42190 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:d) op: Equal rhs: {(SQ )} spids: [42196] ) (assign_pair lhs: (LhsName name:a) op: Equal rhs: {($ VSub_Name "$f")} spids: [42198] ) ] spids: [42196] ) ] spids: [42193 42194 42201 -1] ) ] spids: [42158 42162 42204] ) (C {(eval)} { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {(DQ ($ VSub_Name "$a"))}) (C {(sed)} {(-e)} {(SQ <"s,\\.c$,,">)} {(-e)} {(SQ <"s,\\.gz$,,">)} {(-e)} {(SQ <"s,\\.exe$,,">)} {(-e)} {(SQ <"s,\\.tgz$,,">)} {(-e)} { (SQ < "s,\\([^_.]*\\)[_.]\\([0123456789][0123456789][0123456789][0123456789]-[0123456789][0123456789]-[0123456789][0123456789]\\)[_.]\\([0123456789][0123456789][0123456789][0123456789][^_.]*\\)[_.]*\\(.*\\),p=\\1 v=\\2 r=\\3 t=\\4," > ) } {(-e)} { (SQ < "s,\\([^_.]*\\)[_.]\\([0123456789][0123456789][0123456789][0123456789]-[0123456789][0123456789]-[0123456789][0123456789]\\)[_.]*\\(.*\\),p=\\1 v=\\2 r=base t=\\3," > ) } ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [42213 42259] ) } ) (Case to_match: {($ VSub_Name "$r")} arms: [ (case_arm pat_list: [{(base)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:y) op: Equal rhs: {($ VSub_Name "$p") (.base)} spids: [42272] ) ] spids: [42272] ) ] spids: [42269 42270 42276 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:y) op: Equal rhs: {($ VSub_Name "$p") (.delta)} spids: [42282] ) ] spids: [42282] ) ] spids: [42279 42280 42286 -1] ) ] spids: [42262 42266 42289] ) (Case to_match: {(DQ (" ") ($ VSub_Name "$x") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$y") (" ")) (Lit_Other "*")} ] action: [(ControlFlow token:<ControlFlow_Continue continue>)] spids: [42303 42310 42316 -1] ) ] spids: [42292 42300 42319] ) (Case to_match: {($ VSub_Name "$t")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:w) op: Equal rhs: {($ VSub_Name "$PACKAGESRC")} spids: [42333] ) ] spids: [42333] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:q) op: Equal rhs: {(SQ )} spids: [42337] ) ] spids: [42337] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:Q) op: Equal rhs: {(SQ )} spids: [42340] ) ] spids: [42340] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:m) op: Equal rhs: {(SQ )} spids: [42343] ) ] spids: [42343] ) ] spids: [-1 42331 42346 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:w) op: Equal rhs: {($ VSub_Name "$PACKAGEROOT") (/arch/) ($ VSub_Name "$t") (/lib/package) } spids: [42352] ) ] spids: [42352] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:q) op: Equal rhs: {(DQ (.) ($ VSub_Name "$t"))} spids: [42359] ) ] spids: [42359] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:Q) op: Equal rhs: {(DQ (_) ($ VSub_Name "$t"))} spids: [42366] ) ] spids: [42366] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:m) op: Equal rhs: {(DQ ("[_.]") ($ VSub_Name "$t"))} spids: [42373] ) ] spids: [42373] ) ] spids: [42349 42350 42380 -1] ) ] spids: [42322 42326 42383] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:u) op: Equal rhs: {($ VSub_Name "$d") ($ VSub_Name "$p") ($ VSub_Name "$q") (.tim)} spids: [42386] ) ] spids: [42386] ) (If arms: [ (if_arm cond: [(C {(test)} {(-s)} {(DQ ($ VSub_Name "$u"))})] action: [(ControlFlow token:<ControlFlow_Continue continue>)] spids: [-1 42404] ) ] else_action: [ (Case to_match: {($ VSub_Name "$force")} arms: [ (case_arm pat_list: [{(0)}] action: [ (Case to_match: { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [ {(ls)} {(-t)} {(DQ ($ VSub_Name "$f"))} {(DQ ($ VSub_Name "$u"))} ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [42436] ) ] ) ] ) left_token: <Left_Backtick "`"> spids: [42423 42438] ) } arms: [ (case_arm pat_list: [{(DQ ($ VSub_Name "$u")) (Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$verbose")} arms: [ (case_arm pat_list: [{(1)}] action: [ (C {(note)} {($ VSub_Name "$p")} {(already)} {(read)}) ] spids: [42456 42457 42467 -1] ) ] spids: [42449 42453 42470] ) (ControlFlow token: <ControlFlow_Continue continue> ) ] spids: [42444 42447 42476 -1] ) ] spids: [42421 42440 42479] ) ] spids: [42418 42419 42482 -1] ) ] spids: [42411 42415 42485] ) ] spids: [42409 42488] ) (Case to_match: {($ VSub_Name "$p")} arms: [ (case_arm pat_list: [{(INIT)}] action: [ (If arms: [ (if_arm cond: [ (C {(test)} {(-f)} {($ VSub_Name "$PACKAGEROOT") (/bin/package)}) ] action: [ (C {($ VSub_Name "$exec")} {(mv)} {($ VSub_Name "$PACKAGEROOT") (/bin/package)} {($ VSub_Name "$PACKAGEROOT") (/bin/package.old)} ) ] spids: [-1 42511] ) ] spids: [-1 42524] ) ] spids: [42498 42499 42527 -1] ) ] spids: [42491 42495 42530] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:z) op:Equal rhs:{(SQ )} spids:[42533])] spids: [42533] ) (Case to_match: {($ VSub_Name "$r")} arms: [ (case_arm pat_list: [{(base)}] action: [ (If arms: [ (if_arm cond: [ (C {(test)} {(ratz)} {(Lit_Other "=")} {(DQ ($ VSub_Name "$p"))}) ] action: [ (Case to_match: {($ VSub_Name "$t")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (ForEach iter_name: i iter_words: [{(src)} {(src/cmd)} {(src/cmd/INIT)}] do_arg_iter: False body: (DoGroup children: [ (AndOr children: [ (C {(test)} {(-d)} {($ VSub_Name "$PACKAGEROOT") (/) ($ VSub_Name "$i") } ) (AndOr children: [ (C {($ VSub_Name "$exec")} {(mkdir)} {($ VSub_Name "$PACKAGEROOT") (/) ($ VSub_Name "$i") } ) (C {(exit)}) ] op_id: Op_DPipe ) ] op_id: Op_DPipe ) ] spids: [42593 42618] ) spids: [42585 -1] ) (C {($ VSub_Name "$exec")} {(cp)} {($ VSub_Name "$f")} {($ VSub_Name "$PACKAGEROOT") (/src/cmd/INIT/) ($ VSub_Name "$p") (.c) } ) ] spids: [-1 42578 42633 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (ForEach iter_name: i iter_words: [ {(arch)} {(arch/) ($ VSub_Name "$t")} {(arch/) ($ VSub_Name "$t") (/bin)} ] do_arg_iter: False body: (DoGroup children: [ (AndOr children: [ (C {(test)} {(-d)} {($ VSub_Name "$PACKAGEROOT") (/) ($ VSub_Name "$i") } ) (AndOr children: [ (C {($ VSub_Name "$exec")} {(mkdir)} {($ VSub_Name "$PACKAGEROOT") (/) ($ VSub_Name "$i") } ) (C {(exit)}) ] op_id: Op_DPipe ) ] op_id: Op_DPipe ) ] spids: [42655 42680] ) spids: [42644 -1] ) (AndOr children: [ (C {($ VSub_Name "$exec")} {(cp)} {($ VSub_Name "$f")} {($ VSub_Name "$PACKAGEROOT") (/arch/) ($ VSub_Name "$t") (/bin/) ($ VSub_Name "$p") } ) (C {($ VSub_Name "$exec")} {(chmod)} {(Lit_Other "+") (x)} {($ VSub_Name "$PACKAGEROOT") (/arch/) ($ VSub_Name "$t") (/bin/) ($ VSub_Name "$p")} ) ] op_id: Op_DAmp ) ] spids: [42636 42637 42712 -1] ) ] spids: [42569 42573 42715] ) ] spids: [-1 42563] ) (if_arm cond: [ (C {(test)} {(DQ )} {(KW_Bang "!") (Lit_Other "=")} {(DQ ($ VSub_Name "$PAX"))} ) ] action: [ (AndOr children: [ (C {($ VSub_Name "$exec")} {(pax)} {(-L)} {(--from) (Lit_Other "=") (ascii)} {(--local)} {(-m)} {(-ps)} {(-rvf)} {(DQ ($ VSub_Name "$f"))} ) (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {(1)} spids: [42762] ) ] spids: [42762] ) (ControlFlow token: <ControlFlow_Continue continue> ) ] spids: [42759] ) ] op_id: Op_DPipe ) ] spids: [42718 42733] ) ] else_action: [ (If arms: [ (if_arm cond: [ (AndOr children: [ (C {(onpath)} {(gunzip)}) (AndOr children: [ (C {(onpath)} {($ VSub_Name "$TAR")}) (C {(isascii)}) ] op_id: Op_DAmp ) ] op_id: Op_DAmp ) ] action: [ (Case to_match: {($ VSub_Name "$TARPROBE")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (ForEach iter_name: i iter_words: [{($ VSub_Name "$TARPROBE")}] do_arg_iter: False body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (SimpleCommand words: [ {($ VSub_Name "$TAR")} {(${ VSub_Name i) (f)} {(-)} {(/dev/null)} ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(/dev/null)} spids: [42828] ) (Redir op_id: Redir_GreatAnd fd: 2 arg_word: {(1)} spids: [42832] ) ] ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:TARFLAGS) op: Equal rhs: {($ VSub_Name "$TARFLAGS") ($ VSub_Name "$i") } spids: [42838] ) ] spids: [42838] ) ] spids: [-1 42836] ) ] spids: [-1 42843] ) ] spids: [42813 42846] ) spids: [42809 -1] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:TARPROBE) op: Equal rhs: {(SQ )} spids: [42849] ) ] spids: [42849] ) ] spids: [42800 42802 42852 -1] ) ] spids: [42793 42797 42855] ) (If arms: [ (if_arm cond: [ (SimpleCommand words: [{(gunzip)} {(-l)}] redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: {(DQ ($ VSub_Name "$f"))} spids: [42864] ) (Redir op_id: Redir_Great fd: -1 arg_word: {(/dev/null)} spids: [42870] ) (Redir op_id: Redir_GreatAnd fd: 2 arg_word: {(1)} spids: [42874] ) ] ) ] action: [ (AndOr children: [ (Case to_match: {($ VSub_Name "$exec")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Pipeline children: [ (SimpleCommand words: [ {($ VSub_Name "$exec")} {(gunzip)} ] redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: {(DQ ($ VSub_Name "$f"))} spids: [42895] ) ] ) (C {($ VSub_Name "$TAR")} {(${ VSub_Name TARFLAGS) (f)} {(-)} ) ] negated: False ) ] spids: [-1 42889 42912 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (C {($ VSub_Name "$exec")} { (DQ ("gunzip < ") ($ VSub_Name "$f") (" | ") ($ VSub_Name "$TAR") (" ") (${ VSub_Name TARFLAGS) ("f -") ) } ) ] spids: [42915 42916 42932 -1] ) ] spids: [42880 42884 42935] ) (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {(1)} spids: [42942] ) ] spids: [42942] ) (ControlFlow token: <ControlFlow_Continue continue> ) ] spids: [42939] ) ] op_id: Op_DPipe ) ] spids: [-1 42878] ) ] else_action: [ (AndOr children: [ (C {($ VSub_Name "$exec")} {($ VSub_Name "$TAR")} {(${ VSub_Name TARFLAGS) (f)} {(DQ ($ VSub_Name "$f"))} ) (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {(1)} spids: [42972] ) ] spids: [42972] ) (ControlFlow token: <ControlFlow_Continue continue> ) ] spids: [42969] ) ] op_id: Op_DPipe ) ] spids: [42952 42982] ) ] spids: [-1 42791] ) ] else_action: [ (AndOr children: [ (C {(checkaout)} {(ratz)}) (AndOr children: [ (C {(onpath)} {(ratz)}) (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {(1)} spids: [43002] ) ] spids: [43002] ) (ControlFlow token: <ControlFlow_Continue continue> ) ] spids: [42999] ) ] op_id: Op_DPipe ) ] op_id: Op_DAmp ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:RATZ) op: Equal rhs: {($ VSub_Name "$_onpath_")} spids: [43012] ) ] spids: [43012] ) (AndOr children: [ (Case to_match: {($ VSub_Name "$exec")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (C {(echo)} {($ VSub_Name "$f") (Lit_Other ":")}) (SimpleCommand words: [ {($ VSub_Name "$exec")} {($ VSub_Name "$RATZ")} {(-lm)} ] redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: {(DQ ($ VSub_Name "$f"))} spids: [43039] ) ] ) ] spids: [-1 43025 43046 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (C {($ VSub_Name "$exec")} { (DQ ($ VSub_Name "$RATZ") (" -lm < ") ($ VSub_Name "$f") ) } ) ] spids: [43049 43050 43061 -1] ) ] spids: [43016 43020 43064] ) (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {(1)} spids: [43071] ) ] spids: [43071] ) (ControlFlow token: <ControlFlow_Continue continue> ) ] spids: [43068] ) ] op_id: Op_DPipe ) ] spids: [42985 43081] ) (If arms: [ (if_arm cond: [ (C {(test)} {(-f)} {($ VSub_Name "$PACKAGEBIN") (/gen/) ($ VSub_Name "$p") (.sum) } ) ] action: [ (While cond: [(C {(read)} {(md5)} {(mode)} {(usr)} {(grp)} {(file)})] body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$file")} arms: [ (case_arm pat_list: [{(-) (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:file) op: Equal rhs: {(./) ($ VSub_Name "$file")} spids: [43126] ) ] spids: [43126] ) ] spids: [43122 43124 43130 -1] ) ] spids: [43115 43119 43133] ) (Case to_match: {($ VSub_Name "$mode")} arms: [ (case_arm pat_list: [ {(Lit_Other "[") (01234567) (Lit_Other "]") (Lit_Other "[") (01234567) (Lit_Other "]") (Lit_Other "[") (01234567) (Lit_Other "]") (Lit_Other "[") (01234567) (Lit_Other "]") } ] action: [ (Case to_match: {($ VSub_Name "$grp")} arms: [ (case_arm pat_list: [{(-)}] spids: [43165 43166 43168 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (C {($ VSub_Name "$exec")} {(chgrp)} {($ VSub_Name "$grp")} {(DQ ($ VSub_Name "$file"))} ) ] spids: [43171 43172 43184 -1] ) ] spids: [43158 43162 43187] ) (Case to_match: {($ VSub_Name "$usr")} arms: [ (case_arm pat_list: [{(-)}] spids: [43197 43198 43200 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (C {($ VSub_Name "$exec")} {(chown)} {($ VSub_Name "$usr")} {(DQ ($ VSub_Name "$file"))} ) ] spids: [43203 43204 43216 -1] ) ] spids: [43190 43194 43219] ) (C {($ VSub_Name "$exec")} {(chmod)} {($ VSub_Name "$mode")} {(DQ ($ VSub_Name "$file"))} ) ] spids: [43143 43155 43233 -1] ) ] spids: [43136 43140 43236] ) ] spids: [43113 43239] ) redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: {($ VSub_Name "$PACKAGEBIN") (/gen/) ($ VSub_Name "$p") (.sum) } spids: [43241] ) ] ) ] spids: [-1 43096] ) ] spids: [-1 43249] ) ] spids: [42772 43252] ) ] spids: [42543 42544 43255 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (AndOr children: [ (C {(test)} {(DQ )} {(KW_Bang "!") (Lit_Other "=")} {(DQ ($ VSub_Name "$PAX"))} ) (BraceGroup children: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$f") (": pax required to read delta archive") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [43291] ) ] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {(1)} spids: [43295] ) ] spids: [43295] ) (ControlFlow token: <ControlFlow_Continue continue> ) ] spids: [43279] ) ] op_id: Op_DPipe ) (Case to_match: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} { (DQ ($ VSub_Name "$v") (":\n") ($ VSub_Name "$r") (":") ) } ) (C {(sort)}) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [43307 43320] ) } arms: [ (case_arm pat_list: [{($ VSub_Name "$r") (Lit_Other ":") (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:y) op: Equal rhs: {($ VSub_Name "$p") (.base)} spids: [43330] ) ] spids: [43330] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:b) op: Equal rhs: {(${ VSub_Name d) (${ VSub_Name p) (_) (${ VSub_Name r) (${ VSub_Name Q) (.tgz) } spids: [43335] ) ] spids: [43335] ) (AndOr children: [ (C {(test)} {(-f)} {(DQ ($ VSub_Name "$b"))}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:b) op: Equal rhs: {(${ VSub_Name d) (${ VSub_Name p) (.) (${ VSub_Name r) (${ VSub_Name q) (.tgz) } spids: [43362] ) ] spids: [43362] ) ] op_id: Op_DPipe ) (AndOr children: [ (C {(test)} {(-f)} {(DQ ($ VSub_Name "$b"))}) (BraceGroup children: [ (Case to_match: {(DQ (" ") ($ VSub_Name "$gen") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$b") (" ")) (Lit_Other "*") } ] spids: [43403 43410 43413 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(1)}] action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$f") (": base archive ") ($ VSub_Name "$b") (" required to read delta") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [43440] ) ] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {(1)} spids: [43444] ) ] spids: [43444] ) ] spids: [43426 43427 43448 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (C {(shift)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:y) op: Equal rhs: {($ VSub_Number "$1")} spids: [43457] ) ] spids: [43457] ) (C {(shift)}) (C {(set)} {(SQ )} {($ VSub_Name "$y")} {($ VSub_Name "$f")} {(DQ ($ VSub_At "$@"))} ) ] spids: [43451 43452 -1 43478] ) ] spids: [43419 43423 43478] ) (ControlFlow token: <ControlFlow_Continue continue> ) ] spids: [43416 43417 43484 -1] ) ] spids: [43392 43400 43487] ) ] spids: [43389] ) ] op_id: Op_DPipe ) (AndOr children: [ (C {($ VSub_Name "$exec")} {(pax)} {(-L)} {(--from) (Lit_Other "=") (ascii)} {(--local)} {(-ps)} {(-rvf)} {(DQ ($ VSub_Name "$f"))} {(-z)} {(DQ ($ VSub_Name "$b"))} ) (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {(1)} spids: [43528] ) ] spids: [43528] ) (ControlFlow token: <ControlFlow_Continue continue> ) ] spids: [43525] ) ] op_id: Op_DPipe ) (C {(note)} {($ VSub_Name "$f") (Lit_Other ":")} {(generate)} {(new)} {(base)} {($ VSub_Name "$d") ($ VSub_Name "$p") (.) ($ VSub_Name "$v") ($ VSub_Name "$q") (.tgz)} ) (AndOr children: [ (C {($ VSub_Name "$exec")} {(pax)} {(-rf)} {(DQ ($ VSub_Name "$f"))} {(-z)} {(DQ ($ VSub_Name "$b"))} {(-wf)} {($ VSub_Name "$d") ($ VSub_Name "$p") (.) ($ VSub_Name "$v") ($ VSub_Name "$q") (.tgz) } {(-x)} {(tgz)} ) (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {(1)} spids: [43591] ) ] spids: [43591] ) (ControlFlow token: <ControlFlow_Continue continue> ) ] spids: [43588] ) ] op_id: Op_DPipe ) (Case to_match: {($ VSub_Name "$exec")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (SimpleCommand words: [ {(echo)} {($ VSub_Name "$p")} {($ VSub_Name "$v")} {($ VSub_Name "$v")} {(1)} ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {($ VSub_Name "$w") (/gen/) ($ VSub_Name "$p") (.ver) } spids: [43622] ) ] ) ] spids: [-1 43610 43630 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:z) op: Equal rhs: {($ VSub_Name "$d") (${ VSub_Name p) (Lit_Other "[") (_.) (Lit_Other "]") ($ VSub_Name "$v") ($ VSub_Name "$q") (.tgz) } spids: [43636] ) ] spids: [43636] ) (C {($ VSub_Name "$exec")} { (DQ ("echo ") ($ VSub_Name "$p") (" ") ($ VSub_Name "$v") (" ") ($ VSub_Name "$v") (" 1 > ") ($ VSub_Name "$w") (/gen/) ($ VSub_Name "$p") (.ver) ) } ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:gen) op: Equal rhs: { (DQ ($ VSub_Name "$gen") (" ") ($ VSub_Name "$d") ($ VSub_Name "$p") (.) ($ VSub_Name "$v") ($ VSub_Name "$q") (.tgz) ) } spids: [43666] ) ] spids: [43666] ) ] spids: [43633 43634 43679 -1] ) ] spids: [43601 43605 43682] ) (Case to_match: {(DQ (" ") ($ VSub_Name "$remove") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$f") (" ")) (Lit_Other "*") } ] spids: [43696 43703 43705 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:remove) op: Equal rhs: { (DQ ($ VSub_Name "$remove") (" ") ($ VSub_Name "$f") ) } spids: [43711] ) ] spids: [43711] ) ] spids: [43708 43709 43718 -1] ) ] spids: [43685 43693 43721] ) ] spids: [43325 43328 43724 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:b) op: Equal rhs: {(${ VSub_Name d) (${ VSub_Name p) (_) (${ VSub_Name v) (${ VSub_Name Q) (.tgz) } spids: [43730] ) ] spids: [43730] ) (AndOr children: [ (C {(test)} {(-f)} {(DQ ($ VSub_Name "$b"))}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:b) op: Equal rhs: {(${ VSub_Name d) (${ VSub_Name p) (.) (${ VSub_Name v) (${ VSub_Name q) (.tgz) } spids: [43757] ) ] spids: [43757] ) ] op_id: Op_DPipe ) (AndOr children: [ (C {(test)} {(-f)} {(DQ ($ VSub_Name "$b"))}) (BraceGroup children: [ (Case to_match: {(DQ (" ") ($ VSub_Name "$gen") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$b") (" ")) (Lit_Other "*") } ] spids: [43798 43805 43808 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(1)}] action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$f") (": base archive ") ($ VSub_Name "$b") (" required to read delta") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [43835] ) ] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {(1)} spids: [43839] ) ] spids: [43839] ) ] spids: [43821 43822 43843 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (C {(shift)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:y) op: Equal rhs: {($ VSub_Number "$1")} spids: [43852] ) ] spids: [43852] ) (C {(shift)}) (C {(set)} {(SQ )} {($ VSub_Name "$y")} {($ VSub_Name "$f")} {(DQ ($ VSub_At "$@"))} ) ] spids: [43846 43847 -1 43873] ) ] spids: [43814 43818 43873] ) (ControlFlow token: <ControlFlow_Continue continue> ) ] spids: [43811 43812 43879 -1] ) ] spids: [43787 43795 43882] ) ] spids: [43784] ) ] op_id: Op_DPipe ) (AndOr children: [ (C {($ VSub_Name "$exec")} {(pax)} {(-L)} {(--from) (Lit_Other "=") (ascii)} {(--local)} {(-ps)} {(-rvf)} {(DQ ($ VSub_Name "$f"))} {(-z)} {(DQ ($ VSub_Name "$b"))} ) (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {(1)} spids: [43923] ) ] spids: [43923] ) (ControlFlow token: <ControlFlow_Continue continue> ) ] spids: [43920] ) ] op_id: Op_DPipe ) ] spids: [43727 43728 43933 -1] ) ] spids: [43305 43322 43936] ) ] spids: [43258 43259 43939 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$f") (": unknown archive type") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [43954] ) ] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {(1)} spids: [43958] ) ] spids: [43958] ) (ControlFlow token: <ControlFlow_Continue continue> ) ] spids: [43942 43943 43965 -1] ) ] spids: [42536 42540 43968] ) (If arms: [ (if_arm cond: [(C {(executable)} {($ VSub_Name "$w") (/) ($ VSub_Name "$p") (.ini)})] action: [ (AndOr children: [ (C {($ VSub_Name "$exec")} {($ VSub_Name "$w") (/) ($ VSub_Name "$p") (.ini)} {(read)} ) (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {(1)} spids: [44003] ) ] spids: [44003] ) (ControlFlow token: <ControlFlow_Continue continue> ) ] spids: [44000] ) ] op_id: Op_DPipe ) ] spids: [-1 43987] ) ] spids: [-1 44013] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:k) op:Equal rhs:{(SQ )} spids:[44022])] spids: [44022] ) (ForEach iter_name: i iter_words: [ { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [ {(ls)} {($ VSub_Name "$d") ($ VSub_Name "$p") (Lit_Other "[") (_.) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (-) (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (-) (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (_.) (Lit_Other "]") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") ($ VSub_Name "$m") (Lit_Other "*") } {($ VSub_Name "$z")} ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [44077] ) ] ) ] ) left_token: <Left_Backtick "`"> spids: [44031 44079] ) } ] do_arg_iter: False body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$i")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (.md5)}] action: [(ControlFlow token:<ControlFlow_Continue continue>)] spids: [44091 44093 44098 -1] ) (case_arm pat_list: [ {($ VSub_Name "$d") (${ VSub_Name p) (Lit_Other "[") (_.) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (-) (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (-) (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (_.) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (-) (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (-) (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") ($ VSub_Name "$m") (Lit_Other "*") } ] spids: [44101 44165 44168 -1] ) (case_arm pat_list: [ {($ VSub_Name "$d") (${ VSub_Name p) (Lit_Other "[") (_.) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (-) (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (-) (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") ($ VSub_Name "$m") (Lit_Other "*") } ] action: [(ControlFlow token:<ControlFlow_Continue continue>)] spids: [44171 44206 44212 -1] ) ] spids: [44084 44088 44215] ) (Case to_match: {($ VSub_Name "$k")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Case to_match: {(DQ (" ") ($ VSub_Name "$remove") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$k") (" ")) (Lit_Other "*") } ] spids: [44240 44247 44249 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:remove) op: Equal rhs: { (DQ ($ VSub_Name "$remove") (" ") ($ VSub_Name "$k") ) } spids: [44255] ) ] spids: [44255] ) ] spids: [44252 44253 44262 -1] ) ] spids: [44229 44237 44265] ) ] spids: [44225 44227 44268 -1] ) ] spids: [44218 44222 44271] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:k) op: Equal rhs: {($ VSub_Name "$i")} spids: [44274] ) ] spids: [44274] ) ] spids: [44082 44278] ) spids: [44030 -1] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:x) op: Equal rhs: {(DQ ($ VSub_Name "$x") (" ") ($ VSub_Name "$y"))} spids: [44281] ) ] spids: [44281] ) (Case to_match: {(DQ (" ") ($ VSub_Name "$touch") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$u") (" ")) (Lit_Other "*")} ] spids: [44300 44307 44309 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:touch) op: Equal rhs: {(DQ ($ VSub_Name "$touch") (" ") ($ VSub_Name "$u"))} spids: [44315] ) ] spids: [44315] ) ] spids: [44312 44313 44322 -1] ) ] spids: [44289 44297 44325] ) ] spids: [42016 44328] ) ) (If arms: [ (if_arm cond: [ (C {(test)} {(KW_Bang "!")} {(-f)} {($ VSub_Name "$PACKAGEROOT") (/bin/package)} {(-a)} {(-f)} {($ VSub_Name "$PACKAGEROOT") (/bin/package.old)} ) ] action: [ (C {($ VSub_Name "$exec")} {(cp)} {($ VSub_Name "$PACKAGEROOT") (/bin/package.old)} {($ VSub_Name "$PACKAGEROOT") (/bin/package)} ) ] spids: [-1 44350] ) ] spids: [-1 44363] ) (Case to_match: {($ VSub_Name "$remove")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [(C {($ VSub_Name "$exec")} {(rm)} {(-f)} {($ VSub_Name "$remove")})] spids: [44379 44381 44391 -1] ) ] spids: [44372 44376 44394] ) (Case to_match: {($ VSub_Name "$touch")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Sentence child:(C {(sleep)} {(1)}) terminator:<Op_Semi ";">) (C {($ VSub_Name "$exec")} {(touch)} {($ VSub_Name "$touch")}) ] spids: [44410 44412 44425 -1] ) ] spids: [44403 44407 44428] ) (Case to_match: {($ VSub_Name "$code") ($ VSub_Name "$exec")} arms: [ (case_arm pat_list: [{(0)}] action: [(C {(requirements)} {(-)} {($ VSub_Name "$x")})] spids: [44445 44446 44454 -1] ) ] spids: [44437 44442 44457] ) (C {(exit)} {($ VSub_Name "$code")}) ] spids: [41325 41326 44465 -1] ) (case_arm pat_list: [{(regress)}] action: [ (If arms: [ (if_arm cond: [(C {(test)} {(KW_Bang "!")} {(-d)} {($ VSub_Name "$PACKAGEBIN") (/gen)})] action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": 'package make' and 'package test' required for regression") ) } ] redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[44491])] ) (C {(exit)} {(1)}) ] spids: [-1 44482] ) ] spids: [-1 44500] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:dir) op: Equal rhs: {($ VSub_Name "$PACKAGEBIN") (/gen)} spids: [44503] ) ] spids: [44503] ) (C {(cd)} {($ VSub_Name "$dir")}) (ForEach iter_name: s iter_words: [{(out)} {(old)}] do_arg_iter: False body: (DoGroup children: [ (Case to_match: { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [ {(ls)} {(-t)} {(regress.) ($ VSub_Name "$s")} {(test.) ($ VSub_Name "$s")} ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [44539] ) ] ) ] ) left_token: <Left_Backtick "`"> spids: [44528 44541] ) } arms: [ (case_arm pat_list: [{(regress) (Lit_Other "*")}] spids: [44546 44548 44551 -1] ) (case_arm pat_list: [{(test) (Lit_Other "*")}] action: [ (If arms: [ (if_arm cond: [(C {(test)} {(-f)} {(regress.) ($ VSub_Name "$s")})] action: [ (C {($ VSub_Name "$exec")} {(mv)} {(regress.) ($ VSub_Name "$s")} {(regress.old)} ) ] spids: [-1 44568] ) ] spids: [-1 44580] ) (Case to_match: {($ VSub_Name "$exec")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Pipeline children: [ (C {(egrep)} {(-i)} { (SQ < "\\*\\*\\*|FAIL|^TEST.* [123456789][0123456789]* error|core.*dump" > ) } {(test.) ($ VSub_Name "$s")} ) (SimpleCommand words: [ {(sed)} {(-e)} {(SQ <"/\\*\\*\\* [0123456789]/d">)} {(-e)} {(SQ <"/^TEST.\\//s,/[^ ]*/,,">)} {(-e)} {(SQ <"s,[ \t][ \t]*$,,">)} {(-e)} { (SQ < "s/[0123456789][0123456789]*:* \\([abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789 ]*([abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789 ]*[Cc][Oo][Rr][Ee][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789 ]*)\\)/\\1/" > ) } {(-e)} {(SQ <"s/\\.sh failed at .* with /.sh failed /">)} ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(regress.) ($ VSub_Name "$s")} spids: [44650] ) ] ) ] negated: False ) ] spids: [-1 44592 44656 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (C {($ VSub_Name "$exec")} {(filter)} {(test)} {(failures)} {(from)} {($ VSub_Name "$dir") (/test.) ($ VSub_Name "$s")} {(to)} {($ VSub_Name "$dir") (/regress.) ($ VSub_Name "$s")} ) ] spids: [44659 44660 44683 -1] ) ] spids: [44583 44587 44686] ) ] spids: [44554 44556 44689 -1] ) ] spids: [44526 44543 44692] ) ] spids: [44524 44695] ) spids: [44518 -1] ) (If arms: [ (if_arm cond: [(C {(test)} {(-f)} {(regress.out)} {(-a)} {(-f)} {(regress.old)})] action: [(C {($ VSub_Name "$exec")} {(diff)} {(-b)} {(regress.out)} {(regress.old)})] spids: [-1 44713] ) ] else_action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": at least 2 test runs required for regression")) } ] redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[44735])] ) (C {(exit)} {(1)}) ] spids: [44726 44744] ) ] spids: [44468 44469 44747 -1] ) (case_arm pat_list: [{(release)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:count) op: Equal rhs: {(SQ )} spids: [44752] ) (assign_pair lhs: (LhsName name:lo) op: Equal rhs: {(SQ )} spids: [44754] ) (assign_pair lhs: (LhsName name:hi) op: Equal rhs: {(SQ )} spids: [44756] ) ] spids: [44752] ) (C {(checksrc)}) (AndOr children:[(C {(checkaout)} {(release)})(C {(exit)})] op_id:Op_DPipe) (C {(requirements)} {(source)} {($ VSub_Name "$package")}) (C {(components)} {($ VSub_Name "$package")}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:package) op: Equal rhs: {($ VSub_Name "$_components_")} spids: [44783] ) ] spids: [44783] ) (C {(set)} {(SQ )} {($ VSub_Name "$target")}) (C {(shift)}) (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list:[{(0)}] spids:[448054480644808-1]) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [ {(-)} {(Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (-) (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (-) (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") } {(Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (-) (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (-) (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") } ] action: [ (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [{(-)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:lo) op: Equal rhs: {(SQ )} spids: [44883] ) (assign_pair lhs: (LhsName name:release) op: Equal rhs: {(SQ )} spids: [44885] ) ] spids: [44883] ) ] spids: [44880 44881 44887 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:lo) op: Equal rhs: {($ VSub_Number "$1")} spids: [44893] ) (assign_pair lhs: (LhsName name:release) op: Equal rhs: {(DQ ("-f ") ($ VSub_Number "$1"))} spids: [44896] ) ] spids: [44893] ) ] spids: [44890 44891 44902 -1] ) ] spids: [44873 44877 44905] ) (C {(shift)}) (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [ {(-)} {(Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (-) (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (-) (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") } {(Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (-) (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (-) (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") } ] action: [ (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [{(-)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:hi) op: Equal rhs: {(SQ )} spids: [44980] ) ] spids: [44980] ) ] spids: [44977 44978 44982 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:hi) op: Equal rhs: {($ VSub_Number "$1")} spids: [44988] ) (assign_pair lhs: (LhsName name:release) op: Equal rhs: { (DQ ($ VSub_Name "$release") (" -t ") ($ VSub_Number "$1") ) } spids: [44991] ) ] spids: [44988] ) ] spids: [44985 44986 44998 -1] ) ] spids: [44970 44974 45001] ) (C {(shift)}) ] spids: [44918 44967 45007 -1] ) ] spids: [44911 44915 45010] ) ] spids: [44821 44870 45013 -1] ) (case_arm pat_list: [ {(Lit_Other "[") (0123456789) (Lit_Other "]")} {(Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") } {(Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") } {(Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") } {(Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:count) op: Equal rhs: {($ VSub_Number "$1")} spids: [45069] ) ] spids: [45069] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:release) op: Equal rhs: {(DQ ("-r ") ($ VSub_Name "$count"))} spids: [45073] ) ] spids: [45073] ) (C {(shift)}) ] spids: [45016 45066 45083 -1] ) ] spids: [44814 44818 45086] ) ] spids: [44811 44812 45089 -1] ) ] spids: [44798 44802 45092] ) (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(0)}] action: [ (Case to_match: {($ VSub_Name "$package")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:package) op: Equal rhs: {(Lit_Other "*")} spids: [45116] ) ] spids: [45116] ) ] spids: [-1 45114 45119 -1] ) ] spids: [45105 45109 45122] ) ] spids: [45102 45103 45125 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$package")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:package) op: Equal rhs: {($ VSub_Star "$*")} spids: [45142] ) ] spids: [45142] ) ] spids: [-1 45140 45146 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (SimpleCommand words: [ {(echo)} {($ VSub_Name "$command") (Lit_Other ":")} {($ VSub_Star "$*") (Lit_Other ":")} {(lo-date)} {(hi-date)} {(arguments)} {(expected)} ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [45168] ) ] ) (C {(exit)} {(1)}) ] spids: [45149 45150 45177 -1] ) ] spids: [45131 45135 45180] ) ] spids: [45128 45129 45183 -1] ) ] spids: [45095 45099 45186] ) (C {(echo)}) (Case to_match: {($ VSub_Name "$count") (Lit_Other ":") ($ VSub_Name "$lo") (Lit_Other ":") ($ VSub_Name "$hi") } arms: [ (case_arm pat_list: [{(Lit_Other ":") (Lit_Other ":")}] action: [(C {(echo)} {(DQ ("All recorded changes follow."))})] spids: [45203 45205 45213 -1] ) (case_arm pat_list: [{(1) (Lit_Other ":") (Lit_Other ":")}] action: [(C {(echo)} {(DQ ("Changes since the last release follow."))})] spids: [45216 45219 45227 -1] ) (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*") (Lit_Other ":") (Lit_Other ":")}] action: [ (C {(echo)} {(DQ ("Changes since the last ") ($ VSub_Name "$count") (" releases follow."))} ) ] spids: [45230 45234 45244 -1] ) (case_arm pat_list: [{(1) (Lit_Other ":") (Lit_Other "?") (Lit_Other "*") (Lit_Other ":")}] action: [ (C {(echo)} {(DQ ("Changes since ") ($ VSub_Name "$lo") (" or the last release follow."))} ) ] spids: [45247 45252 45262 -1] ) (case_arm pat_list: [ {(Lit_Other "*") (Lit_Other ":") (Lit_Other "?") (Lit_Other "*") (Lit_Other ":") (Lit_Other "*") } ] action: [(C {(echo)} {(DQ ("Changes since ") ($ VSub_Name "$lo") (" follow."))})] spids: [45265 45271 45281 -1] ) (case_arm pat_list: [ {(Lit_Other "*") (Lit_Other ":") (Lit_Other ":") (Lit_Other "?") (Lit_Other "*")} ] action: [(C {(echo)} {(DQ ("Changes before ") ($ VSub_Name "$hi") (" follow."))})] spids: [45284 45289 45299 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (C {(echo)} { (DQ ("Changes between ") ($ VSub_Name "$lo") (" and ") ($ VSub_Name "$hi") (" follow.") ) } ) ] spids: [45302 45303 45315 -1] ) ] spids: [45192 45200 45318] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:x) op:Equal rhs:{(SQ )} spids:[45321])] spids: [45321] ) (ForEach iter_name: r iter_words: [{($ VSub_Name "$INSTALLROOT")} {($ VSub_Name "$PACKAGEROOT")}] do_arg_iter: False body: (DoGroup children: [ (ForEach iter_name: s iter_words: [{($ VSub_Name "$package_src")}] do_arg_iter: False body: (DoGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:d) op: Equal rhs: {($ VSub_Name "$r") (/src/) ($ VSub_Name "$s")} spids: [45348] ) ] spids: [45348] ) (If arms: [ (if_arm cond: [(C {(test)} {(-d)} {($ VSub_Name "$d")})] action: [ (C {(cd)} {($ VSub_Name "$d")}) (ForEach iter_name: i iter_words: [{($ VSub_Name "$package")}] do_arg_iter: False body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (SimpleCommand words: [{(test)} {(-h)} {($ VSub_Name "$i")}] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [45389] ) ] ) ] action: [ (ControlFlow token: <ControlFlow_Continue continue> ) ] spids: [-1 45393] ) ] spids: [-1 45398] ) (Case to_match: {(DQ (" ") ($ VSub_Name "$x") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$i") (" ")) (Lit_Other "*") } ] action: [ (ControlFlow token: <ControlFlow_Continue continue> ) ] spids: [45412 45419 45423 -1] ) ] spids: [45401 45409 45426] ) (ForEach iter_name: f iter_words: [{(RELEASE)} {(CHANGES)} {(ChangeLog)}] do_arg_iter: False body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (C {(test)} {(-f)} {($ VSub_Name "$i") (/) ($ VSub_Name "$f") } ) ] action: [ (C {($ VSub_Name "$exec")} {(release)} {($ VSub_Name "$release")} {($ VSub_Name "$i") (/) ($ VSub_Name "$f")} ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:x) op: Equal rhs: { (DQ ($ VSub_Name "$x") (" ") ($ VSub_Name "$i") ) } spids: [45468] ) ] spids: [45468] ) (ForEach iter_name: f iter_words: [ {($ VSub_Name "$i") (/) (Lit_Other "*") (/) ($ VSub_Name "$f") } ] do_arg_iter: False body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (C {(test)} {(-f)} {($ VSub_Name "$f")} ) ] action: [ (C {($ VSub_Name "$exec")} {(release)} {($ VSub_Name "$release")} {($ VSub_Name "$f")} ) ] spids: [-1 45500] ) ] spids: [-1 45511] ) ] spids: [45489 45514] ) spids: [45481 -1] ) (ControlFlow token: <ControlFlow_Break break> ) ] spids: [-1 45455] ) ] spids: [-1 45520] ) ] spids: [45442 45523] ) spids: [45434 -1] ) ] spids: [45379 45526] ) spids: [45375 -1] ) ] spids: [-1 45363] ) ] spids: [-1 45529] ) ] spids: [45346 45532] ) spids: [45342 -1] ) ] spids: [45335 45535] ) spids: [45329 -1] ) ] spids: [44750 44751 45538 -1] ) (case_arm pat_list: [{(remove)}] action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$action") (": not implemented yet")) } ] redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[45553])] ) (C {(exit)} {(1)}) ] spids: [45541 45542 45562 -1] ) (case_arm pat_list: [{(results)}] action: [ (C {(set)} {(SQ )} {($ VSub_Name "$target")}) (C {(shift)}) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:def) op:Equal rhs:{(make)} spids:[45578])] spids: [45578] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:dir) op: Equal rhs: {($ VSub_Name "$PACKAGEBIN") (/gen)} spids: [45582] ) ] spids: [45582] ) (Case to_match: {($ VSub_Name "$verbose")} arms: [ (case_arm pat_list: [{(0)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:filter) op: Equal rhs: {(yes)} spids: [45597] ) ] spids: [45597] ) ] spids: [45594 45595 45600 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:filter) op: Equal rhs: {(cat)} spids: [45606] ) ] spids: [45606] ) ] spids: [45603 45604 45609 -1] ) ] spids: [45587 45591 45612] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:path) op:Equal rhs:{(0)} spids:[45615])] spids: [45615] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:suf) op:Equal rhs:{(out)} spids:[45619])] spids: [45619] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:on) op:Equal rhs:{(SQ )} spids:[45623])] spids: [45623] ) (While cond: [(C {(Lit_Other ":")})] body: (DoGroup children: [ (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(0)}] action: [(ControlFlow token:<ControlFlow_Break break>)] spids: [45640 45641 45645 -1] ) ] spids: [45633 45637 45648] ) (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [{(--)}] action: [(C {(shift)}) (ControlFlow token:<ControlFlow_Break break>)] spids: [45658 45659 45667 -1] ) (case_arm pat_list: [{(admin)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:dir) op: Equal rhs: {($ VSub_Name "$PACKAGESRC") (/admin)} spids: [45673] ) ] spids: [45673] ) ] spids: [45670 45671 45678 -1] ) (case_arm pat_list: [{(error) (Lit_Other "*")} {(fail) (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:filter) op: Equal rhs: {(errors)} spids: [45689] ) ] spids: [45689] ) ] spids: [45681 45686 45693 -1] ) (case_arm pat_list: [{(make)} {(test)} {(view)} {(write)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:def) op: Equal rhs: {($ VSub_Number "$1")} spids: [45706] ) ] spids: [45706] ) (Case to_match: {($ VSub_Name "$filter") (Lit_Other ":") ($ VSub_Number "$1") (Lit_Other ":") ($ VSub_Name "$SHELL") } arms: [ (case_arm pat_list: [ {(errors) (Lit_Other ":") (Lit_Other "*") (Lit_Other ":") (Lit_Other "*") } ] spids: [45721 45726 45728 -1] ) (case_arm pat_list: [ {(Lit_Other "*") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other "*") (/ksh) (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:filter) op: Equal rhs: {(rt)} spids: [45740] ) ] spids: [45740] ) ] spids: [45731 45738 45743 -1] ) ] spids: [45710 45718 45746] ) ] spids: [45696 45703 45749 -1] ) (case_arm pat_list: [{(old)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:suf) op: Equal rhs: {(old)} spids: [45755] ) ] spids: [45755] ) ] spids: [45752 45753 45759 -1] ) (case_arm pat_list: [{(on)}] action: [ (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(1)}] action: [ (SimpleCommand words: [ {(echo)} {($ VSub_Name "$command") (Lit_Other ":")} {($ VSub_Name "$action") (Lit_Other ":")} {($ VSub_Number "$1") (Lit_Other ":")} {(host)} {(pattern)} {(argument)} {(expected)} ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [45794] ) ] ) (C {(exit)} {(1)}) ] spids: [45772 45773 45803 -1] ) ] spids: [45765 45769 45806] ) (C {(shift)}) (Case to_match: {($ VSub_Name "$on")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:on) op: Equal rhs: {(DQ ($ VSub_Name "$on") ("|"))} spids: [45823] ) ] spids: [45823] ) ] spids: [45819 45821 45829 -1] ) ] spids: [45812 45816 45832] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:on) op: Equal rhs: {(DQ ($ VSub_Name "$on") ($ VSub_Number "$1"))} spids: [45835] ) ] spids: [45835] ) ] spids: [45762 45763 45842 -1] ) (case_arm pat_list: [{(path)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:path) op: Equal rhs: {(1)} spids: [45848] ) ] spids: [45848] ) ] spids: [45845 45846 45852 -1] ) (case_arm pat_list: [{(test)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:def) op: Equal rhs: {(test)} spids: [45858] ) ] spids: [45858] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:filter) op: Equal rhs: {(rt)} spids: [45862] ) ] spids: [45862] ) ] spids: [45855 45856 45866 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [(ControlFlow token:<ControlFlow_Break break>)] spids: [45869 45870 45875 -1] ) ] spids: [45651 45655 45878] ) (C {(shift)}) ] spids: [45631 45884] ) ) (Case to_match: {($ VSub_Name "$dir")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (/admin)}] action: [ (Case to_match: {($ VSub_Name "$on")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:on) op: Equal rhs: {(DQ ("*"))} spids: [45908] ) ] spids: [45908] ) ] spids: [-1 45906 45913 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:on) op: Equal rhs: {(DQ ("@(") ($ VSub_Name "$on") (")"))} spids: [45919] ) ] spids: [45919] ) ] spids: [45916 45917 45926 -1] ) ] spids: [45897 45901 45929] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:def) op: Equal rhs: {($ VSub_Name "$def") (.log/) ($ VSub_Name "$on")} spids: [45932] ) ] spids: [45932] ) ] spids: [45894 45896 45938 -1] ) ] spids: [45887 45891 45941] ) (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(0)}] action: [(C {(set)} {(DQ ($ VSub_Name "$def"))})] spids: [45951 45952 45960 -1] ) ] spids: [45944 45948 45963] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:m) op:Equal rhs:{(SQ )} spids:[45966])] spids: [45966] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:t) op:Equal rhs:{(SQ )} spids:[45969])] spids: [45969] ) (ForEach iter_name: i do_arg_iter: True body: (DoGroup children: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:k) op:Equal rhs:{(0)} spids:[45979])] spids: [45979] ) (C {(eval)} {(set)} {(SQ <"\"\"">)} {($ VSub_Name "$i")} {(-)} {($ VSub_Name "$i") (.) ($ VSub_Name "$suf")} {(-)} {($ VSub_Name "$dir") (/) ($ VSub_Name "$i")} {(-)} {($ VSub_Name "$dir") (/) ($ VSub_Name "$i") (.) ($ VSub_Name "$suf")} {(-)} ) (C {(shift)}) (ForEach iter_name: j do_arg_iter: True body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$j")} arms: [ (case_arm pat_list: [{(-)}] action: [ (Case to_match: {($ VSub_Name "$k")} arms: [ (case_arm pat_list: [{(1)}] action: [ (ControlFlow token: <ControlFlow_Continue continue> arg_word: {(2)} ) ] spids: [46043 46044 46050 -1] ) ] spids: [46036 46040 46053] ) ] spids: [46033 46034 46056 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (If arms: [ (if_arm cond: [(C {(test)} {(-f)} {($ VSub_Name "$j")})] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:k) op: Equal rhs: {(1)} spids: [46073] ) ] spids: [46073] ) (Case to_match: {(/) ($ VSub_Name "$j")} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (/test.) (Lit_Other "*")} ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:t) op: Equal rhs: { (DQ ($ VSub_Name "$t") (" ") ($ VSub_Name "$j") ) } spids: [46090] ) ] spids: [46090] ) ] spids: [46085 46088 46097 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:m) op: Equal rhs: { (DQ ($ VSub_Name "$m") (" ") ($ VSub_Name "$j") ) } spids: [46103] ) ] spids: [46103] ) ] spids: [46100 46101 46110 -1] ) ] spids: [46077 46082 46113] ) ] spids: [-1 46071] ) ] spids: [-1 46116] ) ] spids: [46059 46060 46119 -1] ) ] spids: [46026 46030 46122] ) ] spids: [46024 46125] ) spids: [-1 -1] ) (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$i") (" action output not found") ) } ] redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[46137])] ) (C {(exit)} {(1)}) ] spids: [45977 46146] ) spids: [-1 -1] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:sep) op:Equal rhs:{(SQ )} spids:[46149])] spids: [46149] ) (Case to_match: {($ VSub_Name "$t")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$path")} arms: [ (case_arm pat_list: [{(0)}] action: [ (ForEach iter_name: j iter_words: [{($ VSub_Name "$t")}] do_arg_iter: False body: (DoGroup children: [ (C {(echo)} { (DQ ($ VSub_Name "$sep") ("==> ") ($ VSub_Name "$j") (" <==")) } ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sep) op: Equal rhs: {($ VSub_Name "$nl")} spids: [46194] ) ] spids: [46194] ) (Case to_match: {($ VSub_Name "$filter")} arms: [ (case_arm pat_list: [{(cat)}] action: [ (C {($ VSub_Name "$exec")} {(cat)} {($ VSub_Name "$j")}) ] spids: [46205 46206 46215 -1] ) (case_arm pat_list: [{(errors)}] action: [ (Pipeline children: [ (C {($ VSub_Name "$exec")} {(egrep)} {(-i)} { (SQ < "\\*\\*\\*|FAIL[ES]|^TEST.* [123456789][0123456789]* error|core.*dump" > ) } {($ VSub_Name "$j")} ) (C {(sed)} {(-e)} {(SQ <"/^TEST.\\//s,/[^ ]*/,,">)}) ] negated: False ) ] spids: [46218 46219 46244 -1] ) (case_arm pat_list: [{(rt)}] action: [ (C {($ VSub_Name "$exec")} {($ VSub_Name "$KSH")} {(rt)} {(-)} {($ VSub_Name "$j")} ) ] spids: [46247 46248 46261 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (C {($ VSub_Name "$exec")} {(egrep)} {(-i)} {(SQ <"^TEST|FAIL">)} {($ VSub_Name "$j")} ) ] spids: [46264 46265 46280 -1] ) ] spids: [46198 46202 46283] ) ] spids: [46182 46286] ) spids: [46178 -1] ) ] spids: [46170 46171 46289 -1] ) (case_arm pat_list: [{(1)}] action: [(C {(echo)} {($ VSub_Name "$t")})] spids: [46292 46293 46300 -1] ) ] spids: [46163 46167 46303] ) ] spids: [46159 46161 46306 -1] ) ] spids: [46152 46156 46309] ) (Case to_match: {($ VSub_Name "$m")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$path")} arms: [ (case_arm pat_list: [{(0)}] action: [ (Case to_match: {($ VSub_Name "$filter")} arms: [ (case_arm pat_list: [{(cat)}] action: [(C {(cat)} {($ VSub_Name "$m")})] spids: [46340 46341 46348 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (If arms: [ (if_arm cond: [ (C {(test)} {(-f)} {($ VSub_Name "$HOME") (/.pkgresults)}) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:i) op: Equal rhs: { (DQ (CommandSubPart command_list: (CommandList children: [ (C {(cat)} {($ VSub_Name "$HOME") (/.pkgresults) } ) ] ) left_token: <Left_Backtick "`"> spids: [46368 46373] ) ) } spids: [46366] ) ] spids: [46366] ) (Case to_match: {($ VSub_Name "$i")} arms: [ (case_arm pat_list: [{(SQ <"|">) (Lit_Other "*")}] spids: [46385 46388 46390 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:i) op: Equal rhs: {(DQ ("|") ($ VSub_Name "$i"))} spids: [46396] ) ] spids: [46396] ) ] spids: [46393 46394 46402 -1] ) ] spids: [46377 46381 46405] ) ] spids: [-1 46364] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:i) op: Equal rhs: {(SQ )} spids: [46410] ) ] spids: [46410] ) ] spids: [46408 46413] ) (ForEach iter_name: j iter_words: [{($ VSub_Name "$m")}] do_arg_iter: False body: (DoGroup children: [ (C {(echo)} { (DQ ($ VSub_Name "$sep") ("==> ") ($ VSub_Name "$j") (" <==") ) } ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sep) op: Equal rhs: {($ VSub_Name "$nl")} spids: [46437] ) ] spids: [46437] ) (Case to_match: {($ VSub_Name "$filter")} arms: [ (case_arm pat_list: [{(errors)}] action: [ (C {($ VSub_Name "$exeg")} {(egrep)} {(SQ <"^pax:|\\*\\*\\*">)} {($ VSub_Name "$j")} ) ] spids: [46448 46449 46462 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Pipeline children: [ (C {($ VSub_Name "$exec")} {(egrep)} {(-iv)} { (SQ < "^($|\u001b|[\\+\\[]|cc[^-:]|kill |make.*(file system time|has been replaced)|so|[0123456789]+ error|uncrate |[0123456789]+ block|ar: creat|iffe: test: |conf: (check|generate|test)|[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789]*=|gsf@research|ar:.*warning|cpio:|ld:.*(duplicate symbol|to obtain more information)|[0123456789]*$|(checking|creating|touch) [/abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789])| obsolete predefined symbol | is (almost always misused|dangerous|deprecated|not implemented)| trigraph| assigned to | cast .* different size| integer overflow .*<<| optimization may be attained | passed as |::__builtin|pragma.*prototyped|^creating.*\\.a$|warning.*not optimized|exceeds size thresh|ld:.*preempts|is unchanged|with value >=|(-l|lib)\\*|/(ast|sys)/(dir|limits|param|stropts)\\.h.*redefined|usage|base registers|`\\.\\.\\.` obsolete" > ) (DQ ($ VSub_Name "$i")) } {($ VSub_Name "$j")} ) (C {($ VSub_Name "$exec")} {(grep)} {(Lit_Other ":")} ) ] negated: False ) ] spids: [46465 46466 46493 -1] ) ] spids: [46441 46445 46496] ) ] spids: [46425 46499] ) spids: [46421 -1] ) ] spids: [46351 46352 46502 -1] ) ] spids: [46333 46337 46505] ) ] spids: [46330 46331 46508 -1] ) (case_arm pat_list: [{(1)}] action: [(C {(echo)} {($ VSub_Name "$m")})] spids: [46511 46512 46519 -1] ) ] spids: [46323 46327 46522] ) ] spids: [46319 46321 -1 46525] ) ] spids: [46312 46316 46525] ) ] spids: [45565 45566 46528 -1] ) (case_arm pat_list: [{(test)}] action: [ (C {(requirements)} {(source)} {($ VSub_Name "$package")}) (C {(components)} {($ VSub_Name "$package")}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:package) op: Equal rhs: {($ VSub_Name "$_components_")} spids: [46546] ) ] spids: [46546] ) (Case to_match: {($ VSub_Name "$only")} arms: [ (case_arm pat_list: [{(0)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:only) op: Equal rhs: {(SQ )} spids: [46560] ) ] spids: [46560] ) ] spids: [46557 46558 46562 -1] ) (case_arm pat_list: [{(1)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:only) op: Equal rhs: {(--recurse) (Lit_Other "=") (only)} spids: [46568] ) ] spids: [46568] ) ] spids: [46565 46566 46573 -1] ) ] spids: [46550 46554 46576] ) (If arms: [ (if_arm cond: [(C {(nonmake)} {($ VSub_Name "$MAKE")})] action: [ (SimpleCommand words: [ {(echo)} {($ VSub_Name "$command") (Lit_Other ":")} {($ VSub_Name "$action") (Lit_Other ":")} {(must)} {(have)} {($ VSub_Name "$MAKE")} {(to)} {(test)} ] redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[46612])] ) (C {(exit)} {(1)}) ] spids: [-1 46592] ) ] spids: [-1 46621] ) (C {($ VSub_Name "$make")} {(cd)} {($ VSub_Name "$INSTALLROOT") (/src)}) (AndOr children: [ (Subshell child: (C {(ulimit)} {(-c)} {(0)}) redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(/dev/null)} spids: [46652] ) (Redir op_id: Redir_GreatAnd fd: 2 arg_word: {(1)} spids: [46656] ) ] spids: [46644 46650] ) (C {(ulimit)} {(-c)} {(0)}) ] op_id: Op_DAmp ) (C {(eval)} {(capture)} {(EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (MAKE)} {(EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (makeflags)} {(EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (noexec)} {(EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (only)} {(recurse)} {(test)} {(EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (target)} {(EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (nmakesep)} {(EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (package)} {($ VSub_Name "$assign")} ) ] spids: [46531 46532 46706 -1] ) (case_arm pat_list: [{(update)}] action: [ (If arms: [ (if_arm cond: [ (C {(test)} {(KW_Bang "!")} {(-d)} {($ VSub_Name "$PACKAGEROOT") (/lib/package/tgz)}) ] action: [ (AndOr children: [ (C {($ VSub_Name "$exec")} {(mkdir)} {(-p)} {($ VSub_Name "$PACKAGEROOT") (/lib/package/tgz)} ) (C {(exit)}) ] op_id: Op_DPipe ) (C {($ VSub_Name "$exec")} {(cd)} {($ VSub_Name "$PACKAGEROOT") (/lib/package/tgz)}) ] spids: [-1 46734] ) ] else_action: [(C {(cd)} {($ VSub_Name "$PACKAGEROOT") (/lib/package/tgz)})] spids: [46758 46766] ) (C {(set)} {(SQ )} {($ VSub_Name "$args")}) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:op) op:Equal rhs:{(update)} spids:[46783])] spids: [46783] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:tgz) op:Equal rhs:{(tgz)} spids:[46787])] spids: [46787] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:source) op:Equal rhs:{(SQ )} spids:[46791])] spids: [46791] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:binary) op:Equal rhs:{(SQ )} spids:[46794])] spids: [46794] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:setup) op:Equal rhs:{(SQ )} spids:[46797])] spids: [46797] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:types) op:Equal rhs:{(SQ )} spids:[46800])] spids: [46800] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:url) op:Equal rhs:{(SQ )} spids:[46803])] spids: [46803] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:urlfile) op: Equal rhs: {($ VSub_Name "$default_url")} spids: [46806] ) ] spids: [46806] ) (While cond: [(C {(Lit_Other ":")})] body: (DoGroup children: [ (C {(shift)}) (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(0)}] action: [(ControlFlow token:<ControlFlow_Break break>)] spids: [46827 46828 46832 -1] ) ] spids: [46820 46824 46835] ) (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [{(--)}] action: [(C {(shift)}) (ControlFlow token:<ControlFlow_Break break>)] spids: [46845 46846 46854 -1] ) (case_arm pat_list: [{(beta)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:op) op: Equal rhs: {(beta)} spids: [46860] ) ] spids: [46860] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:tgz) op: Equal rhs: {(beta)} spids: [46864] ) ] spids: [46864] ) ] spids: [46857 46858 46868 -1] ) (case_arm pat_list: [{(binary)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:binary) op: Equal rhs: {(1)} spids: [46874] ) ] spids: [46874] ) ] spids: [46871 46872 46878 -1] ) (case_arm pat_list: [{(setup)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:setup) op: Equal rhs: {(1)} spids: [46884] ) ] spids: [46884] ) ] spids: [46881 46882 46888 -1] ) (case_arm pat_list: [{(source)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:source) op: Equal rhs: {(1)} spids: [46894] ) ] spids: [46894] ) ] spids: [46891 46892 46898 -1] ) (case_arm pat_list: [{(Lit_Other "*") (Lit_Other ":") (//) (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:url) op: Equal rhs: {($ VSub_Number "$1")} spids: [46907] ) ] spids: [46907] ) (C {(shift)}) (ControlFlow token:<ControlFlow_Break break>) ] spids: [46901 46905 46917 -1] ) (case_arm pat_list: [{(Lit_Other "*") (.url)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:urlfile) op: Equal rhs: {($ VSub_Number "$1")} spids: [46924] ) ] spids: [46924] ) (If arms: [ (if_arm cond: [(C {(test)} {(KW_Bang "!")} {(-s)} {($ VSub_Name "$urlfile")})] action: [ (Sentence child: (SimpleCommand words: [ {(echo)} {($ VSub_Name "$command") (Lit_Other ":")} {($ VSub_Name "$urlfile") (Lit_Other ":")} {(not)} {(found)} ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [46953] ) ] ) terminator: <Op_Semi ";"> ) (C {(exit)} {(1)}) ] spids: [-1 46939] ) ] spids: [-1 46962] ) (ControlFlow token:<ControlFlow_Break break>) ] spids: [46920 46922 46968 -1] ) (case_arm pat_list: [{($ VSub_Name "$all_types")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:binary) op: Equal rhs: {(1)} spids: [46975] ) ] spids: [46975] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:types) op: Equal rhs: {(DQ ($ VSub_Name "$types") (" ") ($ VSub_Number "$1"))} spids: [46979] ) ] spids: [46979] ) ] spids: [46971 46972 46987 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [(ControlFlow token:<ControlFlow_Break break>)] spids: [46990 46991 46996 -1] ) ] spids: [46838 46842 46999] ) ] spids: [46815 47002] ) ) (Case to_match: {($ VSub_Name "$source") (Lit_Other ":") ($ VSub_Name "$binary")} arms: [ (case_arm pat_list: [{(Lit_Other ":")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:source) op: Equal rhs: {(1)} spids: [47017] ) (assign_pair lhs: (LhsName name:binary) op: Equal rhs: {(1)} spids: [47020] ) ] spids: [47017] ) ] spids: [47014 47015 47024 -1] ) (case_arm pat_list: [{(Lit_Other ":") (1)}] action: [ (Case to_match: {($ VSub_Name "$types")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:types) op: Equal rhs: {($ VSub_Name "$HOSTTYPE")} spids: [47042] ) ] spids: [47042] ) ] spids: [-1 47040 47045 -1] ) ] spids: [47031 47035 47048] ) ] spids: [47027 47029 47051 -1] ) ] spids: [47005 47011 47054] ) (Case to_match: {($ VSub_Name "$url")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Case to_match: {($ VSub_Name "$urlfile")} arms: [ (case_arm pat_list: [{($ VSub_Name "$default_url")}] action: [ (If arms: [ (if_arm cond: [(C {(test)} {(KW_Bang "!")} {(-s)} {($ VSub_Name "$urlfile")})] action: [ (Sentence child: (SimpleCommand words: [ {(echo)} {($ VSub_Name "$command") (Lit_Other ":")} {(url)} {(argument)} {(expected)} ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [47103] ) ] ) terminator: <Op_Semi ";"> ) (C {(exit)} {(1)}) ] spids: [-1 47090] ) ] spids: [-1 47112] ) ] spids: [47075 47076 47115 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:default_url) op: Equal rhs: {(SQ )} spids: [47121] ) ] spids: [47121] ) ] spids: [47118 47119 47124 -1] ) ] spids: [47068 47072 47127] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:url) op:Equal rhs:{(SQ )} spids:[47130])] spids: [47130] ) (If arms: [ (if_arm cond: [ (SimpleCommand words: [{(grep)} {(SQ <"^url=">)} {($ VSub_Name "$urlfile")}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(/dev/null)} spids: [47143] ) ] ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:a) op: Equal rhs: {($ VSub_Name "$authorize")} spids: [47149] ) ] spids: [47149] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:p) op: Equal rhs: {($ VSub_Name "$password")} spids: [47153] ) ] spids: [47153] ) (Case to_match: {($ VSub_Name "$urlfile")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (/) (Lit_Other "*")}] spids: [47164 47167 47169 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:urlfile) op: Equal rhs: {(./) ($ VSub_Name "$urlfile")} spids: [47175] ) ] spids: [47175] ) ] spids: [47172 47173 47179 -1] ) ] spids: [47157 47161 47182] ) (C {(.)} {($ VSub_Name "$urlfile")}) (Case to_match: {($ VSub_Name "$a") (Lit_Other ":") ($ VSub_Name "$p")} arms: [ (case_arm pat_list: [ {($ VSub_Name "$authorize") (Lit_Other ":") ($ VSub_Name "$password") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:default_url) op: Equal rhs: {(SQ )} spids: [47205] ) ] spids: [47205] ) ] spids: [47199 47202 47208 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$a")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:authorize) op: Equal rhs: {($ VSub_Name "$a")} spids: [47225] ) ] spids: [47225] ) ] spids: [47221 47223 47228 -1] ) ] spids: [47214 47218 47231] ) (Case to_match: {($ VSub_Name "$p")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:password) op: Equal rhs: {($ VSub_Name "$p")} spids: [47245] ) ] spids: [47245] ) ] spids: [47241 47243 47248 -1] ) ] spids: [47234 47238 47251] ) ] spids: [47211 47212 47254 -1] ) ] spids: [47190 47196 47257] ) ] spids: [-1 47147] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:url) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [(C {(cat)} {($ VSub_Name "$urlfile")})] ) left_token: <Left_Backtick "`"> spids: [47263 47267] ) } spids: [47262] ) ] spids: [47262] ) ] spids: [47260 47270] ) ] spids: [-1 47066 47273 -1] ) ] spids: [47057 47061 47276] ) (Case to_match: {($ VSub_Name "$exec")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:default_url) op: Equal rhs: {(SQ )} spids: [47290] ) ] spids: [47290] ) ] spids: [47286 47288 47292 -1] ) ] spids: [47279 47283 47295] ) (C {(eval)} { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Name "$url")}) (C {(sed)} { (SQ < "s,\\(.*\\)://\\([^/]*\\)/\\(.*\\),prot=\\\"\\1\\\" host=\\\"\\2\\\" dir=\\\"\\3\\\"," > ) } ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [47306 47318] ) } ) (C {(get)} {($ VSub_Name "$host")} {($ VSub_Name "$dir") (/) ($ VSub_Name "$op") (.html)}) (Case to_match: {(DQ (" ") ($ VSub_Star "$*") (" "))} arms: [ (case_arm pat_list: [{(Lit_Other "*") (DQ (" - ")) (Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$source")} arms: [ (case_arm pat_list: [{(1)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:source_packages) op: Equal rhs: {($ VSub_Star "$*")} spids: [47364] ) ] spids: [47364] ) ] spids: [47361 47362 47367 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:source_packages) op: Equal rhs: {(SQ )} spids: [47373] ) ] spids: [47373] ) ] spids: [47370 47371 47375 -1] ) ] spids: [47354 47358 47378] ) (Case to_match: {($ VSub_Name "$binary")} arms: [ (case_arm pat_list: [{(1)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:binary_packages) op: Equal rhs: {($ VSub_Star "$*")} spids: [47391] ) ] spids: [47391] ) ] spids: [47388 47389 47394 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:binary_packages) op: Equal rhs: {(SQ )} spids: [47400] ) ] spids: [47400] ) ] spids: [47397 47398 47402 -1] ) ] spids: [47381 47385 47405] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:package_hit) op: Equal rhs: {($ VSub_Star "$*")} spids: [47408] ) ] spids: [47408] ) ] spids: [47348 47353 47412 -1] ) (case_arm pat_list: [{(DQ (" "))}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:nl) op: Equal rhs: {(DQ ("\n"))} spids: [47420] ) ] spids: [47420] ) (Case to_match: {($ VSub_Name "$source")} arms: [ (case_arm pat_list: [{(1)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:p) op: Equal rhs: {(SQ )} spids: [47436] ) ] spids: [47436] ) (ForEach iter_name: f iter_words: [ { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [ {(ls)} {(Lit_Other "*") (.) (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (-) (Lit_Other "?") (Lit_Other "?") (-) (Lit_Other "?") (Lit_Other "?") (.) (Lit_Other "*") } ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [47463] ) ] ) ] ) left_token: <Left_Backtick "`"> spids: [47445 47465] ) } ] do_arg_iter: False body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$f")} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (.) (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (-) (Lit_Other "?") (Lit_Other "?") (-) (Lit_Other "?") (Lit_Other "?") (.) (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (-) (Lit_Other "?") (Lit_Other "?") (-) (Lit_Other "?") (Lit_Other "?") (.) (Lit_Other "*") (.) (Lit_Other "*") } ] spids: [47477 47504 47507 -1] ) (case_arm pat_list: [ {(Lit_Other "*") (.) (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (-) (Lit_Other "?") (Lit_Other "?") (-) (Lit_Other "?") (Lit_Other "?") (.) (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (-) (Lit_Other "?") (Lit_Other "?") (-) (Lit_Other "?") (Lit_Other "?") (.) (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:p) op: Equal rhs: {($ VSub_Name "$p") ($ VSub_Name "$nl") ($ VSub_Name "$f") } spids: [47538] ) ] spids: [47538] ) ] spids: [47510 47535 47544 -1] ) (case_arm pat_list: [ {(Lit_Other "*") (.) (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (-) (Lit_Other "?") (Lit_Other "?") (-) (Lit_Other "?") (Lit_Other "?") (.) (Lit_Other "*") (.) (Lit_Other "*") } ] spids: [47547 47563 47566 -1] ) (case_arm pat_list: [ {(Lit_Other "*") (.) (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (-) (Lit_Other "?") (Lit_Other "?") (-) (Lit_Other "?") (Lit_Other "?") (.) (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:p) op: Equal rhs: {($ VSub_Name "$p") ($ VSub_Name "$nl") ($ VSub_Name "$f") } spids: [47586] ) ] spids: [47586] ) ] spids: [47569 47583 47592 -1] ) ] spids: [47470 47474 47595] ) ] spids: [47468 47598] ) spids: [47444 -1] ) (C {(set)} {(SQ )} { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {(DQ ($ VSub_Name "$p"))}) (C {(sed)} {(SQ <"s,\\..*,,">)}) (C {(sort)} {(-u)}) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [47606 47626] ) } ) (C {(shift)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:source_packages) op: Equal rhs: {($ VSub_Star "$*")} spids: [47632] ) ] spids: [47632] ) ] spids: [47433 47434 47636 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:source_packages) op: Equal rhs: {(SQ )} spids: [47642] ) ] spids: [47642] ) ] spids: [47639 47640 47645 -1] ) ] spids: [47426 47430 47648] ) (Case to_match: {($ VSub_Name "$binary")} arms: [ (case_arm pat_list: [{(1)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:p) op: Equal rhs: {(SQ )} spids: [47661] ) ] spids: [47661] ) (ForEach iter_name: f iter_words: [ { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [ {(ls)} {(Lit_Other "*") (.) (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (-) (Lit_Other "?") (Lit_Other "?") (-) (Lit_Other "?") (Lit_Other "?") (.) (Lit_Other "*") } ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [47688] ) ] ) ] ) left_token: <Left_Backtick "`"> spids: [47670 47690] ) } ] do_arg_iter: False body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$f")} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (.) (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (-) (Lit_Other "?") (Lit_Other "?") (-) (Lit_Other "?") (Lit_Other "?") (.) (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (-) (Lit_Other "?") (Lit_Other "?") (-) (Lit_Other "?") (Lit_Other "?") (.) (Lit_Other "*") (.) (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:p) op: Equal rhs: {($ VSub_Name "$p") ($ VSub_Name "$nl") ($ VSub_Name "$f") } spids: [47732] ) ] spids: [47732] ) ] spids: [47702 47729 47738 -1] ) (case_arm pat_list: [ {(Lit_Other "*") (.) (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (-) (Lit_Other "?") (Lit_Other "?") (-) (Lit_Other "?") (Lit_Other "?") (.) (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (-) (Lit_Other "?") (Lit_Other "?") (-) (Lit_Other "?") (Lit_Other "?") (.) (Lit_Other "*") } ] spids: [47741 47766 47769 -1] ) (case_arm pat_list: [ {(Lit_Other "*") (.) (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (-) (Lit_Other "?") (Lit_Other "?") (-) (Lit_Other "?") (Lit_Other "?") (.) (Lit_Other "*") (.) (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:p) op: Equal rhs: {($ VSub_Name "$p") ($ VSub_Name "$nl") ($ VSub_Name "$f") } spids: [47791] ) ] spids: [47791] ) ] spids: [47772 47788 47797 -1] ) (case_arm pat_list: [ {(Lit_Other "*") (.) (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (-) (Lit_Other "?") (Lit_Other "?") (-) (Lit_Other "?") (Lit_Other "?") (.) (Lit_Other "*") } ] spids: [47800 47814 47817 -1] ) ] spids: [47695 47699 47820] ) ] spids: [47693 47823] ) spids: [47669 -1] ) (C {(set)} {(SQ )} { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {(DQ ($ VSub_Name "$p"))}) (C {(sed)} {(SQ <"s,\\..*,,">)}) (C {(sort)} {(-u)}) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [47831 47851] ) } ) (C {(shift)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:binary_packages) op: Equal rhs: {($ VSub_Star "$*")} spids: [47857] ) ] spids: [47857] ) ] spids: [47658 47659 47861 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:binary_packages) op: Equal rhs: {(SQ )} spids: [47867] ) ] spids: [47867] ) ] spids: [47864 47865 47870 -1] ) ] spids: [47651 47655 47873] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:package_hit) op: Equal rhs: { (DQ ($ VSub_Name "$source_packages") (" ") ($ VSub_Name "$binary_packages") ) } spids: [47876] ) ] spids: [47876] ) ] spids: [47416 47418 47884 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$source")} arms: [ (case_arm pat_list: [{(1)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:source_packages) op: Equal rhs: {($ VSub_Star "$*")} spids: [47900] ) ] spids: [47900] ) ] spids: [47897 47898 47903 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:source_packages) op: Equal rhs: {(SQ )} spids: [47909] ) ] spids: [47909] ) ] spids: [47906 47907 47911 -1] ) ] spids: [47890 47894 47914] ) (Case to_match: {($ VSub_Name "$binary")} arms: [ (case_arm pat_list: [{(1)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:binary_packages) op: Equal rhs: {($ VSub_Star "$*")} spids: [47927] ) ] spids: [47927] ) ] spids: [47924 47925 47930 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:binary_packages) op: Equal rhs: {(SQ )} spids: [47936] ) ] spids: [47936] ) ] spids: [47933 47934 47938 -1] ) ] spids: [47917 47921 47941] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:package_hit) op: Equal rhs: {(SQ )} spids: [47944] ) ] spids: [47944] ) ] spids: [47887 47888 47947 -1] ) ] spids: [47337 47345 47950] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:types_test) op:Equal rhs:{(SQ )} spids:[47959])] spids: [47959] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:types_local) op:Equal rhs:{(SQ )} spids:[47962])] spids: [47962] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:dir) op: Equal rhs: {($ VSub_Name "$dir") (/) ($ VSub_Name "$tgz")} spids: [47965] ) ] spids: [47965] ) (Case to_match: {($ VSub_Name "$default_url")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (SimpleCommand words: [ {(echo)} { (DQ ("url='") ($ VSub_Name "$url") ("' authorize='") ($ VSub_Name "$authorize") ("' password='") ($ VSub_Name "$password") ("'") ) } ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {($ VSub_Name "$default_url")} spids: [47994] ) ] ) (Case to_match: {($ VSub_Name "$authorize")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [(C {(chmod)} {(go-rwx)} {($ VSub_Name "$default_url")})] spids: [48006 48008 48016 -1] ) ] spids: [47999 48003 48019] ) ] spids: [47978 47980 48022 -1] ) ] spids: [47971 47975 48025] ) (SimpleCommand words: [{(echo)} {(DQ ($ VSub_Name "$got"))}] redirects: [(Redir op_id:Redir_Great fd:-1 arg_word:{(got.tmp)} spids:[48034])] ) (Case to_match: {($ VSub_Name "$only")} arms: [ (case_arm pat_list: [{(0)}] action: [ (SimpleCommand words: [{(exec)}] redirects: [(Redir op_id:Redir_Less fd:-1 arg_word:{(got.tmp)} spids:[48051])] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:covered) op: Equal rhs: {(SQ )} spids: [48056] ) ] spids: [48056] ) (While cond: [ (C {(read)} {(name)} {(suffix)} {(type)} {(base)} {(base_size)} {(delta)} {(delta_size)} {(sync)} {(sync_size)} {(requires)} {(covers)} {(base_sum)} {(delta_sum)} {(sync_sum)} {(comment)} ) ] body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$requires")} arms: [ (case_arm pat_list: [{(SQ )} {(-) (Lit_Other "*")}] action: [(ControlFlow token:<ControlFlow_Continue continue>)] spids: [-1 48108 48112 -1] ) ] spids: [48096 48100 48115] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:IFS) op: Equal rhs: {(Lit_Other ":")} spids: [48118] ) ] spids: [48118] ) (C {(set)} {(SQ )} {($ VSub_Name "$requires")}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:IFS) op: Equal rhs: {($ VSub_Name "$ifs")} spids: [48130] ) ] spids: [48130] ) (Case to_match: {($ VSub_Name "$type")} arms: [ (case_arm pat_list: [{(-)}] action: [ (Case to_match: {(DQ (" ") ($ VSub_Name "$source_packages") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$name") (" ")) (Lit_Other "*") } {(Lit_Other "*") (DQ (" - ")) (Lit_Other "*")} ] action: [ (ForEach iter_name: name do_arg_iter: True body: (DoGroup children: [ (Case to_match: { (DQ (" ") ($ VSub_Name "$source_packages") (" ") ) } arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$name") (" ")) (Lit_Other "*") } ] spids: [48189 48196 48199 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:source_packages) op: Equal rhs: { (DQ ($ VSub_Name "$source_packages" ) (" ") ($ VSub_Name "$name") ) } spids: [48205] ) ] spids: [48205] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:covered) op: Equal rhs: {($ VSub_Name "$covered") (Lit_Other ":") ($ VSub_Name "$covers") } spids: [48213] ) ] spids: [48213] ) ] spids: [48202 48203 48219 -1] ) ] spids: [48178 48186 48222] ) ] spids: [48176 48225] ) spids: [-1 -1] ) ] spids: [48155 48168 48228 -1] ) ] spids: [48144 48152 48231] ) ] spids: [48141 48142 48234 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {(DQ (" ") ($ VSub_Name "$binary_packages") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$name") (" ")) (Lit_Other "*") } {(Lit_Other "*") (DQ (" - ")) (Lit_Other "*")} ] action: [ (ForEach iter_name: name do_arg_iter: True body: (DoGroup children: [ (Case to_match: { (DQ (" ") ($ VSub_Name "$binary_packages") (" ") ) } arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$name") (" ")) (Lit_Other "*") } ] spids: [48285 48292 48295 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:binary_packages) op: Equal rhs: { (DQ ($ VSub_Name "$binary_packages" ) (" ") ($ VSub_Name "$name") ) } spids: [48301] ) ] spids: [48301] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:covered) op: Equal rhs: {($ VSub_Name "$covered") (Lit_Other ":") ($ VSub_Name "$covers") } spids: [48309] ) ] spids: [48309] ) ] spids: [48298 48299 48315 -1] ) ] spids: [48274 48282 48318] ) ] spids: [48272 48321] ) spids: [-1 -1] ) ] spids: [48251 48264 48324 -1] ) ] spids: [48240 48248 48327] ) ] spids: [48237 48238 48330 -1] ) ] spids: [48134 48138 48333] ) ] spids: [48094 48336] ) ) (Case to_match: {($ VSub_Name "$covered")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:x) op: Equal rhs: {($ VSub_Name "$source_packages")} spids: [48350] ) ] spids: [48350] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:source_packages) op: Equal rhs: {(SQ )} spids: [48354] ) ] spids: [48354] ) (ForEach iter_name: name iter_words: [{($ VSub_Name "$x")}] do_arg_iter: False body: (DoGroup children: [ (Case to_match: {(Lit_Other ":") ($ VSub_Name "$covered") (Lit_Other ":")} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (Lit_Other ":") ($ VSub_Name "$name") (Lit_Other ":") (Lit_Other "*") } ] spids: [48377 48382 48384 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:source_packages) op: Equal rhs: { (DQ ($ VSub_Name "$source_packages") (" ") ($ VSub_Name "$name") ) } spids: [48390] ) ] spids: [48390] ) ] spids: [48387 48388 48397 -1] ) ] spids: [48368 48374 48400] ) ] spids: [48366 48403] ) spids: [48362 -1] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:x) op: Equal rhs: {($ VSub_Name "$binary_packages")} spids: [48406] ) ] spids: [48406] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:binary_packages) op: Equal rhs: {(SQ )} spids: [48410] ) ] spids: [48410] ) (ForEach iter_name: name iter_words: [{($ VSub_Name "$x")}] do_arg_iter: False body: (DoGroup children: [ (Case to_match: {(Lit_Other ":") ($ VSub_Name "$covered") (Lit_Other ":")} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (Lit_Other ":") ($ VSub_Name "$name") (Lit_Other ":") (Lit_Other "*") } ] spids: [48433 48438 48440 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:binary_packages) op: Equal rhs: { (DQ ($ VSub_Name "$binary_packages") (" ") ($ VSub_Name "$name") ) } spids: [48446] ) ] spids: [48446] ) ] spids: [48443 48444 48453 -1] ) ] spids: [48424 48430 48456] ) ] spids: [48422 48459] ) spids: [48418 -1] ) ] spids: [48346 48348 48462 -1] ) ] spids: [48339 48343 48465] ) ] spids: [48046 48047 48468 -1] ) ] spids: [48039 48043 48471] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:checksum) op:Equal rhs:{(SQ )} spids:[48474])] spids: [48474] ) (ForEach iter_name: i iter_words: [{($ VSub_Name "$checksum_commands")}] do_arg_iter: False body: (DoGroup children: [ (Case to_match: { (CommandSubPart command_list: (CommandList children: [ (Subshell child: (C {($ VSub_Name "$i")}) redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: {(/dev/null)} spids: [48497] ) (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [48501] ) ] spids: [48491 48495] ) ] ) left_token: <Left_Backtick "`"> spids: [48490 48504] ) } arms: [ (case_arm pat_list: [ {(${ VSub_Name checksum_empty)} {(${ VSub_Name checksum_empty) (Lit_Other "[") (EscapedLiteralPart token: <Lit_EscapedChar "\\ "> ) (EscapedLiteralPart token:<Lit_EscapedChar "\\\t">) (Lit_Other "]") (Lit_Other "*") } ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:checksum) op: Equal rhs: {($ VSub_Name "$i")} spids: [48524] ) ] spids: [48524] ) (ControlFlow token:<ControlFlow_Break break>) ] spids: [48509 48521 48531 -1] ) ] spids: [48488 48506 48534] ) ] spids: [48486 48537] ) spids: [48482 -1] ) (Case to_match: {($ VSub_Name "$checksum")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (SimpleCommand words: [ {(echo)} {($ VSub_Name "$command") (Lit_Other ":")} {(warning) (Lit_Other ":")} {(SQ <"{">)} {($ VSub_Name "$checksum_commands")} {(SQ <"}">)} {(command)} {(not)} {(found)} {(--)} {(only)} {(download)} {(sizes)} {(will)} {(be)} {(checked)} ] redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[48589])] ) ] spids: [-1 48549 48592 -1] ) ] spids: [48540 48544 48595] ) (SimpleCommand words: [{(exec)}] redirects: [(Redir op_id:Redir_Less fd:-1 arg_word:{(got.tmp)} spids:[48600])] ) (While cond: [ (C {(read)} {(name)} {(suffix)} {(type)} {(base)} {(base_size)} {(delta)} {(delta_size)} {(sync)} {(sync_size)} {(requires)} {(covers)} {(base_sum)} {(delta_sum)} {(sync_sum)} {(comment)} ) ] body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$verbose")} arms: [ (case_arm pat_list: [{(1)}] action: [ (Case to_match: {($ VSub_Name "$type")} arms: [ (case_arm pat_list: [{(-)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:i) op: Equal rhs: {(SQ )} spids: [48662] ) ] spids: [48662] ) ] spids: [48659 48660 48664 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:i) op: Equal rhs: {(.) ($ VSub_Name "$type")} spids: [48670] ) ] spids: [48670] ) ] spids: [48667 48668 48674 -1] ) ] spids: [48652 48656 48677] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:j) op: Equal rhs: { (DQ ($ VSub_Name "$name") (.) ($ VSub_Name "$base") ($ VSub_Name "$i") (.) ($ VSub_Name "$suffix") ) } spids: [48680] ) ] spids: [48680] ) (Case to_match: {($ VSub_Name "$delta")} arms: [ (case_arm pat_list: [{(-)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:j) op: Equal rhs: {(DQ ($ VSub_Name "$j") (" -"))} spids: [48701] ) ] spids: [48701] ) ] spids: [48698 48699 48707 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:j) op: Equal rhs: { (DQ ($ VSub_Name "$j") (" ") ($ VSub_Name "$name") (.) ($ VSub_Name "$base") (.) ($ VSub_Name "$delta") ($ VSub_Name "$i") (.) ($ VSub_Name "$suffix") ) } spids: [48713] ) ] spids: [48713] ) ] spids: [48710 48711 48727 -1] ) ] spids: [48691 48695 48730] ) (Case to_match: {($ VSub_Name "$sync")} arms: [ (case_arm pat_list: [{(-)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:j) op: Equal rhs: {(DQ ($ VSub_Name "$j") (" -"))} spids: [48743] ) ] spids: [48743] ) ] spids: [48740 48741 48749 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:j) op: Equal rhs: { (DQ ($ VSub_Name "$j") (" ") ($ VSub_Name "$name") (.) ($ VSub_Name "$base") (.) ($ VSub_Name "$sync") ($ VSub_Name "$i") (.) ($ VSub_Name "$suffix") ) } spids: [48755] ) ] spids: [48755] ) ] spids: [48752 48753 48769 -1] ) ] spids: [48733 48737 48772] ) (SimpleCommand words: [ {(echo)} {($ VSub_Name "$command") (Lit_Other ":")} {($ VSub_Name "$j")} {($ VSub_Name "$base_size") (Lit_Other ":") ($ VSub_Name "$base_sum")} {($ VSub_Name "$delta_size") (Lit_Other ":") ($ VSub_Name "$delta_sum") } {($ VSub_Name "$sync_size") (Lit_Other ":") ($ VSub_Name "$sync_sum")} {($ VSub_Name "$requires")} ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [48796] ) ] ) ] spids: [48649 48650 -1 48800] ) ] spids: [48642 48646 48800] ) (Case to_match: {(DQ (" ") ($ VSub_Name "$package_hit") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$name") (" ")) (Lit_Other "*")} {(Lit_Other "*") (DQ (" - ")) (Lit_Other "*")} ] spids: [48814 48827 48830 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:package_hit) op: Equal rhs: {(DQ ($ VSub_Name "$package_hit") (" ") ($ VSub_Name "$name"))} spids: [48836] ) ] spids: [48836] ) ] spids: [48833 48834 48844 -1] ) ] spids: [48803 48811 48847] ) (Case to_match: {($ VSub_Name "$type")} arms: [ (case_arm pat_list: [{(-)}] action: [ (Case to_match: {(DQ (" ") ($ VSub_Name "$source_packages") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$name") (" ")) (Lit_Other "*") } {(Lit_Other "*") (DQ (" - ")) (Lit_Other "*")} ] action: [ (If arms: [ (if_arm cond: [(C {(test)} {(-s)} {($ VSub_Name "$name") (.tim)})] action: [(ControlFlow token:<ControlFlow_Continue continue>)] spids: [-1 48897] ) ] spids: [-1 48902] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:lcl) op: Equal rhs: {($ VSub_Name "$name") (.) ($ VSub_Name "$base") (.) ($ VSub_Name "$suffix") } spids: [48905] ) ] spids: [48905] ) (If arms: [ (if_arm cond: [(C {(test)} {(-f)} {($ VSub_Name "$lcl")})] action: [ (Case to_match: {($ VSub_Name "$checksum") (Lit_Other ":") ($ VSub_Name "$base_sum") } arms: [ (case_arm pat_list: [ {(Lit_Other ":") (Lit_Other "*")} {(Lit_Other "*") (Lit_Other ":") (-)} ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:size) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (SimpleCommand words: [{(wc)} {(-c)}] redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: { ($ VSub_Name "$lcl" ) } spids: [48947] ) ] ) (C {(sed)} {(SQ <"s, ,,g">)}) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [48942 48958] ) } spids: [48941] ) (assign_pair lhs: (LhsName name:sum) op: Equal rhs: {($ VSub_Name "$base_sum")} spids: [48960] ) ] spids: [48941] ) ] spids: [48933 48939 48963 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:size) op: Equal rhs: {($ VSub_Name "$base_size")} spids: [48969] ) (assign_pair lhs: (LhsName name:sum) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (SimpleCommand words: [ { ($ VSub_Name "$checksum" ) } ] redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: { ($ VSub_Name "$lcl" ) } spids: [48976] ) ] ) (C {(sed)} {(-e)} { (SQ < "s,^[ \t][ \t]*,," > ) } {(-e)} {(SQ <"s,[ \t].*,,">)} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [48973 48995] ) } spids: [48972] ) ] spids: [48969] ) ] spids: [48966 48967 48997 -1] ) ] spids: [48924 48930 49000] ) ] spids: [-1 48922] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:size) op: Equal rhs: {(X)} spids: [49005] ) (assign_pair lhs: (LhsName name:sum) op: Equal rhs: {(X)} spids: [49008] ) ] spids: [49005] ) ] spids: [49003 49012] ) (If arms: [ (if_arm cond: [ (C {(test)} {(DQ (0))} {(KW_Bang "!") (Lit_Other "=")} {(DQ ($ VSub_Name "$force"))} {(-a)} {(DQ (X-))} {(Lit_Other "=")} {(DQ (X) ($ VSub_Name "$delta"))} {(-o)} {(DQ ($ VSub_Name "$base_size"))} {(KW_Bang "!") (Lit_Other "=")} {(DQ ($ VSub_Name "$size"))} {(-o)} {(DQ ($ VSub_Name "$base_sum"))} {(KW_Bang "!") (Lit_Other "=")} {(DQ ($ VSub_Name "$sum"))} ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:rmt) op: Equal rhs: {(SQ )} spids: [49072] ) ] spids: [49072] ) (Case to_match: {($ VSub_Name "$sync") (Lit_Other ":") ($ VSub_Name "$sync_size") } arms: [ (case_arm pat_list: [ {(-) (Lit_Other "*")} {(Lit_Other "*") (Lit_Other "[") (-) (Lit_Other ":") (Lit_Other "]") } ] spids: [49084 49092 49095 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:lcl) op: Equal rhs: {($ VSub_Name "$name") (.) ($ VSub_Name "$base") (.) ($ VSub_Name "$sync") (.) ($ VSub_Name "$suffix") } spids: [49101] ) ] spids: [49101] ) (If arms: [ (if_arm cond: [ (C {(test)} {(-f)} {($ VSub_Name "$lcl")}) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:rmt) op: Equal rhs: {(1)} spids: [49122] ) ] spids: [49122] ) (C {(get)} {($ VSub_Name "$host")} {($ VSub_Name "$dir")} {($ VSub_Name "$lcl")} {($ VSub_Name "$sync_size")} {($ VSub_Name "$sync_sum")} ) ] spids: [-1 49120] ) ] spids: [-1 49139] ) ] spids: [49098 49099 49142 -1] ) ] spids: [49075 49081 49145] ) (Case to_match: {($ VSub_Name "$base") (Lit_Other ":") ($ VSub_Name "$base_size") } arms: [ (case_arm pat_list: [ {(-) (Lit_Other "*")} {(Lit_Other "*") (Lit_Other "[") (-) (Lit_Other ":") (Lit_Other "]") } ] spids: [49157 49165 49168 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$rmt")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:lcl) op: Equal rhs: {($ VSub_Name "$name") (.) ($ VSub_Name "$base") (.) ($ VSub_Name "$suffix") } spids: [49185] ) ] spids: [49185] ) (C {(get)} {($ VSub_Name "$host")} {($ VSub_Name "$dir")} {($ VSub_Name "$lcl")} {($ VSub_Name "$base_size")} {($ VSub_Name "$base_sum")} ) ] spids: [-1 49183 49206 -1] ) ] spids: [49174 49178 49209] ) ] spids: [49171 49172 49212 -1] ) ] spids: [49148 49154 49215] ) ] spids: [-1 49070] ) ] spids: [-1 49218] ) (Case to_match: {($ VSub_Name "$delta") (Lit_Other ":") ($ VSub_Name "$delta_size") } arms: [ (case_arm pat_list: [ {(-) (Lit_Other "*")} {(Lit_Other "*") (Lit_Other "[") (-) (Lit_Other ":") (Lit_Other "]") } ] spids: [49230 49238 49241 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:lcl) op: Equal rhs: {($ VSub_Name "$name") (.) ($ VSub_Name "$delta") (.) ($ VSub_Name "$base") (.) ($ VSub_Name "$suffix") } spids: [49247] ) ] spids: [49247] ) (If arms: [ (if_arm cond: [(C {(test)} {(-f)} {($ VSub_Name "$lcl")})] action: [ (Case to_match: {($ VSub_Name "$checksum") (Lit_Other ":") ($ VSub_Name "$delta_sum") } arms: [ (case_arm pat_list: [ {(Lit_Other ":") (Lit_Other "*")} {(Lit_Other "*") (Lit_Other ":") (-)} ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:size) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (SimpleCommand words: [ {(wc)} {(-c)} ] redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: { ($ VSub_Name "$lcl" ) } spids: [ 49291 ] ) ] ) (C {(sed)} {(SQ <"s, ,,g">)} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [49286 49302] ) } spids: [49285] ) (assign_pair lhs: (LhsName name:sum) op: Equal rhs: {($ VSub_Name "$delta_sum")} spids: [49304] ) ] spids: [49285] ) ] spids: [49277 49283 49307 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:size) op: Equal rhs: {($ VSub_Name "$base_size")} spids: [49313] ) (assign_pair lhs: (LhsName name:sum) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (SimpleCommand words: [ { ($ VSub_Name "$checksum" ) } ] redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: { ($ VSub_Name "$lcl" ) } spids: [ 49320 ] ) ] ) (C {(sed)} {(-e)} { (SQ < "s,^[ \t][ \t]*,," > ) } {(-e)} {(SQ <"s,[ \t].*,,">)} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [49317 49339] ) } spids: [49316] ) ] spids: [49313] ) ] spids: [49310 49311 49341 -1] ) ] spids: [49268 49274 49344] ) ] spids: [-1 49266] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:size) op: Equal rhs: {(X)} spids: [49349] ) (assign_pair lhs: (LhsName name:sum) op: Equal rhs: {(X)} spids: [49352] ) ] spids: [49349] ) ] spids: [49347 49356] ) (If arms: [ (if_arm cond: [ (C {(test)} {(DQ (0))} {(KW_Bang "!") (Lit_Other "=")} {(DQ ($ VSub_Name "$force"))} {(-o)} {(DQ ($ VSub_Name "$delta_size"))} {(KW_Bang "!") (Lit_Other "=")} {(DQ ($ VSub_Name "$size"))} {(-o)} {(DQ ($ VSub_Name "$delta_sum"))} {(KW_Bang "!") (Lit_Other "=")} {(DQ ($ VSub_Name "$sum"))} ) ] action: [ (C {(get)} {($ VSub_Name "$host")} {($ VSub_Name "$dir")} {($ VSub_Name "$lcl")} {($ VSub_Name "$delta_size")} {($ VSub_Name "$delta_sum")} ) ] spids: [-1 49401] ) ] spids: [-1 49416] ) ] spids: [49244 49245 49419 -1] ) ] spids: [49221 49227 49422] ) ] spids: [48871 48884 49425 -1] ) ] spids: [48860 48868 49428] ) ] spids: [48857 48858 49431 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {(DQ (" ") ($ VSub_Name "$binary_packages") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$name") (" ")) (Lit_Other "*") } {(Lit_Other "*") (DQ (" - ")) (Lit_Other "*")} ] action: [ (If arms: [ (if_arm cond: [ (C {(test)} {(-s)} {($ VSub_Name "$name") (.) ($ VSub_Name "$type") (.tim)} ) ] action: [(ControlFlow token:<ControlFlow_Continue continue>)] spids: [-1 49476] ) ] spids: [-1 49481] ) (Case to_match: {(DQ (" ") ($ VSub_Name "$types") (" "))} arms: [ (case_arm pat_list: [{(Lit_Other "*") (DQ (" - ")) (Lit_Other "*")}] spids: [49495 49500 49501 -1] ) (case_arm pat_list: [{(DQ (" "))}] action: [ (Case to_match: {(DQ (" ") ($ VSub_Name "$types_test") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$type") (" ")) (Lit_Other "*") } ] spids: [49520 49527 49530 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:types_test) op: Equal rhs: { (DQ ($ VSub_Name "$types_test") (" ") ($ VSub_Name "$type") ) } spids: [49536] ) ] spids: [49536] ) (ForEach iter_name: i iter_words: [ {(Lit_Other "*") (.) (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (-) (Lit_Other "?") (Lit_Other "?") (-) (Lit_Other "?") (Lit_Other "?") (.) ($ VSub_Name "$type") (.) (Lit_Other "*") } {(Lit_Other "*") (.) (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (-) (Lit_Other "?") (Lit_Other "?") (-) (Lit_Other "?") (Lit_Other "?") (.) (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (Lit_Other "?") (-) (Lit_Other "?") (Lit_Other "?") (-) (Lit_Other "?") (Lit_Other "?") (.) ($ VSub_Name "$type") (.) (Lit_Other "*") } ] do_arg_iter: False body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (C {(test)} {(-f)} {($ VSub_Name "$i")} ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name: types_local ) op: Equal rhs: { (DQ ($ VSub_Name "$types_local" ) (" ") ($ VSub_Name "$type") ) } spids: [49609] ) ] spids: [49609] ) ] spids: [-1 49607] ) ] spids: [-1 49617] ) (ControlFlow token: <ControlFlow_Break break> ) ] spids: [49596 49623] ) spids: [49549 -1] ) ] spids: [49533 49534 49626 -1] ) ] spids: [49509 49517 49629] ) (Case to_match: {(DQ (" ") ($ VSub_Name "$types_local") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$type") (" ")) (Lit_Other "*") } ] spids: [49643 49650 49653 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (ControlFlow token: <ControlFlow_Continue continue> ) ] spids: [49656 49657 49662 -1] ) ] spids: [49632 49640 49665] ) ] spids: [49505 49507 49668 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {(DQ (" ") ($ VSub_Name "$types") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$type") (" ")) (Lit_Other "*") } ] spids: [49685 49692 49695 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (ControlFlow token: <ControlFlow_Continue continue> ) ] spids: [49698 49699 49704 -1] ) ] spids: [49674 49682 49707] ) ] spids: [49671 49672 49710 -1] ) ] spids: [49484 49492 49713] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:lcl) op: Equal rhs: {($ VSub_Name "$name") (.) ($ VSub_Name "$base") (.) ($ VSub_Name "$type") (.) ($ VSub_Name "$suffix") } spids: [49716] ) ] spids: [49716] ) (If arms: [ (if_arm cond: [(C {(test)} {(-f)} {($ VSub_Name "$lcl")})] action: [ (Case to_match: {($ VSub_Name "$checksum") (Lit_Other ":") ($ VSub_Name "$base_sum") } arms: [ (case_arm pat_list: [ {(Lit_Other ":") (Lit_Other "*")} {(Lit_Other "*") (Lit_Other ":") (-)} ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:size) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (SimpleCommand words: [{(wc)} {(-c)}] redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: { ($ VSub_Name "$lcl" ) } spids: [49760] ) ] ) (C {(sed)} {(SQ <"s, ,,g">)}) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [49755 49771] ) } spids: [49754] ) (assign_pair lhs: (LhsName name:sum) op: Equal rhs: {($ VSub_Name "$base_sum")} spids: [49773] ) ] spids: [49754] ) ] spids: [49746 49752 49776 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:size) op: Equal rhs: {($ VSub_Name "$base_size")} spids: [49782] ) (assign_pair lhs: (LhsName name:sum) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (SimpleCommand words: [ { ($ VSub_Name "$checksum" ) } ] redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: { ($ VSub_Name "$lcl" ) } spids: [49789] ) ] ) (C {(sed)} {(-e)} { (SQ < "s,^[ \t][ \t]*,," > ) } {(-e)} {(SQ <"s,[ \t].*,,">)} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [49786 49808] ) } spids: [49785] ) ] spids: [49782] ) ] spids: [49779 49780 49810 -1] ) ] spids: [49737 49743 49813] ) ] spids: [-1 49735] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:size) op: Equal rhs: {(X)} spids: [49818] ) (assign_pair lhs: (LhsName name:sum) op: Equal rhs: {(X)} spids: [49821] ) ] spids: [49818] ) ] spids: [49816 49825] ) (If arms: [ (if_arm cond: [ (C {(test)} {(DQ (0))} {(KW_Bang "!") (Lit_Other "=")} {(DQ ($ VSub_Name "$force"))} {(-a)} {(DQ (X-))} {(Lit_Other "=")} {(DQ (X) ($ VSub_Name "$delta"))} {(-o)} {(DQ ($ VSub_Name "$base_size"))} {(KW_Bang "!") (Lit_Other "=")} {(DQ ($ VSub_Name "$size"))} {(-o)} {(DQ ($ VSub_Name "$base_sum"))} {(KW_Bang "!") (Lit_Other "=")} {(DQ ($ VSub_Name "$sum"))} ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:rmt) op: Equal rhs: {(SQ )} spids: [49885] ) ] spids: [49885] ) (Case to_match: {($ VSub_Name "$sync") (Lit_Other ":") ($ VSub_Name "$sync_size") } arms: [ (case_arm pat_list: [ {(-) (Lit_Other "*")} {(Lit_Other "*") (Lit_Other "[") (-) (Lit_Other ":") (Lit_Other "]") } ] spids: [49897 49905 49908 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:lcl) op: Equal rhs: {($ VSub_Name "$name") (.) ($ VSub_Name "$base") (.) ($ VSub_Name "$sync") (.) ($ VSub_Name "$type") (.) ($ VSub_Name "$suffix") } spids: [49914] ) ] spids: [49914] ) (If arms: [ (if_arm cond: [ (C {(test)} {(-f)} {($ VSub_Name "$lcl")}) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:rmt) op: Equal rhs: {(1)} spids: [49937] ) ] spids: [49937] ) (C {(get)} {($ VSub_Name "$host")} {($ VSub_Name "$dir")} {($ VSub_Name "$lcl")} {($ VSub_Name "$sync_size")} {($ VSub_Name "$sync_sum")} ) ] spids: [-1 49935] ) ] spids: [-1 49954] ) ] spids: [49911 49912 49957 -1] ) ] spids: [49888 49894 49960] ) (Case to_match: {($ VSub_Name "$base") (Lit_Other ":") ($ VSub_Name "$base_size") } arms: [ (case_arm pat_list: [ {(-) (Lit_Other "*")} {(Lit_Other "*") (Lit_Other "[") (-) (Lit_Other ":") (Lit_Other "]") } ] spids: [49972 49980 49983 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {($ VSub_Name "$rmt")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:lcl) op: Equal rhs: {($ VSub_Name "$name") (.) ($ VSub_Name "$base") (.) ($ VSub_Name "$type") (.) ($ VSub_Name "$suffix") } spids: [50000] ) ] spids: [50000] ) (C {(get)} {($ VSub_Name "$host")} {($ VSub_Name "$dir")} {($ VSub_Name "$lcl")} {($ VSub_Name "$base_size")} {($ VSub_Name "$base_sum")} ) ] spids: [-1 49998 50023 -1] ) ] spids: [49989 49993 50026] ) ] spids: [49986 49987 50029 -1] ) ] spids: [49963 49969 50032] ) ] spids: [-1 49883] ) ] spids: [-1 50035] ) (Case to_match: {($ VSub_Name "$delta") (Lit_Other ":") ($ VSub_Name "$delta_size") } arms: [ (case_arm pat_list: [ {(-) (Lit_Other "*")} {(Lit_Other "*") (Lit_Other "[") (-) (Lit_Other ":") (Lit_Other "]") } ] spids: [50047 50055 50058 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:lcl) op: Equal rhs: {($ VSub_Name "$name") (.) ($ VSub_Name "$delta") (.) ($ VSub_Name "$base") (.) ($ VSub_Name "$type") (.) ($ VSub_Name "$suffix") } spids: [50064] ) ] spids: [50064] ) (If arms: [ (if_arm cond: [(C {(test)} {(-f)} {($ VSub_Name "$lcl")})] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sum) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (SimpleCommand words: [ { ($ VSub_Name "$checksum" ) } ] redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: { ($ VSub_Name "$lcl" ) } spids: [50091] ) ] ) (C {(sed)} {(-e)} { (SQ < "s,^[ \t][ \t]*,," > ) } {(-e)} {(SQ <"s,[ \t].*,,">)} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [50088 50110] ) } spids: [50087] ) ] spids: [50087] ) ] spids: [-1 50085] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sum) op: Equal rhs: {(X)} spids: [50115] ) ] spids: [50115] ) ] spids: [50113 50119] ) (If arms: [ (if_arm cond: [(C {(test)} {(-f)} {($ VSub_Name "$lcl")})] action: [ (Case to_match: {($ VSub_Name "$checksum") (Lit_Other ":") ($ VSub_Name "$delta_sum") } arms: [ (case_arm pat_list: [ {(Lit_Other ":") (Lit_Other "*")} {(Lit_Other "*") (Lit_Other ":") (-)} ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:size) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (SimpleCommand words: [ {(wc)} {(-c)} ] redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: { ($ VSub_Name "$lcl" ) } spids: [ 50156 ] ) ] ) (C {(sed)} {(SQ <"s, ,,g">)} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [50151 50167] ) } spids: [50150] ) (assign_pair lhs: (LhsName name:sum) op: Equal rhs: {($ VSub_Name "$delta_sum")} spids: [50169] ) ] spids: [50150] ) ] spids: [50142 50148 50172 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:size) op: Equal rhs: {($ VSub_Name "$base_size")} spids: [50178] ) (assign_pair lhs: (LhsName name:sum) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (SimpleCommand words: [ { ($ VSub_Name "$checksum" ) } ] redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: { ($ VSub_Name "$lcl" ) } spids: [ 50185 ] ) ] ) (C {(sed)} {(-e)} { (SQ < "s,^[ \t][ \t]*,," > ) } {(-e)} {(SQ <"s,[ \t].*,,">)} ) ] negated: False ) ] ) left_token: <Left_Backtick "`"> spids: [50182 50204] ) } spids: [50181] ) ] spids: [50178] ) ] spids: [50175 50176 50206 -1] ) ] spids: [50133 50139 50209] ) ] spids: [-1 50131] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:size) op: Equal rhs: {(X)} spids: [50214] ) (assign_pair lhs: (LhsName name:sum) op: Equal rhs: {(X)} spids: [50217] ) ] spids: [50214] ) ] spids: [50212 50221] ) (If arms: [ (if_arm cond: [ (C {(test)} {(DQ (0))} {(KW_Bang "!") (Lit_Other "=")} {(DQ ($ VSub_Name "$force"))} {(-o)} {(DQ ($ VSub_Name "$delta_size"))} {(KW_Bang "!") (Lit_Other "=")} {(DQ ($ VSub_Name "$size"))} {(-o)} {(DQ ($ VSub_Name "$delta_sum"))} {(KW_Bang "!") (Lit_Other "=")} {(DQ ($ VSub_Name "$sum"))} ) ] action: [ (C {(get)} {($ VSub_Name "$host")} {($ VSub_Name "$dir")} {($ VSub_Name "$lcl")} {($ VSub_Name "$delta_size")} {($ VSub_Name "$delta_sum")} ) ] spids: [-1 50266] ) ] spids: [-1 50281] ) ] spids: [50061 50062 50284 -1] ) ] spids: [50038 50044 50287] ) ] spids: [49448 49461 50290 -1] ) ] spids: [49437 49445 50293] ) ] spids: [49434 49435 50296 -1] ) ] spids: [48850 48854 50299] ) ] spids: [48640 50302] ) ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:closure) op:Equal rhs:{(SQ )} spids:[50305])] spids: [50305] ) (ForEach iter_name: name iter_words: [{($ VSub_Name "$source_packages")} {($ VSub_Name "$binary_packages")}] do_arg_iter: False body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$name")} arms: [ (case_arm pat_list:[{(-)}] spids:[503285032950331-1]) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Case to_match: {(DQ (" ") ($ VSub_Name "$package_hit") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$name") (" ")) (Lit_Other "*") } ] action: [ (Case to_match: {($ VSub_Name "$setup")} arms: [ (case_arm pat_list: [{(1)}] action: [ (Case to_match: {(DQ (" ") ($ VSub_Name "$closure") (" "))} arms: [ (case_arm pat_list: [ {(Lit_Other "*") (DQ (" ") ($ VSub_Name "$name") (" ")) (Lit_Other "*") } ] spids: [50379 50386 50389 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:closure) op: Equal rhs: { (DQ ($ VSub_Name "$closure") (" ") ($ VSub_Name "$name") ) } spids: [50395] ) ] spids: [50395] ) ] spids: [50392 50393 50403 -1] ) ] spids: [50368 50376 50406] ) ] spids: [50365 50366 50409 -1] ) ] spids: [50358 50362 50412] ) ] spids: [50348 50355 50415 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (SimpleCommand words: [ {(echo)} {($ VSub_Name "$command") (Lit_Other ":")} {($ VSub_Name "$name") (Lit_Other ":")} {(unknown)} {(package)} ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [50433] ) ] ) ] spids: [50418 50419 50437 -1] ) ] spids: [50337 50345 50440] ) ] spids: [50334 50335 50443 -1] ) ] spids: [50321 50325 50446] ) ] spids: [50319 50449] ) spids: [50313 -1] ) (SimpleCommand words: [{(exec)}] redirects: [(Redir op_id:Redir_LessAnd fd:-1 arg_word:{(-)} spids:[50454])] ) (C {(rm)} {(-f)} {(got.tmp)}) (Case to_match: {($ VSub_Name "$closure")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [(C {(echo)} {($ VSub_Name "$closure")})] spids: [50472 50474 50480 -1] ) ] spids: [50465 50469 50483] ) ] spids: [46709 46710 50486 -1] ) (case_arm pat_list: [{(use)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:x) op: Equal rhs: {(Lit_Other ":") (..)} spids: [50497] ) ] spids: [50497] ) (ForEach iter_name: d iter_words: [ { (CommandSubPart command_list: (CommandList children: [ (Subshell child: (CommandList children: [ (Sentence child: (C {(cd)} {($ VSub_Name "$PACKAGEROOT")}) terminator: <Op_Semi ";"> ) (Pipeline children: [ (SimpleCommand words: [ {(ls)} {(src/) (Lit_Other "*") (/Makefile)} {(src/) (Lit_Other "*") (/Nmakefile)} ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [50526] ) ] ) (C {(sed)} {(SQ <"s,/[^/]*$,,">)}) (C {(sort)} {(-u)}) ] negated: False ) ] ) spids: [50509 50543] ) ] ) left_token: <Left_Backtick "`"> spids: [50508 50544] ) } ] do_arg_iter: False body: (DoGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:x) op: Equal rhs: {($ VSub_Name "$x") (Lit_Other ":") ($ VSub_Name "$INSTALLROOT") (/) ($ VSub_Name "$d") } spids: [50549] ) ] spids: [50549] ) ] spids: [50547 50557] ) spids: [50507 -1] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:x) op: Equal rhs: {($ VSub_Name "$x") (Lit_Other ":") ($ VSub_Name "$INSTALLROOT")} spids: [50560] ) ] spids: [50560] ) (Case to_match: {($ VSub_Name "$CDPATH") (Lit_Other ":")} arms: [ (case_arm pat_list: [{($ VSub_Name "$x") (Lit_Other ":") (Lit_Other "*")}] spids: [50574 50577 50579 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:CDPATH) op: Equal rhs: {($ VSub_Name "$x") (Lit_Other ":") ($ VSub_Name "$CDPATH")} spids: [50585] ) ] spids: [50585] ) (C {($ VSub_Name "$show")} {(Lit_VarLike "CDPATH=") ($ VSub_Name "$CDPATH")}) (C {($ VSub_Name "$show")} {(export)} {(CDPATH)}) (C {(export)} {(CDPATH)}) ] spids: [50582 50583 50609 -1] ) ] spids: [50566 50571 50612] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:P) op: Equal rhs: {($ VSub_Name "$PACKAGEROOT")} spids: [50615] ) ] spids: [50615] ) (C {($ VSub_Name "$show")} {(Lit_VarLike "P=") ($ VSub_Name "$P")}) (C {($ VSub_Name "$show")} {(export)} {(P)}) (C {(export)} {(P)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:A) op: Equal rhs: {($ VSub_Name "$INSTALLROOT")} spids: [50637] ) ] spids: [50637] ) (C {($ VSub_Name "$show")} {(Lit_VarLike "A=") ($ VSub_Name "$A")}) (C {($ VSub_Name "$show")} {(export)} {(A)}) (C {(export)} {(A)}) (Case to_match: {($ VSub_Name "$NPROC")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (C {(hostinfo)} {(cpu)}) (Case to_match: {($ VSub_Name "$_hostinfo_")} arms: [ (case_arm pat_list: [{(0)} {(1)}] spids: [50682 50685 50687 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:NPROC) op: Equal rhs: {($ VSub_Name "$_hostinfo_")} spids: [50693] ) ] spids: [50693] ) (C {($ VSub_Name "$show")} {(Lit_VarLike "NPROC=") ($ VSub_Name "$NPROC")}) (C {($ VSub_Name "$show")} {(export)} {(NPROC)}) (C {(export)} {(NPROC)}) ] spids: [50690 50691 50715 -1] ) ] spids: [50675 50679 50718] ) ] spids: [-1 50668 50721 -1] ) ] spids: [50659 50663 50724] ) (C {(eval)} {(Lit_VarLike "PACKAGE_USE=") ($ VSub_Name "$package_use")}) (C {(export)} {(PACKAGE_USE)}) (Case to_match: {($ VSub_Name "$run")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (Case to_match: {($ VSub_Name "$show")} arms: [ (case_arm pat_list: [{(SQ <":">)}] action: [(C {($ VSub_Name "$exec")} {(exec)} {($ VSub_Name "$SHELL")})] spids: [50763 50765 50773 -1] ) ] spids: [50755 50759 50776] ) ] spids: [-1 50753 50779 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (C {($ VSub_Name "$exec")} {(exec)} {($ VSub_Name "$SHELL")} {(-c)} {(DQ ($ VSub_Name "$run"))} ) ] spids: [50782 50783 50798 -1] ) ] spids: [50744 50748 50801] ) ] spids: [50489 50490 50804 -1] ) (case_arm pat_list: [{(verify)}] action: [ (C {(cd)} {($ VSub_Name "$PACKAGEROOT")}) (C {(requirements)} {(binary)} {($ VSub_Name "$package")}) (If arms: [ (if_arm cond: [(C {(executable)} {(KW_Bang "!")} {($ VSub_Name "$SUM")})] action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$action") (": ") ($ VSub_Name "$SUM") (" command required") ) } ] redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[50844])] ) (C {(exit)} {(1)}) ] spids: [-1 50831] ) ] spids: [-1 50853] ) (Case to_match: {($ VSub_Name "$target")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (C {(cd)} {(arch)}) (C {(set)} {(SQ )} {(Lit_Other "*")}) (C {(shift)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:target) op: Equal rhs: {($ VSub_Star "$*")} spids: [50883] ) ] spids: [50883] ) (C {(cd)} {(..)}) ] spids: [-1 50865 50892 -1] ) ] spids: [50856 50860 50895] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:code) op:Equal rhs:{(0)} spids:[50898])] spids: [50898] ) (ForEach iter_name: a iter_words: [{($ VSub_Name "$target")}] do_arg_iter: False body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$package")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (C {(set)} {(SQ )} {(arch/) ($ VSub_Name "$a") (/lib/package/gen/) (Lit_Other "*") (.sum)} ) (C {(shift)}) (If arms: [ (if_arm cond: [(C {(test)} {(-f)} {($ VSub_Number "$1")})] action: [ (ForEach iter_name: i do_arg_iter: True body: (DoGroup children: [ (AndOr children: [ (C {(package_verify)} {($ VSub_Name "$i")}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {(1)} spids: [50963] ) ] spids: [50963] ) ] op_id: Op_DPipe ) ] spids: [50955 50967] ) spids: [-1 -1] ) ] spids: [-1 50948] ) ] else_action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": warning: ") ($ VSub_Name "$a") (": no binary packages") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [50981] ) ] ) ] spids: [50970 50985] ) ] spids: [-1 50922 50988 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (ForEach iter_name: i iter_words: [{($ VSub_Name "$package")}] do_arg_iter: False body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (C {(test)} {(-f)} {(arch/) ($ VSub_Name "$a") (/lib/package/gen/) ($ VSub_Name "$i") (.sum) } ) ] action: [ (AndOr children: [ (C {(package_verify)} {(arch/) ($ VSub_Name "$a") (/lib/package/gen/) ($ VSub_Name "$i") (.sum) } ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:code) op: Equal rhs: {(1)} spids: [51030] ) ] spids: [51030] ) ] op_id: Op_DPipe ) ] spids: [-1 51018] ) ] else_action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": warning: ") ($ VSub_Name "$a") (": no binary package for ") ($ VSub_Name "$i") ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {(2)} spids: [51046] ) ] ) ] spids: [51034 51050] ) ] spids: [51003 51053] ) spids: [50999 -1] ) ] spids: [50991 50992 51056 -1] ) ] spids: [50913 50917 51059] ) ] spids: [50911 51062] ) spids: [50907 -1] ) (C {(exit)} {($ VSub_Name "$code")}) ] spids: [50807 50808 51070 -1] ) (case_arm pat_list: [{(write)}] action: [ (C {(set)} {(SQ )} {($ VSub_Name "$target")}) (C {(shift)}) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:action) op:Equal rhs:{(SQ )} spids:[51087])] spids: [51087] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:list) op:Equal rhs:{(SQ )} spids:[51090])] spids: [51090] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:qualifier) op:Equal rhs:{(SQ )} spids:[51093])] spids: [51093] ) (While cond: [(C {(Lit_Other ":")})] body: (DoGroup children: [ (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [{(base)} {(closure)} {(delta)} {(exp)} {(lcl)} {(pkg)} {(rpm)} {(tgz)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:qualifier) op: Equal rhs: {(DQ ($ VSub_Name "$qualifier") (" ") ($ VSub_Number "$1"))} spids: [51128] ) ] spids: [51128] ) ] spids: [51110 51125 51136 -1] ) (case_arm pat_list: [{(binary)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:action) op: Equal rhs: {($ VSub_Number "$1")} spids: [51142] ) ] spids: [51142] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {($ VSub_Name "$HOSTTYPE")} spids: [51146] ) ] spids: [51146] ) (C {(eval)} {(Lit_VarLike "list=") ($ VSub_Name "$PACKAGESRC") (/tgz/) ($ VSub_Name "$admin_list") } ) ] spids: [51139 51140 51158 -1] ) (case_arm pat_list: [{(cyg)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:qualifier) op: Equal rhs: {(DQ ($ VSub_Name "$qualifier") (" ") ($ VSub_Number "$1"))} spids: [51164] ) ] spids: [51164] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:assign) op: Equal rhs: {(DQ ($ VSub_Name "$assign") (" closure=1"))} spids: [51172] ) ] spids: [51172] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:only) op: Equal rhs: {(1)} spids: [51179] ) ] spids: [51179] ) ] spids: [51161 51162 51183 -1] ) (case_arm pat_list: [{(runtime)} {(source)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:action) op: Equal rhs: {($ VSub_Number "$1")} spids: [51192] ) ] spids: [51192] ) ] spids: [51186 51189 51196 -1] ) (case_arm pat_list: [{(tst)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:qualifier) op: Equal rhs: {(DQ ($ VSub_Name "$qualifier") (" tgz"))} spids: [51202] ) ] spids: [51202] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:assign) op: Equal rhs: { (DQ ($ VSub_Name "$assign") (" copyright=0 'PACKAGEDIR=") (EscapedLiteralPart token: <Lit_EscapedChar "\\$"> ) ("(PACKAGESRC)/tst'") ) } spids: [51209] ) ] spids: [51209] ) ] spids: [51199 51200 51218 -1] ) (case_arm pat_list: [{(nocopyright)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:assign) op: Equal rhs: {(DQ ($ VSub_Name "$assign") (" copyright=0"))} spids: [51225] ) ] spids: [51225] ) ] spids: [51221 51222 51232 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [(ControlFlow token:<ControlFlow_Break break>)] spids: [51235 51236 51241 -1] ) ] spids: [51103 51107 51244] ) (C {(shift)}) ] spids: [51101 51250] ) ) (Case to_match: {($ VSub_Name "$action")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (SimpleCommand words: [ {(echo)} {(DQ ($ VSub_Name "$command") (": binary or source operand expected"))} ] redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[51271])] ) (C {(exit)} {(1)}) ] spids: [-1 51262 51280 -1] ) ] spids: [51253 51257 51283] ) (C {(set)} {(SQ )} {(DQ ($ VSub_At "$@"))} {($ VSub_Name "$package")}) (C {(shift)}) (Case to_match: {($ VSub_Name "$only")} arms: [ (case_arm pat_list: [{(0)}] action: [ (C {(set)} {(SQ )} { (CommandSubPart command_list: (CommandList children: [(C {(order)} {(DQ ($ VSub_At "$@"))})] ) left_token: <Left_Backtick "`"> spids: [51316 51322] ) } ) (C {(shift)}) ] spids: [51308 51309 51328 -1] ) ] spids: [51301 51305 51331] ) (Case to_match: {($ VSub_Pound "$#")} arms: [ (case_arm pat_list: [{(0)}] action: [ (SimpleCommand words: [ {(echo)} {(DQ ($ VSub_Name "$command") (": at least one package name expected"))} ] redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[51351])] ) (C {(exit)} {(1)}) ] spids: [51341 51342 51360 -1] ) ] spids: [51334 51338 51363] ) (If arms: [ (if_arm cond: [(C {(nonmake)} {($ VSub_Name "$MAKE")})] action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": must have ") ($ VSub_Name "$MAKE") (" to generate archives") ) } ] redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[51384])] ) (C {(exit)} {(1)}) ] spids: [-1 51373] ) ] spids: [-1 51393] ) (C {($ VSub_Name "$make")} {(cd)} {($ VSub_Name "$PACKAGEBIN")}) (Case to_match: {($ VSub_Name "$list")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [(C {($ VSub_Name "$exec")} {(rm)} {(-f)} {($ VSub_Name "$list")})] spids: [51416 51418 51428 -1] ) ] spids: [51409 51413 51431] ) (ForEach iter_name: package do_arg_iter: True body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (AndOr children: [ (C {(view)} {(-)} {(all)} {($ VSub_Name "$package") (.pkg)}) (C {(view)} {(-)} {(all)} {(lib/package/) ($ VSub_Name "$package") (.pkg)} ) ] op_id: Op_DPipe ) ] action: [ (C {(eval)} {(capture)} {(EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (MAKE)} {(EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (makeflags)} {(-X)} {(ignore)} {(EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (noexec)} {(-f)} {(EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (package.pkg)} {(EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (qualifier)} {(EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (action)} {($ VSub_Name "$assign")} ) ] spids: [-1 51471] ) ] else_action: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$package") (": not a package") ) } ] redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[51515])] ) ] spids: [51504 51519] ) ] spids: [51445 51522] ) spids: [-1 -1] ) ] spids: [51073 51074 51525 -1] ) (case_arm pat_list: [{(TEST)}] action: [ (C {(set)} {(SQ )} {($ VSub_Name "$target")} {($ VSub_Name "$package")}) (C {(shift)}) (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [{(binary)} {(source)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:action) op: Equal rhs: {($ VSub_Number "$1")} spids: [51557] ) ] spids: [51557] ) (C {(shift)}) ] spids: [51551 51554 51564 -1] ) ] spids: [51544 51548 51567] ) (C {(order)} {(DQ ($ VSub_At "$@"))}) ] spids: [51528 51529 51577 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (SimpleCommand words: [ {(echo)} {(DQ ($ VSub_Name "$command") (": ") ($ VSub_Name "$action") (": internal error"))} ] redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[51592])] ) (C {(exit)} {(1)}) ] spids: [51580 51581 51601 -1] ) ] spids: [28711 28715 51604] ) ] )