Select stdin with query.
$ ps | qq -q "select pid from stdin"
9324
16344
13824
$ ps | qq -q "select command from stdin where pid = 9324"
/usr/bin/grep
- go
Library install
$ go get github.com/mattn/qq
or Command install
$ go get github.com/mattn/qq/...
MIT
Yasuhiro Matsumoto (a.k.a. mattn)