Page MenuHomeFreeBSD

libsys manuals: Move library to SYNOPSIS
Needs ReviewPublic

Authored by ziaee on Feb 21 2026, 2:46 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 10, 5:26 AM
Unknown Object (File)
Sun, May 10, 5:18 AM
Unknown Object (File)
Sat, May 9, 1:26 PM
Unknown Object (File)
Sat, May 9, 1:20 PM
Unknown Object (File)
Fri, May 8, 10:16 PM
Unknown Object (File)
Fri, May 8, 5:15 PM
Unknown Object (File)
Fri, May 8, 8:04 AM
Unknown Object (File)
Thu, May 7, 8:47 AM
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