Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 12 lines (12 sloc) 0.315 kb
1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/zsh
points=$1
echo doing $points points
setopt extendedglob
# grep -v 0 # 0 is the overall list
print -l -- *~*[^0-9]* | sort -n | grep -v "^0$" | while read dir; do
 cd $dir
 echo -n "in $PWD: "
 echo "~/ht/ngram/fertilize $points $dir > $dir.fert"
 ~/ht/ngram/fertilize $points $dir > $dir.fert
 cd ..
done
Something went wrong with that request. Please try again.