This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problem with tail


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]