Re: [PATCH] t6013: replace use of 'tac' with equivalent Perl
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Sep 1, 2008, 16:32 UTC
- Message-ID
- <alpine.DEB.1.00.0809011831200.13830@pacific.mpi-cbg.de.mpi-cbg.de>
- In-Reply-To
- <41757CC9-DB9B-41C9-A698-E2948F79DC2C@silverinsanity.com>
Hi,
On Mon, 1 Sep 2008, Brian Gernhardt wrote:
> I am reminded of the last time I tried to remove a use of tac from git > (rebase -i, to be specific). I was yelled at for trying to use perl, > and "sed -ne '1!G;$p;h'" turned out to be not portable enough.
Please note that using Perl in test scripts is considered less bad than using Perl in a shell script which is part of Git's core.
Ciao, Dscho