#!/bin/sh ( for i in `cat` ; do echo "$i" done ) | grep '^[A-Za-z]*$'