[PATCH] fix obsolete option for head

Florian Weimer fw at deneb.enyo.de
Thu Sep 8 02:22:55 CDT 2005


* Benoit Boissinot:

> -head -3 port > port1
> +head -n 3 port > port1

This change is wrong and reduces portability to old systems.  If this
is a problem, use "sed 3q".

(The GNU coreutils change in this area is wrong.  Which distributions
ship the unpatched version, BTW?)


More information about the Mercurial mailing list