(command.CommandList
  children: [
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'PATH='> name:PATH)
          op: assign_op.Equal
          rhs: 
            {<Id.Lit_Colon ':'> <'/usr/lib/acct'> <Id.Lit_Colon ':'> <'/usr/bin'> <Id.Lit_Colon ':'> 
              <'/usr/sbin'>
            }
          spids: [93]
        )
      ]
      redirects: []
    )
    (C {<export>} {<PATH>})
    (command.If
      arms: [
        (if_arm
          cond: 
            (condition.Shell
              commands: [
                (C {<Id.Lit_LBracket '['>} {<-f>} {<'/usr/bin/uts'>} {<-a>} {<'/usr/bin/uts'>} 
                  {<Id.Lit_RBracket ']'>}
                )
              ]
            )
          action: [
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'format='> name:format)
                  op: assign_op.Equal
                  rhs: {(DQ <'dev mnt type comment'>)}
                  spids: [122]
                )
              ]
              redirects: []
            )
          ]
          spids: [105 119]
        )
      ]
      else_action: [
        (command.ShAssignment
          pairs: [
            (assign_pair
              lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'format='> name:format)
              op: assign_op.Equal
              rhs: {(DQ <'special dev mnt fstype fsckpass automnt mntflags'>)}
              spids: [131]
            )
          ]
          redirects: []
        )
      ]
      redirects: []
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike '_dir='> name:_dir)
          op: assign_op.Equal
          rhs: {<'/var/adm'>}
          spids: [138]
        )
      ]
      redirects: []
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike '_pickup='> name:_pickup)
          op: assign_op.Equal
          rhs: {<'acct/nite'>}
          spids: [141]
        )
      ]
      redirects: []
    )
    (C {<set>} {<-->} 
      {
        (command_sub
          left_token: <Id.Left_Backtick '`'>
          child: (C {<getopt>} {<o>} {($ Id.VSub_Star '*')})
          right: <Id.Backtick_Right '`'>
        )
      }
    )
    (command.If
      arms: [
        (if_arm
          cond: 
            (condition.Shell
              commands: [
                (C {<Id.Lit_LBracket '['>} {($ Id.VSub_QMark '?')} {<-ne>} {<0>} {<Id.Lit_RBracket ']'>})
              ]
            )
          action: [
            (command.Simple
              words: [{<echo>} {(DQ <'Usage: '> ($ Id.VSub_Number 0) <' [ -o ] [ filesystem ... ]'>)}]
              redirects: [(redir op:<Id.Redir_GreatAnd '>&'> loc:(redir_loc.Fd fd:1) arg:{<2>})]
              more_env: []
              do_fork: T
            )
            (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<1>})
          ]
          spids: [158 170]
        )
      ]
      else_action: []
      redirects: []
    )
    (command.ForEach
      iter_names: [i]
      iterable: (for_iter.Words words:[{($ Id.VSub_Star '*')}])
      body: 
        (command.DoGroup
          children: [
            (command.Case
              to_match: {($ Id.VSub_DollarName i)}
              arms: [
                (case_arm
                  pat_list: [{<-o>}]
                  action: [
                    (command.Sentence
                      child: 
                        (command.ShAssignment
                          pairs: [
                            (assign_pair
                              lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'SLOW='> name:SLOW)
                              op: assign_op.Equal
                              rhs: {<1>}
                              spids: [213]
                            )
                          ]
                          redirects: []
                        )
                      terminator: <Id.Op_Semi _>
                    )
                    (C {<shift>})
                  ]
                  spids: [210 211 218 -1]
                )
                (case_arm
                  pat_list: [{<-->}]
                  action: [
                    (command.Sentence
                      child: (C {<shift>})
                      terminator: <Id.Op_Semi _>
                    )
                    (command.ControlFlow token:<Id.ControlFlow_Break break>)
                  ]
                  spids: [221 222 228 -1]
                )
              ]
              redirects: []
            )
          ]
        )
      redirects: []
    )
    (C {<cd>} {(${ Id.VSub_Name _dir)})
    (command.If
      arms: [
        (if_arm
          cond: 
            (condition.Shell
              commands: [
                (C {<Id.Lit_LBracket '['>} {(DQ ($ Id.VSub_DollarName SLOW))} {<Id.Lit_Equals '='>} {(DQ )} 
                  {<Id.Lit_RBracket ']'>}
                )
              ]
            )
          action: [
            (command.If
              arms: [
                (if_arm
                  cond: 
                    (condition.Shell
                      commands: [
                        (C {<Id.Lit_LBracket '['>} {($ Id.VSub_Pound '#')} {<-lt>} {<1>} 
                          {<Id.Lit_RBracket ']'>}
                        )
                      ]
                    )
                  action: [
                    (command.If
                      arms: [
                        (if_arm
                          cond: 
                            (condition.Shell
                              commands: [
                                (C {<Id.Lit_LBracket '['>} {<-f>} {<'/usr/bin/uts'>} {<-a>} 
                                  {<'/usr/bin/uts'>} {<Id.Lit_RBracket ']'>}
                                )
                              ]
                            )
                          action: [
                            (command.ShAssignment
                              pairs: [
                                (assign_pair
                                  lhs: 
                                    (sh_lhs_expr.Name
                                      left: <Id.Lit_VarLike 'DEVLIST='>
                                      name: DEVLIST
                                    )
                                  op: assign_op.Equal
                                  rhs: {<'/etc/checklist'>}
                                  spids: [295]
                                )
                              ]
                              redirects: []
                            )
                          ]
                          spids: [277 292]
                        )
                      ]
                      else_action: [
                        (command.ShAssignment
                          pairs: [
                            (assign_pair
                              lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'DEVLIST='> name:DEVLIST)
                              op: assign_op.Equal
                              rhs: {<'/etc/vfstab'>}
                              spids: [302]
                            )
                          ]
                          redirects: []
                        )
                      ]
                      redirects: []
                    )
                    (command.WhileUntil
                      keyword: <Id.KW_While while>
                      cond: (condition.Shell commands:[(C {<Id.Lit_Colon ':'>})])
                      body: 
                        (command.DoGroup
                          children: [
                            (command.If
                              arms: [
                                (if_arm
                                  cond: 
                                    (condition.Shell
                                      commands: [(C {<read>} {($ Id.VSub_DollarName format)})]
                                    )
                                  action: [
                                    (command.If
                                      arms: [
                                        (if_arm
                                          cond: 
                                            (condition.Shell
                                              commands: [
                                                (C {<Id.Lit_LBracket '['>} {<-z>} 
                                                  {(DQ ($ Id.VSub_DollarName special))} {<Id.Lit_RBracket ']'>}
                                                )
                                              ]
                                            )
                                          action: [
                                            (command.ControlFlow
                                              token: <Id.ControlFlow_Continue continue>
                                            )
                                          ]
                                          spids: [327 340]
                                        )
                                        (if_arm
                                          cond: 
                                            (condition.Shell
                                              commands: [
                                                (C {<Id.Lit_LBracket '['>} 
                                                  {
                                                    (command_sub
                                                      left_token: <Id.Left_Backtick '`'>
                                                      child: 
                                                        (C {<expr>} {($ Id.VSub_DollarName special)} 
                                                          {<Id.Lit_Colon ':'>} {(SQ <'\\(.\\)'>)}
                                                        )
                                                      right: <Id.Backtick_Right '`'>
                                                    )
                                                  } {<Id.Lit_Equals '='>} {(word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\#'> ch:'#')} 
                                                  {<Id.Lit_RBracket ']'>}
                                                )
                                              ]
                                            )
                                          action: [
                                            (command.ControlFlow
                                              token: <Id.ControlFlow_Continue continue>
                                            )
                                          ]
                                          spids: [346 375]
                                        )
                                      ]
                                      else_action: []
                                      redirects: []
                                    )
                                    (command.If
                                      arms: [
                                        (if_arm
                                          cond: 
                                            (condition.Shell
                                              commands: [
                                                (C {<Id.Lit_LBracket '['>} 
                                                  {(DQ ($ Id.VSub_DollarName fsckpass))} {<Id.Lit_Equals '='>} {(DQ <->)} {<Id.Lit_RBracket ']'>}
                                                )
                                              ]
                                            )
                                          action: [
                                            (command.ControlFlow
                                              token: <Id.ControlFlow_Continue continue>
                                            )
                                          ]
                                          spids: [384 401]
                                        )
                                      ]
                                      else_action: []
                                      redirects: []
                                    )
                                    (command.If
                                      arms: [
                                        (if_arm
                                          cond: 
                                            (condition.Shell
                                              commands: [
                                                (command.AndOr
                                                  ops: [Id.Op_DAmp]
                                                  children: [
                                                    (C {<Id.Lit_LBracket '['>} 
                                                      {($ Id.VSub_DollarName fstype)} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<ufs>} {<Id.Lit_RBracket ']'>}
                                                    )
                                                    (C {<Id.Lit_LBracket '['>} 
                                                      {($ Id.VSub_DollarName fstype)} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<vxfs>} {<Id.Lit_RBracket ']'>}
                                                    )
                                                  ]
                                                )
                                              ]
                                            )
                                          action: [
                                            (command.ControlFlow
                                              token: <Id.ControlFlow_Continue continue>
                                            )
                                          ]
                                          spids: [410 437]
                                        )
                                      ]
                                      else_action: []
                                      redirects: []
                                    )
                                    (command.If
                                      arms: [
                                        (if_arm
                                          cond: 
                                            (condition.Shell
                                              commands: [
                                                (C {<egrep>} {<-s>} 
                                                  {
                                                    (DQ <'^'> (${ Id.VSub_Name special) <'[ \t]+'> 
                                                      (${ Id.VSub_Name mnt) <'[ \t]'>
                                                    )
                                                  } {<'/etc/mnttab'>}
                                                )
                                              ]
                                            )
                                          action: [
                                            (command.Sentence
                                              child: 
                                                (command.Pipeline
                                                  children: [
                                                    (C {<find>} {($ Id.VSub_DollarName mnt)} {<-mount>} 
                                                      {<-print>}
                                                    )
                                                    (command.Simple
                                                      words: [{<acctdusg>}]
                                                      redirects: [
                                                        (redir
                                                          op: <Id.Redir_Great '>'>
                                                          loc: (redir_loc.Fd fd:1)
                                                          arg: 
                                                            {
                                                              (command_sub
                                                                left_token: <Id.Left_Backtick '`'>
                                                                child: 
                                                                  (command.Pipeline
                                                                    children: [
                                                                      (C {<echo>} 
                                                                        {($ Id.VSub_DollarName dev)}
                                                                      )
                                                                      (C {<sed>} {<'s-/-_-g'>})
                                                                    ]
                                                                    negated: F
                                                                    stderr_indices: []
                                                                  )
                                                                right: <Id.Backtick_Right '`'>
                                                              ) <.dtmp>
                                                            }
                                                        )
                                                      ]
                                                      more_env: []
                                                      do_fork: T
                                                    )
                                                  ]
                                                  negated: F
                                                  stderr_indices: []
                                                )
                                              terminator: <Id.Op_Amp _>
                                            )
                                          ]
                                          spids: [451 472]
                                        )
                                      ]
                                      else_action: []
                                      redirects: []
                                    )
                                  ]
                                  spids: [317 324]
                                )
                              ]
                              else_action: [
                                (C {<wait>})
                                (command.ControlFlow
                                  token: <Id.ControlFlow_Break break>
                                )
                              ]
                              redirects: []
                            )
                          ]
                        )
                      redirects: [
                        (redir
                          op: <Id.Redir_Less '<'>
                          loc: (redir_loc.Fd fd:0)
                          arg: {($ Id.VSub_DollarName DEVLIST)}
                        )
                      ]
                    )
                    (command.If
                      arms: [
                        (if_arm
                          cond: 
                            (condition.Shell
                              commands: [
                                (C {<Id.Lit_LBracket '['>} 
                                  {
                                    (DQ 
                                      (command_sub
                                        left_token: <Id.Left_Backtick '`'>
                                        child: (C {<echo>} {<Id.Lit_Star '*'> <.dtmp>})
                                        right: <Id.Backtick_Right '`'>
                                      )
                                    )
                                  } {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {(DQ <'*.dtmp'>)} {<Id.Lit_RBracket ']'>}
                                )
                              ]
                            )
                          action: [
                            (command.Simple
                              words: [
                                {<awk>}
                                {<-e>}
                                {
                                  (SQ <'\n'> 
                                    <'\t{tot[$1] += $3; if (name[$1] == "") name[$1] = "" $2}\n'> <'END\t{for (i in tot) printf "%d\\t%s\\t%d\\n", i, name[i], tot[i]}'>
                                  )
                                }
                                {<Id.Lit_Star '*'> <.dtmp>}
                              ]
                              redirects: [
                                (redir
                                  op: <Id.Redir_Great '>'>
                                  loc: (redir_loc.Fd fd:1)
                                  arg: {<dtmp>}
                                )
                              ]
                              more_env: []
                              do_fork: T
                            )
                            (C {<rm>} {<-f>} {<Id.Lit_Star '*'> <.dtmp>})
                          ]
                          spids: [533 558]
                        )
                      ]
                      else_action: [
                        (command.Simple
                          words: []
                          redirects: [
                            (redir
                              op: <Id.Redir_Great '>'>
                              loc: (redir_loc.Fd fd:1)
                              arg: {<dtmp>}
                            )
                          ]
                          more_env: []
                          do_fork: F
                        )
                      ]
                      redirects: []
                    )
                  ]
                  spids: [261 274]
                )
              ]
              else_action: [
                (command.Pipeline
                  children: [
                    (C {<find>} {($ Id.VSub_Star '*')} {<-mount>} {<-print>})
                    (command.Simple
                      words: [{<acctdusg>}]
                      redirects: [(redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<dtmp>})]
                      more_env: []
                      do_fork: T
                    )
                  ]
                  negated: F
                  stderr_indices: []
                )
              ]
              redirects: []
            )
          ]
          spids: [243 258]
        )
      ]
      else_action: [
        (command.If
          arms: [
            (if_arm
              cond: 
                (condition.Shell
                  commands: [
                    (C {<Id.Lit_LBracket '['>} {($ Id.VSub_Pound '#')} {<-lt>} {<1>} 
                      {<Id.Lit_RBracket ']'>}
                    )
                  ]
                )
              action: [
                (command.ShAssignment
                  pairs: [
                    (assign_pair
                      lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'args='> name:args)
                      op: assign_op.Equal
                      rhs: {(DQ <'/'>)}
                      spids: [639]
                    )
                  ]
                  redirects: []
                )
              ]
              spids: [623 636]
            )
          ]
          else_action: [
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'args='> name:args)
                  op: assign_op.Equal
                  rhs: {(DQ ($ Id.VSub_Star '*'))}
                  spids: [648]
                )
              ]
              redirects: []
            )
          ]
          redirects: []
        )
        (command.ForEach
          iter_names: [i]
          iterable: (for_iter.Words words:[{($ Id.VSub_DollarName args)}])
          body: 
            (command.DoGroup
              children: [
                (command.If
                  arms: [
                    (if_arm
                      cond: 
                        (condition.Shell
                          commands: [
                            (C {<Id.Lit_LBracket '['>} {<Id.KW_Bang '!'>} {<-d>} 
                              {($ Id.VSub_DollarName i)} {<Id.Lit_RBracket ']'>}
                            )
                          ]
                        )
                      action: [
                        (command.Simple
                          words: [
                            {<echo>}
                            {
                              (DQ ($ Id.VSub_Number 0) <': '> ($ Id.VSub_DollarName i) 
                                <' is not a directory -- ignored'>
                              )
                            }
                          ]
                          redirects: [
                            (redir
                              op: <Id.Redir_GreatAnd '>&'>
                              loc: (redir_loc.Fd fd:1)
                              arg: {<2>}
                            )
                          ]
                          more_env: []
                          do_fork: T
                        )
                      ]
                      spids: [669 682]
                    )
                  ]
                  else_action: [
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'dir='> name:dir)
                          op: assign_op.Equal
                          rhs: {(DQ ($ Id.VSub_DollarName i) <' '> ($ Id.VSub_DollarName dir))}
                          spids: [701]
                        )
                      ]
                      redirects: []
                    )
                  ]
                  redirects: []
                )
              ]
            )
          redirects: []
        )
        (command.If
          arms: [
            (if_arm
              cond: 
                (condition.Shell
                  commands: [
                    (C {<Id.Lit_LBracket '['>} {(DQ ($ Id.VSub_DollarName dir))} {<Id.Lit_Equals '='>} {(DQ )} 
                      {<Id.Lit_RBracket ']'>}
                    )
                  ]
                )
              action: [
                (command.Simple
                  words: [{<echo>} {(DQ ($ Id.VSub_Number 0) <': No data'>)}]
                  redirects: [(redir op:<Id.Redir_GreatAnd '>&'> loc:(redir_loc.Fd fd:1) arg:{<2>})]
                  more_env: []
                  do_fork: T
                )
                (command.Simple
                  words: []
                  redirects: [(redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<dtmp>})]
                  more_env: []
                  do_fork: F
                )
              ]
              spids: [715 731]
            )
          ]
          else_action: [
            (command.Pipeline
              children: [
                (C {<find>} {($ Id.VSub_DollarName dir)} {<-print>})
                (command.Simple
                  words: [{<acctdusg>}]
                  redirects: [(redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<dtmp>})]
                  more_env: []
                  do_fork: T
                )
              ]
              negated: F
              stderr_indices: []
            )
          ]
          redirects: []
        )
      ]
      redirects: []
    )
    (command.Pipeline
      children: [
        (C {<sort>} {<Id.Lit_Other '+'> <0n>} {<Id.Lit_Other '+'> <1>} {<dtmp>})
        (command.Simple
          words: [{<acctdisk>}]
          redirects: [
            (redir
              op: <Id.Redir_Great '>'>
              loc: (redir_loc.Fd fd:1)
              arg: {(${ Id.VSub_Name _pickup) <'/disktacct'>}
            )
          ]
          more_env: []
          do_fork: T
        )
      ]
      negated: F
      stderr_indices: []
    )
    (C {<chmod>} {<644>} {(${ Id.VSub_Name _pickup) <'/disktacct'>})
    (C {<chown>} {<adm>} {(${ Id.VSub_Name _pickup) <'/disktacct'>})
  ]
)