(command.CommandList children: [ (C {<trap>} {(DQ )} {<2>} {<3>}) (C {<export>} {<LOGNAME>} {<PATH>}) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (C {<Id.Lit_LBracket '['>} {(DQ ($ Id.VSub_DollarName TERM))} {<Id.Lit_Equals '='>} {(DQ )} {<Id.Lit_RBracket ']'>} ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<uname>} {<-p>}) right: <Id.Backtick_Right '`'> ) } {<Id.Lit_Equals '='>} {(DQ <i386>)} {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'TERM='> name:TERM) op: assign_op.Equal rhs: {<sun-color>} spids: [132] ) ] redirects: [] ) ] spids: [108 129] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'TERM='> name:TERM) op: assign_op.Equal rhs: {<sun>} spids: [139] ) ] redirects: [] ) ] redirects: [] ) (C {<export>} {<TERM>}) ] spids: [90 105] ) ] else_action: [] redirects: [] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'PAGER='> name:PAGER) op: assign_op.Equal rhs: {(DQ <'/usr/bin/less -ins'>)} spids: [162] ) ] redirects: [] ) (C {<export>} {<PAGER>}) (command.Case to_match: {(DQ ($ Id.VSub_Number 0))} arms: [ (case_arm pat_list: [{<-bash>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'PS1='> name:PS1) op: assign_op.Equal rhs: { (DQ <Id.Lit_BadBackslash '\\'> <'u@'> <Id.Lit_BadBackslash '\\'> <'h:'> <Id.Lit_BadBackslash '\\'> <w> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'> ch:'\\') <Id.Lit_Dollar '$'> <' '> ) } spids: [195] ) ] redirects: [] ) (C {<export>} {<PS1>}) ] spids: [187 188 214 -1] ) ] redirects: [] ) (command.Case to_match: {(DQ ($ Id.VSub_Number 0))} arms: [ (case_arm pat_list: [{<-sh>} {<-ksh>} {<-ksh93>} {<-jsh>} {<-bash>} {<-zsh>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (C {<Id.Lit_LBracket '['>} {<Id.KW_Bang '!'>} {<-f>} {<.hushlogin>} {<Id.Lit_RBracket ']'>} ) ] ) action: [ (C {<'/usr/sbin/quota'>}) (C {<trap>} {(DQ <'trap \'\' 2'>)} {<2>}) (C {<'/bin/cat'>} {<-s>} {<'/etc/motd'>}) (C {<trap>} {(DQ )} {<2>}) (C {<'/bin/mail'>} {<-E>}) (command.Case to_match: {($ Id.VSub_QMark '?')} arms: [ (case_arm pat_list: [{<0>}] action: [(C {<echo>} {(DQ <'You have new mail.'>)})] spids: [312 313 323 -1] ) (case_arm pat_list: [{<2>}] action: [(C {<echo>} {(DQ <'You have mail.'>)})] spids: [326 327 337 -1] ) ] redirects: [] ) ] spids: [252 265] ) ] else_action: [] redirects: [] ) ] spids: [227 248 -1 345] ) ] redirects: [] ) (C {<umask>} {<022>}) (C {<trap>} {<2>} {<3>}) ] )