Ah, this definitely works. Somewhat dirty, but success
admits no complaints ;) 

Yakov, Tony, thanks a lot to both of you guys!

-pardillaco

--- Yakov Lerner <[EMAIL PROTECTED]> wrote:
> You can easily work around this. As follows:
> 1. Always set noeof before saving/writing your
> buffer.
> 2. Have your script produce additional empty line
> at end of its output when you need that last \n in
> the final output file.
> 3. Have your script not produce additional last
> empty
> line when you need no final \n in the final output
> file.
> 
> That's it. Hope it works for you.
> 
> Yakov
> 



 
____________________________________________________________________________________
Food fight? Enjoy some healthy debate 
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367

Reply via email to