source:
kBuild/vendor/sed/current/testsuite/uniq.sed
最後變更 在這個檔案是 599,由 提交於 18 年 前 | |
---|---|
檔案大小: 309 位元組 |
行 | |
---|---|
1 | h |
2 | |
3 | :b |
4 | # On the last line, print and exit |
5 | $b |
6 | N |
7 | /^\(.*\)\n\1$/ { |
8 | # The two lines are identical. Undo the effect of |
9 | # the n command. |
10 | g |
11 | bb |
12 | } |
13 | |
14 | # If the @code{N} command had added the last line, print and exit |
15 | $b |
16 | |
17 | # The lines are different; print the first and go |
18 | # back working on the second. |
19 | P |
20 | D |
注意:
瀏覽 TracBrowser
來幫助您使用儲存庫瀏覽器