]> diplodocus.org Git - nmh/commit
Create new mh-format function %(ordinal)
authorKen Hornstein <kenh@pobox.com>
Mon, 8 Jul 2019 13:59:15 +0000 (09:59 -0400)
committerKen Hornstein <kenh@pobox.com>
Mon, 8 Jul 2019 13:59:15 +0000 (09:59 -0400)
commita9f9e3d5387e31c404fd24ee71b2a72b005b85eb
treeb5163207a4ef81604648102ef96be695fffb349a
parenta0f05edf314126b7cb7267d5b873592a60503df8
Create new mh-format function %(ordinal)

Implement a new mh-format function %(ordinal).  This will output
the appropriate ordinal prefix (st, nd, rd, st) based on the value
of the "num" register.
docs/pending-release-notes
h/fmt_compile.h
man/mh-format.man
sbr/fmt_compile.c
sbr/fmt_scan.c
uip/fmtdump.c
uip/fmttest.c