Path: news.mathworks.com!newsfeed-00.mathworks.com!kanaga.switch.ch!switch.ch!news.in2p3.fr!in2p3.fr!proxad.net!feeder1-2.proxad.net!fdn.fr!gegeweb.org!aioe.org!not-for-mail
From: dpb <none@non.net>
Newsgroups: comp.soft-sys.matlab
Subject: Re: file length
Date: Wed, 03 Jun 2009 12:56:39 -0500
Organization: Aioe.org NNTP Server
Lines: 20
Message-ID: <h06dme$7ii$1@aioe.org>
References: <h05vlj$csf$1@fred.mathworks.com> <h06437$kts$1@online.de> <h0663p$4te$1@fred.mathworks.com> <h06ctf$er4$1@fred.mathworks.com> <h06d81$850$1@fred.mathworks.com>
NNTP-Posting-Host: wvzEDc5sSQ35+eQ821xcQw.user.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@aioe.org
X-Notice: Filtered by postfilter v. 0.7.9
Cancel-Lock: sha1:Cn8gPfXKmyFWKVdLS6/71pdEecI=
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
Xref: news.mathworks.com comp.soft-sys.matlab:544599


Dominic wrote:
> "Steven Lord" <slord@mathworks.com> wrote in message <h06ctf$er4$1@fred.mathworks.com>...
...
>> ... use the wc system function.  This will give you, among other 
>> information, the newline count for the file.  See "man wc" for more 
>> information.
...
> No I'm using Windows

There are any number of Windows ports--here's one...

"WordCount is a small freeware Windows 95/98/NT command-line program
that counts characters, words and lines in one or more files -- my
attempt to bring the features of the Unix "WC" utility to Windows...."

<http://www.tawbaware.com/wc.htm>

(google is your friend)

--