delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/10/28/05:45:26

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=2.2 required=5.0 tests=AWL,BAYES_00,BOTNET,RDNS_NONE
X-Spam-Check-By: sourceware.org
Message-ID: <4AE820B5.3080403@onevision.de>
Date: Wed, 28 Oct 2009 11:45:09 +0100
From: Roland Schwingel <roland DOT schwingel AT onevision DOT de>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Cygwin 1.5 vs. 1.7: tail
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Hi...

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

In 1.5 when I call eg.
tail +3 /path/to/some/file

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.

Is this on purpose or an accident?

Roland


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

- Raw text -


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