mansect(1) General Commands Manual mansect(1)

mansect - چاپ کد منبع بخش‌هایی از صفحات راهنما

mansect section [file ...]

دستور mansect کد منبع section را از فایل‌های صفحهٔ راهنمای داده‌شده چاپ می‌کند.

خط TH بدون قید و شرط چاپ می‌شود.

خروجی این برنامه برای هدایت (pipe) به خط لولهٔ groff(1) مناسب است.

یک عبارت باقاعدهٔ PCRE2.
اگر هیچ فایلی مشخص نشود، از ورودی استاندارد استفاده می‌شود.

$ man -w strtol strtoul | xargs mansect 'NAME|SEE ALSO';
.lf 1 /usr/local/man/man3/strtol.3
.TH strtol 3 2024-07-23 "Linux man-pages 6.9.1"
.SH NAME
strtol, strtoll, strtoq - convert a string to a long integer
.SH SEE ALSO
.BR atof (3),
.BR atoi (3),
.BR atol (3),
.BR strtod (3),
.BR strtoimax (3),
.BR strtoul (3)
.lf 1 /usr/local/man/man3/strtoul.3
.TH strtoul 3 2024-07-23 "Linux man-pages 6.9.1"
.SH NAME
strtoul, strtoull, strtouq - convert a string to an unsigned long integer
.SH SEE ALSO
.BR a64l (3),
.BR atof (3),
.BR atoi (3),
.BR atol (3),
.BR strtod (3),
.BR strtol (3),
.BR strtoumax (3)

lexgrog(1), groff(1), pcre2grep(1), mandb(8)

2026-01-30 Linux man-pages 6.19