Dear Micheal Kerrisk, the program source example shown in the current version of the strverscmp(3) manpage is supposedly broken, as the return value of the library function is interpreted incorrectly. The execution of the example shows: $ i./a.out jan1 jan10 jan1 < jan10 Another expected output is: $ i./a.out jan10 jan11 jan10 < jan11 However, a simple change in the call unveils an unexpected result: $ i./a.out jan10 jan12 jan10 > jan12 The unexpected behaviour originates from the test of the result of strversort(): In the program code, the "less than" is tested by comparing the function result for equality to -1, however the test shall compare for the function result to be less than 0, according the the documentation of the RETURN VALUE in the manpage. kind regards, Vivenzio Pagliari -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html