Skip to content

Commit

Permalink
Cosmetic changes; which output into dev null; extra info in README
Browse files Browse the repository at this point in the history
  • Loading branch information
dekerser committed Jan 13, 2023
1 parent 745cf61 commit 40193df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ To install the dependencies on cygwin:
$ cd aspell-nl-0.50-2
$ cat README # to check that next 3 lines are still correct
$ ./configure
$ # to get make: apt-cyg install make
$ make # skipped 3 dutch words (no problem): "rock-'n-roll" "rock-'n-roller" "spring-in-'t-veld"
$ make install
```
Expand Down
8 changes: 5 additions & 3 deletions dict
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,12 @@ print_help(){
dict -c c:/temp/measure_pu.html "--mode=html"
Lookup meaning of a word:
dict \"dragonfly\"
Translate it using all \"trans\" dictionaries available:
dict -t \"dragonfly\"
Translate 2 dutch words to english:
dict -l fd-nld-eng \"voet knie\"
Lookup alike dutch words:
dict -s -l fd-nld-eng "voet knie"
dict -s -l fd-nld-eng \"voet knie\"
"
}

Expand All @@ -56,7 +58,7 @@ dict(){
lOpts="$3"
lDict=""

curl=$(which curl)
curl=$(which curl 2>/dev/null)
[[ -z "$curl" ]] && echo "FATAL: curl wasn't found please install first" && exit 1

#
Expand Down Expand Up @@ -94,7 +96,7 @@ spell(){
lWords="$2"
lOpts="$3"

aspell=$(which aspell)
aspell=$(which aspell 2>/dev/null)
[[ -z "$aspell" ]] && echo "FATAL: aspell wasn't found please install first" && exit 1

#
Expand Down

0 comments on commit 40193df

Please sign in to comment.