File module: Grep and count

Grep a file against a matching pattern and try to match a given count parameter.

Example

space -m file /grepcount/ -- "Pattern" "/home/user/temporary_files/some_file.txt" "2"

Exit status code is expected to be 0 on success.

Edit this page