new-words
diff new-words.sh @ 35:f06e8b0ee41a
New ideas (cream + nuts; compressed list)
author | Igor Chubin <igor@chub.in> |
---|---|
date | Thu Dec 30 21:06:02 2010 +0100 (2010-12-30) |
parents | 720a701b2ba9 |
children | f95804355b0f |
line diff
1.1 --- a/new-words.sh Sun Dec 12 10:04:06 2010 +0100 1.2 +++ b/new-words.sh Thu Dec 30 21:06:02 2010 +0100 1.3 @@ -159,8 +159,8 @@ 1.4 rm $after 1.5 return 0 1.6 else 1.7 - groups="$(grep '# groups' $after | awk '{print $3}')" 1.8 - words="$(grep -v '^#' $after | wc -l)" 1.9 + groups="`echo $(grep '# groups' $after | awk '{print $3}')`" 1.10 + words="`echo $(grep -v '^#' $after | wc -l)`" 1.11 echo "# $LANGUAGE, $percentage, <$total_known/$total>, <$groups/$words>" 1.12 fi 1.13