Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]tlug: C-Shell Script
- To: tlug@example.com
- Subject: tlug: C-Shell Script
- From: Venkatesh RAGHAVAN <raghavan@example.com>
- Date: Tue, 1 Apr 1997 21:51:24 +0900 (JST)
- Content-Type: text
- In-Reply-To: <v03020900af41a887dfa8@[133.98.20.169]> from "Totoro" at Mar 4, 97 07:29:05 pm
- Reply-To: tlug@example.com
- Sender: owner-tlug
-------------------------------------------------------- tlug note from Venkatesh RAGHAVAN <raghavan@example.com> -------------------------------------------------------- Hello, I am trying to use the 'expr' function in my shell script to calculate to variables. My Shell script statement looks like below; E_COORD=`expr \($E-$W\)\*\)\*\($X-1)\)/$COL+$W` N_COORD=`expr $N-\(\($N-$S\)\*\($Y-1)/$ROWS\)` echo $E_COORD $NCOORD I am getting an error message which says expr:non-numeric expression. Can any one please tell me what is wrong with using the expr function. Thanks in advance ----------------------------------------------------------------- a word from the sponsor will appear below ----------------------------------------------------------------- The TLUG mailing list is proudly sponsored by TWICS - Japan's First Public-Access Internet System. Now offering 20,000 yen/year flat rate Internet access with no time charges. Full line of corporate Internet and intranet products are available. info@example.com Tel: 03-3351-5977 Fax: 03-3353-6096
- Follow-Ups:
- Re: tlug: C-Shell Script
- From: Paul Gampe <paulg@example.com>
- Re: tlug: C-Shell Script
- From: Jason Molenda <crash@example.com>
Home | Main Index | Thread Index
- Prev by Date: tlug: majordomo & sendmail
- Next by Date: Re: tlug: C-Shell Script
- Prev by thread: tlug: majordomo & sendmail
- Next by thread: Re: tlug: C-Shell Script
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links