On 6/22/2013 9:20 PM, MRAB wrote:
[snip] One vs not-one isn't good enough. Some languages use the singular with any numbers ending in '1'. Some languages have singular, dual, and plural. Etc. It's surprising how inventive people can be! :-)
In the Idle output window for file grepping, I just changed the summary line 'Found %d hit%s' to 'Hits found: %d' to avoid the pluralization problem (even though the language is just English for now).
-- Terry Jan Reedy -- http://mail.python.org/mailman/listinfo/python-list