Re: [PATCH] Add test cases for git-am
- From
Stephan Beyer <s-beyer@gmx.net>
- Date
- May 31, 2008, 22:07 UTC
- Message-ID
- <20080531220723.GD5907@leksak.fem-net>
- In-Reply-To
- <7viqwuffdy.fsf@gitster.siamese.dyndns.org>
Hi,
Show 5 quoted lines
> "git grep 'tail.*+' -- '*.sh'" says that this will the first and only > instance of "tail -n +<number>". The syntax may be POSIX but not all > /usr/bin/tail unfortunately knows about it. > > I tend to prefer "sed -n -e '3,$p'" for things like this for portability.
I'm fine with that, but I sometimes wonder if systems that do not like "tail -n +3" really tend to like a "sed -n -e '3,$p'" :)
Well, Patch v2 follows. (Let's give git-send-email a chance.)
Regards, Stephan
-- Stephan Beyer <s-beyer@gmx.net>, PGP 0x6EDDD207FCC5040F