(command.CommandList
  children: [
    (C {<Id.Lit_Colon ':'>} {<List>} {<all>} {<system>} {<directories>} {<containing>} {<the>} {<argument>})
    (C {<Id.Lit_Colon ':'>} {<Author> <Id.Lit_Colon ':'>} {<Terrence>} {<W.>} {<Holm>})
    (command.If
      arms: [
        (if_arm
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: (C {<test>} {($ Id.VSub_Pound '$#')} {<-ne>} {<1>})
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          action: [
            (C {<echo>} {(DQ <'Usage:  whereis  name'>)})
            (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<1>})
          ]
          spids: [30 41]
        )
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:path)
          op: assign_op.Equal
          rhs: 
            {
              (DQ <'/bin /lib /etc'> <'      /usr/bin /usr/lib'> 
                <'      /usr/include /usr/include/sys'>
              )
            }
          spids: [58]
        )
      ]
    )
    (command.ForEach
      iter_name: dir
      iter_words: [{($ Id.VSub_DollarName '$path')}]
      do_arg_iter: F
      body: 
        (command.DoGroup
          children: [
            (command.ForEach
              iter_name: file
              iter_words: [
                {($ Id.VSub_DollarName '$dir') <'/'> ($ Id.VSub_Number '$1')}
                {($ Id.VSub_DollarName '$dir') <'/'> ($ Id.VSub_Number '$1') <.> <Id.Lit_Star '*'>}
              ]
              do_arg_iter: F
              body: 
                (command.DoGroup
                  children: [
                    (command.If
                      arms: [
                        (if_arm
                          cond: 
                            (condition.Shell
                              commands: [
                                (command.Sentence
                                  child: (C {<test>} {<-f>} {($ Id.VSub_DollarName '$file')})
                                  terminator: <Id.Op_Semi _>
                                )
                              ]
                            )
                          action: [(C {<echo>} {($ Id.VSub_DollarName '$file')})]
                          spids: [100 109]
                        )
                        (if_arm
                          cond: 
                            (condition.Shell
                              commands: [
                                (command.Sentence
                                  child: (C {<test>} {<-d>} {($ Id.VSub_DollarName '$file')})
                                  terminator: <Id.Op_Semi _>
                                )
                              ]
                            )
                          action: [(C {<echo>} {($ Id.VSub_DollarName '$file') <'/'>})]
                          spids: [118 127]
                        )
                      ]
                    )
                  ]
                )
            )
          ]
        )
    )
    (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<0>})
  ]
)