[email protected] 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
