💾 Archived View for freeshell.de › tldr › egrep.gmi captured on 2022-06-11 at 21:42:04. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

egrep

Find patterns in files using extended regular expression (supports `?`, `+`, `{}`, `()` and `|`).

More information.

egrep "{search_pattern}" {path/to/file}
egrep "{search_pattern}" {path/to/file1} {path/to/file2} {path/to/file3}
cat {path/to/file} | egrep {search_pattern}
egrep --with-filename --line-number "{search_pattern}" {path/to/file}
egrep --recursive --binary-files={without-match} "{search_pattern}" {path/to/directory}
egrep --invert-match "{search_pattern}" {path/to/file}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY