Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)

more(1) OSS Shell and Utilities Reference Manual
NAME
more - Displays a le one screenful at a time
SYNOPSIS
Current syntax
more [-cdeiNsuvz][-n number][-p command][-t tagstring][-W option][-x tabs][-number]
[le ...]
Obsolescent syntax
more [-cdeiNsuvz][-number][+command][-t tagstring][-W option][-x tabs][-number][le ...]
The more command invokes a lter that allows examination of continuous text, one screenful at
a time, on a soft-copy terminal.
FLAGS
-c Redraws each line of the screen in turn, from the top of the screen to the bottom,
instead of scrolling the screen, if a screen is to be written that has no lines in common
with the current screen, or more is writing its rst screen. In addition, if more is writ-
ing its rst screen, the screen will be cleared.
-d Prompts you to continue, quit, or obtain help after each screenful of text.
-e Exits immediately after writing the last line of the last le in the argument list.
-i Performs pattern matching in searches without regard to case.
-n number
-number (Obsolescent)
Sets the number of lines in the display window to number, a positive decimal integer.
The default is one line less than the number of lines displayed by the terminal; on a
screen that displays 24 lines, the default is 23. The -n ag overrides any values
obtained from the environment.
-N Suppresses line numbers. The default (to display line numbers) can cause more to run
more slowly in some cases, especially with very large input les. Using line numbers
means that the line number is displayed in the = subcommand and the command passes
the current line number to the editor (if it is vi).
-p command
+command (Obsolescent)
Executes the more command initially in the command argument for each le exam-
ined. If the command is a positioning command, such as a line number or a regular
expression search, sets the current position to represent the nal results of the com-
mand, without writing any intermediate lines of the le. For example, the following
two commands are equivalent and cause the display to start with the current position at
line 1000, bypassing the lines that j would write and scroll off the screen if it had been
issued during the le examination:
more -p 1000j le
more -p 1000G le
If the positioning command is unsuccessful, the rst line in the le is the current posi-
tion.
-s Squeezes multiple empty lines from the output, producing only one empty line. Espe-
cially helpful when viewing nroff output, this ag maximizes the amount of useful
information present on the screen.
620 Hewlett-Packard Company 527188-003