Article View: comp.lang.misc
Article #1280Re: Using variable for awk regexs
From: Lee F Kolakowski
Date: Mon, 11 Jun 1990 00:05
Date: Mon, 11 Jun 1990 00:05
24 lines
1641 bytes
1641 bytes
I fixed my problems with the code. I was defining the variables with forward slashes around them. That is apparently a no-no. A small problem I have is the size of the regex data (340 patterns). Gawk runs out of memory, and quits (segmentation fault), but works fine with the file split in two parts. Thanks to bwk@research.att.com and J. Kingdom@prep.ai.mit.edu -- Frank Kolakowski ====================================================================== |lfk@hx.lcs.mit.edu || Lee F. Kolakowski | |kolakowski@tropicana.mit.edu || M.I.T. | |lfk@mbio.med.upenn.edu || Dept of Chemistry | |AT&T: 1-617-253-1866 || Room 18-506 | |#include <litigate.h> || 77 Massachusetts Ave.| | || Cambridge, MA 02139 | |--------------------------------------------------------------------| | One-Liner Here! | ======================================================================
Technical Details
Message-ID:
<1990Jun10.210608.28681@athena.mit.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!usc!snorkelwacker!bloom-beacon!bloom-beacon!lfkReferences:
<1990Jun9.164748.19880@athena.mit.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!usc!snorkelwacker!bloom-beacon!bloom-beacon!lfk From: lfk@e40-008-5.athena.mit.edu (Lee F Kolakowski) Newsgroups: comp.lang.misc Subject: Re: Using variable for awk regexs Message-ID: <1990Jun10.210608.28681@athena.mit.edu> Date: 11 Jun 90 00:05:22 GMT References: <1990Jun9.164748.19880@athena.mit.edu> Sender: news@athena.mit.edu (News system) Organization: Mass. Inst. of Tech., Dept. of Chemistry Lines: 24 In-Reply-To: lfk@E40-008-6.athena.mit.edu's message of 9 Jun 90 12:46:52