Page MenuHomeFreeBSD

Improve style of grep and zgrep manuals.
ClosedPublic

Authored by 0mp on Aug 17 2018, 9:17 PM.
Tags
None
Referenced Files
F147682334: D16779.diff
Thu, Mar 12, 9:33 PM
Unknown Object (File)
Wed, Mar 11, 11:04 PM
Unknown Object (File)
Wed, Mar 4, 2:38 AM
Unknown Object (File)
Wed, Mar 4, 2:22 AM
Unknown Object (File)
Wed, Mar 4, 2:22 AM
Unknown Object (File)
Feb 1 2026, 6:20 PM
Unknown Object (File)
Jan 30 2026, 5:34 PM
Unknown Object (File)
Jan 21 2026, 10:49 AM
Subscribers

Details

Summary

grep(1) changes:

  • Pet mandoc & igor.
  • Stylize the text more with macros when appropriate.
  • Stylize equal signs in long options (e.g., "--color=auto") with the "Cm" macro as suggested by mdoc(7).
  • Add missing arguments to --exlude, --exclude-dir, --include and --include-dir.
  • Remove a duplicate entry for the --context flag.
  • Use a list in the EXAMPLES sections to make it easier to tell which paragraphs belong to which example.
  • Cross reference zgrep(1).

zgrep(1) changes:

  • Fix Nd.
  • Split synopsis into paragraphs for readability.
  • Cross reference bzip(1), grep(1) and xz(1).
Test Plan
igor, mandoc: OK

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Looks good, thanks for working on it!

This revision is now accepted and ready to land.Aug 19 2018, 10:14 AM
0mp requested review of this revision.Aug 20 2018, 8:21 PM
0mp added reviewers: mat, krion.
0mp added subscribers: krion, mat.

@mat, @krion may I ask you for an approval to commit these changes?

This revision is now accepted and ready to land.Aug 20 2018, 8:55 PM
This revision was automatically updated to reflect the committed changes.