Open System Services Shell and Utilities Reference Manual (G06.29+, H06.08+, J06.03+)
more(1) OSS Shell and Utilities Reference Manual
NAME
more - Displays a file one screenful at a time
SYNOPSIS
Current syntax
more [-cdeiNsuvz][-n number][-p command][-t tagstring][-W option][-x tabs][-number ]
[file ...]
Obsolescent syntax
more [-cdeiNsuvz][-number][+command][-t tagstring][-W option][-x tabs][-number][file ...]
The more command invokes a filter 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 first screen. In addition, if more is writ-
ing its first 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 file 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 flag 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 files. 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 file 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 final results of the com-
mand, without writing any intermediate lines of the file. 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 file examination:
more -p 1000j file
more -p 1000G file
If the positioning command is unsuccessful, the first line in the file 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 flag maximizes the amount of useful
information present on the screen.
6−20 Hewlett-Packard Company 527188-021