]> diplodocus.org Git - nmh/commit
Add support for %(trimr) format function
authorKen Hornstein <kenh@pobox.com>
Fri, 22 Mar 2019 15:59:04 +0000 (11:59 -0400)
committerKen Hornstein <kenh@pobox.com>
Fri, 22 Mar 2019 16:00:41 +0000 (12:00 -0400)
commit9530e8f7f96f79ebe9afaeeecf0f2a2b373bb429
tree966a971ebc3077bb539be79494ebbff3c4949797
parentd8da8c30ad3af659b29e23989ed3b318283f1f41
Add support for %(trimr) format function

Add support for a %(trimr) format function, which behaves exactly
like %(trim) but also returns a string.  Turns out this is literally
a one-line change that does not require a new format instruction.
man/mh-format.man
sbr/fmt_compile.c