Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Search for a tool

Author: Robert Hyatt

Date: 15:17:59 10/12/05

Go up one level in this thread


On October 12, 2005 at 18:12:37, Dieter Buerssner wrote:

>On October 12, 2005 at 17:32:36, Robert Hyatt wrote:
>
>>I dream in awk/sed/grep/csh-scripts/etc...
>
>Long time ago, I had that dream, that I should never ever use any csh-scripts.
>
>I did not try your awk suggestion. At first sight, I'd think that it will not
>yield in what you intended, because of the quotation marks. It is not unlikely
>at all, that I am wrong.
>
>Regards,
>Dieter


In fact it is 100% guaranteed you are wrong.  I tested it.  :)

Bob

a sample:

crafty% echo '[White "Hyatt, Robert"]' | awk -F\" '{print $2}'
Hyatt, Robert
crafty%

:)




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.