Author: Jeremiah Penery
Date: 14:04:10 05/25/02
Go up one level in this thread
On May 25, 2002 at 15:29:31, Christophe Theron wrote:
>On May 24, 2002 at 18:17:52, Jeremiah Penery wrote:
>
>>On May 24, 2002 at 14:39:19, Christophe Theron wrote:
>>
>>>On PC, I have solved this since a long time by writting my own variation of
>>>grep. But there are anyway thousands out there that you can get for free.
>>
>>The DOS shell has a "find" command, which works a lot like grep.
>
>
>
>Yes but FIND assumes that the files you are searching in are text files.
>
>I wanted to be able to find the string "version" in binary files for example.
Umm, "find" does this. Here is some output (I snipped a lot):
C:\chess>find "crafty" *.*
Access denied - 18.15
---------- 18.15.EXE
crafty is behind %4.1f on time, reducing by 1/%d.
time remaining: %s (crafty).
usage: rating <crafty> <opponent>
use 'settc' command if a game is restarted after crafty
usage <percentage>........adjusts crafty's time usage up or down.
the "crafty format" requires three lines per position.
time. If crafty likes the solution move for [N]
name of the file in crafty test format. [N] is an
test is used to run a suite of "crafty format"
crafty.rc/.craftyrc file since they will be constant for a
commands can be added to the .craftyrc file.
used internally to control how crafty uses the opening book.
safety scoring terms, and might tend to make crafty try
crafty found, before a comment is generated (pawn=1.0). time is
entered, crafty will make that move, switch sides, and
%s/crafty.rc
Access denied - 1810SE
---------- CONTROLSE.EXE
%s/crafty.rc
time remaining: %s (crafty).
usage: rating <crafty> <opponent>
use 'settc' command if a game is restarted after crafty
crafty is behind %4.1f on time, reducing by 1/%d.
---------- CRAFTY-18.10SE.TAR
* other, no comment is produced, otherwise crafty inserts the evaluation for *
<many more lines here>
| back and forth. when crafty reaches the point where it |
Print(128,"crafty is behind %4.1f on time, reducing by 1/%d.\n",
int val=(crafty_is_white)?last_search_value:-last_search_value;
LearnBook(tree,crafty_is_white,val,0,0,1);
Access denied - CRAFTY-18.12
---------- CRAFTY-18.12.ZIP
crafty.cUT
crafty.cUT¢À
Access denied - CRAFTY-18.13
---------- FAQ.HTML
Win32 (wcrafty.exe), not the version compiled for MS-DOS (crafty.exe).
"subscribe crafty-list" in the body.
xboard -fcp "./crafty" -fd <I>crafty_directory</I>
Here <I>crafty_directory</I> is the directory where you installed Crafty.
You must use the version of Crafty compiled for Win32 (wcrafty*.exe),
not the version compiled for MS-DOS (crafty*.exe), and it is best to
---------- WINBOARD.HLP
v15/crafty.doc
v15/crafty.faq
v15/wcrafty-15.*.exe
. Then type the following command line. Use the actual name of the wcrafty file
you downloaded, not an
the closing quotation mark. Use the actual name of the wcrafty file you downloa
ded, not an
---------- ZIPPY.README
-fd /home/crafty -fcp crafty -icshelper timestamp \
-fd /home/crafty -fcp crafty -icshelper timeseal \
C:\chess>
All those "access denied" messages are for directories, not files.
>So I wrote an utility that makes no assumption on the type of the files to
>search and can be used to do various things neither find nor grep can do.
For example?
This page took 0.01 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.