I took a look at the contents of "heynow.txt" with vi, which displays a bunch of numbers, seemingly the ASCII codes of the text I wrote
The editor decided that heynow.txt was a binary rather than a text file. You will notice, when looking at the file in vi, that there are some non-printable characters near the end of the file. If you remove those non-printable characters then cat does the right thing.
Your program is adding extraneous bytes to the output. --Emmet Ford =========================================================================== The information contained in this communication may be confidential, is intended only for the use of the recipient(s) named above, and may be legally privileged. You are hereby notified that any dissemination, distribution or copying of this communication and any of its contents or attachments is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to this message and please delete this message from all computers and servers. _______________________________________________ Pgubook-readers mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/pgubook-readers
