From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Marc Coquand Newsgroups: gmane.emacs.help Subject: Running a shell script command, paste output above selection? Date: Tue, 12 Mar 2024 15:15:34 -0600 Message-ID: <87sf0v6tdu.fsf@mccd.space> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16469"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.10.8; emacs 29.2 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 13 03:07:33 2024 Return-path: Envelope-to: geh-help-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 ) id 1rkE1j-000458-OC for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 13 Mar 2024 03:07:33 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rkE0x-0002xX-Vf; Tue, 12 Mar 2024 22:06:44 -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 ) id 1rk9Wb-0002a3-Vn for help-gnu-emacs@gnu.org; Tue, 12 Mar 2024 17:19:06 -0400 Original-Received: from wfhigh7-smtp.messagingengine.com ([64.147.123.158]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rk9WZ-0008Lm-Ev for help-gnu-emacs@gnu.org; Tue, 12 Mar 2024 17:19:05 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfhigh.west.internal (Postfix) with ESMTP id 574D01800096 for ; Tue, 12 Mar 2024 17:18:58 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 12 Mar 2024 17:18:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mccd.space; h=cc :content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm3; t=1710278337; x=1710364737; bh=55Cnc2zrJr3Yi9WU5qB8RwmZ/lFhXTXL g95KMUVIf68=; b=gCQgTd7WsGwrrpPnBNfyT3qxMBxFin7BBDrPPVl++Kx2ALpV aBFE6CyqxJbMch7uOqgQsoAMsTJM0+5pX9HnR+kkhy8AKTObBNoKE9h5Aw6YDJap bqVuqlD+AomppXKFZZb0IZTpNhEnB6ZIJEqP0A9cVUAPQMZOl7q1/Qn/5TxwMImt psR/3R/7iMW2c3Sy59Hjkdw64fVtrOQUwz8eepBVSj6jNxmHFowcU15WEx2iJMc0 cuAOLo6OdG31abEw+D+mEFo03MYR+/yUqT9d2SbCIZMpSstEAdjP1To6n2i/+BVn d9SBZZVYScZNvCGPipiJvooOR2xzVlOnRnzDdQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1710278337; x=1710364737; bh=55Cnc2zrJr3Yi9WU5qB8RwmZ/lFhXTXLg95 KMUVIf68=; b=Hf5tAiBbYXZxJBxrk86M8mrqv5PXkXMWm1bBagRDwXTvOlOEsqG 43WXb7W48n7CGAgFivbvACkA4m7ePzC06Y7FTN7wBCOspmSNath/eE2iG5bpoKXe Q8Htvs5W7wA/UW5pJFKL+nTQ8GxmvnzCi4FN9aTUKt9/V2UsgoHhY20H/77hupFn gXFKCkKN96ca7QDSKw50RPxe0NvhDl6Wsz+oYNRXmP63mdYui32rpQBgHulAVPj9 vW3JiCCzeH0NfwQ834XfeN/cOj33xGEiIlHZ1J65dkEyPlfm/f7PEbZrUsEZnHGy 8JNLR6wVqUx5Us4B7x7/P4FCK5PHbVGpYlw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrjeefgddugeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpegfhffvufffkfggtgesthdtredttd ertdenucfhrhhomhepofgrrhgtucevohhquhgrnhguuceomhgrrhgtsehmtggtugdrshhp rggtvgeqnecuggftrfgrthhtvghrnhepgfduledtueektdfgtefhueeiveffheejhfdvfe fgtdejffduteevvefhhedvjeetnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghm pehmrghilhhfrhhomhepmhgrrhgtsehmtggtugdrshhprggtvg X-ME-Proxy: Feedback-ID: ia2d149fd:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Tue, 12 Mar 2024 17:18:57 -0400 (EDT) Received-SPF: pass client-ip=64.147.123.158; envelope-from=marc@mccd.space; helo=wfhigh7-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 12 Mar 2024 22:06:42 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:146081 Archived-At: Heya, I know that I can use M-| to run a shell script command. I can also use ~C-u M-|~ to run a shell script, pipe the selection as input and have it replace my selection. However, I'm wondering if there is a built in way to run a command, pipe the selection to a shell script, then paste the output of the command above or below the selection? Thanks in advance, Marc