This is the mail archive of the
mailing list for the Cygwin project.
Re: tar -f behaviour
- From: "Julien Gilles" <jgilles at glmultimedia dot com>
- To: "Eugene Rosenzweig" <eugenius at dingoblue dot net dot au>
- Cc: <cygwin at cygwin dot com>
- Date: Tue, 26 Feb 2002 16:39:24 +0100
- Subject: Re: tar -f behaviour
- References: <0c6501c1bed4$f548d5e0$0300a8c0@bluebox>
"Eugene Rosenzweig" <firstname.lastname@example.org> writes:
> Looking at tar I noticed a small oddity in its behaviour, as compared to
> what I would have thought was 'normal'
> When dealing with files, using dash before options, the 'f' option has to be
> the last one in the option string, e.g.
> In conclusion, is this a bug or a feature?
A (normal) feature.
In GNU world, options starts with one or two dash, and you can write :
tar -f file
If fact the syntax 'tar zcf file' is an old syntax, only kept for
compatibility, it should be read : 'tar -z -c -f file'.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html