|
|||||||||||||||||||||||||||
Jacob Sparre Andersen wrote:
> set word = 'sammenligne'
> set name = 'Jacob+Sparre+Andersen'
> set email = 'sslug@sslug'
> lynx -dump
>
"http://hugin.ldraw.org/cgi-bin/wordlist/dansk?name=${name}&email=${email}&done=&word1=${word}&check1=correct"
>
> (afprøvet i tcsh)
>
> Man kan sende flere ord på en gang med "word2"+"check2" osv.
Lavede lige et lille skript - kan det bruges?
#!/bin/sh
# This script inserts new words to a word list server from a file with
# new words
#
# Replace the spaces in your name with "+"
CONTRIB_NAME="Firstname+Middlename+Lastname"
CONTRIB_EMAIL="sslug@sslug"
CONTRIB_WORDLIST="/path/file-with-words"
for i in `cat $CONTRIB_WORDLIST`
do
CONTRIB_URL="http://hugin.ldraw.org/cgi-bin/wordlist/dansk?"
CONTRIB_URL="$CONTRIB_URLname=$CONTRIB_NAME&email=$CONTRIB_EMAIL&"
CONTRIB_URL="$CONTRIB_URLdone=&word1=$i&check1=correct"
lynx -dump $CONTRIB_URL
done
--
Claus Sørensen Electromagnetic Systems Phone: +45 45 88 14 44
Systemadministrator Ørsted * DTU Fax: +45 45 93 16 34
sslug@sslug Ørsted Plads 348 Web: www.emi.dtu.dk
+45 45 25 38 44 DK-2800 Lyngby, Denmark sslug@sslug
|
||||||||||||||
|
||||||||||||||