From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Dmitry Gutov <dmitry@gutov.dev>
Newsgroups: gmane.emacs.bugs
Subject: bug#71081: 30.0.50;
 shell-command-on-region outputs boilerplate text on Windows
Date: Tue, 21 May 2024 23:18:39 +0300
Message-ID: <863fc61b-5ad5-47e5-9f95-96cdcfcfd016@gutov.dev>
References: <875xv8qqlv.fsf@localhost> <86y1848g3a.fsf@gnu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="31963"; mail-complaints-to="usenet@ciao.gmane.io"
User-Agent: Mozilla Thunderbird
Cc: 71081@debbugs.gnu.org
To: Eli Zaretskii <eliz@gnu.org>, Ihor Radchenko <yantar92@posteo.net>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 21 22:19:22 2024
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org
Original-Received: from lists.gnu.org ([209.51.188.17])
	by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.92)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1s9VxB-0007rk-JH
	for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 May 2024 22:19:21 +0200
Original-Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-gnu-emacs-bounces@gnu.org>)
	id 1s9Vwp-0005bg-1G; Tue, 21 May 2024 16:18:59 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1s9Vwn-0005ZO-FK
 for bug-gnu-emacs@gnu.org; Tue, 21 May 2024 16:18:57 -0400
Original-Received: from debbugs.gnu.org ([2001:470:142:5::43])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1s9Vwn-0007VE-6V
 for bug-gnu-emacs@gnu.org; Tue, 21 May 2024 16:18:57 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1s9Vws-0005z4-9T
 for bug-gnu-emacs@gnu.org; Tue, 21 May 2024 16:19:02 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: Dmitry Gutov <dmitry@gutov.dev>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Tue, 21 May 2024 20:19:02 +0000
Resent-Message-ID: <handler.71081.B71081.171632273522996@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 71081
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: notabug
Original-Received: via spool by 71081-submit@debbugs.gnu.org id=B71081.171632273522996
 (code B ref 71081); Tue, 21 May 2024 20:19:02 +0000
Original-Received: (at 71081) by debbugs.gnu.org; 21 May 2024 20:18:55 +0000
Original-Received: from localhost ([127.0.0.1]:50996 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1s9Vwk-0005yq-I7
 for submit@debbugs.gnu.org; Tue, 21 May 2024 16:18:54 -0400
Original-Received: from fout6-smtp.messagingengine.com ([103.168.172.149]:47491)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dmitry@gutov.dev>) id 1s9Vwi-0005yg-K9
 for 71081@debbugs.gnu.org; Tue, 21 May 2024 16:18:53 -0400
Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.47])
 by mailfout.nyi.internal (Postfix) with ESMTP id 1AF7D138149C;
 Tue, 21 May 2024 16:18:42 -0400 (EDT)
Original-Received: from mailfrontend2 ([10.202.2.163])
 by compute6.internal (MEProxy); Tue, 21 May 2024 16:18:42 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc
 :cc:content-transfer-encoding:content-type:content-type:date
 :date:from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:subject:subject:to:to; s=fm2; t=1716322722;
 x=1716409122; bh=02w5WmfLeuctdEPUeC4ImeANOxdHdp9cFmQkToSh2G0=; b=
 k30BUV/xFRuu3XhwVbj2JxIkR+pn2Z+Pov6bpWgM9vsyyStqgleOwLJMLnfX0yx/
 /DPcxVv22nlbTgcgjl9++2Ykaf04H6wyisVN2wA/nTfXqliTyZk8l86+FmNtm4qD
 /qRKZaa9rhRYWwS+9vDpCG7ixP2QHCXkrJpQtYsxB796zG3ODsA1j38VaDxPJQNW
 aph8RjOIYCVatQqztNwt60cPn9TALUFIpatxQC0raDyJKkumC9S0O/RcsZ8YW918
 0F4qCb6IX8OOqnILIBLmvqYBYYa09B0Cnflztoi+1s2tj6JvAk07x1LlHKX/UpuZ
 1eQy8mtfijnnm8k1KAdhrQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-transfer-encoding
 :content-type:content-type:date:date:feedback-id:feedback-id
 :from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy
 :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1716322722; x=
 1716409122; bh=02w5WmfLeuctdEPUeC4ImeANOxdHdp9cFmQkToSh2G0=; b=N
 FrG74Zhk3UHv+d4UXb7PkDKBPvVsPqP4hcHu6AxnFT+ILdOfDJBVaylSMstETiqe
 w5fnzguhmotaKsa4haNJ0aNBlgwZ25SzVEtdpYydqtbpteK6hHJTrziYSLDjbUOL
 A4IIG5DPYUBqbbkCCdrQt47M2dTrU1hLAtW1BRohBEhvRWr8gg+bM6yDf+iG0NrP
 Jvz1p00M2I/Jh9uPVzS1Ganha5A4MUuobeoD88p1WSjDPJ1ZNiAR2O4nabx2/r0N
 5tf4F3mX7zc+ASRRhJ6Ncd1w36qVY5BQ1rMpvtl3Axkc410RpNpOI1PVax3IT7H+
 Dml4l3NNfOUPcD3xKao8w==
X-ME-Sender: <xms:oQFNZnJRL-o_dnMRYcQ3Bp6xukBXJGgi1_wF9b6bNEpezoFwDgESmg>
 <xme:oQFNZrI1YHKmvQ4cTCgPs7m0KBRy9y37bTNwoWbgWFKXT0EsdybSZTJTrzGpb6WkE
 Xc2G685tZ_NHYlN-p4>
X-ME-Received: <xmr:oQFNZvsgrfZtiMC_5a0h5EnBN7Ktn1PW5lsfBapJcnKH_Ws6UXgIw7kbhxBhSFM_l4Rp>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdeivddgudeghecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh
 necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd
 enucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddvjeenucfhrhhomhepffhm
 ihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrg
 htthgvrhhnpeetudeljeegheetgfehgeejkeeuhedvveeikeeufedtvddtveefhfdvveeg
 udejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe
 gumhhithhrhiesghhuthhovhdruggvvh
X-ME-Proxy: <xmx:oQFNZgb5n-kxrDZHxh1RC1ca2Kud09Rn7VpdHRvK90DhSNsLBd1LOg>
 <xmx:oQFNZuYvpDR5FBjI-Y6YaKvSyRIB0x6bTp6_EuZnsNdwcJLre-Pchg>
 <xmx:oQFNZkCl3wkcaVTIbpB9Q9JpdPmUvl91vyZsxOJEOkxh1Br5uNIs4A>
 <xmx:oQFNZsZtTmwDfG93luNo6lMuKIwxQZ4sMdQHJIXKv4imQajnApHbxQ>
 <xmx:ogFNZuFyX7Wk4XKX4YGON_XlJUtCnDpxt9RqtN3JtatY9iQeQHHIirXa>
Feedback-ID: i0e71465a:Fastmail
Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue,
 21 May 2024 16:18:40 -0400 (EDT)
Content-Language: en-US
In-Reply-To: <86y1848g3a.fsf@gnu.org>
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
 the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Xref: news.gmane.io gmane.emacs.bugs:285558
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/285558>

On 20/05/2024 21:59, Eli Zaretskii wrote:
> If it expects the same behavior from cmd.exe as a Posix
> shell would produce, the expectation is simply incorrect and
> unjustified.

Perhaps we should run something different, or with different arguments, 
when on Windows?