From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 96659 invoked by alias); 16 Feb 2017 02:01:21 -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 96446 invoked by uid 89); 16 Feb 2017 02:01:19 -0000 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 Received: from mail-it0-f68.google.com (HELO mail-it0-f68.google.com) (209.85.214.68) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 16 Feb 2017 02:01:18 +0000 Received: by mail-it0-f68.google.com with SMTP id 203so1483746ith.2 for ; Wed, 15 Feb 2017 18:01:18 -0800 (PST) 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) Received: from hBo ([2605:6000:9fc0:56:811:343f:f904:d318]) by smtp.gmail.com with ESMTPSA id e73sm965235ioi.14.2017.02.15.18.01.16 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Feb 2017 18:01:16 -0800 (PST) Message-ID: <58a507ec.cc036b0a.28cf4.47c4@mx.google.com> Date: Thu, 16 Feb 2017 02:01:00 -0000 From: Steven Penny X-Google-Original-From: Steven Penny To: cygwin@cygwin.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) X-SW-Source: 2017-02/txt/msg00203.txt.bz2 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