Scripts

Useful (mostly bash) scripts

quickspell.sh (something i wrot for someone on IRC (#gentoo-amd64 @ Freenode) some time ago:

#!/bin/sh
# can use ispell too of course or any other potentially as long as it supports piped input..
SPELLCHECKER="/usr/bin/aspell"
# add dictionary choice or other options here if needed
SPELLCHECKER_OPTS="-a"
# to filter version string
FILTERSTR="Ispell Version"
# to filter the helo: part (to not filter comment the first and uncomment the 2nd line
POSTCMD="cut -d: -f2"
#POSTCMD="cat" echo $@ | ${SPELLCHECKER} ${SPELLCHECKER_OPTS} | grep -v "${FILTERSTR}" | ${POSTCMD}