ref: 26e4a18e7060b0300f57f6592e3440b5e0a4aea1
dir: /sys/src/cmd/upas/fs/extra/strtotmtst.c/
#include "strtotm.c" void main(int argc, char **argv) { Tm tm; ARGBEGIN{ }ARGEND tmfmtinstall(); for(; *argv; argv++) if(strtotm(*argv, &tm) >= 0) print("%τ\n", tmfmt(&tm, nil)); else print("bad\n"); exits(""); }