bug-tar
[Top][All Lists]
Advanced

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

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


From: Nicolas Dudebout
Subject: [Bug-tar] tar -T improperly handle escaped characters
Date: Tue, 29 Oct 2013 16:41:11 -0400

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

1.26 correctly creates a tarball with the file `foo-bar` in it.
1.27 fails with the following error:
```
tar: foo\\055bar: Cannot stat: No such file or directory
```

reply via email to

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