← 返回命令列表

Linux command

zsoelim 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Process .so requests in file

zsoelim [file.man]

Process from stdin

cat [file.man] | zsoelim

Process compressed man page

zcat [file.man.gz] | zsoelim

说明

zsoelim processes .so requests in roff/man page source files. The .so directive includes the content of another file, similar to C's #include. When man pages contain lines like .so man3/other.3, zsoelim reads and substitutes the referenced file's content. This is used in the man page system to avoid duplicating documentation for aliases. The "z" prefix indicates support for gzip-compressed input files, typical of the man page system where sources may be stored compressed. zsoelim searches for included files in the standard man page hierarchy and processes them recursively.

参数

-C, --compatible
Enable .so requests followed by something other than whitespace
-V, --version
Display version information
-h, --help
Display help message

FAQ

What is the zsoelim command used for?

zsoelim processes .so requests in roff/man page source files. The .so directive includes the content of another file, similar to C's #include. When man pages contain lines like .so man3/other.3, zsoelim reads and substitutes the referenced file's content. This is used in the man page system to avoid duplicating documentation for aliases. The "z" prefix indicates support for gzip-compressed input files, typical of the man page system where sources may be stored compressed. zsoelim searches for included files in the standard man page hierarchy and processes them recursively.

How do I run a basic zsoelim example?

Run `zsoelim [file.man]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -C, --compatible do in zsoelim?

Enable .so requests followed by something other than whitespace