xwords/linux/scripts/playnum.sh

15 lines
258 B
Bash
Raw Normal View History

2003-11-01 06:35:29 +01:00
#!/bin/bash
# I use this thing this way: playnum.sh 10 2>&1 | ./wordlens.pl
NUM=$1
echo "NUM=$NUM"
while :; do
../linux/xwords -u -s -r Eric -d ../linux/dicts/OSPD2to15.xwd -q -i
NUM=$(( NUM - 1 ));
if (( $NUM <= 0 )); then exit 0; fi
done