shortlog: use strbufs to read from stdin