On 25 October 2015 at 16:44, Bruce Dubbs <[email protected]> wrote:
> Richard Melville wrote:
>
>>> If you have a recent tar, it will identify the compression for you.  Add
>>> a v
>>> if you want to see the files.
>>
>>
>> Not that recent; you don't need the "-" either.
>
>
> The dash in tar commands such as 'tar -xf filename' is recommended for
> linux.  There are three types of options: bsd, gnu short, and gnu long.
> There is a difference beyond the dash between bsd options and gnu short
> options.  In this case, they do the same thing, but using bsd options does
> not always accomplish what you want.
>
> For instance, using gnu short options, you can do:
>
> tar -xf filename.tar.xz -v
>
> so if you forget the -v when initially typing the command, you can just add
> it at the end and do not have to back up.  You can't do that with bsd style
> options.

Interesting; I didn't know you could add a flag at the end of the command.

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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to