Re: io:lines() and 0円
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: io:lines() and 0円
- From: Sean Conner <sean@...>
- Date: 2014年2月21日 17:59:42 -0500
It was thus said that the Great René Rebe once stated:
>
> Instead of doing it right, look for others who do it worse?
I think it's more an investigation of "how do other languages handle
this?" than trying to look for worse.
C, using fgets(), would print:
hellohellohellohellohello
but only because of the way C treats NUL in strings.
-spc (getline() and getdelim() would avoid this, I know, but not all
systems that have C have those two functions)