#!/bin/sh

# Take a dictionary.*.in file, remove all lines starting with '#',
# remove all empty lines, sort the remaining lines and remove all
# duplicates. Save the result as dictionary.*

grep -v '^#' $1.in | grep -v '^$' | sort | uniq > $1

