- makedayofyear(dateindex, argv);
-
- /*
- * If we were dealing with the <month day> format,
- * we need to skip over the next argv (the day of
- * month).
- */
- if (dates_info[dateindex].type == MONTH)
- ++argv; --argc;
-
- /*
- * If 'week' was requested, we need to skip over
- * the next argv ('week').
- */
- if (strcmp(*argv,"week") == 0)
- ++argv; --argc;
-
- /*
- * If no more arguments exist, then we are reading
- * from standard input. Thus, we set the standard
- * input flag (++standardin).
- */
- if (!(*argv))
- ++standardin;