GenWikiLinux
From birchyHistory
Line 15: | Line 15: | ||
OPTIONS: | OPTIONS: | ||
-i ignore case | -i ignore case | ||
+ | -r recursive files inclusion | ||
+ | -F Fast search using literal search term, not regEx | ||
-n print line #s | -n print line #s | ||
-l just show filenames | -l just show filenames | ||
Line 21: | Line 23: | ||
-m, --max-count=NUM stop after NUM matches | -m, --max-count=NUM stop after NUM matches | ||
-a text files only | -a text files only | ||
− | + | ||
+ | -iFr ignore case, simple string search, search current directory and subdirectories | ||
'''egrep''' supports pipes ("or") (= grep -E) | '''egrep''' supports pipes ("or") (= grep -E) |