Page MenuHomeFreeBSD

Improve style of grep and zgrep manuals.
ClosedPublic

Authored by 0mp on Aug 17 2018, 9:17 PM.
Tags
None
Referenced Files
F132451527: D16779.diff
Fri, Oct 17, 1:32 AM
F132412415: D16779.id46862.diff
Thu, Oct 16, 5:32 PM
Unknown Object (File)
Wed, Oct 15, 1:28 AM
Unknown Object (File)
Fri, Oct 10, 6:40 AM
Unknown Object (File)
Tue, Sep 30, 7:22 AM
Unknown Object (File)
Fri, Sep 19, 12:48 AM
Unknown Object (File)
Sep 12 2025, 12:14 AM
Unknown Object (File)
Jul 9 2025, 4:06 PM
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.