PREUN
/bin/sh
if [[ "$1" = "0" ]]; then
perl -ni -e "/^THES\s*fr\s*FR\s*th_fr_FR$/ or print" /usr/share/dict/ooo/dictionary.lst
fi
if [[ "$1" = "0" ]]; then
perl -ni -e "/^THES\s*fr\s*BE\s*th_fr_FR$/ or print" /usr/share/dict/ooo/dictionary.lst
fi
if [[ "$1" = "0" ]]; then
perl -ni -e "/^THES\s*fr\s*CA\s*th_fr_FR$/ or print" /usr/share/dict/ooo/dictionary.lst
fi
if [[ "$1" = "0" ]]; then
perl -ni -e "/^THES\s*fr\s*CH\s*th_fr_FR$/ or print" /usr/share/dict/ooo/dictionary.lst
fi
if [[ "$1" = "0" ]]; then
perl -ni -e "/^THES\s*fr\s*LU\s*th_fr_FR$/ or print" /usr/share/dict/ooo/dictionary.lst
fi
if [[ "$1" = "0" ]]; then
perl -ni -e "/^THES\s*fr\s*MC\s*th_fr_FR$/ or print" /usr/share/dict/ooo/dictionary.lst
fi
POSTIN
/bin/sh
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] || ! grep -q "^THES[ \t]*fr[ \t]*FR[ \t]*th_fr_FR" /usr/share/dict/ooo/dictionary.lst
then
echo "THES fr FR th_fr_FR" >> /usr/share/dict/ooo/dictionary.lst
fi
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] || ! grep -q "^THES[ \t]*fr[ \t]*BE[ \t]*th_fr_FR" /usr/share/dict/ooo/dictionary.lst
then
echo "THES fr BE th_fr_FR" >> /usr/share/dict/ooo/dictionary.lst
fi
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] || ! grep -q "^THES[ \t]*fr[ \t]*CA[ \t]*th_fr_FR" /usr/share/dict/ooo/dictionary.lst
then
echo "THES fr CA th_fr_FR" >> /usr/share/dict/ooo/dictionary.lst
fi
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] || ! grep -q "^THES[ \t]*fr[ \t]*CH[ \t]*th_fr_FR" /usr/share/dict/ooo/dictionary.lst
then
echo "THES fr CH th_fr_FR" >> /usr/share/dict/ooo/dictionary.lst
fi
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] || ! grep -q "^THES[ \t]*fr[ \t]*LU[ \t]*th_fr_FR" /usr/share/dict/ooo/dictionary.lst
then
echo "THES fr LU th_fr_FR" >> /usr/share/dict/ooo/dictionary.lst
fi
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] || ! grep -q "^THES[ \t]*fr[ \t]*MC[ \t]*th_fr_FR" /usr/share/dict/ooo/dictionary.lst
then
echo "THES fr MC th_fr_FR" >> /usr/share/dict/ooo/dictionary.lst
fi