> On Fri, Dec 22, 2006 at 02:54:23PM +0100, Mario Lang wrote:
>>
>> --- debian/rules.orig 2006-12-22 14:08:09.000000000 +0100
>> +++ debian/rules 2006-12-22 14:40:02.000000000 +0100
>> @@ -287,9 +287,9 @@
>> if test -r debian/$(THISPACKAGE)/DEBIAN/config ; then sh -e
>> debian/config.augmenter debian/$(THISPACKAGE)/DEBIAN/config ; fi
>> # Rewrite README.Debian and add free or non-free statement.
>> ifeq ($(DFSG),)
>> - tail +2 debian/README.Debian.free | sed '[EMAIL
>> PROTECTED]@!$(UPSTREAMSOURCE)!' >
>> debian/$(THISPACKAGE)/usr/share/doc/$(THISPACKAGE)/README.Debian
>> + tail -n +2 debian/README.Debian.free | sed '[EMAIL
>> PROTECTED]@!$(UPSTREAMSOURCE)!' >
>> debian/$(THISPACKAGE)/usr/share/doc/$(THISPACKAGE)/README.Debian
>> else
>> - tail +2 debian/README.Debian.nonfree | sed '[EMAIL
>> PROTECTED]@!$(UPSTREAMSOURCE)!' >
>> debian/$(THISPACKAGE)/usr/share/doc/$(THISPACKAGE)/README.Debian
>> + tail -n +2 debian/README.Debian.nonfree | sed '[EMAIL
>> PROTECTED]@!$(UPSTREAMSOURCE)!' >
>> debian/$(THISPACKAGE)/usr/share/doc/$(THISPACKAGE)/README.Debian
>> endif
>> sed '[EMAIL PROTECTED]@!$(DEB_BUILD_CONFIGURE)!' < debian/README.Debian
>> >> debian/$(THISPACKAGE)/usr/share/doc/$(THISPACKAGE)/README.Debian
Diego Biurrun <[EMAIL PROTECTED]> replied:
> That's a GNUism. 'tail +2' is part of POSIX. GNU tail has no business
> deprecating the syntax.
The coreutils changelog entry suggests the answer isn't that easy:
coreutils (5.96-3) unstable; urgency=low
* The POSIX compatability level is now set to POSIX 1003.1-2001,
which affects the syntax for several commands. For transition
purposes, "sort +number" and "tail +number" will be supported
for the etch release. Note that these usages are deprecated, and
will be removed in etch+1; the recommended usage is "sort -k number"
and "tail -n +number". Also, "uniq +number" should be replaced with
"uniq -s number" and "touch number filename" should be replaced with
"touch -t number filename". To revert to the older syntax, set the
environment variable _POSIX2_VERSION to "199209".
-- Michael Stone <[EMAIL PROTECTED]> Sat, 27 May 2006 12:56:18 -0400
--
Regards,
Mario Lang
Graz University of Technology mailto:[EMAIL PROTECTED]
Department Computing http://www.ZID.TUGraz.at/lang/
Phone: +43 (0) 316 / 873 - 6897
/____________________________________________________________/
/_Apparently a teacher has been arrested in the UK in possession_/
/of a compass, protractor, and straight edge. It is claimed he is a/
/member of the Al Gebra movement, bearing weapons of math instruction/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]