new-words

changeset 13:975b549364f2

minifix
author Igor Chubin <igor@chub.in>
date Sat Apr 03 15:11:12 2010 +0300 (2010-04-03)
parents 4bbe553c1ee2
children 9b18c7efe31c
files new-words.sh
line diff
     1.1 --- a/new-words.sh	Sat Apr 03 00:27:00 2010 +0300
     1.2 +++ b/new-words.sh	Sat Apr 03 15:11:12 2010 +0300
     1.3 @@ -294,7 +294,12 @@
     1.4      text_from_url "$1"
     1.5  elif [ "$#" != 0 ]
     1.6  then
     1.7 -    cat "$oldpwd/$1"
     1.8 +    if echo $1 | grep -q ^/
     1.9 +    then
    1.10 +        cat "$1"
    1.11 +    else
    1.12 +        cat "$oldpwd/$1"
    1.13 +    fi
    1.14  else 
    1.15      cat
    1.16  fi \