bug-coreutils
[Top][All Lists]
Advanced

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

small documentation change in tail


From: bhargav joshi
Subject: small documentation change in tail
Date: Fri, 06 Apr 2007 02:00:55 +0530
User-agent: Thunderbird 1.5.0.10 (X11/20070302)

If the first character of N (the number of bytes or lines) is a ‘+’, print beginning with the Nth item from the start of each file, otherwise, print the last N items in the file. N may have a multiplier suf-
fix: b 512, k 1024, m 1024*1024.

above documentation is cryptic

+ <value> print all lines starting from <value>th line
- <value> print the last <value> lines

eg: if value=3
tail +3 <filename> print all lines starting from 3rd line
tail -3 <filename> prints last 3 lines




reply via email to

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