Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jul 2003 11:03:08 -0400 (EDT)
From:      Marc Ramirez <marc.ramirez@bluecirclesoft.com>
To:        Jimmy <jimmchan@singnet.com.sg>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Advise needed  to write a script
Message-ID:  <20030721110112.O47203@www.bluecirclesoft.com>
In-Reply-To: <007401c34e15$d9f09bd0$0dd011ac@sg030017>
References:  <007401c34e15$d9f09bd0$0dd011ac@sg030017>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 20 Jul 2003, 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.

--------------------
#!/bin/sh

# set A to 5
# set B to 10
# set C to A plus B
# set C to B minus A
--------------------

Tree falling in the woods...  Tree falling in the woods...


> 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"
>
>


--
Marc Ramirez
Blue Circle Software Corporation
513-688-1070 (main)
513-382-1270 (direct)
www.bluecirclesoft.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030721110112.O47203>