![Learning Functional Programming in Go](https://wfqqreader-1252317822.image.myqcloud.com/cover/487/36700487/b_36700487.jpg)
上QQ阅读APP看书,第一时间看更新
Tacit programming with Unix pipes
The following combinators are the functions in the pipeline, for example, head, awk, grep, and so on. Each combinator is a function that sends output to standard out and reads input from standard in. Note that arguments are not mentioned in the command.
$ cat access10k.log | head -n 1 | awk '{print $7}' | grep "\.json" | uniq -c | sort -nr