(command.CommandList
  children: [
    (command.CommandList
      children: [
        (command.Sentence
          child: 
            (C {<.>} 
              {
                (DQ 
                  (braced_var_sub
                    token: <Id.VSub_Name srcdir>
                    suffix_op: (suffix_op.Unary op_id:Id.VTest_Equals arg_word:{<.>})
                  ) <'/tests/init.sh'>
                )
              }
            )
          terminator: <Id.Op_Semi _>
        )
        (C {<path_prepend_>} {<'./src'>})
      ]
    )
    (C {<print_ver_>} {<od>})
    (command.AndOr
      ops: [Id.Op_DPipe]
      children: [
        (command.Simple
          words: [{<seq>} {<19>}]
          redirects: [(redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<Id.KW_In in>})]
          do_fork: T
        )
        (C {<framework_failure_>})
      ]
    )
    (command.AndOr
      ops: [Id.Op_DPipe]
      children: [
        (C {<test>} 
          {
            (command_sub
              left_token: <Id.Left_DollarParen '$('>
              child: 
                (command.Simple
                  words: [{<wc>} {<-c>}]
                  redirects: [
                    (redir
                      op: <Id.Redir_Less '<'>
                      loc: (redir_loc.Fd fd:0)
                      arg: {<Id.KW_In in>}
                    )
                  ]
                  do_fork: T
                )
            )
          } {<-eq>} {<48>}
        )
        (C {<framework_failure_>})
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:list)
          op: assign_op.Equal
          rhs: {(SQ <'a c dC dS dI dL oC oS oI oL uC uS uI uL xC xS xI xL fF fD fL'>)}
          spids: [108]
        )
      ]
    )
    (command.ForEach
      iter_name: format1
      iter_words: [{($ Id.VSub_DollarName '$list')}]
      do_arg_iter: F
      body: 
        (command.DoGroup
          children: [
            (command.ForEach
              iter_name: format2
              iter_words: [{($ Id.VSub_DollarName '$list')}]
              do_arg_iter: F
              body: 
                (command.DoGroup
                  children: [
                    (command.AndOr
                      ops: [Id.Op_DPipe]
                      children: [
                        (command.Simple
                          words: [
                            {<od>}
                            {<-An>}
                            {<-t> (${ Id.VSub_Name format1) <z>}
                            {<-t> (${ Id.VSub_Name format2) <z>}
                            {<Id.KW_In in>}
                          ]
                          redirects: [
                            (redir
                              op: <Id.Redir_Great '>'>
                              loc: (redir_loc.Fd fd:1)
                              arg: {<out-raw>}
                            )
                          ]
                          do_fork: T
                        )
                        (command.ShAssignment
                          pairs: [
                            (assign_pair
                              lhs: (sh_lhs_expr.Name name:fail)
                              op: assign_op.Equal
                              rhs: {<1>}
                              spids: [161]
                            )
                          ]
                        )
                      ]
                    )
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:linewidth)
                          op: assign_op.Equal
                          rhs: 
                            {
                              (command_sub
                                left_token: <Id.Left_DollarParen '$('>
                                child: 
                                  (command.Pipeline
                                    children: [(C {<head>} {<-n1>} {<out-raw>}) (C {<wc>} {<-c>})]
                                    negated: F
                                  )
                              )
                            }
                          spids: [165]
                        )
                      ]
                    )
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:linecount)
                          op: assign_op.Equal
                          rhs: 
                            {
                              (command_sub
                                left_token: <Id.Left_DollarParen '$('>
                                child: 
                                  (command.Simple
                                    words: [{<wc>} {<-l>}]
                                    redirects: [
                                      (redir
                                        op: <Id.Redir_Less '<'>
                                        loc: (redir_loc.Fd fd:0)
                                        arg: {<out-raw>}
                                      )
                                    ]
                                    do_fork: T
                                  )
                              )
                            }
                          spids: [181]
                        )
                      ]
                    )
                    (command.Simple
                      words: [
                        {<echo>}
                        {($ Id.VSub_DollarName '$format1')}
                        {($ Id.VSub_DollarName '$format2')}
                        {
                          (command_sub
                            left_token: <Id.Left_DollarParen '$('>
                            child: 
                              (command.Simple
                                words: [{<wc>} {<-c>}]
                                redirects: [
                                  (redir
                                    op: <Id.Redir_Less '<'>
                                    loc: (redir_loc.Fd fd:0)
                                    arg: {<out-raw>}
                                  )
                                ]
                                do_fork: T
                              )
                          )
                        }
                      ]
                      redirects: [(redir op:<Id.Redir_DGreat '>>'> loc:(redir_loc.Fd fd:1) arg:{<out>})]
                      do_fork: T
                    )
                    (command.Simple
                      words: [
                        {<echo>}
                        {($ Id.VSub_DollarName '$format1')}
                        {($ Id.VSub_DollarName '$format2')}
                        {
                          (command_sub
                            left_token: <Id.Left_DollarParen '$('>
                            child: 
                              (C {<expr>} {($ Id.VSub_DollarName '$linewidth')} {(SQ <'*'>)} 
                                {($ Id.VSub_DollarName '$linecount')}
                              )
                          )
                        }
                      ]
                      redirects: [(redir op:<Id.Redir_DGreat '>>'> loc:(redir_loc.Fd fd:1) arg:{<exp>})]
                      do_fork: T
                    )
                  ]
                )
            )
          ]
        )
    )
    (command.AndOr
      ops: [Id.Op_DPipe]
      children: [
        (C {<compare>} {<exp>} {<out>})
        (command.ShAssignment
          pairs: [
            (assign_pair
              lhs: (sh_lhs_expr.Name name:fail)
              op: assign_op.Equal
              rhs: {<1>}
              spids: [250]
            )
          ]
        )
      ]
    )
    (C {<Exit>} {($ Id.VSub_DollarName '$fail')})
  ]
)