(command.CommandList
  children: [
    (command.ShAssignment
      left: <Id.Lit_VarLike 'test_description='>
      pairs: [
        (AssignPair
          left: <Id.Lit_VarLike 'test_description='>
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'test_description='> name:test_description)
          op: assign_op.Equal
          rhs: {(SQ <'git apply --stat --summary test, with --recount\n'> <'\n'>)}
        )
      ]
      redirects: []
    )
    (command.Simple
      blame_tok: <.>
      more_env: []
      words: [{<.>} {<'./test-lib.sh'>}]
      redirects: []
      do_fork: T
    )
    (command.ShAssignment
      left: <Id.Lit_VarLike 'UNC='>
      pairs: [
        (AssignPair
          left: <Id.Lit_VarLike 'UNC='>
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'UNC='> 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 @@/'>
              )
            }
        )
      ]
      redirects: []
    )
    (command.ShAssignment
      left: <Id.Lit_VarLike 'num='>
      pairs: [
        (AssignPair
          left: <Id.Lit_VarLike 'num='>
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'num='> name:num)
          op: assign_op.Equal
          rhs: {<0>}
        )
      ]
      redirects: []
    )
    (command.WhileUntil
      keyword: <Id.KW_While while>
      cond: 
        (condition.Shell
          commands: [
            (command.Simple
              blame_tok: <read>
              more_env: []
              words: [{<read>} {<title>}]
              redirects: []
              do_fork: T
            )
          ]
        )
      body: 
        (command.DoGroup
          left: <Id.KW_Do do>
          children: [
            (command.ShAssignment
              left: <Id.Lit_VarLike 'num='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike 'num='>
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'num='> name:num)
                  op: assign_op.Equal
                  rhs: 
                    {
                      (word_part.ArithSub
                        left: <Id.Left_DollarDParen '$(('>
                        anode: 
                          (arith_expr.Binary
                            op_id: Id.Arith_Plus
                            left: {($ Id.VSub_DollarName num)}
                            right: {<Id.Lit_Digits 1>}
                          )
                        right: <Id.Right_DollarDParen _>
                      )
                    }
                )
              ]
              redirects: []
            )
            (command.Simple
              blame_tok: <test_expect_success>
              more_env: []
              words: [
                {<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'>
                  )
                }
              ]
              redirects: []
              do_fork: T
            )
            (command.Simple
              blame_tok: <test_expect_success>
              more_env: []
              words: [
                {<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: []
              do_fork: T
            )
          ]
          right: <Id.KW_Done done>
        )
      redirects: [
        (Redir
          op: <Id.Redir_DLess '<<'>
          loc: (redir_loc.Fd fd:0)
          arg: 
            (redir_param.HereDoc
              here_begin: {(word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\E'> ch:E) <OF>}
              here_end_tok: <Id.Undefined_Tok ''>
              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'>
              ]
            )
        )
      ]
    )
    (command.Simple
      blame_tok: <test_done>
      more_env: []
      words: [{<test_done>}]
      redirects: []
      do_fork: T
    )
  ]
)