delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/07/23/08:19:33

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:from:to:subject:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; q=dns; s=default; b=w0IKJN8Ze7V0w+stbH/mrghU9rKw6
MzBkP4tGxV02gyLLPUlZRTFO61ompa0W3K01GmCWgM2I6driybdm8PmP+zPTeRDL
Ww9An5eEoGGTQn984Ka7oo+fkTM6EsnvLa+SFhyaVw/ds87iZlzxlv3KIEWRxZSE
+yzh8DkRhygbR0=
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:from:to:subject:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; s=default; bh=lLyPVAFe71eo7r53gB5UC9vOxuM=; b=XK2
KMHImJjBMkWEKfA7XLVkF8kTt5IMLH1iPpep0ImSBUungjYUj7bVzJuRvsmvOqY5
epuwtX9zJJ1sfQ3MHdPIqhiYDAhAc/y7TWetAdqEIvEZGDkbfNeVsUfZHNVPxu20
4rM12atDqMfjKLK4GQnEIOQHkQOXA3jsQUShmb/U=
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=-0.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=surprise, HTo:D*comcast.net, H*Ad:D*comcast.net, HX-Languages-Length:367
X-HELO: cluster-d.mailcontrol.com
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RNPsiNwxrQlE/0Bhdrm8+6dg3aix7FqBy8sAy3KhCKnKehxlejw7U6SYgNPNHk0q8OLRGVZslxLPae4CxWFLMW9FHeb8/Euo4J1cAS/bpjs3VFj1/3vYiFT7RCtVP6+MQxaxNVk/XCD6wP6kmYaRJaRdeZdyMpsbgPDQjIdYxBbPsCooHC1m7pjIcMDRGnNfi5/ZSGxApIa+2orCMyPbnFL9cy0dSIgEK+EP1+z1AZ2GtpGaIuYat6akCClZUrBRAK8RkbampjXdxK/JhF4F7CG6i2S2k49e6nAwtAYuCa7rjEUD+sXhCCHiI8H3cMk0ox1R46Lphl7F+0xXTFtqjQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pG+cawm23soAxrwDytvuz8YIulVm+tycVL1f/ReQH8E=; b=XQU3edaT3pkiC4Hdsxal05T9pSUmm5aqvKFJe/TQItiu6hf7w7iVX76QEHtz+9sIOP3LKbz7JZQEp7NjkSv+Z7QRQndh4ZQpurCBlmaPkORaJx250IHKwaiheDnnF6e/4tRnbykvqlNLUbpqJB4NoYoHt8ROo6VAzIqt3bG/lHQu4wBAyMLFXB2VAtjSSf7nOOgflPcbIfzY6hPVpcGjcl9Qep9sUwEdgXRFhVPX7G48fNwH39iJK1elhjJeCq8RnV9CgU1sRgKNebPlKSz47bsTuBRbyw/3ulJiZ9AFSn9dW5btVudz4QGmAxgJ3XUgXjaVNAJF92lxWYQ5tx9iRw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=schaeffler.com;dmarc=pass action=none header.from=schaeffler.com;dkim=pass header.d=schaeffler.com;arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=worksite.onmicrosoft.com; s=selector1-worksite-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pG+cawm23soAxrwDytvuz8YIulVm+tycVL1f/ReQH8E=; b=eHARca/BRaJ+JxVhfZRrEYSxrPWxNrxmQd1OknTAWjwmJfF3x3vNRlcZe+GxbglGNCj7tSajTL8RTXM8u0cekm7lQveP6MXfPfb8PlhQ7HtymSd3dWU+JkBAs3Sdz4VX40hhme1dLLGQ5Q4FSBr7Jz/6l8wfif0yvL+yE5Ca1EE=
From: "Lemke, Michael ST/HZA-ZIC2" <lemkemch AT schaeffler DOT com>
To: Andy Hall <fixpertise-consulting AT comcast DOT net>,
"cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: RE: Join command fails to output fields on input file with DOS line endings.
Date: Tue, 23 Jul 2019 12:18:15 +0000
Message-ID: <AM6PR03MB6007411E6C37CF78BA22BE1EBEC70@AM6PR03MB6007.eurprd03.prod.outlook.com>
References: <009e01d540c6$c1b11d50$451357f0$@comcast.net>
In-Reply-To: <009e01d540c6$c1b11d50$451357f0$@comcast.net>
authentication-results: spf=none (sender IP is ) smtp.mailfrom=lemkemch AT schaeffler DOT com;
x-ms-oob-tlc-oobclassifiers: OLM:478;
received-spf: None (protection.outlook.com: schaeffler.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: lemkemch AT schaeffler DOT com
X-MailControl-OutInfo: MTU2Mzg4NDI5NzpGUEtleTEucHJpdjqLJrXaQJUGgttl6Inu4tLfLg+4bJpq/xrz8kSR12Ci6wOcBDWXdwB57atMfCdCf//Ta7YPIcVgDk5+uPALTc0Ikga3cxNC9royuGjs9QxPQFrTP4RuGc+l+ciNUjVjqeMgTXxj240Ucq5ZQy6DE1eB4bjFOQmwqGa/vse5dTgoSlFS9P2GzSd1tv7w4ZQeVFyQ7hENDGBmo5OgpCdxFTZD8+pljH7weS3oY2SENiRGCY1+JtJP8MEA+ca1wYmlRfxNhbriv5fDYjKNiChjfElCl3cCUb6YULnZ7lE3j1DXm3mDZyp503tUGvOEGnHQHnsxQg7utuZDM4d9RBxO1RXN
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x6NCJ4Cs025221

On July 22, 2019 9:51 PM Andy Hall wrote:
>This behavior of join surprised me: 
>
>$ join -1 3 <(echo a b col3  c d | unix2dos) <(echo col3 f2 f3 f4 f5)
> f2 f3 f4 f5

See if this reduces your surprise somewhat:

$ join -1 3 <(echo a b col3  c d | unix2dos) <(echo col3 f2 f3 f4 f5) | cat -A

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