Various workaround for Cygwin shell and find-*/grep-* Emacs functions.
Removed patternd for find-*/grep-* command, by now can be used default.
#!/bin/sh
if [ -z "$1" ]; then
echo "Where config file?"
exit 1
fi
cfg=$1
if which aspell; then
echo >>$cfg
echo "(setq-default ispell-program-name \"aspell\")" >>$cfg
echo "(setq-default ispell-local-dictionary \"english\")" >>$cfg
elif which ispell; then
echo >>$cfg
echo "(setq-default ispell-program-name \"ispell\")" >>$cfg
echo "(setq-default ispell-local-dictionary \"english\")" >>$cfg
fi