在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=[]}"
答案 0 :(得分:-1)
$ sed '/^$/d' blanks.txt > without_blanks.txt