다음은 실행 결과이다.
$ go run pipe.go -h
Usage of ....
-path=".": path name
-pattern=".go$": pattern
$ go run pipe.go -path=.. -pattern=.go$
123 ../concurrent_pipe/pipe.go
70 ../filter/filter.go
140 ../mapreduce/mapreduce.go
109 ../pipe/pipe.go
107 ../pipeline/main.go
90 ../sharedMap/sharedMap.go
57 ../timeout/timeout.go
$ find .. | grep .go$ | xargs wc -l
696 total