Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)

ex(1) OSS Shell and Utilities Reference Manual
-n The nth previous line
% The rst through last lines
number Line number
. The current line
x-number The numberth line before line x
x,y Lines x through y
´m The line marked with m
´´ The previous context
/pattern$ The next line with pattern at end of line
/ˆpattern The next line with pattern at start of line
/pattern The next line with pattern
?pattern The previous line with pattern
Scanning Pattern Formation
^ The beginning of the line
$ The end of the line
. Any character
\< The beginning of the word
\> The end of the word
[string] Any character in string
[ˆstring] Any character not in string
[x-y] Any character between x and y, inclusive
* Any number of the preceding character
The replacement part of the last substitute subcommand.
/(pattern\) A regular expression pattern can be enclosed in escaped parentheses to identify
them for substitution actions.
FILES
/bin/exrecover The recover subcommand.
/bin/expreserve The preserve subcommand.
.exrc or $HOME/.exrc Editor start-up le.
/tmp/Exnnnnn Editor temporary le.
/tmp/Rxnnnnn Names buffer temporary le.
/var/preserve Preservation directory.
3116 Hewlett-Packard Company 527188-007