|
From: | Nicolas Dudebout |
Subject: | Re: [Bug-tar] tar -T improperly handle escaped characters |
Date: | Wed, 30 Oct 2013 17:27:31 -0400 |
Hi Nicolas,
I get the same behavior with both 1.26 and 1.27:
> The `--files-from` (`-T`) option does not properly work in 1.27 but was
> properly working in 1.26. It fails in the presence of escaped characters as
> described in the following code snippet:
>
> ```
> mkdir test
> cd test
> echo something > foo-bar
> echo 'foo\\055bar' > baz
> tar -cf qux.tar -T baz
> ```
address@hidden:~/tmp$ tar --version
tar (GNU tar) 1.26
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.
address@hidden:~/tmp$ sh f.sh
tar: foo\\055bar: Cannot stat: No such file or directorytar: Exiting with failure status due to previous errors
Regards,
Sergey
[Prev in Thread] | Current Thread | [Next in Thread] |