2 Jan 2001 15:06
Re: Avoiding unnecessary call
Dallman Ross <dman <at> nomotek.com>
2001-01-02 14:06:52 GMT
2001-01-02 14:06:52 GMT
> From: Rejo Zenger <subs <at> sisterray.xs4all.nl>
> :0
> * ^Envelope-To: stemformulieren <at> sisterray\.xs4all\.nl
> {
> :0
> * ^Subject: .*\/nl\.[^ ]+ #1
> { NG = $MATCH }
>
> # Is CFV for $NG running? If yes, save in it's directory.
> RUNNING=`grep -i ${NG}.*Running ${VOTEDIR}/stemmingen.txt` #2
> :0A #3
> * RUNNING ?? $NG
> {
> :0c:
> $VOTEDIR/$NG/backup/votes
>
> :0:
> $VOTEDIR/$NG/votes
> }
>
> [other recipes here]
> }
>
>
> I have this call (#2) to grep to find out if a $NG and 'running' can be
> found in a specific file. if the recipe just before that call is not
> matched (#1) the recipe at #3 will not be executed. However the call
> will still be done - i understand this.
>
(Continue reading)
RSS Feed