delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <407090.54843.qm@web25504.mail.ukl.yahoo.com> |
Date: | Wed, 28 Oct 2009 11:05:09 +0000 (GMT) |
From: | Marco Atzeri <marco_atzeri AT yahoo DOT it> |
Subject: | R: Cygwin 1.5 vs. 1.7: tail |
To: | cygwin AT cygwin DOT com, Roland Schwingel <roland DOT schwingel AT onevision DOT de> |
In-Reply-To: | <4AE820B5.3080403@onevision.de> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
--- Mer 28/10/09, Roland Schwingel ha scritto: > Hi... >=20 > At present I am using cygwin 1.5 mainly, but I have also > started to migrate over to 1.7. Everything works quite well, > but I encountered a problem with the tail command. Obviously > the + syntax does no longer work in 1.7 >=20 > In 1.5 when I call eg. > tail +3 /path/to/some/file >=20 > I get the whole file printed starting with line 3 (the > first 2 lines are omitted). With cygwin 1.7 this does no > longer work. > I get an error: > tail: cannot open '+3' for reading: No such file or > directory. >=20 > Is this on purpose or an accident? the manual says tail -N +3 /path/to/some/file probably, the last=20=20 $ tail --version tail (GNU coreutils) 7.0 don't accept any more the previous way.=20 (how did you handle a file called +3 ?) >=20 > Roland >=20 >=20 Marco -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |