Page MenuHomeFreeBSD

libsys manuals: Move library to SYNOPSIS
Needs ReviewPublic

Authored by ziaee on Feb 21 2026, 2:46 AM.
Tags
None
Referenced Files
F153102138: D55411.id.largetrue.diff
Sun, Apr 19, 4:03 AM
Unknown Object (File)
Sat, Apr 18, 3:43 AM
Unknown Object (File)
Tue, Apr 14, 7:13 AM
Unknown Object (File)
Tue, Apr 14, 7:06 AM
Unknown Object (File)
Mon, Apr 13, 2:36 AM
Unknown Object (File)
Sat, Apr 11, 8:11 PM
Unknown Object (File)
Sat, Apr 11, 8:01 PM
Unknown Object (File)
Sat, Apr 11, 3:43 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