From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Date: 5 Feb 93 08:30:09 GMT From: gast@cs.ucla.edu Subject: Two "Simple" I/O Questions Message-ID: <1993Feb5.083009.26460@cs.ucla.edu> List-Id: Essentially, I just want a program like "cp" or "cat". All it has to do is copy the input to the output. I have found two problems. 1) Text_IO does not handle 8-bit characters. Is there another package which does? 2) If there are multiple s at the end of a file, only one get reads. A skipline at this point skips over all the trailing s. There is a sample program in a book which says it copies input to output exactly, but it fails on this case. Perhaps it is a compiler error. Any solutions? Thanks David gast@cs.ucla.edu