Hi,

On Mon, 30 Oct 2006, Steve Holdoway wrote:
> 
> It's so frustrating when newer versions of tools break working builds... tail 
> +10 now needs to be tail --lines=+10 is the latest gotcha!

tail -n 10 is a touch more succinct.

Thankfully, it is consistant to the head command, where -n (or --lines) 
work the same way.


Derek.


p.s - is it a shell thing, but when from the bash shell I do
tail --lines=+10 some_file I get heaps of output.
The man for tail (5.93) suggests that
   tail --lines=10 some_file
 is more correct.

Or have you got tail version 6.x ?
-- 
Derek Smithies Ph.D.
IndraNet Technologies Ltd.
Email: [EMAIL PROTECTED]
ph +64 3 365 6485
Web: http://www.indranet-technologies.com/

Reply via email to