This is the mail archive of the
cygwin
mailing list for the Cygwin project.
R: Cygwin 1.5 vs. 1.7: tail
- From: Marco Atzeri <marco_atzeri at yahoo dot it>
- To: cygwin at cygwin dot com, Roland Schwingel <roland dot schwingel at onevision dot de>
- Date: Wed, 28 Oct 2009 11:05:09 +0000 (GMT)
- Subject: R: Cygwin 1.5 vs. 1.7: tail
--- Mer 28/10/09, Roland Schwingel ha scritto:
> 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?
the manual says
tail -N +3 /path/to/some/file
probably, the last
$ tail --version
tail (GNU coreutils) 7.0
don't accept any more the previous way.
(how did you handle a file called +3 ?)
>
> Roland
>
>
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