Problem with tail

Jon Thackray jont@harlequin.co.uk
Fri Feb 7 02:59:00 GMT 1997


jepler@inetnebr.com writes:
 > Jon Thackray writes:
 > > It appears that the beta-17 version of tail differes from the unix
 > > version in its interpretation of a number passed to it.
 > > 
 > > eg tail +2 on unix is interpreted as tail from line 2 onwards, whereas
 > > in beta-17 it seems to be interpreted as tail starting after line 2.
 > 
 > In the version of gnu tail installed on this Linux box (GNU textutils 1.9),
 > tail +N will show from line N onwards, and -N will show the last N lines.

Yes, that's the expected unix behaviour. However, under Win32, it's
one line out. Also, under Win32, it sometimes erroneously truncates
the file. I have had to abandon using tail.
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list