文档介绍:mand Summary
Modifications to:
Command Address or Range Input Stream Output Stream Pattern Space Hold Buffer
=
a 1
b 2
c 2
d 2
D 2
g 2
G 2
h 2
H 2
i 1
l 1
n 2
N 2
p 2
P 2
q 1
r 1
s 2
t 2
w 2
x 2
y 2
mand takes single address or pattern.
mand takes pair of addresses.© 2007 Peteris Krumins peter@
Command does not modify the buffer. d coders code, great reuse
Command modifies the buffer.
The “n” command may or may not generate output depending on the “-n” command option.
Command line argument summary:
Argument Description
-n
--quiet suppress automatic printing of pattern space
--silent
-e script
add the script to mands to be executed
--expression=script
-f script-file
add the contents of script-file to mands to be executed
--file=script-file
-i[suffix]
edit files in place (makes backup if extension supplied)
--in-place[=suffix]
-l N
specify the desired line-wrap length for the `l' command
--line-length=N
-r
use extended regular expressions in the script.
--regexp-extended
-s
consider files as separate rather than as a single