OS Manuals

/usr/bin/dgrep

Testing tools

From tw 0.0.58-r0 (os), captured 2026-11-05 by running dgrep --help (exit 0). permalink

Simple docker container log grepping

Usage:
  dgrep CONTAINER [PATTERN] [flags]

Flags:
  -h, --help                     help for dgrep
  -i, --ignore-case              toggle to ignore case for the match (default true)
  -v, --invert-match             toggle to invert the match
      --ne stringArray           regular expression that must NOT be present
      --ne-exclude stringArray   exclude specific patterns from --std-errors (only works with --std-errors)
  -e, --regexp stringArray       regular expression to match (must be present)
  -r, --retry int                number of times to retry a failed request (default 3)
      --std-errors               check for 12 standard error patterns
  -t, --timeout duration         time to wait for logs to appear (default 15s)
Options (9)
OptionDescriptionSource
-h, --helphelp for dgrephelp
-i, --ignore-casetoggle to ignore case for the match (default true)help
-v, --invert-matchtoggle to invert the matchhelp
--ne stringArrayregular expression that must NOT be presenthelp
--ne-exclude stringArrayexclude specific patterns from --std-errors (only works with --std-errors)help
-e, --regexp stringArrayregular expression to match (must be present)help
-r, --retry intnumber of times to retry a failed request (default 3)help
--std-errorscheck for 12 standard error patternshelp
-t, --timeout durationtime to wait for logs to appear (default 15s)help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.