tail +123 or tail -n +123?

Aaron Konstam akonstam at sbcglobal.net
Sun Apr 16 13:28:05 UTC 2006


On Sun, 2006-04-16 at 12:39 +0200, wwp wrote:
> Hello all,
> 
> 
> since I've installed FC5 (was using FC3 before), many self-installer scripts
> fail to install because of tail. They use `tail +123` but the tail version
> that comes w/ FC5 only accepts `tail -n +123`. Is that a change in tail's
> command-line or a bug in this version? I work around this issue by editing the
> scripts and inserting a -n, but would like to know what's the problem here.
> Any one?
> 
Well it looks like you got it right. No one bothered to change the man
poage but in order to start displaying a file from line 3 you needs to
enter:
tail -n +3 file
-- 
Aaron Konstam <akonstam at sbcglobal.net>




More information about the users mailing list