GNU Core Utilities - Bugs: bug #19363, running any of the sum tools on a...
You are not allowed to post comments on this tracker with your current authentication level.
bug #19363: running any of the sum tools on a filename with \ gives superfluous \ in output
Submitter: | Armijn Hemel <armijn> | ||
Submitted: | Tue 20 Mar 2007 09:21:19 PM UTC | ||
Category: | None | Severity: | 3 - Normal |
Item Group: | None | Status: | Invalid |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Closed |
Tue 20 Mar 2007 11:43:30 PM UTC, comment #2: |
Eric Blake <ericb> |
Tue 20 Mar 2007 10:42:55 PM UTC, comment #1: I just learned that the \ is there to indicate the filename should be escaped and that this is a "feature", so feel free to close it. It might be a good idea to look at a more permanent and or elegant solution though. |
Armijn Hemel <armijn> |
Tue 20 Mar 2007 09:21:19 PM UTC, original submission:
[armijn@localhost tmp]$ touch bla
|
Armijn Hemel <armijn> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 2 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2007-03-20 | ericb | Status | None | Invalid | |
Open/Closed | Open | Closed |
Powered by Savane 3.13-d3ae.
Corresponding source code
Closing. The leading \ is indeed a feature, and has been documented in coreutils md5sum and sha*sum for years when \\ or \n appear in a filename (although I would like to see \r added to this list). There is no more elegant solution for handling arbitrary file names, and it is a security hole if you can't handle arbitrary file names.