From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Eli Zaretskii <eliz@gnu.org>
Newsgroups: gmane.emacs.bugs
Subject: bug#71081: 30.0.50;
 shell-command-on-region outputs boilerplate text on Windows
Date: Wed, 22 May 2024 05:30:03 +0300
Message-ID: <8634qa8tp0.fsf@gnu.org>
References: <875xv8qqlv.fsf@localhost> <86y1848g3a.fsf@gnu.org>
 <863fc61b-5ad5-47e5-9f95-96cdcfcfd016@gutov.dev>
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="20420"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: yantar92@posteo.net, 71081@debbugs.gnu.org
To: Dmitry Gutov <dmitry@gutov.dev>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 22 04:31:16 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 1s9bl6-00056m-80
	for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 May 2024 04:31:16 +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 1s9bko-0008Vu-Fr; Tue, 21 May 2024 22:30:58 -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 1s9bkn-0008Vh-B4
 for bug-gnu-emacs@gnu.org; Tue, 21 May 2024 22:30: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 1s9bkn-00008J-2y
 for bug-gnu-emacs@gnu.org; Tue, 21 May 2024 22:30: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 1s9bks-00043n-Ba
 for bug-gnu-emacs@gnu.org; Tue, 21 May 2024 22:31:02 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: Eli Zaretskii <eliz@gnu.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Wed, 22 May 2024 02:31:02 +0000
Resent-Message-ID: <handler.71081.B71081.171634503315590@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.171634503315590
 (code B ref 71081); Wed, 22 May 2024 02:31:02 +0000
Original-Received: (at 71081) by debbugs.gnu.org; 22 May 2024 02:30:33 +0000
Original-Received: from localhost ([127.0.0.1]:52706 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1s9bkP-00043N-H4
 for submit@debbugs.gnu.org; Tue, 21 May 2024 22:30:33 -0400
Original-Received: from eggs.gnu.org ([209.51.188.92]:41210)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@gnu.org>) id 1s9bkK-00043G-TU
 for 71081@debbugs.gnu.org; Tue, 21 May 2024 22:30:32 -0400
Original-Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@gnu.org>)
 id 1s9bk7-00004y-Rx; Tue, 21 May 2024 22:30:16 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=hhxodvCZw4nH85UQD84tXBw8w0CK+GFwWm/y0VfVkFc=; b=jmGICHuQEuMH
 rz2k0IdvQBdMd/VxjZ3d0Gk7PX7BRsUsmkr8UTBst4qt3KSNByfUjTCmHzZvjvdU+5sPPoOLRFJa9
 nLGO2wBwe2lklqTYcAnAUGq1fHtofUtkrjhW30C3W+z0uOtSqXOq3rKzQn35z/5iE47A+Vz+3zpm4
 6gwd+Hb0C+w1ZLHMja48WQNaqNTP82b1ee1DFhu1y3cQaQxkbRQ+BLWwl5Y9rqUvXoxwgCP92yOqt
 pSCwsylMHzkMjNtaNhrf0F71RH9f2u9OyYwr9NPgXYbjUoUHf0TRRlKR/7HCz7bxhbkl3s3xprSBi
 uyKSdNLJXvLBNkvX2JvRJQ==;
In-Reply-To: <863fc61b-5ad5-47e5-9f95-96cdcfcfd016@gutov.dev> (message from
 Dmitry Gutov on Tue, 21 May 2024 23:18:39 +0300)
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:285568
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/285568>

> Date: Tue, 21 May 2024 23:18:39 +0300
> Cc: 71081@debbugs.gnu.org
> From: Dmitry Gutov <dmitry@gutov.dev>
> 
> 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?

Maybe.  But as I said, I don't have a clear understanding of the
issue.  If I did, perhaps I could give some advice or even suggest a
code change if required.