linux的sed命令

linux的sed命令

http://www.cnblogs.com/dong008259/archive/2011/12/07/2279897.html
http://www.iteye.com/topic/587673
tomcat_pla_ror]$ sed -n '/Oct 23, 2013 10:08:51/,/Oct 23, 2013 10:21:24/p' catalina.log

这个命令用于查找某个时间段的日志。
$ sed -n '/test/,/check/p' example-----所有在模板test和check所确定的范围内的行都被打印。
原文地址:https://www.cnblogs.com/usual2013blog/p/3385958.html