ummm strings on unix will do precisely that