VirtualBox

source: kBuild/vendor/sed/current/testsuite/uniq.sed

最後變更 在這個檔案是 599,由 bird 提交於 18 年 前

GNU sed 4.1.5.

檔案大小: 309 位元組
 
1h
2
3:b
4# On the last line, print and exit
5$b
6N
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.
19P
20D
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette