delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/02/07/03:40:11

From: jont AT harlequin DOT co DOT uk (Jon Thackray)
Subject: Re: Problem with tail
7 Feb 1997 03:40:11 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <29399.9702071058.cygnus.gnu-win32@dedekind.cam.harlequin.co.uk>
References: <14191 DOT 9702061609 AT dedekind DOT cam DOT harlequin DOT co DOT uk>
<19970206200548 DOT UK14124 AT dumpy DOT inetnebr DOT com>
Original-To: gnu-win32 AT cygnus DOT com
In-Reply-To: <19970206200548.UK14124@dumpy.inetnebr.com>
Original-Sender: owner-gnu-win32 AT cygnus DOT com

jepler AT inetnebr DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019