need AWK help: lowercase, trim trailing spaces

LEWIS WILLIAM M JR lewis at tramp.Colorado.EDU
Sun Apr 21 08:01:14 AEST 1991


To prevent printing blank lines, simply do (in awk):

	address = substr(...   )
	if (length(adress) > 0)
		print address
	etc., etc.

The upper/lower case problem is more difficult



More information about the Comp.unix.questions mailing list