1.2.1 • Published 7 years ago
rfilter v1.2.1
rfilter
stdin | rfilter <regex> [ -i ]Filter stdin lines by a Regular Expression and output to stdout.
Implies the m JavaScript regex flag.
Kinda like grep but uses JavaScript regex syntax.
Example
$ printf "aaa\nbbb\nccc\nbird\n" | rfilter b
bbb
birdOptions
-iEnables the JavaScript case-insensitive ('i') flag on the regex.--inverseFilters by lines that do not match.