Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • I see, I had indeed misunderstood the command, assuming it would pass the region as argument, not as stdin. What would be needed to have the region passed as argument then? Commented Oct 16, 2019 at 5:22
  • Since the command I am passing the region to is a bash script I wrote, I was able to fix it following the answer by @andy in this SX question: stackoverflow.com/questions/18761209/…. I'm still wondering if there is an emacs command that calls a a command with the region as argument, though. Commented Oct 16, 2019 at 6:08
  • I've added one to the answer. Commented Oct 16, 2019 at 7:56
  • So, in this case, I needed something like xargs -I{} echo {} Commented Mar 26, 2024 at 6:19