(command.CommandList
  children: [
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:test_description)
          op: Equal
          rhs: {(SQ <'git apply --stat --summary test, with --recount\n'> <'\n'>)}
        )
      ]
    )
    (C {(.)} {(./test-lib.sh)})
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:UNC)
          op: Equal
          rhs: 
            {
              (SQ 
                <'s/^\\(@@ -[1-9][0-9]*\\),[0-9]* \\(+[1-9][0-9]*\\),[0-9]* @@/\\1,999 \\2,999 @@/'>
              )
            }
        )
      ]
    )
    (command.Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(lhs_expr.LhsName name:num) op:Equal rhs:{(0)})]
    )
    (command.WhileUntil
      keyword: <KW_While while>
      cond: [(C {(read)} {(title)})]
      body: 
        (command.DoGroup
          children: [
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:num)
                  op: Equal
                  rhs: 
                    {
                      (word_part.ArithSubPart
                        anode: 
                          (arith_expr.ArithBinary
                            op_id: Arith_Plus
                            left: (arith_expr.ArithWord w:{($ VSub_DollarName '$num')})
                            right: (arith_expr.ArithWord w:{(Lit_Digits 1)})
                          )
                      )
                    }
                )
              ]
            )
            (C {(test_expect_success)} {(DQ ($ VSub_DollarName '$title'))} 
              {
                (SQ <'\n'> <'\t\tgit apply --stat --summary \\\n'> 
                  <'\t\t\t<"$TEST_DIRECTORY/t4100/t-apply-$num.patch" >current &&\n'> <'\t\ttest_i18ncmp "$TEST_DIRECTORY"/t4100/t-apply-$num.expect current\n'> <'\t'>
                )
              }
            )
            (C {(test_expect_success)} {(DQ ($ VSub_DollarName '$title') (' with recount'))} 
              {
                (SQ <'\n'> <'\t\tsed -e "$UNC" <"$TEST_DIRECTORY/t4100/t-apply-$num.patch" |\n'> 
                  <'\t\tgit apply --recount --stat --summary >current &&\n'> <'\t\ttest_i18ncmp "$TEST_DIRECTORY"/t4100/t-apply-$num.expect current\n'> <'\t'>
                )
              }
            )
          ]
        )
      redirects: [
        (redir.HereDoc
          op: <Redir_DLess '<<'>
          fd: 16777215
          here_begin: {(word_part.EscapedLiteralPart token:<Lit_EscapedChar '\\E'>) (OF)}
          here_end_span_id: 101
          stdin_parts: [
            ('rename\n')
            ('copy\n')
            ('rewrite\n')
            ('mode\n')
            ('non git (1)\n')
            ('non git (2)\n')
            ('non git (3)\n')
            ('incomplete (1)\n')
            ('incomplete (2)\n')
          ]
        )
      ]
    )
    (C {(test_done)})
  ]
)