[Top][All Lists]

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

bug#6605: +N lines broken with /usr/bin/tail (GNU coreutils) 7.4

From: Paul Eggert
Subject: bug#6605: +N lines broken with /usr/bin/tail (GNU coreutils) 7.4
Date: Mon, 12 Jul 2010 11:46:55 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20100527 Thunderbird/3.0.5

On 07/10/10 12:53, Davide Brini wrote:

> The "tail +2" syntax is obsolete; probably the recent versions of coreutils
> (which 7.4 is not, anyway) dropped support for it.

It's not just obsolete: it's incompatible with POSIX 1003.1-2001,
which is why it was dropped a while ago.  You can bring back
support for "tail +2" by setting _POSIX2_VERSION=199209 in
your environment; this is documented in the coreutils manual.
But it's probably better to update those dusty old shell scripts
to use the POSIX-specified syntax.

reply via email to

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