| Ticket UUID: | 830075 | |||
| Title: | fileutil::cat doesn't concatenate files | |||
| Type: | Bug | Version: | None | |
| Submitter: | davidw | Created on: | 2003-10-25 10:51:31 | |
| Subsystem: | fileutil | Assigned To: | andreas_kupries | |
| Priority: | 7 High | Severity: | ||
| Status: | Closed | Last Modified: | 2003-11-19 12:20:21 | |
| Resolution: | Fixed | Closed By: | andreas_kupries | |
| Closed on: | 2003-11-19 05:20:21 | |||
| Description: |
fileutil::cat only accepts one filename as an argument, whereas the real cat takes files and concatenates them together. | |||
| User Comments: |
andreas_kupries added on 2003-11-19 12:20:21:
Logged In: YES user_id=75003 David committed changes to head on 2003-11-15 after a short conversation on the chat. davidw added on 2003-11-08 17:20:23: Logged In: YES user_id=240 This is actually a little bit more complicated than adding a foreach - what needs to be decided is how tclish this command should be, as opposed to behaving exactly like cat. For instance, the real cat, even if it is fed a non-existant file, cats all the preceding files, and then errors out. Since tcl can only return once... you can't really distinguish like that. I think the best thing is probably the simple, foreach implementation, but it's worth thinking about for a minute or two. | |||
Home
Blog
Docs
Downloads
Tickets
Timeline
Branches
Tags
Wiki