~yerinalexey/rex

31c0a0cf — Alexey Yerin 8 months ago 1.0.0
Add version
8e5d320a — Alexey Yerin 8 months ago
Document default for -no-print
1e10f2a8 — Alexey Yerin 8 months ago
readme: add section about flags
0576f7bd — Alexey Yerin 8 months ago
Add -no-print option to prevent printing regex
2c14faf0 — Alexey Yerin 8 months ago
Add -input option to set default regex
4cc8c394 — Alexey Yerin 8 months ago
Rename from{File,Stdin} to read{File,Stdin}
c875d950 — Alexey Yerin 8 months ago
Return error instead of crashing in fromFile
fb2cf1af — Alexey Yerin 8 months ago
Style fixes in README
3c962169 — Alexey Yerin 8 months ago
Update usage information
Add support for STDIN

This adds the ability to read from stdin, as opposed to reading a file.
A simple example would be the following:

printf "foo\nbar\n" | rex

If text is piped from stdin *and* from a file, the file will be
prioritized:

printf "foo\nbar\n" | rex test.txt
68ec365e — Alexey Yerin 8 months ago
Add binaries to gitignore
93458a41 — Alexey Yerin 8 months ago
readme: fix public inbox link
c6ccfd09 — Alexey Yerin 8 months ago
readme: add contributing section
fccb530f — Alexey Yerin 8 months ago
readme: change header style
26b19eb9 — Alexey Yerin 8 months ago
Improve README
f3b288be — Alexey Yerin 8 months ago
Print regex after exit
6a13c1f0 — Alexey Yerin 8 months ago
Initial