Use Perl (was Re: Is there an AWK debugger?)
Randal Schwartz
merlyn at iwarp.intel.com
Thu Jul 13 09:07:43 AEST 1989
In article <8372 at batcomputer.tn.cornell.edu>, lacey at batcomputer (John Lacey) writes:
| I'm developing an application using AWK. The programs involved
| are getting to be fairly substantial (several hundred lines, up to
| 6 or 7 files being read and written to), and I was wondering if
| anyone has ever seen, heard of, written, or used an AWK debugger.
|
| I am using both gawk 2.10 and the original AWK (1977).
|
| What does a debugger look like for an interpreted language? Is it
| possible to add one on to an existing interpreter, or am I going to
| have to hack at gawk in order to get what I want?
|
| I know, a lot of you are going to say ``Why are you using AWK?''
| Because it's a convenient development language, and in this case
| I can make good use of the pattern matching. If I need a faster
| application when I finish, I will recode it in C.
Several hundred lines? Six or seven files?
One simple piece of advice:
GET PERL.
You can even convert your awk script (if it didn't do anything
nasty) directly into Perl.
And yes, there's a debugger :-)
It's also free. See comp.sources.unix and/or send mail to
"Larry Wall" <lwall at jpl-devvax.jpl.nasa.gov> to get it.
Just another Perl fanatic,
--
/== Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095 ====\
| on contract to Intel, Hillsboro, Oregon, USA |
| merlyn at iwarp.intel.com ...!uunet!iwarp.intel.com!merlyn |
\== Cute Quote: "Welcome to Oregon... Home of the California Raisins!" ==/
More information about the Comp.unix.questions
mailing list