Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Sep 2017 13:45:26 -0700
From:      list@museum.rain.com
To:        freebsd-questions@freebsd.org
Subject:   Re: Possible bug in tail(1)
Message-ID:  <20170927204526.GA78573@g5.umpquanet.com>
In-Reply-To: <20170927195828.GA77592@g5.umpquanet.com>
References:  <20170927195828.GA77592@g5.umpquanet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 27, 2017 at 12:58:28PM -0700, list@museum.rain.com wrote:
> #!/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 "--"


Here is a simpler test case:

$ printf '\n1\n' | tail -r





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