Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Sep 2017 18:35:17 +0000
From:      betty.nelson@protechnologyaccounts.net
To:        freebsd-questions@freebsd.org
Subject:   Cisco Users Email List and Mailing Addresses
Message-ID:  <001a1136f782a74286055a300d6b@google.com>

next in thread | raw e-mail | index | archive | help
PGRpdiBkaXI9Imx0ciI+PHAgY2xhc3M9Ik1zb05vcm1hbCIgIA0Kc3R5bGU9Im1hcmdpbi1ib3R0
b206MC4wMDAxcHQ7bGluZS1oZWlnaHQ6bm9ybWFsIj5IaSw8c3Bhbj48L3NwYW4+PC9wPg0KDQo8
cCBjbGFzcz0iTXNvTm9ybWFsIiAgDQpzdHlsZT0ibWFyZ2luLWJvdHRvbTowLjAwMDFwdDtsaW5l
LWhlaWdodDpub3JtYWwiPjxzcGFuPsKgPC9zcGFuPjwvcD4NCg0KPHAgY2xhc3M9Ik1zb05vcm1h
bCIgc3R5bGU9Im1hcmdpbi1ib3R0b206MC4wMDAxcHQ7bGluZS1oZWlnaHQ6bm9ybWFsIj5JICAN
CmhvcGUgeW91IGFyZSBkb2luZw0Kd2VsbC4gSSBhbSB3cml0aW5nIHRoaXMgZW1haWwgdG8gbGV0
IHlvdSBrbm93IHRoYXQgd2UgYWNjZXNzIHRvIGNvbXBhbmllcyAgDQp1c2luZw0KQ0lTQ08gYXBw
bGljYXRpb25zL3Byb2R1Y3RzLjxzcGFuPjwvc3Bhbj48L3A+DQoNCjxwIGNsYXNzPSJNc29Ob3Jt
YWwiICANCnN0eWxlPSJtYXJnaW4tYm90dG9tOjAuMDAwMXB0O2xpbmUtaGVpZ2h0Om5vcm1hbCI+
PHNwYW4+wqA8L3NwYW4+PC9wPg0KDQo8cCBjbGFzcz0iTXNvTm9ybWFsIiBzdHlsZT0ibWFyZ2lu
LWJvdHRvbTowLjAwMDFwdDtsaW5lLWhlaWdodDpub3JtYWwiPldlICANCmNhbiBwcm92aWRlIGNv
bnRhY3RzDQpvZiBkZWNpc2lvbiBtYWtlcn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MXB0O2xpbmUtaGVpZ2h0Om5v
cm1hbCI+QmV0dHkgIA0KTmVsc29uPHNwYW4+PC9zcGFuPjwvcD4NCg0KPHAgY2xhc3M9Ik1zb05v
cm1hbCIgIA0Kc3R5bGU9Im1hcmdpbi1ib3R0b206MC4wMDAxcHQ7bGluZS1oZWlnaHQ6bm9ybWFs
Ij5EZW1hbmQgR2VuZXJhdGlvbi0NClRlY2hub2xvZ3kgRGF0YWJhc2U8c3Bhbj48L3NwYW4+PC9w
Pg0KDQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48c3Bhbj7CoDwvc3Bhbj48L3A+PC9kaXY+DQo8cD4m
bmJzcDs8L3A+PGEgc3R5bGU9J2Rpc3BsYXk6IGJsb2NrOyBtYXJnaW46IDMycHggMCA0MHB4IDA7
IHBhZGRpbmc6ICANCjEwcHg7IGZvbnQtc2l6ZTogMWVtOyB0ZXh0LWFsaWduOiBjZW50ZXI7IGJv
cmRlcjogMDsgYm9yZGVyLXRvcDogMXB4IHNvbGlkICANCmdyYXk7ICcgaHJlZj0naHR0cHM6Ly9n
b28uZ2wvMmtzZFJ2Jz5wb3dlcmVkIGJ5IEdTTS4gRnJlZSBtYWlsIG1lcmdlIGFuZCAgDQplbWFp
bCBtYXJrZXRpbmcgc29mdHdhcmUgZm9yIEdtYWlsLjwvYT4NCg==
From owner-freebsd-questions@freebsd.org  Wed Sep 27 19:58:40 2017
Return-Path: <owner-freebsd-questions@freebsd.org>
Delivered-To: freebsd-questions@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id B2F77E0E048
 for <freebsd-questions@mailman.ysv.freebsd.org>;
 Wed, 27 Sep 2017 19:58:40 +0000 (UTC)
 (envelope-from list@museum.rain.com)
Received: from g5.umpquanet.com (g5.umpquanet.com [98.158.10.79])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "g5.umpquanet.com",
 Issuer "Let's Encrypt Authority X3" (not verified))
 by mx1.freebsd.org (Postfix) with ESMTPS id 9615384CBE
 for <freebsd-questions@freebsd.org>; Wed, 27 Sep 2017 19:58:39 +0000 (UTC)
 (envelope-from list@museum.rain.com)
Received: from g5.umpquanet.com (localhost [127.0.0.1])
 by g5.umpquanet.com (8.15.2/8.15.2) with ESMTPS id v8RJwTV0077689
 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO)
 for <freebsd-questions@freebsd.org>; Wed, 27 Sep 2017 12:58:29 -0700 (PDT)
 (envelope-from list@museum.rain.com)
Received: (from james@localhost)
 by g5.umpquanet.com (8.15.2/8.15.2/Submit) id v8RJwS2W077688
 for freebsd-questions@freebsd.org; Wed, 27 Sep 2017 12:58:28 -0700 (PDT)
 (envelope-from list@museum.rain.com)
X-Authentication-Warning: g5.umpquanet.com: james set sender to
 list@museum.rain.com using -f
Date: Wed, 27 Sep 2017 12:58:28 -0700
From: list@museum.rain.com
To: freebsd-questions@freebsd.org
Subject: Possible bug in tail(1)
Message-ID: <20170927195828.GA77592@g5.umpquanet.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.8.3 (2017-05-23)
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 27 Sep 2017 19:58:40 -0000

Is it reasonable to expect that tail -r is reversable?  That is, should:

tail -r foo | tail -r

produce the same output as:

cat foo

for all text files foo?

The script below creates a file foo for which the above does not
hold.

This seems to be a somewhat recent bug.  This vintage of 10.2 passes,
as do all ancient versions I can lay hands on (4.8, 9.3):

FreeBSD hostname.example.org 10.2-STABLE FreeBSD 10.2-STABLE #1 r290210: Fri Oct 30 16:36:14 PDT 2015     root@hostname.example.org:/usr/obj/usr/src/sys/GENERIC  amd64

This 10.3 fails:

FreeBSD hostname.example.org 10.3-STABLE FreeBSD 10.3-STABLE #0 r318965: Fri May 26 13:47:47 PDT 2017     root@hostname.example.org:/usr/obj/usr/src/sys/GENERIC  amd64

This 11.1 also fails:

FreeBSD hostname.example.org 11.1-STABLE FreeBSD 11.1-STABLE #0 r321596: Wed Jul 26 18:21:47 PDT 2017     root@hostname.example.org:/usr/obj/usr/src/sys/GENERIC  amd64

Thank you for looking into this.  Apologies in advance for any
unreasonable expectations on my part.

Regards,

Jim



#!/usr/bin/env bash

cat << EOF > foo
1
2
3

EOF

echo "--"
cat foo
echo "--"
tail -r foo
echo "--"
tail -r foo | tail -r
echo "--"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001a1136f782a74286055a300d6b>