From unknown Fri Aug 15 03:38:38 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#29396 <29396@debbugs.gnu.org> To: bug#29396 <29396@debbugs.gnu.org> Subject: Status: Comm bug verified Reply-To: bug#29396 <29396@debbugs.gnu.org> Date: Fri, 15 Aug 2025 10:38:38 +0000 retitle 29396 Comm bug verified reassign 29396 coreutils submitter 29396 Saint Michael severity 29396 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 22 09:16:15 2017 Received: (at submit) by debbugs.gnu.org; 22 Nov 2017 14:16:15 +0000 Received: from localhost ([127.0.0.1]:51989 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eHVp0-0005K4-Si for submit@debbugs.gnu.org; Wed, 22 Nov 2017 09:16:15 -0500 Received: from eggs.gnu.org ([208.118.235.92]:48011) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eHVp0-0005Jt-21 for submit@debbugs.gnu.org; Wed, 22 Nov 2017 09:16:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eHVor-0001Ca-34 for submit@debbugs.gnu.org; Wed, 22 Nov 2017 09:16:08 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52558) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eHVor-0001CP-0W for submit@debbugs.gnu.org; Wed, 22 Nov 2017 09:16:05 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38958) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eHVop-0005z4-Vp for bug-coreutils@gnu.org; Wed, 22 Nov 2017 09:16:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eHVol-000192-BG for bug-coreutils@gnu.org; Wed, 22 Nov 2017 09:16:03 -0500 Received: from mail-wr0-x22b.google.com ([2a00:1450:400c:c0c::22b]:43210) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eHVol-00018F-45 for bug-coreutils@gnu.org; Wed, 22 Nov 2017 09:15:59 -0500 Received: by mail-wr0-x22b.google.com with SMTP id u40so14652425wrf.10 for ; Wed, 22 Nov 2017 06:15:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=QWwyd90qTbeTNDzrs1R3WvWLrBTh+gwlXjKr6DvI/zE=; b=vJyhgX2aHrKCCxSaxfuQovuYTWjs1ZsDKJrW+JPa7axNdU1+4cj9YOTTDcNqJFRftE PV2j+qzk4AnFVPdIqD6tm+4d5jC4HEk0vVL1v0i2Z+8F3IRtvjpqAgZ84Kp/C0iubdO8 +r3eKARFo/fDiz/1GPm4PJI0XY8QEgP+OCtpTouGBtb8BFgNzAcB09WwvWXPghKdpMzT xsjoVQHGgPqoMSYYYb0wSnnkXxNBbYB/2635H5DzCfv4u/it6E4HEH3k1CXra3H94/2i wfrpYKkPzY4kRvflpc2OIRPm7ih2lRRmiGPpNd23dKX6CrL/nmVM+tsP7NAVZzzI6TKu RHuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=QWwyd90qTbeTNDzrs1R3WvWLrBTh+gwlXjKr6DvI/zE=; b=uRXtTgs0be0mxTHWTkOud7lu3h4vYyDeOr3QCf4Pp6EjFFUZps1wswYw9aed6DvCw4 qB+DoThX2ujDZofC/1oN/qYs4TYmRAuLhnP0I8wl9iu8UgT9PaY2os/CPUSXpnXGkBVS YhLzTf5kCfFbAV6Kkqf8L4Pot6a+RzI7G9D69FNvpb8gLWJS3zHrXP0v9SA0HxOJRWsr 6U9OouKSmj6Bu+zoOBIWCp2dR0EdM6Zb/uLl+gJsbbSmLz8uhg0NbPbk6KFDZyvRRxXf q31SQukgsFApZlsyLMtX6Y/ezmol98yAeXrGtz33+Npv6pE0BMYLE7U38goGrqf97SF9 N18Q== X-Gm-Message-State: AJaThX5PiS658Hf+RmOUEN6R/4cfDbEV5Ov2xoVbZoLnjdQFci1jWRSa qbfxkM4egil295fG95wlPtysLnycP5PHDCqaVK5obQ== X-Google-Smtp-Source: AGs4zMYByqRS+SwnZYG+0ocjBEz9DMHvyyIGeqkBm+pm0+PdAv+Kn7a/huXjk6x+Zy0/kWeTDFSDjIHR0rR4BZV5GdQ= X-Received: by 10.223.153.20 with SMTP id x20mr16925376wrb.219.1511360157254; Wed, 22 Nov 2017 06:15:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.176.72 with HTTP; Wed, 22 Nov 2017 06:15:56 -0800 (PST) From: Saint Michael Date: Wed, 22 Nov 2017 09:15:56 -0500 Message-ID: Subject: Comm bug verified To: bug-coreutils@gnu.org Content-Type: multipart/alternative; boundary="f403045d58f84d095f055e92f526" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --f403045d58f84d095f055e92f526 Content-Type: text/plain; charset="UTF-8" Dear Maintainers I guess the names are Richard M. Stallman and David MacKenzie. I found a vierifiable bug in the utilitu comm. This is very important because hundreds maybe thousands of application rely on this app to make crucial decisions, in power plants, banks, etc. We nedd to trust it. I have two files with phone numbers, one column, sorted (they pass the test sort -c). One is large and the other one is small. The comm -12 --check-order file1.csv file2.csv falis to find matches, but another utility, join file1.csv file2.csv. does find a lot of matches. The box is Centos 7 and *comm --versioncomm (GNU coreutils) 8.22* The only special think about my box is export LC_ALL=C please contact me to send you a zip file with the two files, or for security, plain ascii files, or maybe you can login to our lab box and execute the commands. --f403045d58f84d095f055e92f526 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dea= r Maintainers
I= guess the names are=C2=A0Richard M. Stallman and David MacKenzie.

