delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/03/15/06:03:04

X-Recipient: archive-cygwin AT delorie DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:314, H*UA:6.1, H*u:6.1
X-HELO: mail-wr1-f41.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id :disposition-notification-to:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=mr0o6P1t18Q57e/9E9JLW9n43+Dk4RSSM7bFba5YfM8=; b=lmCr20/40iGGNM02f/FAxAkiORdOxvXUt77CS3u3CZ1mSyLx0BuYeky3xd2bvlb5C2 +ogKC0sP8AMZ8xpv1/WWEDWVvmuQilN/M3gzoK4hEMXrgKTNF/UJiOC6Oh9qu2l1CHLn GIRBs0Dxtj/iRz9h7S7lCYuwLVNXoxWi7DGsVRnCmJpTNuirDZoFodqTY9e0p1qfZXLl vVgoWiF7RbLvMXo7Fa5b3Z2//VxHXH04GUuVAIkxT3b8EDn08hw3DLERccVND5oT78SA fbfbfRLJA5AqU8HNqk+3VCCbOzradsUHWVuk+MZLEEXr7iv7CcLaW0F1CBAcMInIZPWO BGiw==
Sender: "Vlado B." <vlabeg AT gmail DOT com>
Subject: Re: sed end of line
To: cygwin AT cygwin DOT com
References: <5C8B75AC DOT 8020002 AT diotec DOT com>
From: Vlado <v DOT 99cygwin AT gmail DOT com>
Message-ID: <c4f94bc5-ab10-2707-3f7c-4bc940012acb@gmail.com>
Date: Fri, 15 Mar 2019 11:02:46 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.3
MIME-Version: 1.0
In-Reply-To: <5C8B75AC.8020002@diotec.com>
X-IsSubscribed: yes

On 15. 3. 2019 10:51, Timo Maier wrote:
> Why do I need a second "." in the cygwin sed?
> 
Hi Timo.

The difference is in echo.

$ /bin/echo "Hey" | /usr/bin/hexdump -C
00000000  48 65 79 0a                                       |Hey.|
00000004

C:\>echo Hey| c:\cygwin\bin\hexdump -C
00000000  48 65 79 0d 0a                                    |Hey..|
00000005

Vlado

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019