Page MenuHomeFreeBSD

sed.1: Adjust examples to fit in one line + SPDX
ClosedPublic

Authored by ziaee on Jun 16 2025, 2:26 AM.
Tags
None
Referenced Files
F132306609: D50867.id157072.diff
Wed, Oct 15, 5:55 PM
F132306607: D50867.id.diff
Wed, Oct 15, 5:55 PM
F132306606: D50867.id158571.diff
Wed, Oct 15, 5:55 PM
F132306601: D50867.id157271.diff
Wed, Oct 15, 5:55 PM
F132262255: D50867.diff
Wed, Oct 15, 7:21 AM
Unknown Object (File)
Wed, Oct 8, 7:37 PM
Unknown Object (File)
Sat, Oct 4, 1:31 AM
Unknown Object (File)
Wed, Sep 24, 1:14 AM
Subscribers

Details

Summary

Examples were previously overflowing at MANWIDTH 80. Keep the same
complexity but use shorter phrases to make them easier to read. Tag
SPDX while here.

MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ziaee requested review of this revision.Jun 16 2025, 2:26 AM
emaste added inline comments.
usr.bin/sed/sed.1
608

etc might lead to some confusion as there is a /etc, but also /home/example to /usr/local/example seems like an odd transformation.

maybe s#/bin/bash#/bin/sh# as a short example that could be an actually used example?

Thanks @emaste! If we could get it one character shorter it would even
work at MANWIDTH=59. I revised the other example as well for this effect

So, since this shouldn't be controversial, if there are no complaints, I'll commit this in a week?

bcr added a subscriber: bcr.

Good to go!

This revision is now accepted and ready to land.Jul 13 2025, 9:06 AM