C2BlEv wrote:Hi.
I think we've discussed this in the past. Goldendict supports lots of formats, some of them are basically text files with easy formatting, which can be edited in any text editor. For example, open any dsl file in a text editor and add any amount of words in the following format:
word
[tab or space] definition or translation
word 2
[tab or space] definition 2 or translation 2
I'm not talking about goldendict format but for a means to save (looked up) words to a text/html file, so that the user can refer it later or get a printout of the wordlist.
Say, I don't know the meanings of the following words:
------------
contrive
eclectic
conundrum
sordid
juxtapose
-------------
Now that I use golden dict to search for their meaning, what i want is a "Button" which should save the word and meaning into a file say "user.txt"
whenever I click the button [add to <filename>] the current word, which is defined should be appended to the users.txt or users.html file.
in BASH, we do like this (supposing there's a program which outputs the definition and meaning to the std output):
$> dict eclectic >> users.txt
$> dict sordid >> users.txt
$> dict juxtapose >> users.txt