Re: Question on endofline and binary files + Suggestion
- Ah, this definitely works. Somewhat dirty, but success
admits no complaints ;)
Yakov, Tony, thanks a lot to both of you guys!
--- Yakov Lerner <iler.ml@...> wrote:
> You can easily work around this. As follows:____________________________________________________________________________________
> 1. Always set noeof before saving/writing your
> 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
> line when you need no final \n in the final output
> That's it. Hope it works for you.
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.