1 / 2
文档名称:

sed.cheat.sheet.pdf

格式:pdf   页数:2
下载后只包含 1 个 PDF 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

sed.cheat.sheet.pdf

上传人:紫岑旖旎 2014/3/19 文件大小:0 KB

下载得到文件列表

sed.cheat.sheet.pdf

文档介绍

文档介绍: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