home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!paladin.american.edu!auvm!LNS598.TN.CORNELL.EDU!DSR
- X-Mts: smtp
- Message-ID: <9209051944.AA18020@lns598.TN.CORNELL.EDU>
- Newsgroups: comp.lang.rexx
- Date: Sat, 5 Sep 1992 15:44:05 -0400
- Sender: REXX Programming discussion list <REXXLIST@UGA.BITNET>
- From: cultural elite <dsr@LNS598.TN.CORNELL.EDU>
- Subject: Re: Blanks, REXX, and portability...
- Comments: To: General REXX Language Discussion List
- <REXXLIST@ucf1vm.cc.ucf.edu>
- In-Reply-To: Your message of "Sat, 05 Sep 92 13:24:40 GMT."
- Lines: 45
-
- Eric Thomas <eric@SEJNET.SUNET.SE> writes:
- >In article <mwm.1p79@contessa.palo-alto.ca.us>, mwm@contessa.palo-alto.ca.us
- (Mike Meyer) writes:
- >> A question for all of you using EBCDIC who don't think that arbitrary
- >> whitespace should be allowed to seperate words: Why do you care?
- >
- >I have to use unix systems from time to time to get my job done. If some day
- >they have a REXX interpreter, I would like to use it to make my job easier and
- >for that it has to behave predictably. If I code POS('A B',string), I want it
- >to locate A-blank-B, not A-tab-B. I have said that 200 times already, maybe you
- >should read more carefully before you flame?
-
- I agree, that would be ridiculous. Not even Unix (with the possible exception
- of a few broken utilities) behaves that way. But is anyone actually advocating
- that position? Mike's question was specifically about word separators, which
- I take to mean the behavior of parse when no explicitly quoted separators are
- given, and the behavior of word() and words() and a few other intrinsics.
- Accepting any whitespace as word separators would have no effect on your
- example, or any other involving explicitly quoted blanks. Where is the problem
- with that?
-
- >> A similar problem shows up in the ANSI C standard. It has this idiotic
- >> restriction that external identifiers must be unique in the first six
- >> characters, case insensitive. I don't know of _anybody_ who liked
- >> this, but there was a very popular system which had a standard linker
- >> with that antiquated restriction. Removing this brain-dead restriction
- >> meant that you couldn't write an ANSI C compiler for that system,
- >> which was considered a bad thing - so the restriction stayed in.
- >
- >In case I interpreted the snide remark correctly
-
- Why were you looking for a snide remark? It was an illustrative example.
- I don't remember reading any requirement that illustrative examples be
- (a) snide or (b) only about EBCDIC systems.
-
- >It will make REXX hard to use for people who, for religious reasons, refuse to
- >type PARSE EXPAND instead of PARSE wherever necessary. That is their problem,
- >as far as I am concerned; I have no such religious diktat.
-
- PARSE EXPAND is not such a simple solution, as in some situations it will
- require tracking both the expanded and unexpanded copies of input lines.
- --
- Dan Riley Internet: dsr@lns598.tn.cornell.edu
- Wilson Lab, Cornell University HEPNET/SPAN: lns598::dsr (44630::dsr)
- "Maybe, leastways is the best way of all" -Caterwaul
-