[illumos-Developer] [REVIEW] 244: Need replacement for closed /usr/bin/tail and /usr/xpg4/bin/tail

I. Szczesniak iszczesniak at gmail.com
Wed Sep 22 09:04:47 PDT 2010


On Wed, Sep 22, 2010 at 5:58 PM, I. Szczesniak <iszczesniak at gmail.com> wrote:
> On Wed, Sep 22, 2010 at 5:26 PM, Garrett D'Amore <garrett at nexenta.com> wrote:
>> On Wed, 2010-09-22 at 17:21 +0200, I. Szczesniak wrote:
>>> On Wed, Sep 22, 2010 at 2:31 PM, Garrett D'Amore <garrett at nexenta.com> wrote:
>>> > Does the ksh93 tail work well?  I had heard that there were some
>>> > situations where it was busted, but I've not researched it myself.
>>>
>>> To my knowledge AST tail version in ON B146 has 2 known bugs:
>>> - tail -0f will cat the whole file before following it. The tail.c in
>>> Roland's prototype40 tree has this fixed.
>>
>> I think it was this problem that was what had been complained about.
>> Unfortunately, we don't have that code in illumos, and I have no idea
>> how to go about getting it from Roland's private workspace (and there is
>> of course the question of whether doing so is a good idea or not....)
>
> The new tail.c can be downloaded from
> http://svn.genunix.org/repos/on/branches/ksh93/gisburn/prototype040/usr/src/libcmd/common/tail.c

Typo: Try http://svn.genunix.org/repos/on/branches/ksh93/gisburn/prototype040/usr/src/lib/libcmd/common/tail.c

Irek



More information about the Developer mailing list