- 论坛徽章:
- 5
|
回复 #12 ly5066113 的帖子
G [address1[,address2]]G
Append newline followed by contents of hold space (see h or H command) to contents of the pattern space. If hold space is empty, a newline is still appended to the pattern space.
h [address1[,address2]]h
Copy pattern space into hold space, a special temporary buffer. Previous contents of hold space are wiped out.
H [address1[,address2]]H
Append newline and contents of pattern space to contents of the hold space. Even if hold space is empty, this command still appends the newline first.
白纸黑字,怎么没有写!?
不然,\n从哪里来?
[ 本帖最后由 blackold 于 2008-7-14 13:31 编辑 ] |
|