new-words

diff new-words.sh @ 34:3827cce83602

smallfix
author igor@chub.in
date Tue Dec 21 15:53:22 2010 +0200 (2010-12-21)
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	Tue Dec 21 15:53:22 2010 +0200
     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