for i in ../[a-z]* do if test -s $i/*.terms then if test -s $i/*.sed then for j in $i/*.sed do echo echo $j sort -f $i/*.sed done fi fi done