diff options
| author | B. Watson <urchlay@slackware.uk> | 2025-02-09 22:28:53 -0500 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2025-02-09 22:28:53 -0500 |
| commit | 4aa278653617375ab977c4848f29964e7ad2b8af (patch) | |
| tree | 604a0805c44186763191ae15206bf0f7ebb7fce7 /bsgrep | |
| parent | 7948fdd3e5add75d64465a1f48527eeb98a1d152 (diff) | |
| download | misc-scripts-4aa278653617375ab977c4848f29964e7ad2b8af.tar.gz | |
bsgrep: document grep options.
Diffstat (limited to 'bsgrep')
| -rwxr-xr-x | bsgrep | 58 |
1 files changed, 58 insertions, 0 deletions
@@ -452,3 +452,61 @@ under the WTFPL: Do WTF you want with this. B<grep>(1), B<perl>(1) =cut + +__END__ + +implemented: + --help + -V, --version + -F, --fixed-strings + -e PATTERNS, --regexp=PATTERNS + -i, --ignore-case + -v, --invert-match + -q, --quiet, --silent + -s, --no-messages + -n, --line-number + -z, --null-data + -r, --recursive + -l, --files-with-matches + +todo: + -f FILE, --file=FILE + -y Obsolete synonym for -i. + -c, --count + -R, --dereference-recursive + -L, --files-without-match + -Z, --null + -A NUM, --after-context=NUM + -B NUM, --before-context=NUM + -C NUM, -NUM, --context=NUM + -H, --with-filename + -h, --no-filename + -w, --word-regexp + -x, --line-regexp + +do not implement: + -E, --extended-regexp + -G, --basic-regexp + -P, --perl-regexp + --no-ignore-case + +undecided: + --color[=WHEN], --colour[=WHEN] + -m NUM, --max-count=NUM + -o, --only-matching + -b, --byte-offset + --label=LABEL + -T, --initial-tab + --group-separator=SEP + --no-group-separator + -a, --text + --binary-files=TYPE + -D ACTION, --devices=ACTION + -d ACTION, --directories=ACTION + --exclude=GLOB + --exclude-from=FILE + --exclude-dir=GLOB + -I + --include=GLOB + --line-buffered + -U, --binary |
