16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

vi<br />

with a form feed (Ctrl-L), starting with an open brace {, a text formatter<br />

macro in the sections variable, or begin or end of file.<br />

If you specified the lisp option, a section boundary is also identified by a<br />

line with a leading (.<br />

]] Moves forward to the beginning of the next section. See [[ for the definition<br />

of a section.<br />

If you specified the lisp option, a section boundary is also identified by a<br />

line with a leading (.<br />

% Finds the balancing character to that under the cursor. The character<br />

should be one of the following characters:<br />

[{(< >)}].<br />

; Repeats the previous F, f, T, or t command.<br />

, Repeats the previous F, f, T, or t command in the opposite direction.<br />

/regexp ,<br />

Search forward in the file for a line matching the regular expression regexp<br />

and position the cursor at the first character of the matching string. When<br />

used with an operator to define a text range, the range begins with the<br />

character at the current cursor position and ends with the first character of<br />

the matching string. You can specify whole lines by following regexp with<br />

/+n or /–n, where n is the offset from the matched line.<br />

?regexp<br />

Is similar to /, but searches backwards in the file.<br />

Ctrl-] Uses the word after the cursor as a tag. (For information about tag, see<br />

ex.)<br />

Object Manipulator <strong>Command</strong>s<br />

An object manipulator command works on a block of text. The command character<br />

is followed immediately by any kind of movement command. The object that is<br />

manipulated by the object manipulator command is the text from the current<br />

position pointer to wherever the movement command would leave the cursor.<br />

For example, in dL, d is the object manipulator command to delete an object. It is<br />

followed by the movement command L which means move to the bottom line of the<br />

screen. The object manipulated by the command thus extends from the current line<br />

to the bottom line on the screen; these lines are deleted.<br />

Normally an object extends up to, but not including, the position of the cursor after<br />

the move command. However, some movements work in a line mode. For example,<br />

L puts the cursor on the first nonblank character of the last line on the screen. If it<br />

is used in an object manipulation command, it includes the entire starting line and<br />

the entire ending line. Some other objects include the cursor position. For example,<br />

d$ deletes up to and including the last character on a line; by itself the $ would<br />

have placed the cursor on the final character. Repeating the command letter implies<br />

working on a line basis; thus 5dd deletes five lines.<br />

Objects that are deleted or otherwise manipulated have their original values placed<br />

in a buffer, an area of computer memory that can hold text. There are several ways<br />

this can be done:<br />

764 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!