I found a vierifiable bug in the = utilitu comm. This is very important because hundreds maybe thousands of ap= plication rely on this app to make crucial decisions, in power plants, bank= s, etc. We nedd to trust it.

I have two files with phone numbers, one column, sorted (they pass the = test sort -c). One is large and the other one is small. The =C2=A0comm -12 = --check-order file1.csv file2.csv falis to find matches, but another utilit= y, join file1.csv file2.csv. does find a lot of matches.
The box is Centos 7 and=C2=A0
comm --version<= br>comm (GNU coreutils) 8.22

The only special think about my box is
export LC_ALL=3DC
please contact me to send y= ou a zip file with the two files, or for security, plain ascii files, or ma= ybe you can login to our lab box and execute the commands.




--f403045d58f84d095f055e92f526-- From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 22 11:48:30 2017 Received: (at 29396) by debbugs.gnu.org; 22 Nov 2017 16:48:30 +0000 Received: from localhost ([127.0.0.1]:52954 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eHYCK-0002vl-FV for submit@debbugs.gnu.org; Wed, 22 Nov 2017 11:48:30 -0500 Received: from mail-io0-f170.google.com ([209.85.223.170]:42407) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eHYCI-0002vV-5N for 29396@debbugs.gnu.org; Wed, 22 Nov 2017 11:48:27 -0500 Received: by mail-io0-f170.google.com with SMTP id u42so23840154ioi.9 for <29396@debbugs.gnu.org>; Wed, 22 Nov 2017 08:48:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=jLv6SGNbn3fwUl8mgNenWFcOKO0CFEbu/vmqgXsG1ls=; b=qxWIsOl368plOEkDhhGT3VnLB5bMSiMVwowCtOiRSRPyu5pqZXfz4sCH4Vf/KV7qQw lN3QyIaP2/FZLRrg5QKX5FkgAMnDWO60R3uMQ/MtrbpsRxIgktvcCbTwtdJSuIisLQtV Xl1iL02bi1VRNlhvGj99Xs0PoisN40fe6kbAcp3pmKxn8tT8bAbZK828FkzHFMMs85AT wCJJnQ5FpdxB1QleEDxU+1qnB7F9V1WTAWWIws/ZlCTqzvVSQzfUqpisa4+a/JCD2E8u f00vmMm0KtqHGwMTkn1i4Ed8X2eLq436oJ1CkSHXYt0MafirnAy0vYonvcEqtV1nOCkR kjQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=jLv6SGNbn3fwUl8mgNenWFcOKO0CFEbu/vmqgXsG1ls=; b=QXwf/dzYoMNKFna9EB2jsPv8iyYvWFmMkgmdNU6HXRG6xABxYDqwJxE6VqWWAvHi7K nwmIpIycZTavKn21RR9VQYUO6Dnz2dYTuGZLySXmKcM+kXoojPRJQ5hU4tsY57ifB7Uh v83Tqk22ohvSBp3lU7Tdl2vc4HTuSQN//ujSMwS2H3wJNi5suVj/TmaISGZq0MOem8vW Y4dkyv87AJgScBmGZHqrSJd+B34iqdETarVQbaoBXEjZDp8WZ/6cPmWxh2FW6Gc08Il0 def8F+yUc0hcRzLzwOkE4ZUiQsmALqlRzVTuKQiZEoeMWDOjiKwLPLQIs034NDroRmRX 8hbg== X-Gm-Message-State: AJaThX6tDB29coiHTec5ltdP6Z+0SqxGdpUR1JqWS/1FIgWfDzcPUve/ ai8qWZ0pTMQFDkuwBJba9T9PP+FH X-Google-Smtp-Source: AGs4zMa+Phq9ptCmBGs0UPOokOFEKOMAfNY20jmr/u8y/oGwbappfARuPKktMJjw5xcLRynHZhWf2g== X-Received: by 10.107.169.6 with SMTP id s6mr24856246ioe.103.1511369298812; Wed, 22 Nov 2017 08:48:18 -0800 (PST) Received: from [192.168.88.239] (moose.housegordon.com. [184.68.105.38]) by smtp.googlemail.com with ESMTPSA id m67sm2246447itm.16.2017.11.22.08.48.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Nov 2017 08:48:17 -0800 (PST) Subject: Re: bug#29396: Comm bug verified To: Saint Michael , 29396@debbugs.gnu.org References: From: Assaf Gordon Message-ID: Date: Wed, 22 Nov 2017 09:48:16 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 29396 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Hello, On 2017-11-22 07:15 AM, Saint Michael wrote: > I have two files with phone numbers, one column, sorted (they pass the test > sort -c). One is large and the other one is small. The comm -12 > --check-order file1.csv file2.csv falis to find matches, but another > utility, join file1.csv file2.csv. does find a lot of matches. To help us better diagnose the issue, please provide more details about the output your are seeing: 1. The "sort" command used to sort the files 2. The "join" command used to join the files 3. A small excerpt of the input files with which we can reproduce the error 4. The output of the commands regards, - assaf From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 22 13:39:47 2017 Received: (at 29396) by debbugs.gnu.org; 22 Nov 2017 18:39:48 +0000 Received: from localhost ([127.0.0.1]:53069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eHZw3-0005fp-NE for submit@debbugs.gnu.org; Wed, 22 Nov 2017 13:39:47 -0500 Received: from mail-it0-f50.google.com ([209.85.214.50]:36625) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eHZw2-0005fc-BA for 29396@debbugs.gnu.org; Wed, 22 Nov 2017 13:39:46 -0500 Received: by mail-it0-f50.google.com with SMTP id 187so7502274iti.1 for <29396@debbugs.gnu.org>; Wed, 22 Nov 2017 10:39:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:from:to:references:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=lrtUsdqTddqwfnRvzyIeI5qepAcim6AZHIv6Xlwaa5E=; b=KvdSM5xKrbVCWYMEWyms+S1MY0SV0fWtuA++eaBHA5CQmdoz4Hzowmh+S2TjwX6QTy YjQq4Rodn6Cnb7lsS0H9MIUttYcUbDwMpoldsmYkuzc1DD+CoXhbVpvmttGQ6TCvspyW /0cgDOgPe83qtezM5UBVOxbHlrQXE+B6Sa0J+6Wim4f3M1bXqTlkbGFdDGwGMUE0DjsZ ANLY/Ojeqdgvy61eHE4nPMWan9laVd63lMBhf3N7gbW2l4K1nqw80lXKD/V7ps2bJjcZ mwmp+c5HeJ6YZb2QrJr7tI14QAaGcMUWa3jTFUSBT2R6BgjlrwzqfDEzFLaTRKQARXIe Kcgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=lrtUsdqTddqwfnRvzyIeI5qepAcim6AZHIv6Xlwaa5E=; b=InTf5/bJ1dFzoLg9EJEYKiody//mmAtXd4NihJayTwT9WYrB3qIC+1VLevP10yRbhR +U0Dps+9Rj8rA3N3nF7jDMfEkzFSv2OSUz45UKO9sr1Q6NJRXXvpU6XqNqR0PtWnJ1C+ sLQ5k+OSuOXAq4tLuSYKx9qr6+UC28oqbsgNSE0fQQwKquWz6saOngpXwfy2IQvlgsFC lap6FhZSwUr8+lnwjva5znCvy5TbxhLjzHdstXhr5tbcFJJ30NFsr63CT+/YeTSLjuOk 5YWJW3CzXUnvtrwIMQrtS6uOo98mBci3yquM0h/dpLXeuE3yPUnIQi5HVQQEs6QaU68Q LWbg== X-Gm-Message-State: AJaThX7R7IAV1cmpyVHwzsSwgloCGIK294egrppZucEpqVbUghWlwqTC acPg9rm4QSPV+f0bDUhxYXcJ/urU X-Google-Smtp-Source: AGs4zMYpR4n45f3p7ynJtUCWcAA1tBB09vFZLwDtYRI0slGZ8T9MqzCyX2vCcaXl1fk00EIZ/OS2WA== X-Received: by 10.36.211.22 with SMTP id n22mr8591152itg.5.1511375980159; Wed, 22 Nov 2017 10:39:40 -0800 (PST) Received: from [192.168.88.239] (moose.housegordon.com. [184.68.105.38]) by smtp.googlemail.com with ESMTPSA id g81sm7176083ioe.24.2017.11.22.10.39.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Nov 2017 10:39:38 -0800 (PST) Subject: Re: bug#29396: Comm bug verified From: Assaf Gordon To: Saint Michael , 29396@debbugs.gnu.org References: Message-ID: <9914a5d0-db07-c975-4560-28809fbff6f2@gmail.com> Date: Wed, 22 Nov 2017 11:39:37 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 29396 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) tag 29396 notabug close 29396 thanks (based on reproducible example provided privately) Hello, On 2017-11-22 09:48 AM, Assaf Gordon wrote: > On 2017-11-22 07:15 AM, Saint Michael wrote: >> I have two files with phone numbers, one column, sorted (they pass the >> test >> sort -c). One is large and the other one is small. The  comm -12 >> --check-order file1.csv file2.csv falis to find matches, but another >> utility, join file1.csv file2.csv. does find a lot of matches. This is not a bug in comm, but simply incorrect usage. The file "file2.csv" (provided privately) contained a space character after each number. "comm" compares entire lines, and spaces do matter. "join" compares fields, and trailing spaces field do not matter. A simple reproducer: $ seq 5 > a $ echo "4 " > b $ join a b 4 $ comm -12 a b [ ... no output ... ] To remove the trailing spaces on the file, try: $ sed 's/ *$//' file2.csv > file2-no-space.csv $ comm -12 file1.csv file2-no-space.csv | wc -l 864 $ join file1.csv file2.csv | wc -l 864 regards, - assaf From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 23 12:50:19 2017 Received: (at 29396-done) by debbugs.gnu.org; 23 Nov 2017 17:50:19 +0000 Received: from localhost ([127.0.0.1]:54100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eHvdg-0000zS-Vh for submit@debbugs.gnu.org; Thu, 23 Nov 2017 12:50:17 -0500 Received: from mail-it0-f43.google.com ([209.85.214.43]:38551) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eHvde-0000zE-8r for 29396-done@debbugs.gnu.org; Thu, 23 Nov 2017 12:50:14 -0500 Received: by mail-it0-f43.google.com with SMTP id n134so11038558itg.3 for <29396-done@debbugs.gnu.org>; Thu, 23 Nov 2017 09:50:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=Cz5iMDu1KtXjYmdzMGOYYUENln3vGUJpWBl8Zn0LMEI=; b=EJDKXcqbPUZA25gTH0tin8ErJBPLau/iVCD466wrlbJazPVvPPWUs5V37ya8mpa25p qdb+3oQ8d4xSFrkLvXyjB903zUl3UZutw7JtLu7irGrGaMj0Hxe37T8PZluVCxuQ+rXW cin0FnEzkybNarrj3Vlze0g3OReIpXYKlnyhhOzNGQ40qtKIcrBbFp5UERYw6I+Nx1dy QqUWL0u+thGMAJPDFA8Tzd+OzvQlvVdAMA0/P4qwUqTJDVeuKvb/iq3sfwWGJmDTTnVL sEfBPYiLQQSr4l4ZJHS4j+kvSFVFEM5+S8POmguSOFvCM8pA5sXANxktN3B/f+m14zz7 Fhgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Cz5iMDu1KtXjYmdzMGOYYUENln3vGUJpWBl8Zn0LMEI=; b=VOO+IFfV/iY517DY7nbxpE2Z+K4VlDvmsxL0KVgr5FVN99CDR1aXIl1ztRPKYnJP0q WcfhmxCfj5gvN9oEsVHa4FdBpD8wkQqrAurI/A3C/dkW5uE7XOKqyxBJcN0VLq/DTzXH RI4W2kFM+JsBFG2LGQkVCfRbfPecLkCvTM8NhVbtFvYX2m32/UPdpFZ4tcgJeFd0n5xM 8dVwUVaTiWzZFa/tdr1nOEXkFNtaRfs26j6yLFERlGHPgTxrEoESxGmSGynWjnsMl4yZ L36qOrimhIYwZWaeNtXXMPv2zKtzoTL8U8PPs1/LODtoMkFpm8KJ4WoyZKb542paYGar h+Ww== X-Gm-Message-State: AJaThX7PD1gGN40H/xqLotEV4WAEZy8hHfHcn5GJ2IRxbwaY/n+qOP6r x84rw5UjnXLppd7YFp9an0ycLvdS X-Google-Smtp-Source: AGs4zMZyT0VYgWG3JA11bke54iHMAdJda0yWPr43YEsuwmSwYGfzGPvjGtQbRTXB1Zo4/ITQKVl6eQ== X-Received: by 10.36.69.136 with SMTP id c8mr13739260itd.9.1511459408160; Thu, 23 Nov 2017 09:50:08 -0800 (PST) Received: from [192.168.88.239] (moose.housegordon.com. [184.68.105.38]) by smtp.googlemail.com with ESMTPSA id r65sm6251450ith.3.2017.11.23.09.50.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Nov 2017 09:50:06 -0800 (PST) Subject: Re: bug#29396: Comm bug verified To: Saint Michael , 29396-done@debbugs.gnu.org References: <9914a5d0-db07-c975-4560-28809fbff6f2@gmail.com> From: Assaf Gordon Message-ID: <94def822-67b9-f685-db95-1e5179ea946e@gmail.com> Date: Thu, 23 Nov 2017 10:50:05 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 29396-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) (re-adding the mailing list) Hello, On 2017-11-22 12:39 PM, Saint Michael wrote: > Thanks for the explanation > Is there a place to download the source code? > I want to compile a version that ignore spaces on the right, since 99% > of the time I forget to check the line endings. > or maybe you could consider a switch to the tool that would make it > ignore traing spaces when comparing lines. The source code for GNU coreutils is available here: https://git.savannah.gnu.org/cgit/coreutils.git However, I would recommend the 'sed' method below, as a much simpler way to remove trailing spaces (instead of maintaining a custom modified coreutils binaries). > To remove the trailing spaces on the file, try: > >    $ sed 's/  *$//' file2.csv > file2-no-space.csv > >    $ comm -12 file1.csv file2-no-space.csv  | wc -l >    864 > >    $ join file1.csv file2.csv | wc -l >    864 regards, - assaf From unknown Fri Aug 15 03:38:38 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 22 Dec 2017 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator