bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] tar -T improperly handle escaped characters


From: Sergey Poznyakoff
Subject: Re: [Bug-tar] tar -T improperly handle escaped characters
Date: Wed, 30 Oct 2013 23:10:24 +0200

Hi Nicolas,

> 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
> ```

I get the same behavior with both 1.26 and 1.27:

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 directory
tar: Exiting with failure status due to previous errors

Regards,
Sergey



reply via email to

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