From debbugs-submit-bounces@debbugs.gnu.org Sun May 08 16:19:51 2022 Received: (at submit) by debbugs.gnu.org; 8 May 2022 20:19:51 +0000 Received: from localhost ([127.0.0.1]:55307 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnnNZ-0002ck-0P for submit@debbugs.gnu.org; Sun, 08 May 2022 16:19:51 -0400 Received: from lists.gnu.org ([209.51.188.17]:40936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnnNX-0002cc-7m for submit@debbugs.gnu.org; Sun, 08 May 2022 16:19:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52056) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnnNW-0008V0-EO for bug-coreutils@gnu.org; Sun, 08 May 2022 16:19:42 -0400 Received: from poodle.tulip.relay.mailchannels.net ([23.83.218.249]:1053) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnnNT-0001Ry-2D for bug-coreutils@gnu.org; Sun, 08 May 2022 16:19:40 -0400 X-Sender-Id: instrampxe0y3a|x-authuser|calestyo@scientia.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id BCD622C12C3 for ; Sun, 8 May 2022 20:18:50 +0000 (UTC) Received: from cpanel-007-fra.hostingww.com (unknown [127.0.0.6]) (Authenticated sender: instrampxe0y3a) by relay.mailchannels.net (Postfix) with ESMTPA id 2B3B92C1548 for ; Sun, 8 May 2022 20:18:50 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1652041130; a=rsa-sha256; cv=none; b=fHbU4zwP7G1QkWmy/27AbAHK37tEMCEFK/hq2poZ6VGz5fxS9qUjPNdWnCEOHrOwSGG7UB RkwJLJo+mEtPMp/7ImGsvBhvpWbFFFN0g7RkRcfX6KXWQX/zOItqLYQyvd2JryrOoxwZ7m EdnDdGPlgDRMkLgsJPjRbTLjPCsstW07f7Mrxvico0Kco6/7DjIPs8/DdeSHzwTer3FEvp o27RflHYY5NgLbiDtL/4Q1Xvxb7DEc2coHPxtZHEEcvuQEgemL1Drml4WPRJyIfEvCTF3B SpdDDt0233Y+InUvJfVdve/ekVULGPVdCvB2xCjOLMhuFA2ns9rsysjVciIj1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1652041130; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=thF1xxqPloacpAdUdXUdMtSIPnRSm2H59lgkdnns0ns=; b=L6cYUJBW/j0ePNfT/+6s55mQ9CEuhZaqy7BAYms5of3Gj/Y/Aus/f4Y+yBIetEtzrRbUgD Qeww0MdHzBmEts+3UUTmYoa4O3f+9UeQhD4hGAWS2OGyl+zcUGe0WidCjZEqPKsqlo7/EX DsedVsGUBeUaH8m7NBeHn/27irxJv2pu2pUyQ0qgzkSlT/uftYiSbR84A22hEOejBMLy9a Zt0ksYC+W4poz6FQef3QNFQNUPO5zbjzG9eF7eBBq11tV1pF2azzJsQkdynnSzWH5lZwv/ TbHZM5ef53080O1Mb0k4aZm0ybWs4Iekhxru4fGcE0Q7DzTmD/BGz2VMp5/50Q== ARC-Authentication-Results: i=1; rspamd-847cd55849-v2kg2; auth=pass smtp.auth=instrampxe0y3a smtp.mailfrom=calestyo@scientia.org X-Sender-Id: instrampxe0y3a|x-authuser|calestyo@scientia.org X-MC-Relay: Neutral X-MailChannels-SenderId: instrampxe0y3a|x-authuser|calestyo@scientia.org X-MailChannels-Auth-Id: instrampxe0y3a X-Little-Shoe: 4c2df8ed171e2a44_1652041130491_2854947465 X-MC-Loop-Signature: 1652041130491:2100557089 X-MC-Ingress-Time: 1652041130491 Received: from cpanel-007-fra.hostingww.com (cpanel-007-fra.hostingww.com [3.69.87.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.113.195.97 (trex/6.7.1); Sun, 08 May 2022 20:18:50 +0000 Received: from ppp-46-244-249-74.dynamic.mnet-online.de ([46.244.249.74]:60400 helo=heisenberg.fritz.box) by cpanel-007-fra.hostingww.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1nnnMZ-0000S4-RF for bug-coreutils@gnu.org; Sun, 08 May 2022 20:18:48 +0000 Message-ID: <943f7af9fcd65640ad280ea2897accc935f504b6.camel@scientia.org> Subject: (sha|md5)*sum on UNIX should default to binary mode From: Christoph Anton Mitterer To: bug-coreutils@gnu.org Date: Sun, 08 May 2022 22:18:42 +0200 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.1-2 MIME-Version: 1.0 X-OutGoing-Spam-Status: No, score=-1.0 X-AuthUser: calestyo@scientia.org Received-SPF: pass client-ip=23.83.218.249; envelope-from=calestyo@scientia.org; helo=poodle.tulip.relay.mailchannels.net X-Spam_score_int: -4 X-Spam_score: -0.5 X-Spam_bar: / X-Spam_report: (-0.5 / 5.0 requ) BAYES_00=-1.9, HAS_X_OUTGOING_SPAM_STAT=1.425, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.3 (/) 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: -2.3 (--) Hey. Since on UNIX/Linux it is effectively always binary mode, shouldn't the (sha|md5)*sum tools default to that, and especially also generate output with the "*" flag set? Cheers, Chris. From debbugs-submit-bounces@debbugs.gnu.org Mon May 09 09:14:48 2022 Received: (at 55325) by debbugs.gnu.org; 9 May 2022 13:14:48 +0000 Received: from localhost ([127.0.0.1]:56555 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1no3Ds-0007eN-Dz for submit@debbugs.gnu.org; Mon, 09 May 2022 09:14:48 -0400 Received: from mail-wr1-f41.google.com ([209.85.221.41]:41923) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1no3Dq-0007e5-0F; Mon, 09 May 2022 09:14:46 -0400 Received: by mail-wr1-f41.google.com with SMTP id c11so19384526wrn.8; Mon, 09 May 2022 06:14:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=WUnzpfhuDcLzVkLx4/vT6NevLKS5N8+s3M5SdhGOmYs=; b=K6pG9QnixVmLwwd+dZugWm2G0lsh07Rfx3kSq21sh9x+Ls+TANzFbFWUfagyHw7Z3Z RWZkXT8JNunAbtW/Fmy7pDWWQefeqF47MWJTdjSn5gp1YD7ftAFo6ZWEpIDwYmGfaYTm EH/xOyzh+e7Yck9svKD4EMESY78ddbBCln4b9DGfx2oJef4Au2oRmhp/mes52b+gyssv rU481KVOI1uewBCHKCaDs3dN6Kvm7TqIXYfEURHr40uqUhSXn1Zw9D/+ue7PLEeRtnl/ Uep6Xj86xQS05McsR4Rnp1WU9+Rojpf4fqcKSTHfYt4Mil19yPPwnvqzy4zgzNfXgfC9 qnDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:message-id:date:mime-version:user-agent :subject:content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=WUnzpfhuDcLzVkLx4/vT6NevLKS5N8+s3M5SdhGOmYs=; b=NSkzV6Rbm8J2tuRuuI5/+EsYMreGDokx5t/zgPH86NItu9PIKnuGE26ofHUbMfDoo8 RtDRN6sLVgVi/D5Jdf3aRkqZbQysUG4VZagmTd9fCRq1gg0W+P9+OLd9sjg1+Lt7GDoa 2VTw1AzB67o6bORuN5KBE+f6sEJUpNjdH71M1PBSRXbUxorUBsZJ32tzqC59iBd5ukkh 0yjm+HqnIY9KqwD2LxAX6ZBl4FLJGFeVlO5QWmx4VhBLVcI25ClipB/6A+F+fpSDqXAc S1cBFO0ACbvywx6Gzpbi/X67soY/rwMBXgJLJIEGsFwr/8BmF3r254qo7Hfy0KJlaJEd WutA== X-Gm-Message-State: AOAM531YMPHxiXDL8wXiQ7Wb6ubk4cooefGiWuxINthy6C0lbO5Xn0lv sHF3T0DsXhw+htjj2Td4o/0= X-Google-Smtp-Source: ABdhPJzc2vWjROOtmHag0usE/OuG5zeTu7Tn9JiwyhSe5DwXl0vnrgBTiWYfXF4zLK/3ebFsGX2g1A== X-Received: by 2002:a5d:6da8:0:b0:20c:535e:2f61 with SMTP id u8-20020a5d6da8000000b0020c535e2f61mr14347276wrs.455.1652102079881; Mon, 09 May 2022 06:14:39 -0700 (PDT) Received: from [192.168.1.9] (95-44-90-175-dynamic.agg2.lod.rsl-rtd.eircom.net. [95.44.90.175]) by smtp.googlemail.com with ESMTPSA id t18-20020a5d6912000000b0020c5253d913sm11038824wru.95.2022.05.09.06.14.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 09 May 2022 06:14:39 -0700 (PDT) Message-ID: <490e89f6-68c8-9d35-4f0e-90209154291d@draigBrady.com> Date: Mon, 9 May 2022 14:14:37 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:97.0) Gecko/20100101 Thunderbird/97.0 Subject: Re: bug#55325: (sha|md5)*sum on UNIX should default to binary mode Content-Language: en-US To: Christoph Anton Mitterer , 55325@debbugs.gnu.org References: <943f7af9fcd65640ad280ea2897accc935f504b6.camel@scientia.org> From: =?UTF-8?Q?P=c3=a1draig_Brady?= In-Reply-To: <943f7af9fcd65640ad280ea2897accc935f504b6.camel@scientia.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 55325 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.5 (/) tag 55325 wontfix close 55325 stop On 08/05/2022 21:18, Christoph Anton Mitterer wrote: > Hey. > > Since on UNIX/Linux it is effectively always binary mode, shouldn't the > (sha|md5)*sum tools default to that, and especially also generate > output with the "*" flag set? Well they do default to binary mode, but don't use an explicit flag on UNIX systems (unless -b is specified). For compatibility reasons we can't really change thing now, but note the newer `cksum -a ...` interface which uses a different format without binary tag. thanks, Pádraig From unknown Wed Aug 20 01:19:50 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 07 Jun 2022 11:24:05 +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