I'm looking to refactor the following command:
tail -f production.log |
grep -e "Processing " -e "compatible;" -e "Completed in " -e
This is the output of the command:
Processing BasketController#cross_sell_product (for 85.189.237.x at 2011-08-03 12:46:07) [POST] "RequestLog","2011-08-03 12:46:07","12595","www.website.com","/basket/cross_sell_product/113","85.189.237.x","Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" Completed in 0.07853 (12 reqs/sec) | Rendering: 0.01402 (17%) | DB: 0.01439 (18%) | 200 OK [https://www.website.com/basket/cross_sell_product/113]
This is great and exactly what I want however I'd like to see is a carridge return or two afterwards so I can study the logs as blocks.
I tried to add \n to the end however this didn't work.