On Wed, 31 Aug 2022 16:35:27 +0000, Sri h Kolusu wrote: > ... >>>The DFSORT manual (and others) should not attempt to explain regular >>>expressions. They should defer to citing a single publication with such an >>>explanation. > >I completely agree, however each component within IBM is implementing a >regular expression flavor. Different regular expression flavors are not fully >compatible with each other. So it is difficult to have 1 central publication. > I'm surprised, skeptical even, that DFSORT implements regular expressions entirely with fresh code rather than employing available library functions such as regcomp() with a brief description of how arguments to regcomp() depend on options in DFSORT commands.
An exemplar of what I consider wise design and documentation is REXX BPXWUNIX: Parameters cmd The shell command that you want to run. The shell is run as /bin/sh -c followed by the string that you specify as the command. If a login shell is requested, the shell is run passing a single argument similar to the sh -Lc command. ... It makes no attempt to describe the syntax of shell commands, which are described in another publication (which it fails to cite.) >Locale is NOT supported with regular expressions and it is documented here > >https://www.ibm.com/docs/en/zos/2.5.0?topic=expressions-regular-application-notes > The following existing DFSORT functions are not compatible when used with Regular expressions: Locale Ouch! -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN