From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27678 invoked by alias); 18 Feb 2017 13:00:17 -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 27556 invoked by uid 89); 18 Feb 2017 13:00:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=endings, Hx-languages-length:655, Vim, H*f:sk:7326506 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 18 Feb 2017 12:59:58 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 92C5E85543 for ; Sat, 18 Feb 2017 12:59:58 +0000 (UTC) Received: from [10.10.123.249] (ovpn-123-249.rdu2.redhat.com [10.10.123.249] (may be forged)) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id v1ICxvUc028495 for ; Sat, 18 Feb 2017 07:59:58 -0500 Subject: Re: [ANNOUNCEMENT] Updated [test]: grep-3.0-2 To: cygwin@cygwin.com References: <7326506c-5785-001c-0613-be94257689d8@gmail.com> <58a78a5c.cebd240a.d29df.4fa8@mx.google.com> From: Eric Blake Openpgp: url=http://people.redhat.com/eblake/eblake.gpg Message-ID: Date: Sat, 18 Feb 2017 13:00:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <58a78a5c.cebd240a.d29df.4fa8@mx.google.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="qXSqFPP19RD2rwCs9GO70V22h32unfD4F" X-IsSubscribed: yes X-SW-Source: 2017-02/txt/msg00229.txt.bz2 --qXSqFPP19RD2rwCs9GO70V22h32unfD4F Content-Type: multipart/mixed; boundary="fkw0Cmhl2qnlDOdElmRb75drRff4MfOr1"; protected-headers="v1" From: Eric Blake To: cygwin@cygwin.com Message-ID: Subject: Re: [ANNOUNCEMENT] Updated [test]: grep-3.0-2 References: <7326506c-5785-001c-0613-be94257689d8@gmail.com> <58a78a5c.cebd240a.d29df.4fa8@mx.google.com> In-Reply-To: <58a78a5c.cebd240a.d29df.4fa8@mx.google.com> --fkw0Cmhl2qnlDOdElmRb75drRff4MfOr1 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-length: 620 On 02/17/2017 05:42 PM, Steven Penny wrote: > On Fri, 17 Feb 2017 11:43:13, cyg Simple wrote: >> There are as many ways to remove the \r as there are ways to create >> them. >=20 > Not really, if you are interested in POSIX compliance. POSIX Sed does not > support \r or \xD or \15. Same for POSIX Vim. The only portable tools I > know are > awk and tr. And tr can only remove ALL \r; if all you want to do is convert \r\n line endings to \n while preserving mid-line embedded \r, you're stuck with awk or d2u. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --fkw0Cmhl2qnlDOdElmRb75drRff4MfOr1-- --qXSqFPP19RD2rwCs9GO70V22h32unfD4F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" Content-length: 604 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJYqEVMAAoJEKeha0olJ0Nq4ecH/0519dpvk3BUzjrNlElJ9iGh iHDTiNze1ec4UMQ5ltt5XVEZW6CXhqQRkfabDB4LG9YHRONx93+k5Yqe4r7boDTF 8nmHhwg6OoBdBIk6TFRy/V1iF3vHn/78HEZCgEBbhJ6HR6GZEOfawIgIa29z22hs YNl3maFKflZz17OgVZxq6TtQ4Nqx0yTqWjC6fKfpq1K4Dxpb91Y3BWNi3sJdSc0o 6o1oFsHXlv+xqMaNr3fla36yVa7NxNn2TO0gQfpkOMH/JyDihHH8K2YNhdw5ag6z eLofutZe/QFGzE8eHmg+Jx+GK82kP1RHLktaZcVpL3p2Sd/5vf1gwxnThP/nQ3Q= =UTde -----END PGP SIGNATURE----- --qXSqFPP19RD2rwCs9GO70V22h32unfD4F--