Simplify getprec() by using strchr(3) and strspn(3).
authortb <tb@openbsd.org>
Fri, 12 Aug 2016 23:29:59 +0000 (23:29 +0000)
committertb <tb@openbsd.org>
Fri, 12 Aug 2016 23:29:59 +0000 (23:29 +0000)
commit808b2b380f86beee0973ad00a558424e6d7af3e0
tree5a79d1c8ff5ee86e19cf82090c33c17a8b870650
parent81305dc40c07419d7e8f5b439c22e6f1fa1b1445
Simplify getprec() by using strchr(3) and strspn(3).
Part of NetBSD's jot r1.20 by dsl.

ok jca
usr.bin/jot/jot.c