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