From: "James F.Hranicky" Date: 2002-08-02T23:48:24+09:00 Subject: Re: A very basic tail -f implementation On Fri, 2 Aug 2002 22:55:02 +0900 Paul Brannan wrote: > On Thu, Aug 01, 2002 at 05:50:17AM +0900, James F.Hranicky wrote: > > i = getc > > c = sprintf("%c", i) > > numlines += 1 if (c == "\n") > Could this be replaced with: > numlines += 1 if getc() == ?\n Hmmm...I haven't run across "?\n" before -- what does that do? Jim