From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 22 06:09:46 2010 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 1PVMZm-0006FE-5p 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 1PVGFL-0005F9-FG for submit@debbugs.gnu.org; Tue, 21 Dec 2010 23:24:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PVGLg-0007vW-5q for submit@debbugs.gnu.org; Tue, 21 Dec 2010 23:30:49 -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]:35148) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PVGLg-0007vR-3T for submit@debbugs.gnu.org; Tue, 21 Dec 2010 23:30:48 -0500 Received: from [140.186.70.92] (port=58531 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PVGLe-00080C-42 for bug-coreutils@gnu.org; Tue, 21 Dec 2010 23:30:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PVGLd-0007u5-2i for bug-coreutils@gnu.org; Tue, 21 Dec 2010 23:30:46 -0500 Received: from mail-yx0-f169.google.com ([209.85.213.169]:39035) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PVGLd-0007tn-09 for bug-coreutils@gnu.org; Tue, 21 Dec 2010 23:30:45 -0500 Received: by yxl31 with SMTP id 31so2375395yxl.0 for ; Tue, 21 Dec 2010 20:30:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=CSHxpFVPJ2xm0ciHPUqwwhNwt2esCumP0lpghtAJbeI=; b=nt+93vPOBdkAw+Q4XJdzuSX3CBhUnPYNHIR83jTZCoU3rwUEfZXmkzkR12tNiNojSc jlg3YDBGprnmRthuRiedyzkSFnet4h8pBnCE1n13G5UdzAPztTd6A24dEuq7N9Ux8WiC v7yzK8ntwqZ41Xzc6Qx/n4IcYZTPtF4YwaUrk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=A1HTF/Sz+VdXCcqjcPBfjpJKL6OmzCwecKsquN1/glImZyW+gWlSZba626moVq7ITf A0LDpnk9/hLsjVmC774RdOXBzc8GvKrfdk4iSnfFuyJVOXI6GQc6E+vDwfI/PsqHLO2l hT6d5wlLULsEOi/z9jbFnBNBH/VZW4ig6VZ8I= MIME-Version: 1.0 Received: by 10.100.195.14 with SMTP id s14mr3776337anf.141.1292992244406; Tue, 21 Dec 2010 20:30:44 -0800 (PST) Received: by 10.100.33.9 with HTTP; Tue, 21 Dec 2010 20:30:44 -0800 (PST) In-Reply-To: References: Date: Tue, 21 Dec 2010 23:30:44 -0500 Message-ID: Subject: Re: tac prints file lines in order when given a separator From: Tim Blair To: bug-coreutils@gnu.org Content-Type: multipart/alternative; boundary=0016e643596a6cdbeb0497f83701 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 (-----) --0016e643596a6cdbeb0497f83701 Content-Type: text/plain; charset=UTF-8 I've realized that the 'bug' is in my reading of the man page, not the implementation, my bad. On Tue, Dec 21, 2010 at 9:43 PM, Tim Blair wrote: > [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 > --0016e643596a6cdbeb0497f83701 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I've realized that the 'bug' is in my reading of the man page, = not the implementation, my bad.

On Tue, D= ec 21, 2010 at 9:43 PM, Tim Blair <trblair@gmail.com> wrote:
[tim]$ /usr/bin/t= ac test.txt
six
five
four
three
two
one
[tim]$ /usr/b= in/tac --separator=3Dblah test.txt
one
two
three
four
five
six

The output of the first c= ommand makes sense, but I think that the second run should print in the rev= erse order (and should have the separator, although I could be misreading t= he man page)

Tim

--0016e643596a6cdbeb0497f83701-- From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 30 09:45:26 2011 Received: (at control) by debbugs.gnu.org; 30 Oct 2011 13:45:26 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RKVhV-0003HY-NS for submit@debbugs.gnu.org; Sun, 30 Oct 2011 09:45:26 -0400 Received: from mx.meyering.net ([88.168.87.75]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RKVhT-0003EM-AJ for control@debbugs.gnu.org; Sun, 30 Oct 2011 09:45:24 -0400 Received: from rho.meyering.net (localhost.localdomain [127.0.0.1]) by rho.meyering.net (Acme Bit-Twister) with ESMTP id F1F806007E for ; Sun, 30 Oct 2011 14:43:16 +0100 (CET) From: Jim Meyering To: control@debbugs.gnu.org Subject: notabug [Re: tac prints ... Date: Sun, 30 Oct 2011 14:43:16 +0100 Message-ID: <8762j6k32j.fsf@rho.meyering.net> Lines: 3 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: control 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.7 (--) tags 7707 + notabug close 7707 thanks From unknown Fri Aug 15 12:49:08 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 28 Nov 2011 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator