From owner-freebsd-hackers Fri Dec 17 8:25:42 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mta1.rcsntx.swbell.net (mta1.rcsntx.swbell.net [151.164.30.25]) by hub.freebsd.org (Postfix) with ESMTP id 0D85615789 for ; Fri, 17 Dec 1999 08:25:40 -0800 (PST) (envelope-from chris@holly.dyndns.org) Received: from holly.dyndns.org ([216.62.157.60]) by mta1.rcsntx.swbell.net (Sun Internet Mail Server sims.3.5.1999.09.16.21.57.p8) with ESMTP id <0FMW00E7O8AP49@mta1.rcsntx.swbell.net> for freebsd-hackers@FreeBSD.ORG; Fri, 17 Dec 1999 10:25:38 -0600 (CST) Received: (from chris@localhost) by holly.dyndns.org (8.9.3/8.9.3) id KAA02869; Fri, 17 Dec 1999 10:28:18 -0600 (CST envelope-from chris) X-URL: http://www.FreeBSD.org/~chris/ Date: Fri, 17 Dec 1999 10:28:18 -0600 From: Chris Costello Subject: Re: Upper <->Lower in shell script In-reply-to: <199912171619.IAA26603@www.geocrawler.com> To: Alex Cc: freebsd-hackers@FreeBSD.ORG Reply-To: chris@calldei.com Message-id: <19991217102818.F523@holly.calldei.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii User-Agent: Mutt/0.96.4i X-Operating-System: FreeBSD 4.0-CURRENT (i386) References: <199912171619.IAA26603@www.geocrawler.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Dec 17, 1999, Alex wrote: > I need in my shell script change upper case to > lower case for characters. Cureently , I call c > programm from script which do it. > Is anybody did this inside script? Oops. That should be typeset -l. $ typeset -l var $ var=ABC $ echo $var abc -- |Chris Costello |Random access is the optimum of the mass storages. `-------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message