home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!uknet!liv!qq11
- From: QQ11@LIVERPOOL.AC.UK (Alan Thew)
- Newsgroups: comp.lang.rexx
- Subject: portability on Un*x (was Re: Eric's question
- Message-ID: <92248.194128QQ11@LIVERPOOL.AC.UK>
- Date: 4 Sep 92 18:41:28 GMT
- References: <ANDERS.92Aug29050537@lise3.lise.unit.no>
- <1992Aug29.163731.1@sejnet.sunet.se> <1992Aug29.170623.1@sejnet.sunet.se>
- Organization: University of Liverpool
- Lines: 42
-
- In article <1992Aug29.170623.1@sejnet.sunet.se>, eric@sejnet.sunet.se (Eric
- Thomas) says:
- >
- ....
- >> * You want to be able to use the program on several platforms,
- >
- >No, and in my opinion this portability concern is what keeps you guys off
- >track
- >all the time. Portability between different systems is totally irrelevant, the
- >only thing that matters is portability between different REXX interpreters on
- >the same type of system. That is, if I write a neat REXX utility for bsd 4.3,
- >it would be nice if it worked on all bsd 4.3 systems, regardless of the REXX
- >interpreter they are using. I know very well that it won't work on other
- >systems regardless of how clever the command trapping syntax comp.lang.rexx
- >designed is, because 'ls' won't quite do what my program expects on CMS, VMS,
- And given Un*x and different versions of 'ls' (BSD vs SYS 5) the *same*
- interpreter on the *same* architecture can bomb just because both versions
- are available and it's got the 'wrong' one. :-)
-
- Eric's point is important and seems to have been ignored by others. Yes it's
- nice being able to port between CMS and a brand of Un*x but using the same
- interpreter on BSD and SYS 5 is also a portability issue.
- >MVS, MS-DOS, you name it. I also know that my knowledge of REXX on CMS won't
- >help me write anything but simple scripts on unix, because anything beyond the
- >format of expressions and if/then/else &co will be different - I'll have to
- >forget about DIAG and learn about LINEIN and the like.
- >
- ....
- >
- >> Regexps are very powerful, and definitively more powerful than the
- >> pattern matching of parse. Including regexps into parse' pattern
- >> matching would indeed add to its power.
- >
- >Oh, please. Why not include awk as well, and all the other unix stuff? People
- >who want to program in perl can (and do) use perl. REXX is designed to be easy
- >to learn by people without a DP background. Regular expressions are not
- >precisely intuitive for this type of people :-)
- >
- In defence of awk, its syntax is not quite as simple as REXX but it's easier
- to move to than PERL :-). Regular expressions are not mandatory :-)
-
- Alan Thew
-