Sender: nate AT cartsys DOT com Message-ID: <3656166C.B716FC1A@cartsys.com> Date: Fri, 20 Nov 1998 17:25:00 -0800 From: Nate Eldredge X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.35 i486) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: Line Checking.. References: <3 DOT 0 DOT 6 DOT 32 DOT 19981119183246 DOT 007a9410 AT tenforward DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Jeff Johnson wrote: > > How Do I Chech To See How Mine Lines (Up/Down) A File Is? > > Like, say, > > --out.dat-- > 1 > 2 > 3 > 4 > ---------- > > and i want my prog to tell me that there are 4 lines in that file, how do i > do that?? Btw, you are reinventing the wheel. Get the textutils and look at the `-l' option to `wc'. -- Nate Eldredge nate AT cartsys DOT com