On Sun, 26 Jun 2005 20:51:07 -0700, Peter Bako wrote:

>Hum, I get a "syntax error: '*' unexpected"
>
IJWFM using sh or ksh on 3.7 i386 entering year and the calc line at
the prompt and echoing $daycount at the prompt.


>-----Original Message-----
>From: Michael Erdely [mailto:[EMAIL PROTECTED] 
>Sent: Sunday, June 26, 2005 6:20 PM
>To: Peter Bako
>Cc: misc@openbsd.org
>Subject: Re: SH programming
>
>
>On 6/26/05, Peter Bako <[EMAIL PROTECTED]> wrote:
>> dayscount=$(expr ($year - 1900) * 365)
>
>Try:
>dayscount=$((($year - 1900) * 365))
>
>-- 
>http://erdelynet.com/
>
>Support OpenBSD! http://www.openbsd.org/orders.html
>
>

>From the land "down under": Australia.
Do we look <umop apisdn> from up over?

Do NOT CC me - I am subscribed to the list.
Replies to the sender address will fail except from the list-server.

Reply via email to