(command.CommandList children: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} {($ Id.VSub_Pound '$#')} {<-ne>} {<1>} {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<echo>} {(DQ <'Usage: '> ($ Id.VSub_Number '$0') <' <zipcode>'>)}) (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<1>}) ] spids: [7 20] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:apikey) op: assign_op.Equal rhs: {(DQ <b0304b43b2e7cd23>)} spids: [39] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:weather) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<curl>} {<-s>} { (DQ <'https://api.wunderground.com/api/'> ($ Id.VSub_DollarName '$apikey') <'/conditions/q/'> ($ Id.VSub_Number '$1') <.xml> ) } ) ) } spids: [48] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:state) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<xmllint>} {<--xpath>} {<'//response/current_observation/display_location/full/text'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\('> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\)'>) } { (command_sub left_token: <Id.Left_ProcSubIn '<('> child: (C {<echo>} {($ Id.VSub_DollarName '$weather')}) ) } ) ) } spids: [70] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:zip) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<xmllint>} {<--xpath>} {<'//response/current_observation/display_location/zip/text'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\('> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\)'>) } { (command_sub left_token: <Id.Left_ProcSubIn '<('> child: (C {<echo>} {($ Id.VSub_DollarName '$weather')}) ) } ) ) } spids: [103] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:current) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<xmllint>} {<--xpath>} {<'//response/current_observation/temp_f/text'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\('> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\)'>) } { (command_sub left_token: <Id.Left_ProcSubIn '<('> child: (C {<echo>} {($ Id.VSub_DollarName '$weather')}) ) } ) ) } spids: [136] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:condition) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<xmllint>} {<--xpath>} {<'//response/current_observation/weather/text'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\('> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\)'>) } { (command_sub left_token: <Id.Left_ProcSubIn '<('> child: (C {<echo>} {($ Id.VSub_DollarName '$weather')}) ) } ) ) } spids: [169] ) ] ) (C {<echo>} {($ Id.VSub_DollarName '$state') (DQ <' ('>) ($ Id.VSub_DollarName '$zip') (DQ <') : Current temp '>) ($ Id.VSub_DollarName '$current') (DQ <'F and '>) ($ Id.VSub_DollarName '$condition') (DQ <' outside.'>) } ) ] )