Cut log file
sed '1,/2015-07-03 10:5/d;$d' catalina.out | tee cut-log sed '1,/2015-07-03/d;/2015-07-03/,$d' catalina.out | tee cut-log sed '1,/from this text/d;/to this text/,$d' logfile | tee outfile