#!/usr/bin/env bash # weasel -- find weasel words in prose weasels="many|various|very|fairly|several|extremely|\ exceedingly|quite|remarkably|few|surprisingly|\ mostly|largely|huge|tiny|excellent|interestingly|\ significantly|substantially|clearly|vast|relatively|\ completely|literally|not unlike|outside the scope|\ arguably|to some extent|in some sense" if [ "$1" = "" ]; then echo "Usage: $(basename "$0") ..." exit 1 fi egrep -i -n --color "\\b($weasels)\\b" "$@"