From owner-freebsd-questions Sat Aug 26 5:50:41 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mta06-svc.ntlworld.com (mta06-svc.ntlworld.com [62.253.162.46]) by hub.freebsd.org (Postfix) with ESMTP id 368D437B424 for ; Sat, 26 Aug 2000 05:50:38 -0700 (PDT) Received: from parish.my.domain ([62.255.97.96]) by mta06-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20000826125036.KTGE312.mta06-svc.ntlworld.com@parish.my.domain>; Sat, 26 Aug 2000 13:50:36 +0100 Received: (from mark@localhost) by parish.my.domain (8.9.3/8.9.3) id NAA01686; Sat, 26 Aug 2000 13:50:17 +0100 (BST) (envelope-from mark) Date: Sat, 26 Aug 2000 13:50:16 +0100 From: Mark Ovens To: Tom Parquette Cc: freebsd-questions@freebsd.org Subject: Re: Shell script question Message-ID: <20000826135016.C254@parish> References: <39A6E442.31FAE22E@twcny.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <39A6E442.31FAE22E@twcny.rr.com>; from tparquet@twcny.rr.com on Fri, Aug 25, 2000 at 05:25:23PM -0400 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Aug 25, 2000 at 05:25:23PM -0400, Tom Parquette wrote: > I just started to play with shell scripts because I got tired of running > upstairs to see if some long running 'thing' was done. > > My first attempt, which I got working, automates the custom kernel > build. > One problem: > I have to enter the kernel name twice, once lower case and the other > upper case. > > I do not have any books on shell scrips so please excuse the sans-RTFM > question. > > Is there something that will uppercase a variable? Possibly putting the > value in another variable? > > Cheers... > > P.S. If anybody knows of a "FreeBSD shell scripts for Dummies" can you > point me at it? Thanks... > Others have given you code examples, but for a book I'd recommend "he Unix Programming Environment" by Kernighan & Pike, published by Prentice-Hall, ISBN 0-13-937681-X > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- 4.4 - The number of the Beastie ________________________________________________________________ 51.44°N FreeBSD - The Power To Serve http://www.freebsd.org 2.057°W My Webpage http://ukug.uk.freebsd.org/~mark mailto:marko@freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message