(command.CommandList children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike '_adm='> name:_adm) op: assign_op.Equal rhs: {<'/var/adm'>} spids: [99] ) ] redirects: [] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'PATH='> name:PATH) op: assign_op.Equal rhs: {<'/usr/lib/acct'> <Id.Lit_Colon ':'> <'/usr/bin'> <Id.Lit_Colon ':'> <'/usr/sbin'>} spids: [102] ) ] redirects: [] ) (C {<trap>} {(DQ <'rm -f /var/adm/cklock*; exit 0'>)} {<0>} {<1>} {<2>} {<3>} {<9>} {<15>}) (C {<export>} {<PATH>}) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (C {<Id.Lit_LBracket '['>} {<-f>} {<uts>} {<-a>} {<uts>} {<Id.Lit_RBracket ']'>}) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike '_max='> name:_max) op: assign_op.Equal rhs: { (braced_var_sub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Number 1> var_name: 1 suffix_op: (suffix_op.Unary op:<Id.VTest_Hyphen _> arg_word:{<200>}) right: <Id.Right_DollarBrace '}'> ) } spids: [149] ) ] redirects: [] ) ] spids: [132 146] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike '_max='> name:_max) op: assign_op.Equal rhs: { (braced_var_sub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Number 1> var_name: 1 suffix_op: (suffix_op.Unary op:<Id.VTest_Hyphen _> arg_word:{<500>}) right: <Id.Right_DollarBrace '}'> ) } spids: [159] ) ] redirects: [] ) ] redirects: [] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike '_MIN_BLKS='> name:_MIN_BLKS) op: assign_op.Equal rhs: {<500>} spids: [168] ) ] redirects: [] ) (C {<cd>} {<'/var/adm'>}) (C {<cp>} {<'/dev/null'>} {<cklock>}) (C {<chmod>} {<400>} {<cklock>}) (C {<ln>} {<cklock>} {<cklock1>}) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {($ Id.VSub_QMark '?')} {<-ne>} {<0>}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Sentence child: (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<1>}) terminator: <Id.Op_Semi _> ) ] spids: [198 210] ) ] else_action: [] redirects: [] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike '_blocks='> name:_blocks) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {<df>} {($ Id.VSub_DollarName _adm)}) (C {<sed>} {(SQ <'s/.*://'>)}) (C {<awk>} {(SQ <'{ print $1 }'>)}) ] negated: F stderr_indices: [] ) right: <Id.Backtick_Right '`'> ) } spids: [240] ) ] redirects: [] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} {(DQ ($ Id.VSub_DollarName _blocks))} {<-lt>} {($ Id.VSub_DollarName _MIN_BLKS)} {<-a>} {<-f>} {<'/tmp/acctoff'>} {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<echo>} { (DQ <'ckpacct: '> ($ Id.VSub_DollarName _adm) <' still low on space ('> ($ Id.VSub_DollarName _blocks) <' blks); '> <Id.Lit_BadBackslash '\\'> <c> ) } ) (C {<echo>} {(DQ <'acctg still off'>)}) (command.Pipeline children: [ (command.Subshell child: (command.CommandList children: [ (C {<echo>} { (DQ <'ckpacct: '> ($ Id.VSub_DollarName _adm) <' still low on space ('> ($ Id.VSub_DollarName _blocks) <' blks); '> <Id.Lit_BadBackslash '\\'> <c> ) } ) (C {<echo>} {(DQ <'acctg still off'>)}) ] ) redirects: [] ) (C {<mailx>} {<root>} {<adm>}) ] negated: F stderr_indices: [] ) (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<1>}) ] spids: [266 286] ) (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} {(DQ ($ Id.VSub_DollarName _blocks))} {<-lt>} {($ Id.VSub_DollarName _MIN_BLKS)} {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<echo>} { (DQ <'ckpacct: '> ($ Id.VSub_DollarName _adm) <' too low on space ('> ($ Id.VSub_DollarName _blocks) <' blks); '> <Id.Lit_BadBackslash '\\'> <c> ) } ) (C {<echo>} {(DQ <'turning acctg off'>)}) (command.Pipeline children: [ (command.Subshell child: (command.CommandList children: [ (C {<echo>} { (DQ <'ckpacct: '> ($ Id.VSub_DollarName _adm) <' too low on space ('> ($ Id.VSub_DollarName _blocks) <' blks); '> <Id.Lit_BadBackslash '\\'> <c> ) } ) (C {<echo>} {(DQ <'turning acctg off'>)}) ] ) redirects: [] ) (C {<mailx>} {<root>} {<adm>}) ] negated: F stderr_indices: [] ) (C {<nulladm>} {<'/tmp/acctoff'>}) (C {<turnacct>} {<off>}) (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<1>}) ] spids: [345 359] ) (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} {<-f>} {<'/tmp/acctoff'>} {<Id.Lit_RBracket ']'>}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<echo>} { (DQ <'ckpacct: '> ($ Id.VSub_DollarName _adm) <' free space restored; turning acctg on'> ) } ) (command.Pipeline children: [ (C {<echo>} { (DQ <'ckpacct: '> ($ Id.VSub_DollarName _adm) <' free space restored; turning acctg on'> ) } ) (C {<mailx>} {<root>} {<adm>}) ] negated: F stderr_indices: [] ) (C {<rm>} {<'/tmp/acctoff'>}) (C {<turnacct>} {<on>}) ] spids: [428 438] ) ] else_action: [] redirects: [] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike '_cursize='> name:_cursize) op: assign_op.Equal rhs: { (DQ (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [(C {<du>} {<-s>} {<pacct>}) (C {<sed>} {(SQ <'s/\t.*//'>)})] negated: F stderr_indices: [] ) right: <Id.Backtick_Right '`'> ) ) } spids: [481] ) ] redirects: [] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} {(DQ (${ Id.VSub_Name _max))} {<-lt>} {(DQ (${ Id.VSub_Name _cursize))} {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] ) action: [(C {<turnacct>} {<switch>})] spids: [502 523] ) ] else_action: [] redirects: [] ) ] )