#!/bin/bash cat $1 | tr [:punct:] ' ' | tr A-Z a-z | tr ' ' '\n' | sort