new-words

view en.sh @ 21:190d4ac6b07c

-m and -n switches
author Igor Chubin <igor@chub.in>
date Thu May 06 21:05:20 2010 +0300 (2010-05-06)
parents
children 46e987f4636d
line source
1 #!/bin/sh
3 (
4 dict -h dictd.xdsl.by -d mueller24 "$@"
5 if [ -e "$ORIGINAL_TEXT" ]
6 then
7 echo . . . . . . . . . . . . . . . . . . . . . . . . . ; echo
8 grep-sentences "$*" "$ORIGINAL_TEXT"
9 fi
10 ) | less -p "$*"