bug-coreutils
[Top][All Lists]
Advanced

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

Re: head -c39


From: Paul Eggert
Subject: Re: head -c39
Date: Mon, 29 Aug 2005 20:57:23 -0700
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Jim Meyering <address@hidden> writes:

> Joerg Schilling <address@hidden> wrote:
>> If your head program accepts -c39, I would call this a bug.
>
> It's a long-standing feature of GNU head:

And it's not a bug.  POSIX has never specified the behavior of "head
-c39", and GNU head is allowed to treat it like "head -39c" if it
chooses, as an extension.  Also, POSIX 1003.2-1992 required support
for "tail -39c" with similar semantics, so it's quite plausible to
support this extension from a consistency point of view.

(In this message I'm setting "Reply-to" to address@hidden since
this part of the thread really belongs there.)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]