home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / shell / 3822 < prev    next >
Encoding:
Text File  |  1992-09-04  |  731 b   |  29 lines

  1. Newsgroups: comp.unix.shell
  2. Path: sparky!uunet!mcsun!sunic!ugle.unit.no!news
  3. From: Harald.Eikrem@delab.sintef.no
  4. Subject: Re: Distinguish between numeric & nonnumeric char strings in shell ?
  5. In-Reply-To: Harald.Eikrem@delab.sintef.no's message of 4 Sep 92 19:13:37
  6. Message-ID: <1992Sep4.205216*Harald.Eikrem@delab.sintef.no>
  7. Sender: news@ugle.unit.no (NetNews Administrator)
  8. Organization: SINTEF DELAB, Trondheim, Norway.
  9. References: <9209040702.AA06629@csgrad.cs.vt.edu>
  10.     <1992Sep4.191337*Harald.Eikrem@delab.sintef.no>
  11. Date: 4 Sep 92 20:52:16
  12. Lines: 15
  13.  
  14. I said:
  15.  
  16. !     _IFS=".$IFS"
  17. !     set -- $address
  18. !     IFS="$_IFS"
  19.  
  20. Think I left something out there, make that
  21.  
  22.      _IFS="$IFS"
  23.      IFS=".$IFS"
  24.      set -- $address
  25.      IFS="$_IFS"
  26.  
  27.   ~~h
  28.