eb09b58ec1c838bc315f37322872369200ffe7b9
kent
  Sun Dec 19 08:37:56 2021 -0800
Added uglyt function, like uglyTime, but without the html formatting, so can use it in command line utilities.

diff --git src/inc/common.h src/inc/common.h
index 6e6a3f4..d97cb08 100644
--- src/inc/common.h
+++ src/inc/common.h
@@ -1477,31 +1477,42 @@
 
 char *naForEmpty(char *s);
 /* Return n/a if s is "" or NULL, otherwise s. */
 
 char *emptyForNull(char *s);
 /* Return "" if s is NULL, otherwise s. */
 
 char *nullIfAllSpace(char *s);
 /* Return NULL if s is all spaces, otherwise s. */
 
 char *trueFalseString(boolean b);
 /* Return "true" or "false" */
 
 void uglyTime(char *label, ...)
 /* Print label and how long it's been since last call.  Call with
- * a NULL label to initialize. */
+ * a NULL label to initialize. Works better in html pages cause of formatting */
+
+#if defined(__GNUC__)
+__attribute__((format(printf, 1, 2)))
+#endif
+;
+
+
+void uglyt(char *label, ...)
+/* Print label and how long it's been since last call.  Call with
+ * a NULL label to initialize. Like uglyTime without the html formatting */
+
 #if defined(__GNUC__)
 __attribute__((format(printf, 1, 2)))
 #endif
 ;
 
 /*	In case the development environment does not supply INFINITY	*/
 #if !defined(INFINITY)
 #define INFINITY (1.0/0.0)
 #endif
 
 void makeDirs(char* path);
 /* make a directory, including parent directories */
 
 boolean isSymbolString(char *s);
 /* Return TRUE if s can be used as a symbol in the C language */