2

在 GF 3.1.x 中,在 Netbeans 中回显到屏幕的日志有空行。有什么办法可以删除空白,所以滚动浏览的内容更少?我知道这是次要的,但任何能让这一天更有成效的事情......

INFO: 08:40:33,170  INFO RequestMappingHandlerMapping:186 - Mapped "{[/search],methods=[GET],params=[],headers=[],consumes=[],produces=[],custom=[]}" 

INFO: 08:40:33,171  INFO RequestMappingHandlerMapping:186 - Mapped "{[/search],methods=[POST],params=[],headers=[],consumes=[],produces=[],custom=[]}" 
4

1 回答 1

-1

$ sed '/^$/d' blanks.txt > without_blanks.txt

于 2013-04-03T12:55:18.300 回答