zmore
时间:2006-08-02 来源:anima
zmore
zmore [files]
Similar to more. Uncompress files and print them one screenful at a time. Works on files compressed with compress, gzip, or pack, and with uncompressed files.
Commands
spacePrint next screenful.
ispacePrint next i lines.
ReturnPrint one more line.
d, ^DPrint next i, or 11, lines.
izPrint next i lines or a screenful. If i is specified, treat it as the new window size for the rest of the current file, then revert back to the default.
isSkip i lines. Print next screenful.
ifSkip i screens. Print next screenful.
q, Q, :q, :QGo to next file or, if current file is the last, exit zmore.
e, qExit zmore when the prompt "--More--(Next file: file)" is displayed.
sSkip next file and continue when the prompt "--More--(Next file: file)" is displayed.
=Print line number.
i/exprSearch forward for ith occurrence (in all files) of expr, which should be a regular expression. Display occurrence, including the two previous lines of context.
inSearch forward for the ith occurrence of the last regular expression searched for.
!commandExecute command in shell. If command is not specified, execute last shell command. To invoke a shell without passing it a command, enter \!.
.Repeat the previous command.