#!/bin/sh for f do echo -n "$f: " sed -e 's/<[^>]*>//g;s/\&[^;]*;//g' "$f" | tr -dc a-z | wc -c done