freebsd-hackers Digest, Vol 42, Issue 6

Josef El-Rayes j.el-rayes at daemon.li
Fri Jan 9 05:04:50 PST 2004


Robert Klein <RoKlein at roklein.de> wrote:
> > > On Fri, 9 Jan 2004, Josef El-Rayes wrote:
> > i do not think that the order of the parameters
> > have any influence on the result.
> 
> No, but the filename has to be right after the f.  The following 
> commands work, and both have the same result:
> In this command tar(1) tries to extract the file "v".

have you noticed that i am _not_ using the '-'?
tar xvfj file.tar.bz2 <-

if you leave the '-' away then tar does not care
about the order of the parameters.

when you are using the dash before the arguments
than the 'f' has to be just before the filename.
tar -xvjf file.tar.bz2 <-

why this is the case i have not found out, perhaps
it is a features, or just a bug :)

-josef
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 479 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20040109/3873ccf4/attachment.bin


More information about the freebsd-hackers mailing list