[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] Re: tar 1.15.90 released
From: |
Helmut Waitzmann |
Subject: |
Re: [Bug-tar] Re: tar 1.15.90 released |
Date: |
Thu, 23 Feb 2006 03:37:28 +0100 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux) |
"Sergey Poznyakoff" <address@hidden> writes:
>Matt McCutchen <address@hidden> wrote:
>
>> 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.
>
>There's nothing new here, you'd get the same behavior with tar 1.13.25
>(and even with 1.11) if any of your files happened to begin with -C.
You are right:
$ tar --version
tar (GNU tar) 1.15.1
$ printf '%s\n' -C nothing | tar --files-from=- -c -f archive.tar
tar: nothing: Cannot chdir: No such file or directory
tar: Error is not recoverable: exiting now
$ printf '%s\0' -C nothing | tar --files-from=- -c -f archive.tar --null
tar: -C: Cannot stat: No such file or directory
tar: nothing: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
Will this behavior stay the same with new gnu tar, too?
--
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 <address@hidden>, (Helmut Waitzmann) address@hidden