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:message-id:date:from:to:subject:references :content-type; q=dns; s=default; b=hrKtU5Si5I/a56iXY/5L7m5KpL9fJ 8vY3NXtBLsmQYT7h3s6ahbgNA9qr0AoEAnHyZVa1LQfof9YQnPKRwowLrOtmdIwM w+WZunLbEgL726Vh7j1Lj51UYxKps8Syeqvv1IYD7nbgERnz7gGv+NY7dDgpHKQS uNw52fAON9jbrs= 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:message-id:date:from:to:subject:references :content-type; s=default; bh=F5yORQCG46JGLSFIqEyed5VITEk=; b=ErO ZW4ZL8DF5GroBx/+itQbMn3JCbf+BHWEyRLA7uIdl1avzW7VjLdGPW1M+Zs+s5k4 kdbeu59Xz5AwCjP5E2tugE8pAq24TJO+/mF0Fg8pn7plZpV6fmzh4y+eIqmkVp6p d8Ly5NtF/FPFf5VuX4kB/Yod6u6B77iOe+zhFn6k= 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=-1.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=endings, H*r:6000, Awk, H*M:google X-HELO: mail-it0-f68.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:to:subject:references :user-agent; bh=W1r3fKu7G67lrY6s/UAsNjUxV5EFyijoCp2OmNPYc3Q=; b=cxx324OvevxoM3tiihs4AYu6xUxAkGmz6/q7TnerT00zQnAnz48xVCaTcAFQiJzZ7e t3Kp9t1Nxm3Jyc08MvcYiUbmz9penHoFphLp2yTV2xE0it4cJHsmNzUDWT3ao8wak8Bb akTaWXmkj76ZmZW79SWni+vibCet4hTqNrj/nBbY+wqH859+wpTXdzV8bL8A0FMfR3QY X++YRa4yKKHTBHYw2vNZ2B7kxowWfctpxAvlJ/TUHqoY4nZ0e7BfhffSJS4OkRurdqWU np2uPBVxQxraTW57DzkWchlhXUXQzZ/UcrnXGhF4s72wqLIrMU9zTLbjlqDosP+agXZE bDiQ== X-Gm-Message-State: AMke39mCJ+rlqENbLrBMCViSpGoBzs4uraEWxMfC73B64NL9+WAqoxlp9nQet/ZZVtq7bg== X-Received: by 10.107.35.142 with SMTP id j136mr250597ioj.158.1487210477047; Wed, 15 Feb 2017 18:01:17 -0800 (PST) Message-ID: <58a507ec.cc036b0a.28cf4.47c4@mx.google.com> Date: Wed, 15 Feb 2017 18:01:16 -0800 (PST) From: Steven Penny X-Google-Original-From: Steven Penny To: cygwin AT cygwin DOT com Subject: Re: [ANNOUNCEMENT] TEST RELEASE: gawk-4.1.4-3 References: Content-Type: text/plain; charset=UTF-8 User-Agent: Tryst/2.0.1 (github.com/svnpenn/tryst) On Tue, 14 Feb 2017 13:23:40, Corinna Vinschen wrote: > this TEST release removes all enforcing of text mode on input. > Input from pipes is now treated binary-only, input from files > follows the mount mode setting text/binary. Works great, thanks. $ printf 'hello world\r\n' | awk 1 | od -tcx1 0000000 h e l l o w o r l d \r \n 68 65 6c 6c 6f 20 77 6f 72 6c 64 0d 0a Ironically, Awk is now a portable way to convert line endings, as d2u is not portable: printf 'hello world\r\n' | awk '{sub("\r", "")} 1' printf 'hello world\n' | awk '{sub(/$/, "\r")} 1' -- 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