From owner-freebsd-questions@FreeBSD.ORG Sat Jul 19 11:11:02 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A331137B401 for ; Sat, 19 Jul 2003 11:11:02 -0700 (PDT) Received: from webserver.get-linux.org (adsl-64-161-78-226.dsl.lsan03.pacbell.net [64.161.78.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 0745043F3F for ; Sat, 19 Jul 2003 11:11:02 -0700 (PDT) (envelope-from oremanj@webserver.get-linux.org) Received: (qmail 4550 invoked by uid 1000); 19 Jul 2003 18:11:26 -0000 Date: Sat, 19 Jul 2003 11:11:26 -0700 From: oremanj@get-linux.org To: Jimmy Message-ID: <20030719181126.GB4506@webserver> References: <007401c34e15$d9f09bd0$0dd011ac@sg030017> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <007401c34e15$d9f09bd0$0dd011ac@sg030017> User-Agent: Mutt/1.4.1i cc: questions@freebsd.org Subject: Re: Advise needed to write a script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jul 2003 18:11:02 -0000 On Sun, Jul 20, 2003 at 12:50:25AM +0800, Jimmy wrote: > Hi > Good day to you. I need your advice to wrte a script > 1) stores the sum of A plus B in variable C > 2)Stores the difference of B minus A in variable C > > If A is 5 and B is 10. Please advice me on this issue pls . > Hope to hear from you soon. Smells like a homework assignment to me. I'm not going to tell you the answer, but I will tell you how to find out :P Check out the "Advanced Bash-Scripting Guide" on tldp.org. -- Josh > > Cheers > > Jimmy Chan > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"