Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: I'm looking for a program to count "!" for me.

Author: Pete Galati

Date: 11:10:55 08/23/99

Go up one level in this thread


On August 23, 1999 at 01:22:44, Dave Gomboc wrote:

>On August 22, 1999 at 21:17:01, Pete Galati wrote:
>
>>I'm looking for a program that can count the number of times "!" happens in an
>>opening book that I'm putting together. ! is used at the end of each opening so
>>that would give me a count of the openings.
>>
>>Something that works in Dos or Linux that I can compile to run in Dos.
>>
>>I can't find a way to do it with grep. And there's another Linux utility called
>>"WC" that appears to count the total amount of words, but I havn't figured a way
>>to get it to count that one specific "!" string.
>>
>>Thanks
>>
>>Pete
>
>Sounds like you have access to a unix machine.  I suggest using "perl".
>
>Dave

Thanks, no I don't have unix. I have found that many Linux programs being
written in C will port to Dos without any arguement. Thanks, perl might be one
of the utilities that came with the CD that GNU sent, I havn't tried perl.

Pete



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.