robert wrote:
> Ken Moffat wrote:
>> On Tue, Dec 07, 2010 at 01:36:31PM -0600, robert wrote:
>>> So, I don't follow then.  Instructions at > 6.59. Udev-161
>>> say: tar -xvf ../udev-config-20100128.tar.bz2 ...
>>> why not *J*xvf?
>>  Apart from the other responses, I can't help commenting that 'J' is
>> not 'j'.  I assume you wrote it as a capital for more emphasis, but
>> with the last two or three releases of tar 'J' is used for xz
>> compression (if you have xz-utils).
>>
>> ĸen
> yep, just emphasis.  so "tar Jf" would de-archive bz2 and gz?

--xz and -J are equivalent.
--bzip2 and -j are equivalent

There are three types of options: long, short, and old.

long: starts with two dashes
short: starts with one dash
old: no dashes and deprecated

"Some options _may_ take an argument.  Such options may have at most
long and short forms, they do not have old style equivalent."  Old style 
options are also position dependent on the command line while the others 
are not.   It doesn't make sense to mix short and old arguments.

Use 'tar -xf filename' in lfs to prevent confusion.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to