Commit f262b88b authored by phil's avatar phil

add example

parent 5d7f1d89
......@@ -17,3 +17,18 @@ subscribe <channel> <command>
#+END_SRC
=command= gets the message via stdin.
* Example
As the subscribe will block, you need to run these commands in three
shells.
#+BEGIN_SRC shell
% ./subscribe hello cat
world
% ./subscribe hello cat
world
% ./publish hello world
#+END_SRC
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment