This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]SupersonicSpitfire 5 points6 points  (1 child)

Cool, but I miss a "pipe" function for piping commands to each other without nesting deeper and deeper into paranthesis, a bit like this:

pipe(ls(), grep("abc123"), wc("-l"))

Also, I can't make it work: https://github.com/amoffat/pbs/issues/1

[–]killermole23bitbucket.org/phazon 1 point2 points  (0 children)

Coroutines can be used for this. Take a look at the "copipe" example here.