bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug: tail (GNU coreutils) 5.97


From: Bob Proulx
Subject: Re: Bug: tail (GNU coreutils) 5.97
Date: Mon, 5 Oct 2009 10:19:52 -0600
User-agent: Mutt/1.5.18 (2008-05-17)

address@hidden wrote:
> This particular default version of tail cannot handle the argument,
> +line-number.  This shortcoming does not permit portability. The
> work-around is to do more math than is necessary.

Thank you for your report.  However there are a number of IFs, ANDs
and HERETOs associated with this topic.  It really depends upon which
POSIX standard your system is conforming to.  Please see this FAQ for
more information:

  http://www.gnu.org/software/coreutils/faq/#Old-tail-plus-N-syntax-now-fails

> # Clean up the old index.html_* files. 
> find $TWD -name 'index.html_*' -mtime +14 -exec rm -f {} \; 

In passing let me note that using "{} +" is much more efficient than
using "{} \;" there.  See the find documentation for this new-ish but
POSIX standard way to make your find commands more efficient.

Bob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]