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)
Tue, Aug 5, 4:31 AM
Unknown Object (File)
Sun, Aug 3, 6:02 AM
Unknown Object (File)
Wed, Jul 30, 12:52 PM
Unknown Object (File)
Tue, Jul 29, 5:15 AM
Unknown Object (File)
Mon, Jul 28, 11:00 PM
Unknown Object (File)
Mon, Jul 28, 9:18 PM
Unknown Object (File)
Mon, Jul 28, 9:06 PM
Unknown Object (File)
Mon, Jul 28, 8:23 PM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 64891
Build 61774: arc lint + arc unit

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