[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

bind ! and |



Let's think of some good bindings for ! and |

!: run a shell command with this URL as an argument, the URL will be
 quoted to protect & etc. from the shell.


| pipe this rendered page into the shell command. If C-u | then pipe the
HTML source.


So
! tell_grandma
will run a script that e.g., sends a mail to grandma saying "I found
this great URL".

And
| wc
will do the same as C-x h M-| wc
i.e., running wc(1) on this page, but
without disturbing our current position.

If you think these are brilliant, then please implement them,
因執行長級之我不插瑣碎細節☻