"Sergey Poznyakoff" <[EMAIL PROTECTED]> writes:
>* New features
>
>* Any number of -T (--files-from) options may be used in the command line.
>The file specified with -T may include any valid `tar' options,
>including another -T option.
>Compatibility note: older versions of tar do not recognize any options
>within the file list file, except -C. Starting from this release any
>file whose name starts with a dash is handled as an option. To insert
>file names starting with dash, use the --add-file option.
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
into
tar -t -f archive1.tar | my_filter_filename_list | \
(while IFS='' read -r file
do printf '--add-file %s\n' "$file"
done
) | \
tar -c -f archive2.tar --files-from=- --no-recursion
? Please revert this change as it will break existing applications of
gnu-tar. A new option, e.g. --actions-from, to be used rather than
--files-from with the new semantics, may be added, though.
Regards,
Helmut
--
Wenn Sie mir E-Mail schreiben, stellen | When writing me e-mail, please
Sie bitte vor meine E-Mail-Adresse | precede my e-mail address with
meinen Vor- und Nachnamen, etwa so: | my full name, like
Helmut Waitzmann <[EMAIL PROTECTED]>, (Helmut Waitzmann) [EMAIL PROTECTED]
_______________________________________________
Bug-tar mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-tar