Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 084c0c066134a2b3f9b6569b8edce471cc5f4f06
Ticket: 385734b86c14e5bfc7bec5638fa0f4838feb53eb
[gets] to break lines on arbitrary character
User & Date: anonymous on 2013-10-13 18:18:04
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    Suggestion:  modify Tcl's stream i/o to accept an arbitrary character, or even character pair, as EOL, so [gets] would be able to break streams into delimited records regardless of the end of record character.
    
    Rationale: Sometimes I think it might be useful to replace [read]/scan type code with [gets] where the scan (and, more importantly, the rest-of-stream buffering) was done for you in C ... particularly when/if you have multiple character encodings to consider.
    
  5. is_private changed to: "0"
  6. login: "anonymous"
  7. priority changed to: "5 Medium"
  8. private_contact changed to: "16910d69b11045755316a073070779a85cd9218f"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "anonymous"
  13. subsystem changed to: "25. Channel System"
  14. title changed to: "[gets] to break lines on arbitrary character"
  15. type changed to: "RFE"