version 1.8, 1999/03/04 03:34:35 |
version 1.10, 1999/11/25 03:46:46 |
|
|
* 3-charweekday (Friday, Monday, mon.) |
* 3-charweekday (Friday, Monday, mon.) |
* numeric month or day (1, 2, 04) |
* numeric month or day (1, 2, 04) |
* |
* |
* Any character may separate them, or they may not be separated. Any line, |
* Any character except \t or '*' may separate them, or they may not be |
* following a line that is matched, that starts with "whitespace", is shown |
* separated. Any line following a line that is matched, that starts |
* along with the matched line. |
* with \t, is shown along with the matched line. |
*/ |
*/ |
struct match * |
struct match * |
isnow(endp) |
isnow(endp) |
|
|
if (flags & F_SPECIAL) { |
if (flags & F_SPECIAL) { |
tmtmp.tm_mon = 0; /* Gee, mktime() is nice */ |
tmtmp.tm_mon = 0; /* Gee, mktime() is nice */ |
tmtmp.tm_mday = spev[v1].getev(tmtmp.tm_year + |
tmtmp.tm_mday = spev[v1].getev(tmtmp.tm_year + |
vwd + TM_YEAR_BASE); |
TM_YEAR_BASE) + vwd; |
} else if (vwd) { |
} else if (vwd) { |
v1 = vwd; |
v1 = vwd; |
variable_weekday(&v1, tmtmp.tm_mon + 1, |
variable_weekday(&v1, tmtmp.tm_mon + 1, |