all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: <tomas@tuxteam.de>
To: help-gnu-emacs@gnu.org
Subject: Re: how to send lines of a shell script directly to the shell
Date: Sun, 16 Apr 2023 14:57:55 +0200	[thread overview]
Message-ID: <ZDvw03ED6jwLSN3m@tuxteam.de> (raw)
In-Reply-To: <87bkjoywhu.fsf@mat.ucm.es>

[-- Attachment #1: Type: text/plain, Size: 785 bytes --]

On Sun, Apr 16, 2023 at 12:03:41PM +0200, Uwe Brauer wrote:
> 
> > On Sun, Apr 16, 2023 at 10:53:54AM +0200, Uwe Brauer wrote:
> 
> > Ask your Emacs, not Google. Emacs is your friend, Google isn't :)
> 
> > c-h a (apropos) shell suggests shell-command-on-region, usually
> > bound to M-|
> 
> > (of course, you'd have to mark the line; automating that is left
> > as an...)
> 
> I tried this command out, before asking 😉
> but this does not work, I mark the region
> 
> Run it and the mini-buffer asks:
> 
> shell-command-on-region
> 
> And you have to specify the command.

Oh, sorry, it was the other way around. We could, of course,
weasel our way out by specifyng /bin/sh or /bin/bash in the
minibuffer, but that's not what I meant ;-)

Cheers
-- 
t

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

  reply	other threads:[~2023-04-16 12:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-16  8:53 how to send lines of a shell script directly to the shell Uwe Brauer
2023-04-16  9:05 ` tomas
2023-04-16 10:03   ` Uwe Brauer
2023-04-16 12:57     ` tomas [this message]
2023-04-16 10:09   ` Uwe Brauer
2023-04-18 18:52     ` Leo Butler
2023-04-18 19:14       ` Emanuel Berg
2023-04-20 20:12       ` Uwe Brauer
2023-04-16 15:31 ` Eduardo Ochs
2023-04-16 19:47   ` Uwe Brauer
2023-04-22 19:49 ` parozusa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZDvw03ED6jwLSN3m@tuxteam.de \
    --to=tomas@tuxteam.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.