bug-tar
[Top][All Lists]
Advanced

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

[Bug-tar] Re: tar 1.15.90 released


From: Matt McCutchen
Subject: [Bug-tar] Re: tar 1.15.90 released
Date: Tue, 21 Feb 2006 19:08:02 -0500

On Tue, 2006-02-21 at 09:07 +0200, Sergey Poznyakoff wrote:
> Helmut Waitzmann <address@hidden> wrote:
> > So I've to change the shell command
> >   tar -t -f archive1.tar | my_filter_filename_list | \
> >   tar -c -f archive2.tar --files-from=- --no-recursion
> 
> No, you have not. Use it as you did before.

I agree with Helmut.  If the first archive contains files whose names
look like tar options, the second tar will now interpret them as
options, which is not desired.  I think it would make much more sense to
have separate --files-from and --actions-from options as he proposes.
Another possibility is to ask tar to quote its -t output and then have
it strip quotes when processing --files-from lists, but this requires a
lot of additional work when a --files-from list comes from a source
other than tar.
-- 
Matt McCutchen
address@hidden
http://hashproduct.metaesthetics.net/





reply via email to

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