#!/bin/sh
#	howWide - displays the number of chars in the widest line in a file


	awk -f - <<XXX $1
BEGIN {max = 0}
length > max {max=length}
END {print max}
XXX
	exit


#	The following does NOT work

	awk "BEGIN {max=0} ; length > max {max=length} ; END {print max}" $1
	exit
