I am using bash to try and get the last commit message of the most recent revision on a tree. In the documentation the closest thing I found was:
bzr log -l 1 --line
45: Firstname Lastname 2013-11-20 some message here
I want to use bash regex to extract the message however the fact that the name field can be:
Firstname Lastname Firstname Initial Lastname Firstname Lastname <email> Initials Username <email> Username
It makes it a lot harder. I don't need you to build me a regex I would just like to know:
If bazaar has some command that shows the message (cant find in http://doc.bazaar.canonical.com/bzr.2.5/en/user-reference/index.html)
Should I use regex and use the date as the anchor to parse out message?