Factor trim format function out
authormarkus schnalke <meillo@marmaro.de>
Tue, 6 Sep 2016 18:10:28 +0000 (20:10 +0200)
committermarkus schnalke <meillo@marmaro.de>
Tue, 6 Sep 2016 18:10:28 +0000 (20:10 +0200)
commit18591f8e001ecedbee48a51c1d1f08ebaa1c15c8
tree196439d2977c310274091e4d1bb36d99e21a6ba9
parentfc9279e818dfc96c63a5d75a89080cc68cfe1170
Factor trim format function out

Also clarify that it trims both, leading and trailing whitespace.

(Note that it is a special trim function. We cannot simply replace
it with sbr/trim.c. Nonetheless, its readability is somehow bad.)
h/fmt_compile.h
man/mh-format.man5
sbr/fmt_scan.c