From unknown Fri Aug 15 17:18:46 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7706: tac prints file lines in order when given a separator Resent-From: Tim Blair Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Wed, 22 Dec 2010 11:10:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7706 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 7706@debbugs.gnu.org X-Debbugs-Original-To: bug-coreutils@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.129301618824010 (code B ref -1); Wed, 22 Dec 2010 11:10:03 +0000 Received: (at submit) by debbugs.gnu.org; 22 Dec 2010 11:09:48 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVMZl-0006FC-Kj for submit@debbugs.gnu.org; Wed, 22 Dec 2010 06:09:46 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVEZM-0002wx-Oc for submit@debbugs.gnu.org; Tue, 21 Dec 2010 21:36:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PVEfh-0003l4-K7 for submit@debbugs.gnu.org; Tue, 21 Dec 2010 21:43:22 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_LOW,T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:58868) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PVEfh-0003l0-HV for submit@debbugs.gnu.org; Tue, 21 Dec 2010 21:43:21 -0500 Received: from [140.186.70.92] (port=55955 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PVEfg-00007V-Jh for bug-coreutils@gnu.org; Tue, 21 Dec 2010 21:43:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PVEff-0003ka-Mo for bug-coreutils@gnu.org; Tue, 21 Dec 2010 21:43:20 -0500 Received: from mail-gw0-f48.google.com ([74.125.83.48]:59994) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PVEff-0003kH-Jl for bug-coreutils@gnu.org; Tue, 21 Dec 2010 21:43:19 -0500 Received: by gwaa20 with SMTP id a20so2594725gwa.35 for ; Tue, 21 Dec 2010 18:43:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=Wyzluja5xF4Wo3v1eZv4Nt3ex2sZwCTOEH2ZxCNVbG8=; b=MssiwbKZ0CPiLe3GdXmmefSFCCeCEK5+GsX/yxitsac1eC7YJdHO7einewbHwlDVNM IE9eTUJvcldUnWyVDCjGxV7DVXvJwi9O99Y4MNVhnp2Fwmu5RIdwvw4hIG5SDCw9ZaG9 WG9NVUyeGRP3Y09VygT6v/lJsNRlNMeFMKXaM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=oTLEihhW78dnnRY7BUumhCbNLWoFJfbKm5OBZSLi4CVJnx/w69ApHhJM+jThtsQDV6 9hER5OUNcwOeYHkOthbfOgWsl+59g0Tv43cnujxFEJDkKDPzc6KAsb1oRqa0JNIRePSr wLM2fPsM0KtvlfsQOlBU+/4izm4mqTpfAroBE= MIME-Version: 1.0 Received: by 10.101.186.1 with SMTP id n1mr3716539anp.209.1292985798460; Tue, 21 Dec 2010 18:43:18 -0800 (PST) Received: by 10.100.33.9 with HTTP; Tue, 21 Dec 2010 18:43:18 -0800 (PST) Date: Tue, 21 Dec 2010 21:43:18 -0500 Message-ID: From: Tim Blair Content-Type: multipart/alternative; boundary=00163691ff6a37868d0497f6b754 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Spam-Score: -5.9 (-----) X-Mailman-Approved-At: Wed, 22 Dec 2010 06:09:44 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) --00163691ff6a37868d0497f6b754 Content-Type: text/plain; charset=UTF-8 [tim]$ /usr/bin/tac test.txt six five four three two one [tim]$ /usr/bin/tac --separator=blah test.txt one two three four five six The output of the first command makes sense, but I think that the second run should print in the reverse order (and should have the separator, although I could be misreading the man page) Tim --00163691ff6a37868d0497f6b754 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable [tim]$ /usr/bin/tac test.txt
six
five
four
three
two
one=
[tim]$ /usr/bin/tac --separator=3Dblah test.txt
one
two
three=
four
five
six

The output of the first command makes sense,= but I think that the second run should print in the reverse order (and sho= uld have the separator, although I could be misreading the man page)

