我想從SVN日誌中提取行之間的所有文本。如果是sed,awk或grep,那就更好了。svn日誌檢索行之間找到特定的字
例子:svn.log
------------------------------------------------------------------------
r1075 | popad | 2011-12-02 14:28:20 +0200 (Fri, 02 Dec 2011) | 1 line
Changed paths:
M /trunk/apps/frontend/modules/mail/templates/candidateSearchAgentSuccess.php
M /trunk/apps/test.php
Ticket #1000: removing ads from emails
------------------------------------------------------------------------
r1074 | coman | 2011-11-30 10:51:29 +0200 (Wed, 30 Nov 2011) | 3 lines
Changed paths:
M /trunk/apps/frontend/i18n/messages.de.xml
M /trunk/apps/frontend/i18n/messages.en.xml
M /trunk/apps/frontend/i18n/messages.ro.xml
Ticket #1089: translation update: send to friend form
http://example.com/projects/147/tickets/1089
Solved HU translation update
------------------------------------------------------------------------
我想搜索票務#1000,並提前獲取
------------------------------------------------------------------------
r1075 | popad | 2011-12-02 14:28:20 +0200 (Fri, 02 Dec 2011) | 1 line
Changed paths:
M /trunk/apps/frontend/saSuccess.php
M /trunk/apps/frontend/saAddSuccess.php
Ticket #1000: removing ads from emails
------------------------------------------------------------------------
感謝字裏行間整個街區。
+1。這顯然是最新的方法,也是最容易理解的。我打印行分隔符,但;) – Johnsyweb 2012-02-02 10:46:23
謝謝。這有助於很多! – danielpopa 2012-02-02 15:02:13
@danielpopa:「謝謝,這有助於很多!」是最好的表達「[通過點擊答案左邊的複選框大綱。](http://stackoverflow.com/faq#howtoask)」 – Johnsyweb 2012-02-02 19:14:07