[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [LOCALE] Automatisk indsendelse af nye ord fra vim



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


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:53 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *