version 1.4, 2014/04/09 05:57:59 |
version 1.5, 2014/04/09 15:34:33 |
|
|
Go to line N in the file, default 1 (beginning of file). |
Go to line N in the file, default 1 (beginning of file). |
.It Ic G |
.It Ic G |
Go to line N in the file, default the end of the file. |
Go to line N in the file, default the end of the file. |
.It Ic p No or Ic % |
|
Go to a position N percent into the file. |
|
N should be between 0 and 100. |
|
(This works if standard input is being read, but only if |
|
.Nm |
|
has already read to the end of the file. |
|
It is always fast, but not always useful.) |
|
.It Ic r No or Ic ^L |
.It Ic r No or Ic ^L |
Repaint the screen. |
Repaint the screen. |
.It Ic R |
.It Ic R |
|
|
for N-th line containing the last pattern |
for N-th line containing the last pattern |
(or NOT containing the last pattern, |
(or NOT containing the last pattern, |
if the previous search was /! or ?!). |
if the previous search was /! or ?!). |
.It Ic E Ns Op Ar filename |
.It Ic :e Op Ar filename |
Examine a new file. |
Examine a new file. |
If the filename is missing, the "current" file (see the N and P commands |
If the filename is missing, the "current" file (see the |
below) from the list of files in the command line is re-examined. |
.Ic :n |
|
and |
|
.Ic :p |
|
commands below) |
|
from the list of files in the command line is re-examined. |
If the filename is a pound sign (#), the previously examined file is |
If the filename is a pound sign (#), the previously examined file is |
re-examined. |
re-examined. |
.It Ic :n |
.It Ic :n |
Examine the next file (from the list of files given in the command line). |
Examine the next file (from the list of files given in the command line). |
If a number N is specified (not to be confused with the command N), |
If a number N is specified (not to be confused with the command N), |
the N-th next file is examined. |
the N-th next file is examined. |
.It Ic P No or Ic :p |
.It Ic :p |
Examine the previous file. |
Examine the previous file. |
If a number N is specified, the N-th previous file is examined. |
If a number N is specified, the N-th previous file is examined. |
.It Ic :t |
.It Ic :t |