Computer Chess Club Archives


Search

Terms

Messages

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

Author: Dave Gomboc

Date: 22:22:44 08/22/99

Go up one level in this thread


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



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.