(command.CommandList
  children: [
    (command.Case
      to_match: {($ Id.VSub_Pound '$#')}
      arms: [
        (case_arm
          pat_list: [{<0>}]
          action: [
            (command.Simple
              words: [{<echo>} {(DQ <'Usage: mkdep \'cpp command\' file ...'>)}]
              redirects: [(redir op:<Id.Redir_GreatAnd '>&'> loc:(redir_loc.Fd fd:1) arg:{<2>})]
              do_fork: T
            )
            (command.Simple
              words: [{<echo>} {(DQ <'       mkdep directory'>)}]
              redirects: [(redir op:<Id.Redir_GreatAnd '>&'> loc:(redir_loc.Fd fd:1) arg:{<2>})]
              do_fork: T
            )
          ]
          spids: [38 39 62 -1]
        )
        (case_arm
          pat_list: [{<1>}]
          action: [
            (C {<echo>} {(DQ <'Creating .depend files in '> ($ Id.VSub_Number '$1'))})
            (command.ForEach
              iter_name: dir
              iter_words: [
                {
                  (command_sub
                    left_token: <Id.Left_Backtick '`'>
                    child: 
                      (C {<find>} {($ Id.VSub_Number '$1')} {<-type>} {<d>} {<Id.KW_Bang '!'>} {<-name>} 
                        {<CVS>} {<Id.KW_Bang '!'>} {<-name>} {<.svn>}
                      )
                  )
                }
              ]
              do_arg_iter: F
              body: 
                (command.DoGroup
                  children: [(C {<touch>} {($ Id.VSub_DollarName '$dir') <'/.depend'>})]
                )
            )
          ]
          spids: [68 69 123 -1]
        )
        (case_arm
          pat_list: [{<Id.Lit_Star '*'>}]
          action: [
            (command.Sentence
              child: 
                (command.ShAssignment
                  pairs: [
                    (assign_pair
                      lhs: (sh_lhs_expr.Name name:cpp)
                      op: assign_op.Equal
                      rhs: {(DQ ($ Id.VSub_Number '$1'))}
                      spids: [134]
                    )
                  ]
                )
              terminator: <Id.Op_Semi _>
            )
            (C {<shift>})
            (command.ForEach
              iter_name: f
              do_arg_iter: T
              body: 
                (command.DoGroup
                  children: [
                    (command.AndOr
                      ops: [Id.Op_DPipe]
                      children: [
                        (command.Simple
                          words: [{<Id.Lit_Colon ':'>}]
                          redirects: [
                            (redir
                              op: <Id.Redir_Less '<'>
                              loc: (redir_loc.Fd fd:0)
                              arg: {(DQ ($ Id.VSub_DollarName '$f'))}
                            )
                          ]
                          do_fork: T
                        )
                        (command.ControlFlow token:<Id.ControlFlow_Exit exit>)
                      ]
                    )
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:o)
                          op: assign_op.Equal
                          rhs: 
                            {
                              (command_sub
                                left_token: <Id.Left_Backtick '`'>
                                child: 
                                  (C {<expr>} {(DQ ($ Id.VSub_DollarName '$f'))} {<Id.Lit_Colon ':'>} 
                                    {(SQ <'\\(.*\\)\\..*'>)}
                                  )
                              ) <.o>
                            }
                          spids: [166]
                        )
                      ]
                    )
                    (C {<echo>})
                    (command.Pipeline
                      children: [
                        (C {($ Id.VSub_DollarName '$cpp')} {(DQ ($ Id.VSub_DollarName '$f'))})
                        (C {<sed>} {<-e>} 
                          {
                            (SQ <'/^#/!d\n'> <'\t\t\t\ts/.*"\\(.*\\)".*/\\1/\n'> <'\t\t\t\ts:^\\./::'>)
                          } {<-e>} {(DQ <'s:^:'> ($ Id.VSub_DollarName '$o') <Id.Lit_BadBackslash '\\'> <':\t:'>)}
                        )
                        (C {<sort>} {<-u>})
                      ]
                      negated: F
                    )
                  ]
                )
            )
          ]
          spids: [130 131 -1 238]
        )
      ]
    )
    (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<0>})
  ]
)