On Mon, 10 Feb 2003 23:44:14 -0500, [EMAIL PROTECTED] wrote: >Yitzchak Scott-Thoennes <[EMAIL PROTECTED]> wrote: > >> Only if you say $x eq "" means no lines instead of one empty >> line missing its "\n" :) > >Well, the subject line does say "textfile-like", and a 0-byte >text file has no lines, not one empty line.
Apparently you missed the smiley. In any case, a 0-line file is identical to a 1-line file where the one line is empty and the "\n" is missing. Similarly, "abc\n" is either a 1-line file, or a 2-line file where the second line is empty and "\n" is missing. :) :) :)