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
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
Unknown Object (File)
Fri, Sep 19, 10:42 PM
Unknown Object (File)
Wed, Sep 17, 10:10 PM
Unknown Object (File)
Wed, Sep 17, 1:03 PM
Unknown Object (File)
Sat, Sep 13, 3:57 AM
Unknown Object (File)
Sep 6 2025, 1:31 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