This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Join command fails to output fields on input file with DOS line endings.
- 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>
- Date: Tue, 23 Jul 2019 12:18:15 +0000
- Subject: RE: Join command fails to output fields on input file with DOS line endings.
- 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
- 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-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==
- References: <009e01d540c6$c1b11d50$451357f0$@comcast.net>
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