lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LYNX-DEV Lynx IEMMC remove from list loop, -post_data example


From: Nobody
Subject: LYNX-DEV Lynx IEMMC remove from list loop, -post_data example
Date: Fri, 1 Aug 1997 14:25:37 -0400

The IEMMC remove list has trouble working.  Here is an example of using
lynx to repeatedly try something, in this case, asking for a new token
and then submitting it.  Note the procmail recipe that follows since that
is what picks up new tokens.

######################

#!/bin/sh
address@hidden

while (true) ; do 
    for tok in `cat tokens`; do
        echo -e MAILADDRESS=$ADDRESS"\012"TOKEN=$tok"\012"--- \
        | lynx http://www.iemmc.org/cgi-bin/validator.pl -source -post_data \
        | tee offlist.log
        sleep 5
    done
    echo -e MAILADDRESS=$ADDRESS"\012"--- \
    | lynx http://www.iemmc.org/cgi-bin/submit.pl -source -post_data
done

######################
#.procmailrc recipe:

:0
address@hidden
|egrep "^[0-9][0-9]*$" >>$HOME/tokens


;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]