Re: [PATCH] Add test cases for git-am

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

> "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@xxxxxxx>, PGP 0x6EDDD207FCC5040F
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux