delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/10/29/12:39:16

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <f79359b60810291038y38a38473uad379133258bc94f@mail.gmail.com>
Date: Wed, 29 Oct 2008 13:38:58 -0400
From: "Gustavo Seabra" <gustavo DOT seabra AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Problems with 'tail -n *'
In-Reply-To: <015901c939d8$b22295e0$9601a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
References: <f79359b60810290733t102346a1sb33f529eaa4da778 AT mail DOT gmail DOT com> <015901c939d8$b22295e0$9601a8c0 AT CAM DOT ARTIMI DOT COM>
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

On Wed, Oct 29, 2008 at 11:12 AM, Dave Korn <dave DOT korn AT artimi DOT com> wrote:
> Gustavo Seabra wrote on 29 October 2008 14:33:
>
>> I just noticed this one thing when using 'tail' in cygwin. For some
>> reason, when using a '*' so as to 'tail' multiple files at once, the
>> '-n' option to tail doesn't work anymore.
>
>> $ tail -2 *.dat
>> tail: option used in invalid context -- 2
>
>  The "-NNN" form is an abbreviation for "-n NNN".  If you write it out in
> full, it works:
>
> $ tail -n 2 *.dat
>

OK, I see that now. Thanks. But is there a reason why the abbreviation
is not working in cygwin? It works just fine in a different system...

Thanks,
Gustavo.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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