alters cal(1) to ignore case of month names and abbreviations on command line. this way, month names from mail headers and messages can be passed unchanged. Reference: /n/sources/patch/maybe/cal-mon-icase Date: Tue Mar 2 16:19:46 CET 2010 Signed-off-by: yarikos@gmail.com --- /sys/src/cmd/cal.c Tue Mar 2 16:14:40 2010 +++ /sys/src/cmd/cal.c Tue Mar 2 16:14:37 2010 @@ -166,7 +166,7 @@ char *s; for(n=0; s=dict[n].word; n++) - if(strcmp(s, str) == 0) + if(cistrcmp(s, str) == 0) return -dict[n].val; n = 0; s = str; --- /sys/man/1/cal Tue Mar 2 16:14:46 2010 +++ /sys/man/1/cal Tue Mar 2 16:14:43 2010 @@ -14,8 +14,8 @@ prints a calendar. .I Month is either a number from 1 to 12, -a lower case month name, -or a lower case three-letter prefix of a month name. +a month name, +or a three-letter abbreviation of a month name. .I Year can be between 1 and 9999. Binary files cal.0.orig and cal.0 differ