(command.CommandList
  children: [
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:test_description)
          op: assign_op.Equal
          rhs: {(SQ <'git apply --stat --summary test, with --recount\n'> <'\n'>)}
          spids: [13]
        )
      ]
    )
    (C {<.>} {<./test-lib.sh>})
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:UNC)
          op: assign_op.Equal
          rhs: 
            {
              (SQ 
                <'s/^\\(@@ -[1-9][0-9]*\\),[0-9]* \\(+[1-9][0-9]*\\),[0-9]* @@/\\1,999 \\2,999 @@/'>
              )
            }
          spids: [24]
        )
      ]
    )
    (command.ShAssignment
      pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:num) op:assign_op.Equal rhs:{<0>} spids:[30])]
    )
    (command.WhileUntil
      keyword: <Id.KW_While while>
      cond: [(C {<read>} {<title>})]
      body: 
        (command.DoGroup
          children: [
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:num)
                  op: assign_op.Equal
                  rhs: 
                    {
                      (word_part.ArithSub
                        anode: 
                          (arith_expr.Binary
                            op_id: Id.Arith_Plus
                            left: (arith_expr.ArithWord w:{($ Id.VSub_DollarName '$num')})
                            right: (arith_expr.ArithWord w:{<Id.Lit_Digits 1>})
                          )
                      )
                    }
                  spids: [42]
                )
              ]
            )
            (C {<test_expect_success>} {(DQ ($ Id.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 ($ Id.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: <Id.Redir_DLess '<<'>
          fd: -1
          here_begin: {(word_part.EscapedLiteral token:<Id.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>})
  ]
)