(CommandList children: [ (If arms: [ (if_arm cond: [(C {(Lit_Other '[')} {($ VSub_Pound '$#')} {(-ne)} {(1)} {(Lit_Other ']')})] action: [ (C {(echo)} {(DQ ('Usage: ') ($ VSub_Number '$0') (' <url>'))}) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] spids: [16777215 16] ) ] spids: [16777215 31] ) (If arms: [ (if_arm cond: [(C {(Lit_Other '[')} {(-z)} {(DQ ($ VSub_Name '$HOME'))} {(Lit_Other ']')})] action: [ (C {(echo)} {(DQ ('Where is your ') (EscapedLiteralPart token:<Lit_EscapedChar '\\$'>) ('HOME? '))} ) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] spids: [16777215 46] ) ] spids: [16777215 61] ) (If arms: [ (if_arm cond: [ (C {(Lit_Other '[')} {(KW_Bang '!')} {(-d)} {(DQ ($ VSub_Name '$HOME'))} {(Lit_Other ']')}) ] action: [ (C {(echo)} { (DQ ('Where is your ') (EscapedLiteralPart token:<Lit_EscapedChar '\\$'>) ('HOME (') ($ VSub_Name '$HOME') (') ? ') ) } ) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] spids: [16777215 78] ) ] spids: [16777215 95] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:tmpdir) op: Equal rhs: {($ VSub_Name '$HOME') (/getpack) ($ VSub_Dollar '$$')} spids: [98] ) ] spids: [98] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:tmpfile) op:Equal rhs:{(package)} spids:[103])] spids: [103] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:tmpfiletar) op: Equal rhs: {($ VSub_Name '$tmpfile') (.tar)} spids: [106] ) ] spids: [106] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:tmpfiletargz) op: Equal rhs: {($ VSub_Name '$tmpfile') (.tar.gz)} spids: [110] ) ] spids: [110] ) (AndOr ops: [Op_DPipe] children: [ (C {(mkdir)} {(-m)} {(700)} {($ VSub_Name '$tmpdir')}) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] ) (AndOr ops: [Op_DPipe] children: [ (C {(cd)} {($ VSub_Name '$tmpdir')}) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] ) (SimpleCommand words: [{(urlget)} {(DQ ($ VSub_Number '$1'))}] redirects: [ (Redir op_id: Redir_Great fd: 16777215 arg_word: {($ VSub_Name '$tmpfiletargz')} spids: [146] ) ] ) (AndOr ops: [Op_DPipe] children: [ (C {(gzip)} {(-d)} {($ VSub_Name '$tmpfiletargz')}) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] ) (AndOr ops: [Op_DPipe] children: [ (C {(tar)} {(xf)} {($ VSub_Name '$tmpfiletar')}) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] ) (AndOr ops: [Op_DAmp Op_DAmp] children: [(C {(make)}) (C {(make)} {(install)}) (C {(echo)} {(DQ (Ok.))})] ) ] )