Date: 28 Feb 2002 04:59:56 +0100 From: Dag-Erling Smorgrav <des@ofug.org> To: "Brian F. Feldman" <green@FreeBSD.org> Cc: obrien@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/contrib/one-true-awk - Imported sources Message-ID: <xzpr8n68ddv.fsf@flood.ping.uio.no> In-Reply-To: <200202280333.g1S3Xmf47324@green.bikeshed.org> References: <200202280333.g1S3Xmf47324@green.bikeshed.org>
next in thread | previous in thread | raw e-mail | index | archive | help
"Brian F. Feldman" <green@FreeBSD.org> writes: > Is there something unexpected about empty regexps? One-true-awk considers the following an error: awk '// { do_something(); }' the solution is to either use the following (equivalent) code: awk '{ do_something(); }' or apply a simple patch to One-true-awk to make it accept empty regexps. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpr8n68ddv.fsf>