unixy scripts to help you solve that famous word puzzle game
1
2
3
4
5
6
7
#!/bin/sh
# Has "$1", not in the "$2"th position
if test "$1" = "."; then
	cat -
else
	cat - | grep "$1" | grep -v "$(echo "12345" | tr "$2" "$1" | tr [:digit:] .)"
fi