(command.CommandList children: [ (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr children: [ (command.Simple blame_tok: <test> more_env: [] words: [ {<test>} {($ Id.VSub_Pound '#')} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<1>} ] redirects: [] do_fork: T ) (command.Simple blame_tok: <test> more_env: [] words: [ {<test>} { (DQ (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Number 1> var_name: 1 suffix_op: (suffix_op.PatSub pat: { (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\/'> ch: '/' ) } replace: {} replace_mode: Id.Undefined_Tok slash_tok: <Id.VOp2_Slash _> ) right: <Id.Right_DollarBrace '}'> ) ) } {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {(DQ ($ Id.VSub_Number 1))} ] redirects: [] do_fork: T ) ] ops: [<Id.Op_DPipe _>] ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Simple blame_tok: <echo> more_env: [] words: [ {<echo>} { (DQ <'Usage: '> ($ Id.VSub_Number 0) <': {python2.7-static|stackless2.7-static|stacklessco2.7-static}'> ) } ] redirects: [(Redir op:<Id.Redir_GreatAnd '>&'> loc:(redir_loc.Fd fd:1) arg:{<2>})] do_fork: T ) (command.ControlFlow keyword:<Id.ControlFlow_Exit exit> arg_word:{<1>}) ] spids: [30 62] ) ] else_action: [] fi_kw: <Id.KW_Fi fi> redirects: [] ) (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.Simple blame_tok: <test> more_env: [] words: [ {<test>} { (DQ (CommandSub left_token: <Id.Left_Backtick '`'> child: (command.Simple blame_tok: <uname> more_env: [] words: [{<uname>}] redirects: [] do_fork: T ) right: <Id.Backtick_Right '`'> ) ) } {<Id.Lit_Equals '='>} {<Darwin>} ] redirects: [] do_fork: T ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.ShAssignment left: <Id.Lit_VarLike 'URL='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'URL='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'URL='> name:URL) op: assign_op.Equal rhs: { (DQ < 'https://raw.githubusercontent.com/pts/staticpython/master/release.darwin/' > ($ Id.VSub_Number 1) ) } ) ] redirects: [] ) ] spids: [83 100] ) ] else_kw: <Id.KW_Else else> else_action: [ (command.ShAssignment left: <Id.Lit_VarLike 'URL='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'URL='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'URL='> name:URL) op: assign_op.Equal rhs: { (DQ <'https://raw.githubusercontent.com/pts/staticpython/master/release/'> ($ Id.VSub_Number 1) ) } ) ] redirects: [] ) ] fi_kw: <Id.KW_Fi fi> redirects: [] ) (command.Simple blame_tok: <echo> more_env: [] words: [{<echo>} {(DQ <'info: downloading: '> ($ Id.VSub_DollarName URL))}] redirects: [] do_fork: T ) (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.Simple blame_tok: <type> more_env: [] words: [{<type>} {<-p>} {<curl>}] redirects: [ (Redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<'/dev/null'>} ) (Redir op: <Id.Redir_GreatAnd '2>&'> loc: (redir_loc.Fd fd:2) arg: {<1>} ) ] do_fork: T ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.AndOr children: [ (command.Simple blame_tok: <curl> more_env: [] words: [ {<curl>} {<-o>} {(DQ ($ Id.VSub_Number 1) <.download>)} {(DQ ($ Id.VSub_DollarName URL))} ] redirects: [] do_fork: T ) (command.ControlFlow keyword:<Id.ControlFlow_Exit exit> arg_word:{<2>}) ] ops: [<Id.Op_DPipe _>] ) ] spids: [127 142] ) ] else_kw: <Id.KW_Else else> else_action: [ (command.AndOr children: [ (command.Simple blame_tok: <wget> more_env: [] words: [ {<wget>} {<-O>} {(DQ ($ Id.VSub_Number 1) <.download>)} {(DQ ($ Id.VSub_DollarName URL))} ] redirects: [] do_fork: T ) (command.ControlFlow keyword:<Id.ControlFlow_Exit exit> arg_word:{<2>}) ] ops: [<Id.Op_DPipe _>] ) ] fi_kw: <Id.KW_Fi fi> redirects: [] ) (command.AndOr children: [ (command.Simple blame_tok: <chmod> more_env: [] words: [{<chmod>} {<Id.Lit_Other '+'> <x>} {(DQ ($ Id.VSub_Number 1) <.download>)}] redirects: [] do_fork: T ) (command.ControlFlow keyword:<Id.ControlFlow_Exit exit> arg_word:{<2>}) ] ops: [<Id.Op_DPipe _>] ) (command.AndOr children: [ (command.Simple blame_tok: <mv> more_env: [] words: [{<mv>} {(DQ ($ Id.VSub_Number 1) <.download>)} {(DQ ($ Id.VSub_Number 1))}] redirects: [] do_fork: T ) (command.ControlFlow keyword:<Id.ControlFlow_Exit exit> arg_word:{<2>}) ] ops: [<Id.Op_DPipe _>] ) (command.Simple blame_tok: <echo> more_env: [] words: [{<echo>} {(DQ <'info: download OK, run with: ./'> ($ Id.VSub_Number 1))}] redirects: [] do_fork: T ) ] )