Submitted scripts and programs
Forum rules
Your own work only.
-
machinebacon
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
-
Contact:
Unread post
by machinebacon » Thu Dec 31, 2015 4:25 am
depends on dict and dict-wn and/or moby-thesaurus
Code: Select all
#!/bin/bash
usage() {
echo 'definition: looks up a definition for word'
echo 'usage: definition <term>'
exit 1
}
[[ -z $1 ]] && usage
dict -d wn $1
Code: Select all
#!/bin/bash
usage() {
echo 'definition: looks up thesaurus for word'
echo 'usage: thesaurus <term>'
exit 1
}
[[ -z $1 ]] && usage
dict -d moby-thesaurus $1
..gnutella..
-
elixir
- Weight Watcher
- Posts: 357
- Joined: Fri Feb 21, 2014 8:25 am
Unread post
by elixir » Mon Feb 29, 2016 7:57 am
I was just poking around the forums and came across this. Great share, it will be very useful for me.