[MPlayer-dev-eng] [PATCH] configure, detecting head and tail

D Richard Felker III dalias at aerifal.cx
Sun May 2 08:18:47 CEST 2004


On Sun, May 02, 2004 at 02:05:43AM +0200, Diego Biurrun wrote:
> Magnus Damm writes:
> > This patch detects if "head -n x" or "head -x" should be used.
> > The same goes for tail.
> 
> IMO checking for one of them should be enough.  I doubt you will find
> a system where behavior differs between head and tail.  You could also
> add a comment that explains why this is necessary at all.  And please
> remove the trailing whitespace from your patch.

Broken GNU head/tail give errors when you use -1 in the latest
version, reportedly. I haven't seen this myself. And it's well known
that old unices' heads/tails do not support -n.

Rich




More information about the MPlayer-dev-eng mailing list