Robot Has No Heart

Xavier Shay blogs here

A robot that does not have a heart

Capturing output from rake

Rake has an annoying habit of putting it’s own diagnostic line on the first line of output. You can strip that out with tail.

rake my_report:xml | tail -n+2 > output.xml
A pretty flower Another pretty flower