Page MenuHomeFreeBSD

libsys manuals: Move library to SYNOPSIS
AbandonedPublic

Authored by ziaee on Feb 21 2026, 2:46 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 5, 7:23 AM
Unknown Object (File)
Thu, Sep 3, 2:04 PM
Unknown Object (File)
Wed, Sep 2, 8:32 PM
Unknown Object (File)
Tue, Sep 1, 8:34 PM
Unknown Object (File)
Sat, Aug 29, 5:11 PM
Unknown Object (File)
Sat, Aug 29, 1:56 PM
Unknown Object (File)
Sat, Aug 29, 1:40 PM
Unknown Object (File)
Fri, Aug 28, 2:28 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