Tim
--00163691ff6a37868d0497f6b754-- From unknown Fri Aug 15 17:18:46 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7706: Cancel the bug report References: In-Reply-To: Resent-From: Tim Blair Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Wed, 22 Dec 2010 18:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7706 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 7706@debbugs.gnu.org Received: via spool by 7706-submit@debbugs.gnu.org id=B7706.129304123529426 (code B ref 7706); Wed, 22 Dec 2010 18:08:02 +0000 Received: (at 7706) by debbugs.gnu.org; 22 Dec 2010 18:07:15 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVT5m-0007eZ-UY for submit@debbugs.gnu.org; Wed, 22 Dec 2010 13:07:15 -0500 Received: from mail-yw0-f44.google.com ([209.85.213.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVT5k-0007eM-Nx for 7706@debbugs.gnu.org; Wed, 22 Dec 2010 13:07:13 -0500 Received: by ywk9 with SMTP id 9so2353398ywk.3 for <7706@debbugs.gnu.org>; Wed, 22 Dec 2010 10:13:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=yIM+yocM5xqBbCMWYewBRMXCTBTVwoOy0GQ1fSwomyQ=; b=aTGJI1PqhTuM5LfPpoC7bydhbrhoMfNfa48HccGlBpRITfly/vOiHE8ntrP6xO0Kke JYBwT0wxYBse3pwduv+XBOIWFQm/jrEPqGjPF6dLnhjqfrE54J5Cx0pobiamA/HbRCp/ 9vmV06LkQ+bhWhSKmFkxBF26WrHXj9yPkLtGE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=NKBiawLlzEDuGUGpON0TaCDBKp7lV07Qvbd1kb2qEKZzISiu1pjwwd/h7ldVtnXdhC MnGVnDTLlXGelMV2nGARDCp8HhK434rZoLdLy9kbhxUbGX266ZOd5l5W8V4jnhN3DPQM 6qbGEym1JQdv6W0ShDT9RsizjTyaB0Y8+SUmo= MIME-Version: 1.0 Received: by 10.100.195.14 with SMTP id s14mr4291006anf.141.1293041627719; Wed, 22 Dec 2010 10:13:47 -0800 (PST) Received: by 10.100.33.9 with HTTP; Wed, 22 Dec 2010 10:13:47 -0800 (PST) Date: Wed, 22 Dec 2010 13:13:47 -0500 Message-ID: From: Tim Blair Content-Type: multipart/alternative; boundary=0016e643596ae6690e049803b628 X-Spam-Score: -4.8 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.4 (----) --0016e643596ae6690e049803b628 Content-Type: text/plain; charset=UTF-8 I misinterpreted the man page, there is no bug. --0016e643596ae6690e049803b628 Content-Type: text/html; charset=UTF-8 I misinterpreted the man page, there is no bug. --0016e643596ae6690e049803b628-- From unknown Fri Aug 15 17:18:46 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Tim Blair Subject: bug#7706: closed (Re: bug#7706: Cancel the bug report) Message-ID: References: <20101223005301.GB8547@hysteria.proulx.com> X-Gnu-PR-Message: they-closed 7706 X-Gnu-PR-Package: coreutils Reply-To: 7706@debbugs.gnu.org Date: Thu, 23 Dec 2010 00:47:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1293065222-3844-1" This is a multi-part message in MIME format... ------------=_1293065222-3844-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #7706: tac prints file lines in order when given a separator which was filed against the coreutils package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 7706@debbugs.gnu.org. --=20 7706: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D7706 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1293065222-3844-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 7706-done) by debbugs.gnu.org; 23 Dec 2010 00:46:29 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVZK8-0000zF-3y for submit@debbugs.gnu.org; Wed, 22 Dec 2010 19:46:28 -0500 Received: from joseki.proulx.com ([216.17.153.58]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVZK6-0000yz-43 for 7706-done@debbugs.gnu.org; Wed, 22 Dec 2010 19:46:26 -0500 Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 7A82C21361; Wed, 22 Dec 2010 17:53:01 -0700 (MST) Received: by hysteria.proulx.com (Postfix, from userid 1000) id 6E1052DD7D; Wed, 22 Dec 2010 17:53:01 -0700 (MST) Date: Wed, 22 Dec 2010 17:53:01 -0700 From: Bob Proulx To: Tim Blair Subject: Re: bug#7706: Cancel the bug report Message-ID: <20101223005301.GB8547@hysteria.proulx.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -2.4 (--) X-Debbugs-Envelope-To: 7706-done Cc: 7706-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.4 (--) Tim Blair wrote: > I misinterpreted the man page, there is no bug. No problem. Closing the bug then. Thank you for participating in the development of the GNU Project software. Bob ------------=_1293065222-3844-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 22 Dec 2010 11:09:48 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVMZl-0006FC-Kj for submit@debbugs.gnu.org; Wed, 22 Dec 2010 06:09:46 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVEZM-0002wx-Oc for submit@debbugs.gnu.org; Tue, 21 Dec 2010 21:36:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PVEfh-0003l4-K7 for submit@debbugs.gnu.org; Tue, 21 Dec 2010 21:43:22 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_LOW,T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:58868) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PVEfh-0003l0-HV for submit@debbugs.gnu.org; Tue, 21 Dec 2010 21:43:21 -0500 Received: from [140.186.70.92] (port=55955 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PVEfg-00007V-Jh for bug-coreutils@gnu.org; Tue, 21 Dec 2010 21:43:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PVEff-0003ka-Mo for bug-coreutils@gnu.org; Tue, 21 Dec 2010 21:43:20 -0500 Received: from mail-gw0-f48.google.com ([74.125.83.48]:59994) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PVEff-0003kH-Jl for bug-coreutils@gnu.org; Tue, 21 Dec 2010 21:43:19 -0500 Received: by gwaa20 with SMTP id a20so2594725gwa.35 for ; Tue, 21 Dec 2010 18:43:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=Wyzluja5xF4Wo3v1eZv4Nt3ex2sZwCTOEH2ZxCNVbG8=; b=MssiwbKZ0CPiLe3GdXmmefSFCCeCEK5+GsX/yxitsac1eC7YJdHO7einewbHwlDVNM IE9eTUJvcldUnWyVDCjGxV7DVXvJwi9O99Y4MNVhnp2Fwmu5RIdwvw4hIG5SDCw9ZaG9 WG9NVUyeGRP3Y09VygT6v/lJsNRlNMeFMKXaM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=oTLEihhW78dnnRY7BUumhCbNLWoFJfbKm5OBZSLi4CVJnx/w69ApHhJM+jThtsQDV6 9hER5OUNcwOeYHkOthbfOgWsl+59g0Tv43cnujxFEJDkKDPzc6KAsb1oRqa0JNIRePSr wLM2fPsM0KtvlfsQOlBU+/4izm4mqTpfAroBE= MIME-Version: 1.0 Received: by 10.101.186.1 with SMTP id n1mr3716539anp.209.1292985798460; Tue, 21 Dec 2010 18:43:18 -0800 (PST) Received: by 10.100.33.9 with HTTP; Tue, 21 Dec 2010 18:43:18 -0800 (PST) Date: Tue, 21 Dec 2010 21:43:18 -0500 Message-ID: Subject: tac prints file lines in order when given a separator From: Tim Blair To: bug-coreutils@gnu.org Content-Type: multipart/alternative; boundary=00163691ff6a37868d0497f6b754 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 22 Dec 2010 06:09:44 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) --00163691ff6a37868d0497f6b754 Content-Type: text/plain; charset=UTF-8 [tim]$ /usr/bin/tac test.txt six five four three two one [tim]$ /usr/bin/tac --separator=blah test.txt one two three four five six The output of the first command makes sense, but I think that the second run should print in the reverse order (and should have the separator, although I could be misreading the man page) Tim --00163691ff6a37868d0497f6b754 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable [tim]$ /usr/bin/tac test.txt
six
five
four
three
two
one=
[tim]$ /usr/bin/tac --separator=3Dblah test.txt
one
two
three=
four
five
six

The output of the first command makes sense,= but I think that the second run should print in the reverse order (and sho= uld have the separator, although I could be misreading the man page)

Tim
--00163691ff6a37868d0497f6b754-- ------------=_1293065222-3844-1--