On 1/6/2011 6:31 AM, Shane wrote:
Perl/awk/sed ...
I can't remember how long ago it was I wrote an edit macro in anger.
I don't do CGI, but if I did I'd reckon perl would be first cab off the
rank.
Most recently I needed to compare two catalogs - I can't recall why I
forsaked the CSI, but it was easier to generated cat listings, send
them over to USS and run awk over the output and send it back.
Despite IBMs brain dead C treatment of eof (thanks Bill).
In the past I'd have used REXX, but it doesn't have the regex
capabilities. If I'd only had zLinux available  ...

Hmmm. Interesting timing on your comment about regex.

You do know that you can use regular expressions from a COBOL
program, right? I did some work on this about five years ago
and have just started back to re-examine this, maybe for a
paper.

The key is that because COBOL is an LE compiler, it can call
most C functions directly, including regcomp() and regexec().
I'll be doing some more in depth exploring and experimenting
over the next couple of weeks and see what becomes of it.



--

Kind regards,

-Steve Comstock
The Trainer's Friend, Inc.

303-393-8716
http://www.trainersfriend.com

* To get a good Return on your Investment, first make an investment!
  + Training your people is an excellent investment

* Try our new tool for calculating your Return On Investment
    for training dollars at
  http://www.trainersfriend.com/ROI/roi.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to