parsed.org
Process Substitution by cygnus on Jan 20, 2005 10:16 AM

Zsh can run a command and let you do things with a temporary file with the resulting output:

$ emacs -nw =(ps aux)

This will create a temporary file with the output of ps aux and let you edit it in Emacs. Or:

$ diff =(ls) =(ls -F)

Will run diff on the output of the two commands.

diffemacsprocesssubstitutionzsh
RSS