On 3/5/2015 12:46 PM, Andy Goth wrote:
On 3/5/2015 3:55 AM, Lluís Batlle i Rossell wrote:
fossil finfo -b seems not to output one revision per line. Some of
the checkin comment words go to newlines, sometimes. This makes the
output very hard to parse with "cut" or similar tools.

Use -W 0.  I hit this same "bug" just a few minutes ago.

Alternatively, you might consider building fossil with JSON support enabled, and using fossil json finfo instead. The result will be well-formed JSON which is easier to parse reliably, although admittedly not so easy to parse with cut, sed, or awk.

--
Ross Berteig                               r...@cheshireeng.com
Cheshire Engineering Corp.           http://www.CheshireEng.com/

_______________________________________________
fossil-dev mailing list
fossil-dev@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/fossil-dev

Reply via email to