---
name: "mansectf"
section: "1"
platform: "linux"
package: "man-pages-utils"
version: "6.19-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/mansectf"
---

# mansectf(1)

format specific sections of manual pages

## NAME

mansectf - format specific sections of manual pages

## SYNOPSIS

**mansectf** *section* \[*file* ...\]

## DESCRIPTION

The **mansectf** command formats specific sections of manual-page files.

## PARAMETERS

See [**mansect**(1)](/mansect/1.md).

## ENVIRONMENT

See [**man**(1)](/man/1.md).

## EXAMPLES

```
$ man -w strtol strtoul | xargs mansectf 'NAME|SEE ALSO' | cat;
strtol(3)           Library Functions Manual          strtol(3)
NAME
     strtol, strtoll, strtoq - convert a string to a long inte‐
     ger
SEE ALSO
     atof(3),  atoi(3),  atol(3), strtod(3), strtoimax(3), str‐
     toul(3)
Linux man‐pages 6.16       2025‐12‐01                 strtol(3)
---------------------------------------------------------------
strtoul(3)          Library Functions Manual         strtoul(3)
NAME
     strtoul, strtoull, strtouq - convert a string  to  an  un‐
     signed long integer
SEE ALSO
     a64l(3),  atof(3), atoi(3), atol(3), strtod(3), strtol(3),
     strtoumax(3)
Linux man‐pages 6.16       2025‐09‐21                strtoul(3)
```

## SEE ALSO

[**lexgrog**(1)](/lexgrog/1.md), [**groff**(1)](/groff/1.md), [**pcre2grep**(1)](/pcre2grep/1.md), [**mandb**(8)](/mandb/8.md)
