pgubook-readers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pgubook-readers] Chapt 5 - Heynow Create Files Exercise


From: Emmet Ford
Subject: Re: [Pgubook-readers] Chapt 5 - Heynow Create Files Exercise
Date: Mon, 24 Sep 2007 09:22:32 -0400
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050317)

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]