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)
Fri, May 29, 3:43 PM
Unknown Object (File)
Thu, May 21, 6:50 AM
Unknown Object (File)
Fri, May 15, 2:08 AM
Unknown Object (File)
Apr 23 2026, 8:42 PM
Unknown Object (File)
Apr 20 2026, 7:09 PM
Unknown Object (File)
Apr 20 2026, 1:48 PM
Unknown Object (File)
Apr 17 2026, 10:58 AM
Unknown Object (File)
Apr 17 2026, 6:15 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