new-words

diff INSTALL.sh @ 15:c6efd17741aa

Точка, следующая за Mr./Mrs. не считается окончанием предложения
author Igor Chubin <igor@chub.in>
date Sun Apr 04 14:12:35 2010 +0300 (2010-04-04)
parents
children 416394a87d9f
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/INSTALL.sh	Sun Apr 04 14:12:35 2010 +0300
     1.3 @@ -0,0 +1,19 @@
     1.4 +#!/bin/sh
     1.5 +
     1.6 +if [ "$UID" == 0 ]
     1.7 +then
     1.8 +    DEST=/usr/local/bin/
     1.9 +else
    1.10 +    DEST=~/bin/
    1.11 +    mkdir -p ~/bin/
    1.12 +fi
    1.13 +
    1.14 +echo Installing new-words to "$DEST"
    1.15 +set -e
    1.16 +cp en.sh "${DEST}"/en
    1.17 +cp grep-sentences.pl "${DEST}"/grep-sentences
    1.18 +cp learn-words.sh "${DEST}"/learn-words
    1.19 +cp new-words.sh "${DEST}"/new-words
    1.20 +chmod +x ${DEST}/grep-sentences ${DEST}/learn-words ${DEST}/new-words ${DEST}/en
    1.21 +echo Done.
    1.22 +