http://qs321.pair.com?node_id=710991


in reply to Re: Totally Befuddled With (Lack of) Text Output
in thread Totally Befuddled With (Lack of) Text Output

Thank you and I'll try that check for succesful opening!

Tony
  • Comment on Re^2: Totally Befuddled With (Lack of) Text Output

Replies are listed 'Best First'.
Re^3: Totally Befuddled With (Lack of) Text Output
by sgifford (Prior) on Sep 12, 2008 at 19:54 UTC
    You might also want to check that the print is succeeding; one possibility would be a full disk or a quota error resulting in not writing the whole thing. Check the close, too; sometimes output errors are deferred to the close (when all the buffers are flushed).

    Also check the size of the file to make sure it's what you expect. It's possible for certain control characters to sneak into a file and make it look different on the screen than what's actually on the disk (like ^H).

    Hope this helps!