3 # get the best layouts from a given file.
6 echo "usage: $0 <filename> [<number of layouts>]"
10 if [ "$1" == "--help" ]; then
11 echo "usage: $0 <filename> [<number of layouts>]"
21 for i
in $
(grep "total penalty per letter" $1 |
sort -u -r |
tail -n $NUMBER | cut
-d " " -f 2 |
xargs)
22 do grep -m 1 $i $1 -A 11 -B 17