pub

Pipe stdin to a redis pub/sub channel

Latest on Hackage:2.0.2

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed and maintained by Parnell Springmeyer
* Welcome!
[[https://hackage.haskell.org/package/pub][https://img.shields.io/hackage/v/pub.svg?style=flat]]
[[https://travis-ci.org/ixmatus/pub][https://travis-ci.org/ixmatus/pub.svg?branch=master]]

=Pub= builds two utilities for piping to and from a redis pub/sub
channel and stdout/stdin.

** Install
=cabal install pub=

** Examples

*** Using pub
#+BEGIN_SRC
tail -F /some/log/file | grep "logfileProperty" | pub "logline"
#+END_SRC

*** Using sub
#+BEGIN_SRC
sub "logline" | grep "somethingspecific"
#+END_SRC
comments powered byDisqus