Page MenuHomeFreeBSD

diff(1): Add EXAMPLES section
ClosedPublic

Authored by fernape on Jun 18 2020, 4:42 PM.
Tags
None
Referenced Files
F132213303: D25345.id73281.diff
Tue, Oct 14, 8:34 PM
F132213302: D25345.id73323.diff
Tue, Oct 14, 8:34 PM
F132213301: D25345.id.diff
Tue, Oct 14, 8:34 PM
F132171452: D25345.diff
Tue, Oct 14, 10:38 AM
Unknown Object (File)
Sat, Oct 4, 10:05 AM
Unknown Object (File)
Thu, Sep 25, 4:04 PM
Unknown Object (File)
Wed, Sep 17, 11:15 PM
Unknown Object (File)
Tue, Sep 16, 11:25 PM

Details

Reviewers
0mp
Group Reviewers
manpages
Commits
rS362367: diff(1): Add EXAMPLES section
Summary

Add examples for -r, -u, -N, -x, -q and -I

diff(1) has quite a few options so we could add endless examples. I added what I
thought could be more useful, but I can work out other examples if necesssary.

Test Plan
  • mandoc -Tlint clean
  • igor clean
  • aspell happy
  • man ./colrm.1 renders the page properly

Diff Detail

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

Event Timeline

0mp added a subscriber: 0mp.

Apart from the s/Qq/Ql/ comment, the new examples seem pretty good. Thanks

usr.bin/diff/diff.1
621 ↗(On Diff #73281)

how about: in one of those directories

627 ↗(On Diff #73281)

I'd use Dq or Ql here.

This revision is now accepted and ready to land.Jun 18 2020, 8:28 PM
This revision was automatically updated to reflect the committed changes.

I changed both things in the commit,

Thanks!