Does anyone know of a system for which `head -n1' doesn't work
the same as the traditional `head -1'?
The latter doesn't conform to POSIX 1003.1-2001.
Without this patch, dependencies don't work when
using `head' from the next test release of the GNU textutils
and with the
Am Son, 2002-02-17 um 18.19 schrieb Jim Meyering:
Does anyone know of a system for which `head -n1' doesn't work
the same as the traditional `head -1'?
From SunOS4's manpage (dated ~1990):
[..]
NAME
head - display first few lines of specified files
SYNOPSIS
head [ -n ] [
Thanks! You're right. I've just confirmed that on a
SunOS4.1.4 system its /usr/ucb/head.
Here's a better patch:
* m4/depout.m4: Don't use `head -1'; it's no longer portable.
Use `sed 1q' instead.
Index: m4/depout.m4
On Sun, Feb 17, 2002 at 08:35:31PM +0100, Jim Meyering wrote:
* m4/depout.m4: Don't use `head -1'; it's no longer portable.
Use `sed 1q' instead.
Hi Jim! Could you adjust tests/cond12.test and
tests/insthook.test similarly?
Thanks,
--
Alexandre Duret-Lutz
Alexandre Duret-Lutz [EMAIL PROTECTED] wrote:
On Sun, Feb 17, 2002 at 08:35:31PM +0100, Jim Meyering wrote:
* m4/depout.m4: Don't use `head -1'; it's no longer portable.
Use `sed 1q' instead.
Hi Jim! Could you adjust tests/cond12.test and
tests/insthook.test similarly?
Sure.