X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:content-type :content-transfer-encoding:mime-version; q=dns; s=default; b=WRX xzMNCzZTfPi+m+POhUuQQv5YnvC6DkmO88fA4JbMsKZ0jIrD3yist4Xj5+KeJdJ7 vGvOVB7I71x3fjIr5WXwZWtSrgez6cUaggVBzz9C1H9TXisd+c4cd/Kiz8k/UF0t 6AgLwV4HAsb1y5kQnN0iH7Y9wwiMcgAVSwQDKdu0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:content-type :content-transfer-encoding:mime-version; s=default; bh=3mdUSvEU4 8Amj+ePxNRhWuaIhL0=; b=urzFqCvjvYYhISrVrypJbexkMnjF6nWAoNhU+f6Hy 4gbI8mWD0Yoo6fbT1IDQlN+RKrBrcWBiWTkFoqM4ZzD/Unu1jpB2bzn9fEC4RH8P gpScJnQ8vshvBAe5ZSwpEdpSoXfvYj0jp2rtTwN7xR/Us4p2/GqikfVyUufZMc9I 3I= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 From: Vermessung AVT - Wolfgang Rieger To: "cygwin AT cygwin DOT com" Subject: Re: gawk 4.1.4: CR separate char for CRLF files Date: Wed, 16 Aug 2017 12:19:32 +0000 Message-ID: Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-cloud-security-sender:w DOT rieger AT avt DOT at X-cloud-security-recipient:cygwin AT cygwin DOT 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 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id v7GCJtHr001306 Achim Gratz wrote: Vermessung AVT - Wolfgang Rieger writes: > Another solution which we have been using for many years now, though > 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 that 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 should be easy to add such an @include line in all gawk scripts automatically. Did 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