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 Subject: R: Cygwin 1.5 vs. 1.7: tail To: cygwin AT cygwin DOT com, Roland Schwingel In-Reply-To: <4AE820B5.3080403@onevision.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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