bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] tar -T option


From: Sergey Poznyakoff
Subject: Re: [Bug-tar] tar -T option
Date: Fri, 16 Aug 2013 13:18:25 +0300

Hi Pavel,

> .. && do we really need to parse all options?  Wouldn't it be better to
> artificially bound the -T FILE parsing power? I mean, this is starting to
> have Turing machine power :)

Well, basically, it provides a convenient way to store tar
command lines into a kind of "configuration files": e.g., supposing that
foo.cmd contains all the necessary options and arguments to do a
particular task, just running `tar -T foo.cmd' should be enough to do
it.  A bit unexpected, perhaps, but in general I think it is a useful
feature.

> Trying again, wait .. I can observe that the lazy opt_parsing is broken
> even for the -C option:

Hmm... My tries give quite different results:

../src/tar -cf test.tar -T FILE
../src/tar: configure: Cannot stat: No such file or directory
../src/tar: Exiting with failure status due to previous errors

which is kind of what I expected... Are you sure you tried it
with the latest tar from git head?

Regards,
Sergey



reply via email to

[Prev in Thread] Current Thread [Next in Thread]