2013/2/27 Stefan Drees email@example.com: >
thanks a lot for sharing this. How does this relate to plumbum :-?
>>> from plumbum.cmd import echo, head >>> chain = echo['a\nb'] | head['-n1'] >>> chain() u'a\n'
Fantastic! I kind of guessed that it would have existed already, but didn't know where to find it. Thanks for pointing this out!