Re: Can We Do Sed-Style Regex in 4GL?
Posted in 2000
-----Original Message----- From: "Elisa Roselli" <e.roselli@volusoft.com> Date: Thu, 24 Feb 2000 17:13:31 +0100 To: informix-list@iiug.org Subject: Re: Can We Do Sed-Style Regex in 4GL? > I haven't expressed myself clearly enough. We know that 4gl is a programming > language not a text editor. We need to use this language to write a program > that will automate the modification of other 4gl programs. We have an > application with some 3 million lines of source code. All the text strings, > such as menus, error messages, etc, have been hard-coded directly in the > source. What we are working on now is a set of tools for extracting and > identifying all these text elements and dynamically substituting them with > versions in different languages according to user configuration. > > Certain tools such as sed, awk and perl are ideal for the kinds of string > analysis that this large task entails. However, for reasons of coherence we > are obliged to keep everything strictly within a 4gl development > environment, so we are bereft of the comfort that sed, awk or perl can > offer. > > Thanks for your kind reply. I'm sorry if I sounded even more out of it than > I verily am. : ' ) > > Elisa Roselli > Why not do the deed in an environment that allows sed, awk, etc. and direct the output to subdirectories based on the proposed environment? I'm still not sure I understand what you're trying to do. It sounds like the files you want to alter are 4gl source files, and in that case 4gl is 4gl regardless of the operating environment isn't it? carlos -- Get your free email from www.linuxmail.org <br> <a href=http://adserver-hk.outblaze.com/cgi-bin/nph-ad1?id=6&c=RANDOM> <img src=http://adserver-hk.outblaze.com/cgi-bin/nph-img1?id=6&c=RANDOM border="0"></a> <br>