morecmd

package
v0.0.0-...-0ecb6b5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2026 License: MIT Imports: 23 Imported by: 0

Documentation

Overview

Package morecmd implements more(1). When standard output is a terminal and a controlling-terminal command channel is available, it pages the input a screenful at a time with the POSIX Issue 7 interactive command language, file navigation, BRE searching, marks, tags, and editor handoff. When output is not a terminal it uses a non-interactive pass-through: files/stdin are copied to stdout unmodified except for `-s` (squeeze), matching POSIX's requirement that no option other than `-s` take effect when stdout is not a terminal.

-P searches for a literal pattern (util-linux semantics); when the pattern is not found, "Pattern not found" is printed to standard error and the file is displayed from the start.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL