
e
ex(1) | ex(1) |
The sequence \u (\l) causes the immediately following character in the replacement to be converted to uppercase (lowercase), if the character is a letter. The sequence \U (\L) turns case conversion on, until the sequence \E or \e is encountered, or the end of the replacement string is reached.
Command Names and Abbreviations
The following table summarizes the
Command | Abbr. | Command | Abbr. | Command | Abbr. |
abbreviate | ab | next | n | tag | ta |
append | a | number | nu # | unabbreviate | una |
args | ar | open | o | undo | u |
change | c | pop |
| unmap | unm |
chdir | chd cd | preserve | pre | version | ve |
copy | co t | p | visual | vi | |
crypt | cr X | put | pu | write | w wq |
delete | d | quit | q | xit | x |
edit | e ex | read | r | yank | ya |
file | f | recover | rec |
|
|
|
|
|
|
|
|
global | g v | rewind | rew | (execute buffer) | * @ |
insert | i | set | se | (line number) | = |
join | j | shell | sh | (left shift) | < |
list | l | source | so | (right shift) | > |
map |
| stop | st ÃZ | (scroll) | ^D |
|
|
|
|
|
|
mark | ma k | substitute | s sr & Ä | (shell escape) | ! |
move | m | suspend | su ÃZ | (window) | z |
Command Descriptions
In the following command descriptions, some arguments appear frequently. They are described below.
line A single line address, in any of the forms described in Addressing above. The default is the current line.
range A pair of line addresses separated by a comma or semicolon, as described in Addressing above. The default is the current line (.,.).
count A positive integer specifying the number of lines to be affected by the command. The default is 1 or the number of lines in range.
When count is speci®ed, range is ineffective. Instead, only a line number should be speci®ed to indicate the ®rst line affected by the command. (If a range is given, the last line of the range is interpreted as the starting line for the command.)
flags One or more of the characters #, p, and l. The corresponding command to print the line is executed after the command completes. Any number of + or - characters can also be given with these ¯ags. The default is no ¯ags.
These modi®ers are all optional.
When only a line or a range is speci®ed (with a null command), the implied command is print. If a null line is entered, the next line is printed (equivalent to .+1p)
buffer | XPG4 Feature. One of a number of named areas for saving text. The named buffers are | |
| speci®ed by the lowercase letters of the POSIX locale. Specifying buffer shall cause the | |
| area of the text affected by the command to be stored into the buffer as it was before the | |
| command took effect. This argument is also used on the put command and the visual | |
| mode "put" commands (p and P), to specify the buffer that shall provide the text to insert. | |
| If the buffer name is speci®ed in uppercase, and the buffer is to be modi®ed, the buffer shall | |
| be appended to rather than being overwritten. If the buffer is not to be modi®ed, the buffer | |
| name can be speci®ed in lowercase or uppercase with the same results. There shall be also | |
| one unnamed buffer, which is the repository for all text deleteed or yanked when no buffer | |
| is speci®ed. |
|
Section 1−244 | − 4 − | |