Questions tagged [pipe]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

Control another process on Windows, perhaps with named pipes

I would like to control an external player with Emacs under Windows. Because I'd like a bit of background music, I would avoid bloated libraries. I saw, for example, that mpv can use IPC calls. In a ...
user avatar
  • 1,638
0 votes
0 answers
14 views

Autocompletion of variables in R when using tidyr pipes

I've started to use emacs (spacemacs, specificallYy) recently instead of a number of different applications. One of those I'm using emacs for is R development, instead of Rstudio. I'm using ess. Is ...
user avatar
  • 101
4 votes
1 answer
98 views

How to implement the native |> pipe in ESS mode

Using the code provided here I can use the magrittr package pipe %>%. I want to switch to the new native R pipe |>, but if I just substitute the old pipe with the new one the code is not ...
user avatar
  • 151
0 votes
2 answers
266 views

How to "pipe" a string to a shell command in elisp rather than give it as an arg?

The command I'm trying to duplicate: curl https://example.com | readability https://example.com As far as I can see, though, using that | pipe is NOT the same as passing the string in as an arg. If I ...
user avatar
0 votes
1 answer
267 views

how to execute shell command with piping in Elisp?

I am trying to duplicate the following bash command in Elisp: curl https://google.com | readability https://google.com Here's what I have so far, but it doesn't capture the piping "| readability&...
user avatar
2 votes
1 answer
213 views

How to pipe data through multiple processes?

Currently I'm generating text from a command, eg: (with-temp-buffer (call-process "my-command" nil t nil "my" "args") ;; operate on output in current buffer. ) How can I use pipes, something ...
user avatar
  • 7,267
1 vote
1 answer
794 views

Piping contents of buffer into eshell command

I know eshell supports output redirection to buffers cmd > #<buffername> Is there a way to do piping buffer contents into command? I would like to have something like cat #<buffername&...
user avatar
  • 93
2 votes
2 answers
122 views

Slurp standard-input into a buffer

How do I read the entire contents of stdin into an Emacs buffer in #! /usr/bin/env emacs --script mode? Stdin may not be a regular file.
user avatar
  • 357
1 vote
1 answer
131 views

pipe buffer contents to shell as pseudo-file

I'd like to use wdiff to compare the contents of the current buffer to a previous version of the file the buffer is visiting. So, this would be a word-level live diff of the current buffer against a ...
user avatar
  • 43
5 votes
1 answer
357 views

Using pipe in a shell command

Say I am in dired and the pointer is on a file called test which contains: 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. I type ! to run a shell command ...
user avatar
  • 239
-1 votes
1 answer
247 views

Non-shell command on region?

I know about shell-command-on-region. Is there any way to pipe a region through a non-shell command? The start-process and call-process functions invoke executables directly, without using the shell. ...
user avatar
  • 522
5 votes
0 answers
167 views

Is there some way to continue reading from a STDIN file descriptor when data is PIPED to Emacs on Command-line?

Historical Perspective On Unix like operating systems, it is common practice to redirect IO between shell commands using pipes. For example, the command below would insert all the lines that didn't ...
user avatar
  • 4,244