new-words

diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/en.sh	Thu May 06 21:05:20 2010 +0300
     1.3 @@ -0,0 +1,10 @@
     1.4 +#!/bin/sh
     1.5 +
     1.6 +(
     1.7 +    dict -h dictd.xdsl.by -d mueller24 "$@"
     1.8 +    if [ -e "$ORIGINAL_TEXT" ]
     1.9 +    then
    1.10 +        echo . . . . . . . . . . . . . . . . . . . . . . . . . ; echo
    1.11 +        grep-sentences "$*" "$ORIGINAL_TEXT"
    1.12 +    fi
    1.13 +) | less -p "$*"