more (command line command)
more
( /usr/bin/more
) Paginated ( Engl. , More ') data streams. What a page is is determined (at least in the case of operating systems based on the POSIX standard) via the terminal control ( termcap
or terminfo
). Control is via <stdin>
.
POSIX
more
follows the guidelines for command line programs , with the exception that both +
and can be used -
as an option delimiter . Input that is not composed of text leads to undefined results.
It is not only possible to output the input stream page by page, but also to search through it with regular expressions .
Furthermore, more
the ctags tool is closely coordinated so that taglines can be passed to as arguments more
.
Some manufacturers have considerably expanded the standard range of functions (scrolling forwards and backwards, scrolling line by line, etc.). On AIX is more
practically the same as view
.
DOS / Windows
The Windows (and the original MS-DOS ) implementation dispenses with most of the functions standardized in POSIX and is limited to the ability to output text page by page. Since the concept of default I / O Descriptors ( <stdin>
, <stdout>
, <stderr>
) is not kept as strictly under DOS and its derivatives as described in Unix-like systems, and the call is not consistent and the indication of the text to be output must - depending - on I / O Redirection, pipelines or command line arguments take place.
history
The program more
was originally written in 1978 by Daniel Halbert , who was then a student at the University of California at Berkeley . Subsequently, more
by Eric Shienbrood and Geoff Peck highly developed and in particular to the possibility of the input using regular expressions to search expanded.
According to his own statement, Halbert was inspired by an older utility called cr3 as well as a message from the PDP-10 operating system ITS , which --MORE--
waited with the text for a user input to scroll further in the case of multi-page editions . Eben This text --MORE--
gives the program more
in English language setting from when it is waiting for user input to scroll. The German language setting is displayed instead --Mehr--
.
1979 was included more
in the Berkeley Software Distribution 3.0 and is now part of the POSIX standard.
The less program was inspired by more .
An imitation of more
was also included in MS-DOS, and later Windows. Here the content of a file or a table of contents is paused after a page (20 lines) and continued after pressing the space bar. Pressing the Enter key results in a line being output.
Web links
-
more
: display files on a page-by-page basis - Open Group Base Specification -
more(1)
: File perusal filter for crt viewing - Debian GNU / Linux Executable programs or shell commands manual page -
more(1)
: less, more - view files - OpenBSD General Commands Manual
Individual evidence
- ↑ 12.2 Utility Syntax Guidelines. Accessed February 26, 2018 (English).
- ↑ more specification in POSIX. Accessed February 26, 2018 (English).
- ^ Daniel Halbert: The Early History of the More Command. In: www.halwitz.org. March 4, 1994, Retrieved February 26, 2018 .