rfilter

1.2.1 • Public • Published

rfilter

CI Status

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
bird

Options

  • -i Enables the JavaScript case-insensitive ('i') flag on the regex.
  • --inverse Filters by lines that do not match.

/rfilter/

    Package Sidebar

    Install

    npm i rfilter

    Weekly Downloads

    2

    Version

    1.2.1

    License

    ISC

    Unpacked Size

    4.68 kB

    Total Files

    7

    Last publish

    Collaborators

    • fishrock123