https://github.com/mattn/qq
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mattn/qq
- Owner: mattn
- Created: 2016-08-04T10:39:31.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-08-03T03:48:19.000Z (over 7 years ago)
- Last Synced: 2025-03-28T02:21:28.309Z (9 months ago)
- Language: Go
- Size: 28.3 KB
- Stars: 165
- Watchers: 8
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- command-line-tools - qq - Select stdin with query. (Other)
README
# qq
[](https://travis-ci.org/mattn/qq)
[](https://coveralls.io/github/mattn/qq?branch=master)
Select stdin with query.
## Usage
```
$ ps | qq -q "select pid from stdin"
9324
16344
13824
```
```
$ ps | qq -q "select command from stdin where pid = 9324"
/usr/bin/grep
```
## Requirements
* go
## Installation
Library install
```
$ go get github.com/mattn/qq
```
or Command install
```
$ go get github.com/mattn/qq/...
```
## License
MIT
## Author
Yasuhiro Matsumoto (a.k.a. mattn)