[comp.unix.questions] awk errors

mayne@VSSERV.SCRI.FSU.EDU (William (Bill) Mayne) (08/13/90)

Now that I've got that gripe off my chest I ask my fellow awk fans: Have you
encountered this kind of problem? Have you found any useful techniques for
dealing with it? Have you found a pattern in the kinds of source code which
cause it to happen? I'll summarize email responses for the net if others are
interested.

mayne@VSSERV.SCRI.FSU.EDU (William (Bill) Mayne) (08/14/90)

In my earlier post on this question all but the last paragraph got lost
somehow. The part which showed up on the net wouldn't make much sense,
so I'll summarize again. My apologies for the confusion.

Using awk on a Sun 3 run SunOS 4.0 I sometimes get either bus
errors or segmentation faults in the awk interpreter. Although I
sometimes find errors in the awk program which I was trying to
interpret (no thanks to the graceful error handling) I regard this
as a bug. An interpreter or compiler shouldn't fail like that no
matter what the input is. But I know I have to learn to live with
it the way it is. If anyone out there has learned some techniques
to help locate the error in a case like this, or has discovered what
patterns of source code errors cause this interpreter [mis]behavior
please enlighten me. Email responses preferred. I will summarize if
others show interest.