Page MenuHomeFreeBSD

libsys manuals: Move library to SYNOPSIS
Needs ReviewPublic

Authored by ziaee on Feb 21 2026, 2:46 AM.
Tags
None
Referenced Files
F151967367: D55411.diff
Sat, Apr 11, 8:11 PM
F151966030: D55411.id172358.diff
Sat, Apr 11, 8:01 PM
F151939006: D55411.diff
Sat, Apr 11, 3:43 PM
Unknown Object (File)
Wed, Apr 8, 9:51 AM
Unknown Object (File)
Mon, Apr 6, 3:14 PM
Unknown Object (File)
Sun, Apr 5, 1:08 PM
Unknown Object (File)
Sun, Apr 5, 1:08 PM
Unknown Object (File)
Sat, Apr 4, 12:37 PM
Subscribers

Details

Reviewers
brooks
Group Reviewers
manpages
Summary

The LIBRARY section is deprecated, and upstream is asking us to move
Lb to SYNOPSIS. We've already done this in a few manuals as we've been
working on them, but I finally figured out how to do it mechanically!
I used:

for i in lib/libsys/*.2
do ed $i <<EOE
/.Lb/
m+
/.Sh LIBRARY/d
wq
EOE
done

Thanks: mwl (I learned this from Ed Mastery, which was a very fun read!)

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 70844
Build 67727: arc lint + arc unit