(command.CommandList children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'ARG='> name:ARG) op: assign_op.Equal rhs: {<-k>} spids: [88] ) ] redirects: [] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'FSSPEC='> name:FSSPEC) op: assign_op.Equal rhs: {<N>} spids: [91] ) ] redirects: [] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'INODES='> name:INODES) op: assign_op.Equal rhs: {<N>} spids: [94] ) ] redirects: [] ) (command.WhileUntil keyword: <Id.KW_While while> cond: (condition.Shell commands: [ (C {<Id.Lit_LBracket '['>} {($ Id.VSub_Pound '#')} {<-gt>} {<0>} {<Id.Lit_RBracket ']'>}) ] ) body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'flag='> name:flag) op: assign_op.Equal rhs: {($ Id.VSub_Number 1)} spids: [114] ) ] redirects: [] ) (command.Case to_match: {($ Id.VSub_DollarName flag)} arms: [ (case_arm pat_list: [{(SQ <-F>)}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'ARG='> name:ARG) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName ARG) <' -F'>)} spids: [131] ) ] redirects: [] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'FSSPEC='> name:FSSPEC) op: assign_op.Equal rhs: {<Y>} spids: [138] ) ] redirects: [] ) ] spids: [125 128 142 -1] ) (case_arm pat_list: [{(SQ <-t>)}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'ARG='> name:ARG) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName ARG) <' -F'>)} spids: [151] ) ] redirects: [] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'FSSPEC='> name:FSSPEC) op: assign_op.Equal rhs: {<Y>} spids: [158] ) ] redirects: [] ) (C {<shift>}) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (C {<Id.Lit_LBracket '['>} {(DQ ($ Id.VSub_Number 1))} {<Id.Lit_Equals '='>} {(DQ <4.2>)} {<Id.Lit_RBracket ']'>} ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'ARG='> name:ARG) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName ARG) <' ufs'>)} spids: [185] ) ] redirects: [] ) ] spids: [165 182] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'ARG='> name:ARG) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName ARG) <' '> ($ Id.VSub_Number 1))} spids: [195] ) ] redirects: [] ) ] redirects: [] ) ] spids: [145 148 206 -1] ) (case_arm pat_list: [{(SQ <-i>)}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'ARG='> name:ARG) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName ARG) <' -o i'>)} spids: [215] ) ] redirects: [] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'INODES='> name:INODES) op: assign_op.Equal rhs: {<Y>} spids: [222] ) ] redirects: [] ) ] spids: [209 212 226 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'ARG='> name:ARG) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName ARG) <' '> ($ Id.VSub_DollarName flag))} spids: [233] ) ] redirects: [] ) ] spids: [229 230 241 -1] ) ] redirects: [] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} {($ Id.VSub_Pound '#')} {<-gt>} {<0>} {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] ) action: [(C {<shift>})] spids: [247 260] ) ] else_action: [] redirects: [] ) ] ) redirects: [] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<Id.Lit_LBracket '['>} {(DQ ($ Id.VSub_DollarName INODES))} {<Id.Lit_Equals '='>} {(DQ <Y>)} {<Id.Lit_RBracket ']'>} ) (C {<Id.Lit_LBracket '['>} {(DQ ($ Id.VSub_DollarName FSSPEC))} {<Id.Lit_Equals '='>} {(DQ <N>)} {<Id.Lit_RBracket ']'>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'ARG='> name:ARG) op: assign_op.Equal rhs: {(DQ <'-F ufs '> ($ Id.VSub_DollarName ARG))} spids: [306] ) ] redirects: [] ) ] spids: [270 303] ) ] else_action: [] redirects: [] ) (C {<exec>} {<'/usr/sbin/df'>} {($ Id.VSub_DollarName ARG)}) ] )