From owner-freebsd-questions Sun Mar 26 9:57:11 2000 Delivered-To: freebsd-questions@freebsd.org Received: from oitunix.oit.umass.edu (nscs23p15.remote.umass.edu [128.119.179.58]) by hub.freebsd.org (Postfix) with ESMTP id 9A6F437BA2E for ; Sun, 26 Mar 2000 09:57:02 -0800 (PST) (envelope-from gp@oitunix.oit.umass.edu) Received: (from gp@localhost) by oitunix.oit.umass.edu (8.9.3/8.9.3) id MAA77424 for freebsd-questions@FreeBSD.org; Sun, 26 Mar 2000 12:56:54 -0500 (EST) (envelope-from gp) Date: Sun, 26 Mar 2000 12:56:54 -0500 From: Greg Pavelcak To: freebsd-questions@FreeBSD.org Subject: A "title case" script Message-ID: <20000326125654.A77405@oitunix.oit.umass.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG When I get information from the University database, it's all caps. Usually we use this info for mass mailings, so we want proper capitalization. MSWord's "title case" feature gets it almost right. I was wondering if anyone has an awk or perl or something script that can do this job. I know about awk's toupper() and tolower(), but I haven't gotten it to work right yet. Anyway, any help would be greatly appreciated. Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message