Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bigflood/strmatch
search for regexp in stdin
https://github.com/bigflood/strmatch
Last synced: about 2 months ago
JSON representation
search for regexp in stdin
- Host: GitHub
- URL: https://github.com/bigflood/strmatch
- Owner: bigflood
- License: gpl-3.0
- Created: 2018-07-19T08:33:24.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-19T08:50:16.000Z (over 6 years ago)
- Last Synced: 2024-01-24T16:06:19.656Z (12 months ago)
- Language: Go
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# strmatch
search for regexp in stdin#### install
```bash
$ go get -u github.com/bigflood/strmatch
```#### usage example
```bash
$ ls -l
total 41
-rw-r--r-- 1 xxxxx 1049089 35147 Jul 19 17:35 LICENSE
-rw-r--r-- 1 xxxxx 1049089 1755 Jul 19 17:42 main.go
-rw-r--r-- 1 xxxxx 1049089 38 Jul 19 17:35 README.md$ ls -l | strmatch "\d\d ([^ ]+)$"
LICENSE
main.go
README.md$ ls -l | strmatch -sep " " "\d\d ([^ ]+)$"
LICENSE main.go README.md
```