home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!usc!sol.ctr.columbia.edu!eff!news.oc.com!convex!tchrist
- From: Tom Christiansen <tchrist@convex.COM>
- Subject: Re: How to recognize a csh var as a number?
- Originator: tchrist@pixel.convex.com
- Sender: usenet@news.eng.convex.com (news access account)
- Message-ID: <1993Jan22.235625.18305@news.eng.convex.com>
- Date: Fri, 22 Jan 1993 23:56:25 GMT
- Reply-To: tchrist@convex.COM (Tom Christiansen)
- References: <1jn3t3INN88b@haydn.crhc.uiuc.edu>
- Nntp-Posting-Host: pixel.convex.com
- Organization: Convex Computer Corporation, Colorado Springs, CO
- X-Disclaimer: This message was written by a user at CONVEX Computer
- Corp. The opinions expressed are those of the user and
- not necessarily those of CONVEX.
- Lines: 14
-
- From the keyboard of ttsai@crhc.uiuc.edu (Timothy Tsai):
- :I am reading string values into a csh variable. Depending on whether each
- :string represents a number or not, I want to do certain things. How do I test
- :to see if the variable string is a number or not?
-
- Step 0: choose a real programming language.
- Step 1: that done, now ask again.
-
- --tom
- --
- Tom Christiansen tchrist@convex.com convex!tchrist
-
-
- Emacs is a fine operating system, but I still prefer UNIX. -me
-