This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems with 'tail -n *'


On Wed, Oct 29, 2008 at 11:12 AM, Dave Korn <dave.korn@artimi.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]