From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 61736 invoked by alias); 11 Sep 2019 22:54:39 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 61726 invoked by uid 89); 11 Sep 2019 22:54:39 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=BAYES_00,FROM_STARTS_WITH_NUMS,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.1 spammy=debt, licensed, licensing, tiny X-HELO: smtp-out-so.shaw.ca Received: from smtp-out-so.shaw.ca (HELO smtp-out-so.shaw.ca) (64.59.136.137) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 11 Sep 2019 22:54:37 +0000 Received: from kylheku.com ([70.79.163.252]) by shaw.ca with ESMTPA id 8BVRiWn6uSrVc8BVTicFFx; Wed, 11 Sep 2019 16:54:35 -0600 Received: from www-data by kylheku.com with local (Exim 4.72) (envelope-from <920-082-4242@kylheku.com>) id 1i8BVR-00079K-RG for cygwin@cygwin.com; Wed, 11 Sep 2019 15:54:33 -0700 To: cygwin@cygwin.com Subject: Re: Where is igawk and why doesn't @include replicate this =?UTF-8?Q?feature=3F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Date: Thu, 12 Sep 2019 03:00:00 -0000 From: Kaz Kylheku <920-082-4242@kylheku.com> In-Reply-To: References: Message-ID: X-Sender: 920-082-4242@kylheku.com User-Agent: Roundcube Webmail/0.9.2 X-IsSubscribed: yes X-SW-Source: 2019-09/txt/msg00131.txt.bz2 On 2019-09-10 23:54, Troy Kenah wrote: > Hi All, >=20 > I have a large number of scripts that were using the the igawk script, > however I have updated my gawk to a newer release that has > obsoleted/removed the igawk script. Gawk's build system stopped installing igawk over five years ago: http://git.savannah.gnu.org/cgit/gawk.git/commit/?id=3D577ece63770a6c4b5ad0= 0d6998127fb7e85b86b9 > I used to embed @include junk.awk statements to reduce repetitive code=20 > but > this no longer works. These were files were not functions, simply code > snippets; this is the type of error I am now seeing: Clearly, the script is not exactly obsolete, since the @include facility=20 in Gawk seems only to work with syntactically complete units, whereas igawk performs blind textual inclusion. If I were you, I'd just bring the igawk script into my code base and continue that way. It's a tiny script that is licensed as public domain; it doesn't carry much "technical debt" or licensing debt. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple