Jesse Storimer's Blog Archives tagged Unix

Writing Ruby Scripts That Respect Pipelines - December 12, 2011

Pipes are the most powerful concept on the command line. With pipes you can string together small, simple commands into bigger, more useful pipelines. This is the secret sauce that goes along with the Unix philosophy of "Do one thing, and do it well". Take this as an example: # Look for any lines mentioning 'user' in the current git ...
Read more