NAME
find - Greple module to use find command
SYNOPSIS
greple -Mfind find-options -- greple-options ...
DESCRIPTION
Provide find command option with ending --
.
Greple will invoke find command with provided options and read its output from STDIN, with option --readlist. So
greple -Mfind . -type f -- pattern
is equivalent to:
find . -type f | greple --readlist pattern
If the first argument start with !
, it is taken as a command name and executed in place of find. You can search git managed files like this:
greple -Mfind !git ls-files -- pattern