> Printing the format string in validfmt() shows that it is correct. > Printing after 'fmt = ARGF();' in line 33 shows clipped format. I have > no idea how ARGF works and cannot troubleshoot past that. Thanks.
Indeed, to quote the Plan9 manpage: "ARGF must be called just once for each option argument. " I will submit a patch making use of a temporary variable.