Scroll to navigation

MAN-RECODE(1) Værktøjer til manualsider MAN-RECODE(1)

NAVN

man-recode - convert manual pages to another encoding

SYNOPSIS

man-recode -t to-code {--suffix=suffix|--in-place} [-dqhV] [filename]

BESKRIVELSE

man-recode converts multiple manual pages from one encoding to another, guessing the appropriate input encoding for each one. It is useful when permanently recoding pages written in legacy character sets, or in build systems that need to recode a set of pages to a single common encoding (usually UTF-8) for installation. When converting many manual pages, this program is much faster than running man --recode or manconv on each page.

If an encoding declaration is found on the first line of a manual page, then that declaration is used as the input encoding for that page. Failing that, the input encoding is guessed based on the file name.

Encoding declarations have the following form:

'\" -*- coding: UTF-8 -*-

eller (hvis manualsideforbehandlere også skal deklareres):

'\" t -*- coding: ISO-8859-1 -*-

TILVALG

Convert manual pages to encoding.
Form each output file name by appending suffix to the input file name, after removing any compression extension.
Overwrite each input file with the output, after removing any compression extension.
Vis ikke fejlbeskeder når siden ikke kan konverteres.
Vis fejlsøgningsinformation.
Vis en hjælpebesked og afslut.
Vis versionsinformation.

SE OGSÅ

iconv(1), man(1), manconv(1)

FEJL

https://gitlab.com/man-db/man-db/-/issues
https://savannah.nongnu.org/bugs/?group=man-db

FORFATTER

Colin Watson (cjwatson@debian.org).
2024-08-29 2.13.0