Well, yes, but a) you didn't explicitly note the problem of not checking the return value of the call to open and b) you're wrong when you say it has to be done line-by-line -- either construct nysus tried should work (and does, on my system =)
Philosophy can be made out of anything. Or less -- Jerry A. Fodor
In reply to Re: Re: Printing file to browser
by arturo
in thread Printing file to browser
by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |