houqp/shell.py — pull request #2 by qiao (2014-05-01 09:48:33+00:00)
Title: Add: overload | operator to mimic pipe in shell

Overload the pipe `|` operator to make the API more consistent with the shell syntax.

It allows you to do something like:

```python
pipeline = shell.RunCmd('find . -name "*.py"') | 'wc -l' | 'tail -n1'
```