Overview
| Artifact ID: | a70c32b8a97c3991366b9d24725abfea4b621138 |
|---|---|
| Ticket: | 218172ffffffffffffffffffffffffffffffffff
list commands modifies strings containing backslashes |
| User & Date: | nobody on 2000-10-26 00:54:07 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 2282 Bug Version: 8.1.1 SubmitDate: '1999-06-25' LastModified: '1999-06-29' Severity: LOW Status: Closed Submitter: techsupp ChangedBy: redman OS: Windows NT OSVersion: v 4.0 (also on Win95 and most likely on Win98) Machine: X86 FixedDate: '2000-10-25' ClosedDate: '1999-06-29' Name: Ingemar Hansson ReproducibleScript: set files [glob ../*] set nFiles [file nativename $files] set sFiles [lsort -dictionary $nFiles] set someFile [lindex $nFiles 0] ObservedBehavior: On a Windows platform the "file nativename" command will replace all slashes with backslashes. All listcommands that modifies the list in one way or another treats the backslashes as escape characters and modifies the file names to something useless. DesiredBehavior: I consider this to be a bug. It really doesn't matter if the list elements represents files or something else. I don't think that the list commands should modify the content of the list. Desired behaviour is therefore to return the elements untouched. Unfortunate as it might seem to this user, this is correct behavior. -- 06/29/1999 redman - foundin changed to: "final: 8.1.1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to:
list commands modifies strings containing backslashes
- type changed to: "Bug"