Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: learning grep

Author: Dann Corbit

Date: 10:42:42 02/03/06

Go up one level in this thread


On February 03, 2006 at 06:03:19, David B Weller wrote:

>Dann,
>
>Out of curiosity, did you use grep to do that? And what exactly was the command?

grep and its cousins are for finding stuff.  sed or awk would be better choices
for modification.

I just make a macro for my editor.  If I was going to do it over and over, I
would make a sed script or even a C program.

>I am still learning grep and regular expressions :)

A fruitful study.  You won't be sorry that you spent the time.



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.