Name
zmore
Synopsis
zmore [files
]
Similar to more
. Uncompresses files and prints
them, one screen at a time. Works on files compressed with
compress
, gzip
, or
pack
, and with uncompressed files.
Commands
- Space
Print next screenful.
-
i
[number
] Print next screenful, or
number
lines. Seti
tonumber
lines.-
d
, Ctrl-D Print next
i
, or 11 lines.-
i
z
Print next
i
lines or a screenful.-
i
s
Skip
i
lines. Print next screenful.-
i
f
Skip
i
screens. Print next screenful.-
q
,Q
,:q
,:Q
Go to next file, or, if current file is the last, exit
zmore
.-
e
,q
Exit
zmore
when the prompt "--More--(Next file: file)
" is displayed.-
s
Skip next file and continue.
-
=
Print line number.
-
i
/
expr
Search forward for
i
th occurrence (in all files) ofexpr
, which should be a regular expression. Display occurrence, including the two previous lines of context.-
i
n
Search forward for the
i
th occurrence of the last regular expression searched for.-
!
command
Execute
command
in shell. Ifcommand
isn’t specified, execute last shell command. To invoke a shell without passing it a command, enter\!
.- .
Repeat the previous command.
Get Mac OS X Panther in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.