home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / rexx / 869 < prev    next >
Encoding:
Text File  |  1992-09-03  |  2.0 KB  |  48 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!paladin.american.edu!auvm!SERVER.UWINDSOR.CA!OPHOF
  3. X-Mailer: ELM [version 2.3 PL11]
  4. Message-ID: <9209030853.AA10778@SERVER.uwindsor.ca>
  5. Newsgroups: comp.lang.rexx
  6. Date:         Thu, 3 Sep 1992 04:52:48 EDT
  7. Sender:       REXX Programming discussion list <REXXLIST@UGA.BITNET>
  8. From:         Scott Ophof <ophof@SERVER.UWINDSOR.CA>
  9. Subject:      Re: Blanks, REXX, and portability...
  10. Comments: To: REXXLIST@uga.cc.uga.edu
  11. In-Reply-To:  <9209012134.AA14941@SERVER.uwindsor.ca>; from "Edward T Spire" at
  12.               Sep 1, 92 4:18 pm
  13. Lines: 33
  14.  
  15. On Tue, 1 Sep 1992 16:18:42 GMT Edward T Spire <ets@WRKGRP.COM> said:
  16. >SCHMIDT@LSTC2VM.stortek.com (Jon Schmidt) writes:
  17. >: ...
  18. >: I later wrote a little
  19. >: UNIX REXX program (see below) to investigate this anomalous (to me)
  20. >: phenomenon.  I was shocked to discover that this UNIX REXX
  21. >: interpreter considered 41 of the 256 possible 8-bit codes in the
  22. >: range '00'X to 'FF'X to be blanks!  41? Where did this come from?
  23. >I ran your program on an RS/6000 and got 6 white space characters,
  24. >not 41.  Then I ran it on a older Sun and got 48!  On a newer Sun
  25. >I got 7, on an HP I got 10, and on SCO I got 44.
  26. ...[program & sub-results deleted]...
  27. >Here are the various outputs with some annotation...
  28. >AIX                            aix 3.2
  29. >total number of white space characters is 6
  30. >SunOS                          SunOS 4.1
  31. >total number of white space characters is 48
  32. >SunOS                          SunOS 4.2
  33. >total number of white space characters is 7
  34. >scotty            SCO 'uname' returns hostname instead of OS name (sigh)
  35. >total number of white space characters is 44
  36. >HP-UX
  37. >total number of white space characters is 10
  38.  
  39. Running Jon Schmidt's program on an Amiga gave the same results as
  40. my test of it on the PC.  Thanks, Bill Hogsett, for passing on the
  41. result of your test.
  42. Are there any systems which returned such surprising results as
  43. SunOS-4.1 and SCO?  For example OS2/Cyber/VMS/MacIntosh?
  44.  
  45.  
  46. Regards.
  47. $$/
  48.