X-Loop: help-debbugs@HIDDEN Subject: bug#18808: implement 'tail -r' as synonym for 'tac' Resent-From: Eric Blake <eblake@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-coreutils@HIDDEN Resent-Date: Thu, 23 Oct 2014 16:40:03 +0000 Resent-Message-ID: <handler.18808.B.141408239410732 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 18808 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 18808 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-coreutils@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.141408239410732 (code B ref -1); Thu, 23 Oct 2014 16:40:03 +0000 Received: (at submit) by debbugs.gnu.org; 23 Oct 2014 16:39:54 +0000 Received: from localhost ([127.0.0.1]:33141 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1XhLQX-0002n2-Fu for submit <at> debbugs.gnu.org; Thu, 23 Oct 2014 12:39:53 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53751) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <eblake@HIDDEN>) id 1XhLQT-0002mj-AL for submit <at> debbugs.gnu.org; Thu, 23 Oct 2014 12:39:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <eblake@HIDDEN>) id 1XhLQI-0001Jh-Tx for submit <at> debbugs.gnu.org; Thu, 23 Oct 2014 12:39:43 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:36989) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eblake@HIDDEN>) id 1XhLQI-0001JZ-Qu for submit <at> debbugs.gnu.org; Thu, 23 Oct 2014 12:39:38 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55417) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <eblake@HIDDEN>) id 1XhLQE-0005lV-9l for bug-coreutils@HIDDEN; Thu, 23 Oct 2014 12:39:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <eblake@HIDDEN>) id 1XhLQ9-0001Fd-QJ for bug-coreutils@HIDDEN; Thu, 23 Oct 2014 12:39:34 -0400 Received: from mx1.redhat.com ([209.132.183.28]:3273) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eblake@HIDDEN>) id 1XhLQ9-0001FG-IM for bug-coreutils@HIDDEN; Thu, 23 Oct 2014 12:39:29 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s9NGdRtx007204 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for <bug-coreutils@HIDDEN>; Thu, 23 Oct 2014 12:39:28 -0400 Received: from [10.3.113.61] (ovpn-113-61.phx2.redhat.com [10.3.113.61]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s9NGdQp9020701 for <bug-coreutils@HIDDEN>; Thu, 23 Oct 2014 12:39:27 -0400 Message-ID: <54492F3E.1090503@HIDDEN> Date: Thu, 23 Oct 2014 10:39:26 -0600 From: Eric Blake <eblake@HIDDEN> Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="fqC71UgTVSFAnmpBROimDkO1JK2R9E18P" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.0 (-----) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --fqC71UgTVSFAnmpBROimDkO1JK2R9E18P Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable POSIX is considering standardizing the Solaris/BSD behavior of 'tail -r' rather than adding the GNU extension of 'tac' as a separate utility: http://austingroupbugs.net/view.php?id=3D877 This bug report serves as a reminder that we need to add 'tail -r' support to coreutils, as well as a request for reviewers for the current state of the proposal to make sure that it is not an onerous burden for adding that code. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --fqC71UgTVSFAnmpBROimDkO1JK2R9E18P Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg iQEcBAEBCAAGBQJUSS8+AAoJEKeha0olJ0NqFYoH/1PWXQIw7mV21J0myLruby5u q6wJDUnrvlNU62+uzdDVHtFFJ9dsw79WzxLaUrh5v1ATWne190sHgZBd5R1j9Q18 51YVjKZto5pIzRZdi5IVR65lHn0lvnzMbWJwbI2HLGNqC3CiOp/oY2eOSo4MiHpF XPp9LZpjo6/IRleOptDuQPGopRkeDQ8MPueZO6XHjb9kwnIUxbJ+nMuXm4vKxJsc U7LdK7avVwNdsGjmh0vMTJTE9450WCjS0lZYkP9Ji+x+OBUbaYscCEdc9ggP870L CHqEQXyQ6L0W3Q3dd/8iwm5GqxgVBNsUsmBIpEB0jV3gfIK1TbcO3nEs2qVGCJs= =XNhK -----END PGP SIGNATURE----- --fqC71UgTVSFAnmpBROimDkO1JK2R9E18P--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Eric Blake <eblake@HIDDEN> Subject: bug#18808: Acknowledgement (implement 'tail -r' as synonym for 'tac') Message-ID: <handler.18808.B.141408239410732.ack <at> debbugs.gnu.org> References: <54492F3E.1090503@HIDDEN> X-Gnu-PR-Message: ack 18808 X-Gnu-PR-Package: coreutils Reply-To: 18808 <at> debbugs.gnu.org Date: Thu, 23 Oct 2014 16:40:05 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-coreutils@HIDDEN If you wish to submit further information on this problem, please send it to 18808 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 18808: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D18808 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#18808: implement 'tail -r' as synonym for 'tac' Resent-From: Eric Blake <eblake@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-coreutils@HIDDEN Resent-Date: Thu, 23 Oct 2014 16:54:02 +0000 Resent-Message-ID: <handler.18808.B18808.141408320012119 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 18808 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 18808 <at> debbugs.gnu.org Received: via spool by 18808-submit <at> debbugs.gnu.org id=B18808.141408320012119 (code B ref 18808); Thu, 23 Oct 2014 16:54:02 +0000 Received: (at 18808) by debbugs.gnu.org; 23 Oct 2014 16:53:20 +0000 Received: from localhost ([127.0.0.1]:33159 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1XhLdY-00039O-7d for submit <at> debbugs.gnu.org; Thu, 23 Oct 2014 12:53:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:26882) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <eblake@HIDDEN>) id 1XhLdV-00039C-27 for 18808 <at> debbugs.gnu.org; Thu, 23 Oct 2014 12:53:17 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s9NGrEZc029259 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for <18808 <at> debbugs.gnu.org>; Thu, 23 Oct 2014 12:53:14 -0400 Received: from [10.3.113.61] (ovpn-113-61.phx2.redhat.com [10.3.113.61]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s9NGrDOg028090 for <18808 <at> debbugs.gnu.org>; Thu, 23 Oct 2014 12:53:14 -0400 Message-ID: <54493279.80408@HIDDEN> Date: Thu, 23 Oct 2014 10:53:13 -0600 From: Eric Blake <eblake@HIDDEN> Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 References: <54492F3E.1090503@HIDDEN> In-Reply-To: <54492F3E.1090503@HIDDEN> OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="UI9OF3L2EDP5ObXFUgdx6RCrakAui5Qkn" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -6.4 (------) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --UI9OF3L2EDP5ObXFUgdx6RCrakAui5Qkn Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/23/2014 10:39 AM, Eric Blake wrote: > POSIX is considering standardizing the Solaris/BSD behavior of 'tail -r= ' > rather than adding the GNU extension of 'tac' as a separate utility: > http://austingroupbugs.net/view.php?id=3D877 >=20 > This bug report serves as a reminder that we need to add 'tail -r' > support to coreutils, as well as a request for reviewers for the curren= t > state of the proposal to make sure that it is not an onerous burden for= > adding that code. >=20 Implementation-wise, I'm thinking the easiest thing might be to turn tac.c into a shared library-style file (similar to how copy.c is shared among multiple programs), add a 'tac -n' option that limits output to a fixed number of "lines" (or rather, a fixed number of occurrences of '--separator'-delimited segments), then have the new 'tail -r' call into the library code with separator hard-coded to newline, along with sufficient checks that tail's new -r can only be used with -n with no sign on the number (at least, as a first cut; we can certainly support more combinations than what POSIX wants to require, if we can determine sane semantics and easy implementations for those combinations). --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --UI9OF3L2EDP5ObXFUgdx6RCrakAui5Qkn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg iQEcBAEBCAAGBQJUSTJ5AAoJEKeha0olJ0NqvuAIAIKt3j90XdTSfPO+WU4JmptR jXOg7BH83Ta1D9YMNS9ePgpD9xAhY2S9tOU3BbPtRjfiL3obEyTWrcHHpJQMaYNQ mbLNxnFTWaTlXlNjugAHD9W887EXFF3vK6PjlZ27k55Gp3z+lA0WmRbYQtP3MiDq 1O2reUGxHgCOi2uWmkBF5Lsz5h3j8DWB8VkDfEfldvV44PAJscAT3d0FKDR1+Eln AKhdtiiDl8WNcplAEyO/CXsZm6Y91HrWJFrNUs7+vFP69TEJ+4k6NKly/6FkKM9+ OPa2gdm8ANsIuM0Sbt7gzn8Ypp2xTkudddB4SSJUrJR07hZ057KuZjAW3ja51O4= =p02M -----END PGP SIGNATURE----- --UI9OF3L2EDP5ObXFUgdx6RCrakAui5Qkn--
X-Loop: help-debbugs@HIDDEN Subject: bug#18808: implement 'tail -r' as synonym for 'tac' Resent-From: =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-coreutils@HIDDEN Resent-Date: Thu, 23 Oct 2014 18:36:01 +0000 Resent-Message-ID: <handler.18808.B18808.141408934522323 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 18808 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Eric Blake <eblake@HIDDEN> Cc: 18808 <at> debbugs.gnu.org Received: via spool by 18808-submit <at> debbugs.gnu.org id=B18808.141408934522323 (code B ref 18808); Thu, 23 Oct 2014 18:36:01 +0000 Received: (at 18808) by debbugs.gnu.org; 23 Oct 2014 18:35:45 +0000 Received: from localhost ([127.0.0.1]:33264 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1XhNEe-0005ny-8e for submit <at> debbugs.gnu.org; Thu, 23 Oct 2014 14:35:44 -0400 Received: from mail1.vodafone.ie ([213.233.128.43]:37864) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <P@HIDDEN>) id 1XhNEZ-0005nf-4k for 18808 <at> debbugs.gnu.org; Thu, 23 Oct 2014 14:35:40 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApgBAKtJSVRtTWsK/2dsb2JhbAANNRqDYlmDBcl8h00CgSgBhQABAQQjDwFGEAsNAQoCAgUWCwICCQMCAQIBRQYNAQcBAYhCCDiyW3iUVQEBAQEBAQEDAQEBAQEBAQEBGYEsjmJKB4J3gVQFlkuIf4YokhFrgQiBQwEBAQ Received: from unknown (HELO [192.168.1.43]) ([109.77.107.10]) by mail1.vodafone.ie with ESMTP; 23 Oct 2014 19:35:31 +0100 Message-ID: <54494A72.6020202@HIDDEN> Date: Thu, 23 Oct 2014 19:35:30 +0100 From: =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 References: <54492F3E.1090503@HIDDEN> <54493279.80408@HIDDEN> In-Reply-To: <54493279.80408@HIDDEN> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.0 (/) On 10/23/2014 05:53 PM, Eric Blake wrote: > On 10/23/2014 10:39 AM, Eric Blake wrote: >> POSIX is considering standardizing the Solaris/BSD behavior of 'tail -r' >> rather than adding the GNU extension of 'tac' as a separate utility: >> http://austingroupbugs.net/view.php?id=877 >> >> This bug report serves as a reminder that we need to add 'tail -r' >> support to coreutils, as well as a request for reviewers for the current >> state of the proposal to make sure that it is not an onerous burden for >> adding that code. >> > > Implementation-wise, I'm thinking the easiest thing might be to turn > tac.c into a shared library-style file (similar to how copy.c is shared > among multiple programs), add a 'tac -n' option that limits output to a > fixed number of "lines" (or rather, a fixed number of occurrences of > '--separator'-delimited segments), then have the new 'tail -r' call into > the library code with separator hard-coded to newline, along with > sufficient checks that tail's new -r can only be used with -n with no > sign on the number (at least, as a first cut; we can certainly support > more combinations than what POSIX wants to require, if we can determine > sane semantics and easy implementations for those combinations). The above approach sounds sensible if we were to do this. Now the only reason I see would be for compat with solaris and BSD. I don't think they should have included that functionality though as there isn't much complementary with the other tail functions (being incompat with -f for example) and so is better split out as a separate util. The only small advantage of integration is a tiny perf benefit when specifying a number of lines, but really `tail -r -n$num $file` is of minimal improvement over `tac $file | head -n$num` (though would be better than `tail -n$num | tac` as it avoids buffering). As a side note I see that solaris doesn't even support non seekable input mode (though BSD does): $ printf "%s\n" 1 2 3 | tail -r -2 tail: cannot open input Pádraig.
X-Loop: help-debbugs@HIDDEN Subject: bug#18808: implement 'tail -r' as synonym for 'tac' Resent-From: Eric Blake <eblake@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-coreutils@HIDDEN Resent-Date: Thu, 23 Oct 2014 19:04:02 +0000 Resent-Message-ID: <handler.18808.B18808.141409104125218 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 18808 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN> Cc: 18808 <at> debbugs.gnu.org Received: via spool by 18808-submit <at> debbugs.gnu.org id=B18808.141409104125218 (code B ref 18808); Thu, 23 Oct 2014 19:04:02 +0000 Received: (at 18808) by debbugs.gnu.org; 23 Oct 2014 19:04:01 +0000 Received: from localhost ([127.0.0.1]:33287 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1XhNg0-0006Yf-Q2 for submit <at> debbugs.gnu.org; Thu, 23 Oct 2014 15:04:01 -0400 Received: from mx1.redhat.com ([209.132.183.28]:29530) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <eblake@HIDDEN>) id 1XhNfy-0006YV-0G for 18808 <at> debbugs.gnu.org; Thu, 23 Oct 2014 15:03:58 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s9NJ3twX020863 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 23 Oct 2014 15:03:55 -0400 Received: from [10.3.113.61] (ovpn-113-61.phx2.redhat.com [10.3.113.61]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s9NJ3sVr032163; Thu, 23 Oct 2014 15:03:54 -0400 Message-ID: <5449511A.7080101@HIDDEN> Date: Thu, 23 Oct 2014 13:03:54 -0600 From: Eric Blake <eblake@HIDDEN> Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 References: <54492F3E.1090503@HIDDEN> <54493279.80408@HIDDEN> <54494A72.6020202@HIDDEN> In-Reply-To: <54494A72.6020202@HIDDEN> OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="QLsbQOAg1NXNbdD7u6BufOD52o1HBq3Mf" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -6.4 (------) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --QLsbQOAg1NXNbdD7u6BufOD52o1HBq3Mf Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/23/2014 12:35 PM, P=C3=A1draig Brady wrote: >=20 > Now the only reason I see would be for compat with solaris and BSD. >=20 > I don't think they should have included that functionality though > as there isn't much complementary with the other tail functions > (being incompat with -f for example) and so is better split out as a se= parate util. Yeah, today's Austin Group call included a debate about whether standardizing 'tac' would be smarter than 'tail -r', but the consensus among those on the call was that since: 1. more implementations already have 'tail -r' than 'tac' 2. standardizing new requirements to an existing utility is easier than adding a completely new utility (if only slightly, due to less paperwork)= 3. GNU code tends to be the most adaptable therefore, 'tail -r' won the vote, and the result of the meeting was an action to me to see how adaptable GNU really is, and whether we can indeed quickly implement 'tail -r'. >=20 > The only small advantage of integration is a tiny perf benefit > when specifying a number of lines, but really `tail -r -n$num $file` > is of minimal improvement over `tac $file | head -n$num` > (though would be better than `tail -n$num | tac` as it avoids buffering= ). The fact that we DON'T have 'tac -n' is what intrigues me most; that's the one thing that 'tail -r -n' can do in a single process that GNU can't. Of course, it is trivial to implement it by doing what tac has always done and then stop output after -n is exceeded, and easy on seekable files as well. But on non-seekable files, it may lend to an interesting optimization where knowing that the output will be limited to n lines makes it easier to set up a rolling window of the most recent n lines seen rather than having to dump out to a temporary file when the file proves to be larger than the current hueristics of when tac stays in memory. >=20 > As a side note I see that solaris doesn't even support non seekable inp= ut mode > (though BSD does): >=20 > $ printf "%s\n" 1 2 3 | tail -r -2 > tail: cannot open input Careful, which tail are you testing? From your output, I'm guessing you are trying to open the file named './-2' rather than limiting -r to a line count. We made several observations during the Austin Group that /usr/bin/tail and /usr/xpg4/bin/tail behave differently. $ /usr/bin/tail -rc usage: tail [+/-[n][lbc][f]] [file] tail [+/-[n][l][r|f]] [file] $ printf "%s\n" 1 2 3 | /usr/bin/tail -2r 3 2 $ printf "%s\n" 1 2 3 | /usr/xpg4/bin/tail -r -n2 3 2 $ printf "%s\n" 1 2 3 | /usr/xpg4/bin/tail -r -2 3 2 Curiously, Solaris usage also has a bug, as this command line SHOULD be supported, per the output: $ printf "%s\n" 1 2 3 | /usr/xpg4/bin/tail -r -c2 usage: tail [-f|-r] [-c number | -n number] [file] tail [+/-[number][lbc][f]] [file] tail [+/-[number][l][r|f]] [file] But since it is not supported, the POSIX proposal does not require it, and therefore, we don't have to worry about it either :) --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --QLsbQOAg1NXNbdD7u6BufOD52o1HBq3Mf Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg iQEcBAEBCAAGBQJUSVEaAAoJEKeha0olJ0NqFncH/A8useQnw+8mPiWjeH/fT0ca JWs18XM6ZoWe7YuLtTQXKyWFrL0WeLfvO+VBmxrLuvHjj7B/FnQFx0ipPfdYxrxT 0MAZA9FrTOK76U21DFZBWKGdmHRp86LvQTh/9pYWDZcW6wlMtL+pb2XOPQKx6tk7 jdnWbXEumIFT//HTBUePJdVKue/siqKnWPAYTRiWyRwYvlGUl8mfOd5rSu9MK9EE +giWP2Z7FCswqJoDIqJAjLrFDaRtMY/7/VPGi3hFiY/pO6tkYs527iO11lUTAFt7 Pp8Rdb+NxYgy4zM+hG5ZVfYAY2GQ2dr1XmOE8YT0FXZ8V3bbVorxeSo1F5HRzFo= =mUy9 -----END PGP SIGNATURE----- --QLsbQOAg1NXNbdD7u6BufOD52o1HBq3Mf--
X-Loop: help-debbugs@HIDDEN Subject: bug#18808: implement 'tail -r' as synonym for 'tac' Resent-From: =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-coreutils@HIDDEN Resent-Date: Thu, 23 Oct 2014 22:00:03 +0000 Resent-Message-ID: <handler.18808.B18808.14141015619672 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 18808 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Eric Blake <eblake@HIDDEN> Cc: 18808 <at> debbugs.gnu.org Received: via spool by 18808-submit <at> debbugs.gnu.org id=B18808.14141015619672 (code B ref 18808); Thu, 23 Oct 2014 22:00:03 +0000 Received: (at 18808) by debbugs.gnu.org; 23 Oct 2014 21:59:21 +0000 Received: from localhost ([127.0.0.1]:33338 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1XhQPg-0002Vv-TK for submit <at> debbugs.gnu.org; Thu, 23 Oct 2014 17:59:21 -0400 Received: from mail1.vodafone.ie ([213.233.128.43]:38236) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <P@HIDDEN>) id 1XhQPe-0002Vf-Lj for 18808 <at> debbugs.gnu.org; Thu, 23 Oct 2014 17:59:19 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApUBALZ5SVRtTWsK/2dsb2JhbAANT4dAziqDIAKBJwGEfwEBAQMBIw8BRgULCw0BCgICBRYLAgIJAwIBAgFFBg0BBwEBG4gaDbJweJRZAQEBAQEBAQMBAQEBAQEBAQEZgSyOSwlYB4J3gVQFnw6GZIoXh3qBcQEjgSEBAQE Received: from unknown (HELO [192.168.1.43]) ([109.77.107.10]) by mail1.vodafone.ie with ESMTP; 23 Oct 2014 22:59:11 +0100 Message-ID: <54497A2F.2050305@HIDDEN> Date: Thu, 23 Oct 2014 22:59:11 +0100 From: =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 References: <54492F3E.1090503@HIDDEN> <54493279.80408@HIDDEN> <54494A72.6020202@HIDDEN> <5449511A.7080101@HIDDEN> In-Reply-To: <5449511A.7080101@HIDDEN> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.0 (/) On 10/23/2014 08:03 PM, Eric Blake wrote: > On 10/23/2014 12:35 PM, Pádraig Brady wrote: >> >> Now the only reason I see would be for compat with solaris and BSD. >> >> I don't think they should have included that functionality though >> as there isn't much complementary with the other tail functions >> (being incompat with -f for example) and so is better split out as a separate util. > > Yeah, today's Austin Group call included a debate about whether > standardizing 'tac' would be smarter than 'tail -r', but the consensus > among those on the call was that since: I understand these 3 arguments, though don't necessarily agree with any. > 1. more implementations already have 'tail -r' than 'tac' More implementations but definitely not more installations. POSIX should prefer the most popular interface in my biased opinion. > 2. standardizing new requirements to an existing utility is easier than > adding a completely new utility (if only slightly, due to less paperwork) meh, paperwork should not impact on interface > 3. GNU code tends to be the most adaptable True, though while pragmatic should also not dictate interface. Saying that, I'm 50:50 for implementing `tail -r` for compat reasons. > therefore, 'tail -r' won the vote, and the result of the meeting was an > action to me to see how adaptable GNU really is, and whether we can > indeed quickly implement 'tail -r'. > >> >> The only small advantage of integration is a tiny perf benefit >> when specifying a number of lines, but really `tail -r -n$num $file` >> is of minimal improvement over `tac $file | head -n$num` >> (though would be better than `tail -n$num | tac` as it avoids buffering). > > The fact that we DON'T have 'tac -n' is what intrigues me most; that's > the one thing that 'tail -r -n' can do in a single process that GNU > can't. Of course, it is trivial to implement it by doing what tac has > always done and then stop output after -n is exceeded, and easy on > seekable files as well. But on non-seekable files, it may lend to an > interesting optimization where knowing that the output will be limited > to n lines makes it easier to set up a rolling window of the most recent > n lines seen rather than having to dump out to a temporary file when the > file proves to be larger than the current hueristics of when tac stays > in memory. -n wouldn't really have any impact on that better implementation. I.E. ideally we should have an adaptive buffer internally that after 128KiB or so (the current io_blksize()) would start buffering to file, irrespective of -n. That would deal with large lines and large -n. Generally such an adaptive switch is optimal in various utils, to operate efficiently with small inputs, but scalably with large ones. >> As a side note I see that solaris doesn't even support non seekable input mode >> (though BSD does): >> >> $ printf "%s\n" 1 2 3 | tail -r -2 >> tail: cannot open input > > Careful, which tail are you testing? From your output, I'm guessing you > are trying to open the file named './-2' rather than limiting -r to a > line count. We made several observations during the Austin Group that > /usr/bin/tail and /usr/xpg4/bin/tail behave differently. > > $ /usr/bin/tail -rc > usage: tail [+/-[n][lbc][f]] [file] > tail [+/-[n][l][r|f]] [file] > $ printf "%s\n" 1 2 3 | /usr/bin/tail -2r > 3 > 2 > $ printf "%s\n" 1 2 3 | /usr/xpg4/bin/tail -r -n2 > 3 > 2 > $ printf "%s\n" 1 2 3 | /usr/xpg4/bin/tail -r -2 > 3 > 2 Ugh right, that's the case here too. How confusing. thanks, Pádraig.
X-Loop: help-debbugs@HIDDEN Subject: bug#18808: implement 'tail -r' as synonym for 'tac' Resent-From: Eric Blake <eblake@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-coreutils@HIDDEN Resent-Date: Thu, 23 Oct 2014 22:53:02 +0000 Resent-Message-ID: <handler.18808.B18808.141410475414805 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 18808 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN> Cc: 18808 <at> debbugs.gnu.org Received: via spool by 18808-submit <at> debbugs.gnu.org id=B18808.141410475414805 (code B ref 18808); Thu, 23 Oct 2014 22:53:02 +0000 Received: (at 18808) by debbugs.gnu.org; 23 Oct 2014 22:52:34 +0000 Received: from localhost ([127.0.0.1]:33348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1XhRFB-0003qi-OS for submit <at> debbugs.gnu.org; Thu, 23 Oct 2014 18:52:34 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38135) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <eblake@HIDDEN>) id 1XhRF9-0003qX-25 for 18808 <at> debbugs.gnu.org; Thu, 23 Oct 2014 18:52:32 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s9NMqT9D019569 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 23 Oct 2014 18:52:29 -0400 Received: from [10.3.113.23] (ovpn-113-23.phx2.redhat.com [10.3.113.23]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s9NMqSf5026488; Thu, 23 Oct 2014 18:52:29 -0400 Message-ID: <544986AC.2090805@HIDDEN> Date: Thu, 23 Oct 2014 16:52:28 -0600 From: Eric Blake <eblake@HIDDEN> Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 References: <54492F3E.1090503@HIDDEN> <54493279.80408@HIDDEN> <54494A72.6020202@HIDDEN> <5449511A.7080101@HIDDEN> <54497A2F.2050305@HIDDEN> In-Reply-To: <54497A2F.2050305@HIDDEN> OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="qjGKi7SApNDebWiKLqrQ3KdqixSeVROxn" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -6.4 (------) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --qjGKi7SApNDebWiKLqrQ3KdqixSeVROxn Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/23/2014 03:59 PM, P=C3=A1draig Brady wrote: >> 1. more implementations already have 'tail -r' than 'tac' >=20 > More implementations but definitely not more installations. > POSIX should prefer the most popular interface in my biased opinion. Hey, I like being biased towards free software, as well :) Popularity does have some impact when considering what to standardize, and the Austin Group has been very good at considering GNU behavior to at least ensure that new requirements in the standard do not conflict with GNU. But to be pedantic, probably a majority of POSIX-certified installations have 'tail -r' (maybe as many as 100%? 'tail -r' dates back to at least 1980, before POSIX was even a dream, and is on more flavors of Unix than just Solaris) while very few POSIX-certified installations have 'tac' (no one has yet certified a GNU/Linux platform, to my knowledge; and while some POSIX systems like Solaris include various GNU tools in a default installation, GNU tac doesn't tend to be one of them). Sadly, even though many pieces of GNU software try hard to comply with POSIX, no one has yet ironed out all the remaining warts to use GNU as a POSIX-certified system (and it's not a trivial task; some of the warts are embedded fairly deeply in the kernel, such as behavior of unlink("symlink-to-dir/") being different than the current POSIX requirements). So among existing POSIX-certified systems, 'tail -r' is the more popular extension at the moment. > Saying that, I'm 50:50 for implementing `tail -r` for compat reasons. Yes, this alone is reason enough to implement it in GNU, regardless of the direction POSIX takes. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --qjGKi7SApNDebWiKLqrQ3KdqixSeVROxn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg iQEcBAEBCAAGBQJUSYasAAoJEKeha0olJ0Nq480H/iuEpBdJcIDQSR6yQFfr0g0+ qTdzbiyXfAQCvCV35d8kcGzHmL6HPZ3wiCqDBXb36kyndpts0iatxlQm6NijUT1A f4Uy4GIHpkzXOAm4aH8QjoVE1t+SwgiO+6KfbfMpTR15FsMg+3FYBSUN/+0wNzv4 5ZMNqzkvgFJvm0vW3GMfw4zfgr3A3am5Jg3jBs6zugbIUpcZfM0QUT4hvqKffJSW yUqpX0KDRAvUOywWmbdL1QXPwQn6Jf5D6GnZEAgNFLQ9S4q64Pl/eg/a0Pq+wicw VP7LrimxOP7JrA73zb+mrT2kdOpMXR+kxk1qoUDgislv7GLVBY0SnAVWaYAf+gU= =C3xt -----END PGP SIGNATURE----- --qjGKi7SApNDebWiKLqrQ3KdqixSeVROxn--
X-Loop: help-debbugs@HIDDEN Subject: bug#18808: implement 'tail -r' as synonym for 'tac' Resent-From: Bernhard Voelker <mail@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-coreutils@HIDDEN Resent-Date: Fri, 24 Oct 2014 06:12:02 +0000 Resent-Message-ID: <handler.18808.B18808.141413108525206 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 18808 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Eric Blake <eblake@HIDDEN>, =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN> Cc: 18808 <at> debbugs.gnu.org Received: via spool by 18808-submit <at> debbugs.gnu.org id=B18808.141413108525206 (code B ref 18808); Fri, 24 Oct 2014 06:12:02 +0000 Received: (at 18808) by debbugs.gnu.org; 24 Oct 2014 06:11:25 +0000 Received: from localhost ([127.0.0.1]:33435 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1XhY5s-0006YT-Qu for submit <at> debbugs.gnu.org; Fri, 24 Oct 2014 02:11:25 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:54535) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <mail@HIDDEN>) id 1XhY5q-0006YD-5B for 18808 <at> debbugs.gnu.org; Fri, 24 Oct 2014 02:11:22 -0400 Received: from [192.168.1.10] (pD956529F.dip0.t-ipconnect.de [217.86.82.159]) by mrelayeu.kundenserver.de (node=mreue007) with ESMTP (Nemesis) id 0Lf4Iu-1YRaCd2NlA-00ooBz; Fri, 24 Oct 2014 08:11:11 +0200 Message-ID: <5449ED7F.2040405@HIDDEN> Date: Fri, 24 Oct 2014 08:11:11 +0200 From: Bernhard Voelker <mail@HIDDEN> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 MIME-Version: 1.0 References: <54492F3E.1090503@HIDDEN> <54493279.80408@HIDDEN> <54494A72.6020202@HIDDEN> <5449511A.7080101@HIDDEN> <54497A2F.2050305@HIDDEN> <544986AC.2090805@HIDDEN> In-Reply-To: <544986AC.2090805@HIDDEN> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V02:K0:W0+GNXqebuQ1ycBmosxYYqVJ5zxN/ivuKltX4tSSB2T x/YEIWUtXqbt29KswVZLgHEvDZhr2+gLmu90ZUofq37xhNw79d O0V8hGJIZ5JgJJnabbkg1MHUccP7kFgrDe0lu/2R3YNH3vpy6h +tPhx/uWZF5ZEBOCGsdEN1UQtvAkACwr626cF1v1F9pC4CwrXU nCVPZIpHztJwyqjnDbgwfCBBfr27uHdal7CyfNQC75CZ9Obs1m HSVtOX1BZih17+nvkuKGqlFXNSZbgFhTvhQjApKpC/poSlU9b0 ED7OmXUsAHtEIv9jO9QnJBV5zHA1gQr/1Xq+b3fO5CqZWdJ5oN 3QhuobEZjNeQ+5Tj3KIYKB7JM9BAbnP8eI9RB0nq6 X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.0 (/) On 10/24/2014 12:52 AM, Eric Blake wrote: > On 10/23/2014 03:59 PM, Pádraig Brady wrote: > [...]. So among existing POSIX-certified systems, 'tail -r' is > the more popular extension at the moment. > >> Saying that, I'm 50:50 for implementing `tail -r` for compat reasons. > > Yes, this alone is reason enough to implement it in GNU, regardless of > the direction POSIX takes. I'm also worried about such an extension. 'tail -r' might be a useful thing - when -r is the only option being used, but looking at all the other options GNU tail already got over the years, adding -r doesn't fit well. You proposed to make -n available to tac and then jump into it from 'tail -r'. Well, what about -c? --follow={name|descriptor}? --retry, --pid=PID? To make -r fit well into tail, we'd have to add every single feature of it to tac. This sounds not like a good idea. tail does a good job, and so does tac. I'd almost prefer to fork+pipe internally instead, similar to what e.g. 'sort --compress-program=PROG' does. Have a nice day, Berny
X-Loop: help-debbugs@HIDDEN Subject: bug#18808: implement 'tail -r' as synonym for 'tac' Resent-From: Eric Blake <eblake@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-coreutils@HIDDEN Resent-Date: Fri, 24 Oct 2014 12:13:02 +0000 Resent-Message-ID: <handler.18808.B18808.14141527275492 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 18808 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Bernhard Voelker <mail@HIDDEN>, =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN> Cc: 18808 <at> debbugs.gnu.org Received: via spool by 18808-submit <at> debbugs.gnu.org id=B18808.14141527275492 (code B ref 18808); Fri, 24 Oct 2014 12:13:02 +0000 Received: (at 18808) by debbugs.gnu.org; 24 Oct 2014 12:12:07 +0000 Received: from localhost ([127.0.0.1]:33651 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1Xhdix-0001QV-6P for submit <at> debbugs.gnu.org; Fri, 24 Oct 2014 08:12:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46022) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <eblake@HIDDEN>) id 1Xhdiu-0001QJ-J7 for 18808 <at> debbugs.gnu.org; Fri, 24 Oct 2014 08:12:05 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s9OCBuBb004477 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 24 Oct 2014 08:11:56 -0400 Received: from [10.3.113.23] (ovpn-113-23.phx2.redhat.com [10.3.113.23]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s9OCBuLR023716; Fri, 24 Oct 2014 08:11:56 -0400 Message-ID: <544A420B.4090304@HIDDEN> Date: Fri, 24 Oct 2014 06:11:55 -0600 From: Eric Blake <eblake@HIDDEN> Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 References: <54492F3E.1090503@HIDDEN> <54493279.80408@HIDDEN> <54494A72.6020202@HIDDEN> <5449511A.7080101@HIDDEN> <54497A2F.2050305@HIDDEN> <544986AC.2090805@HIDDEN> <5449ED7F.2040405@HIDDEN> In-Reply-To: <5449ED7F.2040405@HIDDEN> OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="q9BAWXwmQc963tElDhO7EK9DgkCc6QMGB" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -6.4 (------) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --q9BAWXwmQc963tElDhO7EK9DgkCc6QMGB Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/24/2014 12:11 AM, Bernhard Voelker wrote: > On 10/24/2014 12:52 AM, Eric Blake wrote: >> On 10/23/2014 03:59 PM, P=C3=A1draig Brady wrote: >> [...]. So among existing POSIX-certified systems, 'tail -r' is >> the more popular extension at the moment. >> >>> Saying that, I'm 50:50 for implementing `tail -r` for compat reasons.= >> >> Yes, this alone is reason enough to implement it in GNU, regardless of= >> the direction POSIX takes. >=20 > I'm also worried about such an extension. 'tail -r' might be a useful > thing - when -r is the only option being used, but looking at all the > other options GNU tail already got over the years, adding -r doesn't > fit well. You proposed to make -n available to tac and then jump into > it from 'tail -r'. Well, what about -c? --follow=3D{name|descriptor}? Reject them both. Solaris 'tail -r' rejects use with -c or -f; reverse mode is strictly limited to lines of a text file, and is strictly limited to the existing end of the file at the time the command starts. > --retry, --pid=3DPID? To make -r fit well into tail, we'd have to add > every single feature of it to tac. This sounds not like a good idea. No, to support 'tail -r', we make it refuse to operate with any option other than -n, because that is all the more other implementations do, and all the more POSIX is considering to require. At least, as our first cut at an implementation. We can add more option interactions later over time if desired as extensions, but we are not required to add them, especially if we cannot come up with good semantics for those interactions. > tail does a good job, and so does tac. I'd almost prefer to fork+pipe > internally instead, similar to what e.g. 'sort --compress-program=3DPRO= G' > does. That's why my proposal is limited to just librar-ifying the tac.c code and calling into it (no need to fork+pipe when we can just do the work directly). --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --q9BAWXwmQc963tElDhO7EK9DgkCc6QMGB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg iQEcBAEBCAAGBQJUSkILAAoJEKeha0olJ0NqKJYH/2uBayT+sUu8PHSgFaCqV3xr AAFRrVQPVaR0VDE9RcJDW6DbEV8/+qpoM+00oltewJjggddAvNyYEY3p3AJaNW78 fCKTtQ7SPgckMdO9+yilH60/jMEpMPWMiLelQRnDsweU6QXRm101TwIAuBfHkvAJ 57XkiMSaL5IFRNE335Qa6pd9eUmw3FxtFpnOfftmtUOUme5tLE2Dl3ygnZtx1JmJ yBMt9qM3MirDDoI1HmUlYNmdBUz2ddPMxKzRIR8u/xwqXLjdgSkQhcd7ExVZp0aM fbD9c4hL05I/HC6qIxa4ku9YjbQNT4SQ5wHwKT13VeCT9PuQsR8e+SIkjjjIhTg= =B81U -----END PGP SIGNATURE----- --q9BAWXwmQc963tElDhO7EK9DgkCc6QMGB--
Received: (at control) by debbugs.gnu.org; 19 Oct 2018 01:06:14 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 18 21:06:14 2018 Received: from localhost ([127.0.0.1]:57852 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gDJF0-0006aW-EF for submit <at> debbugs.gnu.org; Thu, 18 Oct 2018 21:06:14 -0400 Received: from mail-pf1-f173.google.com ([209.85.210.173]:37164) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <assafgordon@HIDDEN>) id 1gDJEz-0006aK-1B for control <at> debbugs.gnu.org; Thu, 18 Oct 2018 21:06:13 -0400 Received: by mail-pf1-f173.google.com with SMTP id j23-v6so15687944pfi.4 for <control <at> debbugs.gnu.org>; Thu, 18 Oct 2018 18:06:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:message-id:date:user-agent:mime-version:content-language :content-transfer-encoding; bh=zO2OMpxSfRPs9EyrzKvwIK/e8Jz1FHOTykDwBQzaK+M=; b=lRrdHes68jIgSPRuna7EGTYrFP4OlwVqUqaj5LV45Jzc4ZceDCWe4YkzbxsgBqMwsE 7TxiIoccEJtyTXWlJ9j8oMj4ZjsF2IfIisavy+qZdG8xbwxl3qP8h/5z/6F0FUjpa/fb zbmraxd1ArGN6GS3Twx9vrHXddZn5/MOxt9N9MLPAznxfs3XUlHPfQkv2a0+3j3XauUy AYMAC7+hB2lRmwjHF6FbfE9ASCYZTZJcsqr9zLDiROrX+7Q9atCWfoYv/tGTQwG8Z46n 68Dv6xOnuBc4APeQC9gh16qSC1sokzfs95CVmXsZS95tkXOoqG5q8pmJEO8JZo0BwCGj efNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=zO2OMpxSfRPs9EyrzKvwIK/e8Jz1FHOTykDwBQzaK+M=; b=Q4HJHhVUOxmDaTx37T9rNTYbtGIKarswzd/r6gYe6g2pA+PqapPNcKhbLZ5J+0hkh4 9U6+KJs3ulsu5dUkb6GDI+M5Wfr6gO+qf9ZqC4e8ozbsxudovHgpE/+BGVykSHqBK+rO RGWmtderDTbkwXqqcdD81deG0vuUH1Y/tdFNPxwDgD1m1EqX8ZA/aJE0LDpEHaVlvW9a BgQn1g0qPiEq9c+FYZ9tiVJ18/5EajhnpQRXqfR5sSSx0yV46pzoLhoMkmUEEP0iabdr UyacNoonfOrvbGhww6/sJ0oU+oeh9kIdI/e4zwKA8Zke0IzbkoyuUVk5ZBPC7w+gJD0E xTZQ== X-Gm-Message-State: ABuFfoi5NhcQXOdqxyFj40oZdvp/cTY0KqY5yekER3JDY53Z4FQpRq7G Thn/76Vj5uxsrpgVA8Jy3co/+fav13g= X-Google-Smtp-Source: ACcGV60FuHNvtoNkoOxUJ2B4URt7X0IE3FWs8yANlYBntk68zy/La/utpYnF0ThtYhR5bYPpZgdywA== X-Received: by 2002:aa7:88c2:: with SMTP id p2-v6mr25016924pfo.32.1539911166989; Thu, 18 Oct 2018 18:06:06 -0700 (PDT) Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38]) by smtp.googlemail.com with ESMTPSA id r18-v6sm22407207pgv.17.2018.10.18.18.06.05 for <control <at> debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Oct 2018 18:06:05 -0700 (PDT) To: control <at> debbugs.gnu.org From: Assaf Gordon <assafgordon@HIDDEN> Message-ID: <65f4ba06-4685-59c7-d3af-2fdff162ff45@HIDDEN> Date: Thu, 18 Oct 2018 19:06:04 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: severity 18808 wishlist retitle 18808 tail: implement 'tail -r' as synonym for 'tac' [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.210.173 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (assafgordon[at]gmail.com) 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.210.173 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 1.0 (+) severity 18808 wishlist retitle 18808 tail: implement 'tail -r' as synonym for 'tac'
Received: (at control) by debbugs.gnu.org; 19 Oct 2018 01:06:14 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 18 21:06:14 2018 Received: from localhost ([127.0.0.1]:57852 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gDJF0-0006aW-EF for submit <at> debbugs.gnu.org; Thu, 18 Oct 2018 21:06:14 -0400 Received: from mail-pf1-f173.google.com ([209.85.210.173]:37164) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <assafgordon@HIDDEN>) id 1gDJEz-0006aK-1B for control <at> debbugs.gnu.org; Thu, 18 Oct 2018 21:06:13 -0400 Received: by mail-pf1-f173.google.com with SMTP id j23-v6so15687944pfi.4 for <control <at> debbugs.gnu.org>; Thu, 18 Oct 2018 18:06:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:message-id:date:user-agent:mime-version:content-language :content-transfer-encoding; bh=zO2OMpxSfRPs9EyrzKvwIK/e8Jz1FHOTykDwBQzaK+M=; b=lRrdHes68jIgSPRuna7EGTYrFP4OlwVqUqaj5LV45Jzc4ZceDCWe4YkzbxsgBqMwsE 7TxiIoccEJtyTXWlJ9j8oMj4ZjsF2IfIisavy+qZdG8xbwxl3qP8h/5z/6F0FUjpa/fb zbmraxd1ArGN6GS3Twx9vrHXddZn5/MOxt9N9MLPAznxfs3XUlHPfQkv2a0+3j3XauUy AYMAC7+hB2lRmwjHF6FbfE9ASCYZTZJcsqr9zLDiROrX+7Q9atCWfoYv/tGTQwG8Z46n 68Dv6xOnuBc4APeQC9gh16qSC1sokzfs95CVmXsZS95tkXOoqG5q8pmJEO8JZo0BwCGj efNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=zO2OMpxSfRPs9EyrzKvwIK/e8Jz1FHOTykDwBQzaK+M=; b=Q4HJHhVUOxmDaTx37T9rNTYbtGIKarswzd/r6gYe6g2pA+PqapPNcKhbLZ5J+0hkh4 9U6+KJs3ulsu5dUkb6GDI+M5Wfr6gO+qf9ZqC4e8ozbsxudovHgpE/+BGVykSHqBK+rO RGWmtderDTbkwXqqcdD81deG0vuUH1Y/tdFNPxwDgD1m1EqX8ZA/aJE0LDpEHaVlvW9a BgQn1g0qPiEq9c+FYZ9tiVJ18/5EajhnpQRXqfR5sSSx0yV46pzoLhoMkmUEEP0iabdr UyacNoonfOrvbGhww6/sJ0oU+oeh9kIdI/e4zwKA8Zke0IzbkoyuUVk5ZBPC7w+gJD0E xTZQ== X-Gm-Message-State: ABuFfoi5NhcQXOdqxyFj40oZdvp/cTY0KqY5yekER3JDY53Z4FQpRq7G Thn/76Vj5uxsrpgVA8Jy3co/+fav13g= X-Google-Smtp-Source: ACcGV60FuHNvtoNkoOxUJ2B4URt7X0IE3FWs8yANlYBntk68zy/La/utpYnF0ThtYhR5bYPpZgdywA== X-Received: by 2002:aa7:88c2:: with SMTP id p2-v6mr25016924pfo.32.1539911166989; Thu, 18 Oct 2018 18:06:06 -0700 (PDT) Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38]) by smtp.googlemail.com with ESMTPSA id r18-v6sm22407207pgv.17.2018.10.18.18.06.05 for <control <at> debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Oct 2018 18:06:05 -0700 (PDT) To: control <at> debbugs.gnu.org From: Assaf Gordon <assafgordon@HIDDEN> Message-ID: <65f4ba06-4685-59c7-d3af-2fdff162ff45@HIDDEN> Date: Thu, 18 Oct 2018 19:06:04 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: severity 18808 wishlist retitle 18808 tail: implement 'tail -r' as synonym for 'tac' [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.210.173 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (assafgordon[at]gmail.com) 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.210.173 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 1.0 (+) severity 18808 wishlist retitle 18808 tail: implement 'tail -r' as synonym for 'tac'
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.