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