From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 125929 invoked by alias); 17 Feb 2017 23:42:24 -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 125916 invoked by uid 89); 17 Feb 2017 23:42:23 -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=H*RU:209.85.214.66, Hx-spam-relays-external:209.85.214.66, H*M:google X-HELO: mail-it0-f66.google.com Received: from mail-it0-f66.google.com (HELO mail-it0-f66.google.com) (209.85.214.66) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 17 Feb 2017 23:42:22 +0000 Received: by mail-it0-f66.google.com with SMTP id e137so5043664itc.0 for ; Fri, 17 Feb 2017 15:42:23 -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:subject:to:references :user-agent; bh=zAjhReZvvjLqKHkePnzp80NC5Gy0el3EHAKSth6DbkI=; b=G83InbH2UikmXmibouAS5OI5XZVJt7XdKFHMM9jAiIq6Ky+oLtpZHWyfpdq5L08vbb vXQvRcXrIi2a8mOroLAoAqsl1i4BR5fLv9pavBLWqy7wD3oqx3s9HE7NOtKN43owuCuc H2m/xDt0e6s0tbQdSSF0IdUpgMVaFQgCuk3Iz4l0enq2ZRxv3NYLm1/hoxnY4QPVnMan 4t3OH+G7qLvoEqLFgHV8rnj//Oy5JWxD6v9fOuZdhcj1sDgGCrEHdpY0RPjOsqZIv66w YASKBDDzwFfeXNcOaY2xyGMZuucRfWGECHYhLumxU8er/zW2dsLfjZdEbV54e2mkzUMN xDUA== X-Gm-Message-State: AMke39kDG/Jv2ZnlTw8SByfeCObuIyfFGtYBVKSnmc3XAgmOPgcz3MesO+nd2ikcq9tD4Q== X-Received: by 10.36.79.13 with SMTP id c13mr6757511itb.103.1487374941452; Fri, 17 Feb 2017 15:42:21 -0800 (PST) Received: from nh0 ([2605:6000:9fc0:56:811:343f:f904:d318]) by smtp.gmail.com with ESMTPSA id x197sm1253098ite.17.2017.02.17.15.42.20 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Feb 2017 15:42:20 -0800 (PST) Message-ID: <58a78a5c.cebd240a.d29df.4fa8@mx.google.com> Date: Fri, 17 Feb 2017 23:42:00 -0000 From: Steven Penny X-Google-Original-From: Steven Penny Subject: Re: [ANNOUNCEMENT] Updated [test]: grep-3.0-2 To: cygwin@cygwin.com References: <7326506c-5785-001c-0613-be94257689d8@gmail.com> Content-Type: text/plain; charset=utf8; format=flowed User-Agent: Tryst/2.0.1 (github.com/svnpenn/tryst) X-SW-Source: 2017-02/txt/msg00226.txt.bz2 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. 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. As I said before, d2u is certainly a good tool for this, but it is not portable and some people do care about that. -- 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