Actually its a one line command in cygwin... $ wc --help Usage: wc [OPTION]... [FILE]... Print newline, word, and byte counts for each FILE, and a total line if more than one FILE is specified. With no FILE, or when FILE is -, read standard input. -c, --bytes print the byte counts -m, --chars print the character counts -l, --lines print the newline counts -L, --max-line-length print the length of the longest line -w, --words print the word counts --help display this help and exit --version output version information and exit
justin -----Original Message----- From: Justin MacCarthy [mailto:[EMAIL PROTECTED] Sent: 29 May 2003 12:12 To: [EMAIL PROTECTED] Subject: RE: [ cf-dev ] Line Counter Download cygwin (www.cygwin.com), and learn how to use it, its prefect for this kind of thing. A 3 line script will do what you want Justin -----Original Message----- >From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: 29 May 2003 11:52 To: '[EMAIL PROTECTED]' Subject: RE: [ cf-dev ] Line Counter :-) yeah, kind just want an install and point and click feauture at the mo! (its ALOT of directories and files) I will probably bung it into Studio .NET, I hear it has the kind of thing i'm after -----Original Message----- >From: Spike [mailto:[EMAIL PROTECTED] Sent: 29 May 2003 11:57 To: [EMAIL PROTECTED] Subject: Re: [ cf-dev ] Line Counter I"ve heard there's a pretty funky language called ColdFusion that has <cfdirectory> <cffile> and listlen() that should fit the bill. ;-) Spike Robertson-Ravo, Neil (RX) wrote: >Anyone got or know of any tool which will traverse a directory (and sub >directories) and do a line count and return a total? > >Are there any tools out there to do this? > >N > > > -- Stephen Milligan Consultant for hire http://www.spike.org.uk -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]