From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 48265 invoked by alias); 16 Aug 2017 12:19:40 -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 46172 invoked by uid 89); 16 Aug 2017 12:19:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.6 required=5.0 tests=AWL,BAYES_40,GIT_PATCH_2,KAM_LAZY_DOMAIN_SECURITY autolearn=ham version=3.3.2 spammy=H*F:D*at, Gratz, gratz, Hx-spam-relays-external:14.03.0294.000 X-HELO: mx-relay12-haj2.antispameurope.com Received: from mx-relay12-haj2.antispameurope.com (HELO mx-relay12-haj2.antispameurope.com) (83.246.65.212) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 16 Aug 2017 12:19:38 +0000 Received: from 185-58-53-14.customers.tirolnet.com ([185.58.53.14]) by mx-gate12-haj2.antispameurope.com; Wed, 16 Aug 2017 14:19:35 +0200 Received: from EXSRV01.avt-imst.local ([fe80::68b9:c891:f307:72f]) by EXSRV01.avt-imst.local ([fe80::68b9:c891:f307:72f%14]) with mapi id 14.03.0294.000; Wed, 16 Aug 2017 14:19:33 +0200 From: Vermessung AVT - Wolfgang Rieger To: "cygwin@cygwin.com" Subject: Re: gawk 4.1.4: CR separate char for CRLF files Date: Wed, 16 Aug 2017 12:19:00 -0000 Message-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-cloud-security-sender:w.rieger@avt.at X-cloud-security-recipient:cygwin@cygwin.com X-cloud-security-Virusscan:CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mx-gate12-haj2 with F357B12B4003 X-cloud-security-connect: 185-58-53-14.customers.tirolnet.com[185.58.53.14], TLS=1, IP=185.58.53.14 X-cloud-security:scantime:.3722 X-SW-Source: 2017-08/txt/msg00137.txt.bz2 Achim Gratz wrote: Vermessung AVT - Wolfgang Rieger writes: > Another solution which we have been using for many years now, though=20 > it might not be feasible for you: ----------------------------- snip -------------------------------- Jannick, another idea I had thought of previously might eventually help: There is the possibility in awk to include source code by @include "myfile.= awk" syntax. I was sometimes thinking of providing a general awk script tha= t could deal with oddities of any kind that could easily be changed just in= myfile.awk when necessary, e.g. due to updates. You could even think of an= optional environment variable to control which script to include. It shoul= d be easy to add such an @include line in all gawk scripts automatically. D= id you thing of something like that? Kind regards, Wolfgang -- 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