home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / question / 15813 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  795 b 

  1. Path: sparky!uunet!usc!sdd.hp.com!ux1.cso.uiuc.edu!roundup.crhc.uiuc.edu!haydn.crhc.uiuc.edu!not-for-mail
  2. From: ttsai@crhc.uiuc.edu (Timothy Tsai)
  3. Newsgroups: comp.unix.questions
  4. Subject: How to recognize a csh var as a number?
  5. Date: 21 Jan 1993 15:17:23 -0600
  6. Organization: Center for Reliable and High-Performance Computing, University of Illinois at Urbana-Champaign
  7. Lines: 8
  8. Message-ID: <1jn3t3INN88b@haydn.crhc.uiuc.edu>
  9. NNTP-Posting-Host: haydn.crhc.uiuc.edu
  10.  
  11. I am reading string values into a csh variable.  Depending on whether each
  12. string represents a number or not, I want to do certain things.  How do I test
  13. to see if the variable string is a number or not?
  14.  
  15. Please email me any help.  Thanks.
  16. -- 
  17. Timothy Tsai              Celtics Rule!!!
  18. ttsai@uiuc.edu            Let's go Mets!!!
  19.