From owner-freebsd-questions@freebsd.org Wed Sep 27 18:35:18 2017 Return-Path: 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 B5E1FE0AFE7 for ; Wed, 27 Sep 2017 18:35:18 +0000 (UTC) (envelope-from betty.nelson@protechnologyaccounts.net) Received: from mail-qk0-x245.google.com (mail-qk0-x245.google.com [IPv6:2607:f8b0:400d:c09::245]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7CE8881A4B for ; Wed, 27 Sep 2017 18:35:18 +0000 (UTC) (envelope-from betty.nelson@protechnologyaccounts.net) Received: by mail-qk0-x245.google.com with SMTP id d70so3402792qkc.1 for ; Wed, 27 Sep 2017 11:35:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protechnologyaccounts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:message-id:date:subject:from:to; bh=Y1ncdcnC/Dv3apSpYThXJcSx9uEWd61ackmyxs3r5PY=; b=Obv0rIJJttdCr7WYq48XU54+CoYwLKGGu02EH/fd6NE5X9XDx6JPwzOD9HD5HLG//L dm7MlvPgKu0JjdvUdtFy4ye8WSBepd7cn4PrWpbx1JbLBmduarfwP5tmkM4r7Ai0+XWe AMYaW2j6SCzB48TJzUIHOcHnHFZYMoI4oVIQR1x9Grto6qDNsrCH6Aktae+t3V9kMeop yfgbx2lyFfVcWp+mFGWgHW8OAJo6lLJx327q6Yce98I+RURMvjj8naUyh8O4vAD5h4sT CWu+ssaxDE58IMPdvsBS6XDDG1wPBV7yK5VmHt5Wqjt/hGUKMxscNlKBx5SrP8AdW13S hQeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:message-id:date:subject:from:to; bh=Y1ncdcnC/Dv3apSpYThXJcSx9uEWd61ackmyxs3r5PY=; b=Kk+wMp2oXsjRfDO+HQe3ndGmk4kxKVQWXPtTX4ESFLZbqXrP7hGN5Pax/aBAYJ3P7b h8vLu9N3B0zZcwhHwZfcfZittPCbsoGuFSddgNbBI69z7wzH9IA9djbrSiFMydRUkpI7 MxqRpZtMmldEZVaCD2B140P7kFfSU21Sxu05p9bRnjm7rpmFUtDsHNTJWOUFUnlrJJRA b+IucDp/Wir0sv6u3hO2xXsaPLi1DfMoRhYRicFffO7230ChB9/Gw3DaAguc36z2ke8+ i0PIz+1eCdmBmfuDPgkgPhkGbMFG0c3Ie/8iBjO7whLp7L9h6zBrfm5T1m3YlJTx+BMR eEBw== X-Gm-Message-State: AHPjjUi1jCsmfjW/fovq0Zxg6Iop4YyCzrRlFjhdHXUN8dDcLSTxoHj4 AVxlRTcdqJCIRs689bofnZmbngLKtRk0 X-Google-Smtp-Source: AOwi7QAySF1fn9RQFJfc5EsZ0Jbyt8O5UYX5q1n7oW5IfCamWAK5sGTF3bR1oGIPzL8yKUIHW1FzL/dbkw== MIME-Version: 1.0 X-Received: by 10.200.51.28 with SMTP id t28mr1810615qta.17.1506537317546; Wed, 27 Sep 2017 11:35:17 -0700 (PDT) Message-ID: <001a1136f782a74286055a300d6b@google.com> Date: Wed, 27 Sep 2017 18:35:17 +0000 Subject: Cisco Users Email List and Mailing Addresses From: betty.nelson@protechnologyaccounts.net To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8"; format=flowed; delsp=yes Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Sep 2017 18:35:18 -0000 PGRpdiBkaXI9Imx0ciI+PHAgY2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3Bhbj48L3NwYW4+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: 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 ; 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 ; 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 ; 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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 "--"