From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 62674 invoked by alias); 23 Jul 2019 12:18:29 -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 62630 invoked by uid 89); 23 Jul 2019 12:18:25 -0000 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 Received: from cluster-d.mailcontrol.com (HELO cluster-d.mailcontrol.com) (85.115.60.190) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 23 Jul 2019 12:18:23 +0000 Received: from schaeffler.com (o01016541.schaeffler.com [159.51.236.199]) by rly04d.srv.mailcontrol.com (MailControl) with ESMTPS id x6NCIG89010881 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 23 Jul 2019 13:18:16 +0100 Received: from DE013815.schaeffler.com (unknown [10.160.89.7]) (using TLSv1.2 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by Forcepoint Email with ESMTPS id BC6FEA19D4A24ECE933D; Tue, 23 Jul 2019 14:18:16 +0200 (CEST) Received: from ws003253.schaeffler.com (10.160.75.19) by DE013815.schaeffler.com (10.160.89.7) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 23 Jul 2019 14:18:16 +0200 Received: from WS003254.schaeffler.com (10.160.75.20) by ws003253.schaeffler.com (10.160.75.19) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 23 Jul 2019 14:18:16 +0200 Received: from DE013733.schaeffler.com (159.51.234.21) by WS003254.schaeffler.com (10.160.75.20) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Tue, 23 Jul 2019 14:18:16 +0200 Received: from EUR03-DB5-obe.outbound.protection.outlook.com (104.47.10.58) by o365exchange.schaeffler.com (159.51.234.21) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 23 Jul 2019 14:18:15 +0200 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= Received: from AM6PR03MB6007.eurprd03.prod.outlook.com (10.255.123.26) by AM6PR03MB4232.eurprd03.prod.outlook.com (20.177.32.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2094.17; Tue, 23 Jul 2019 12:18:15 +0000 Received: from AM6PR03MB6007.eurprd03.prod.outlook.com ([fe80::380f:7507:8631:c325]) by AM6PR03MB6007.eurprd03.prod.outlook.com ([fe80::380f:7507:8631:c325%6]) with mapi id 15.20.2094.013; Tue, 23 Jul 2019 12:18:15 +0000 From: "Lemke, Michael ST/HZA-ZIC2" To: Andy Hall , "cygwin@cygwin.com" Subject: RE: Join command fails to output fields on input file with DOS line endings. Date: Tue, 23 Jul 2019 12:18:00 -0000 Message-ID: References: <009e01d540c6$c1b11d50$451357f0$@comcast.net> In-Reply-To: <009e01d540c6$c1b11d50$451357f0$@comcast.net> authentication-results: spf=none (sender IP is ) smtp.mailfrom=lemkemch@schaeffler.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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: lemkemch@schaeffler.com X-MailControl-OutInfo: MTU2Mzg4NDI5NzpGUEtleTEucHJpdjqLJrXaQJUGgttl6Inu4tLfLg+4bJpq/xrz8kSR12Ci6wOcBDWXdwB57atMfCdCf//Ta7YPIcVgDk5+uPALTc0Ikga3cxNC9royuGjs9QxPQFrTP4RuGc+l+ciNUjVjqeMgTXxj240Ucq5ZQy6DE1eB4bjFOQmwqGa/vse5dTgoSlFS9P2GzSd1tv7w4ZQeVFyQ7hENDGBmo5OgpCdxFTZD8+pljH7weS3oY2SENiRGCY1+JtJP8MEA+ca1wYmlRfxNhbriv5fDYjKNiChjfElCl3cCUb6YULnZ7lE3j1DXm3mDZyp503tUGvOEGnHQHnsxQg7utuZDM4d9RBxO1RXN X-IsSubscribed: yes X-SW-Source: 2019-07/txt/msg00205.txt.bz2 On July 22, 2019 9:51 PM Andy Hall wrote: >This behavior of join surprised me:=20 > >$ 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