Defects Index | Documentation Table of Contents
98/07/10 DEFECT in script handle_ser7
SYMPTOM: Script was failing to process Series 7 mailings from USNO when
Bill's mailbox exceeded 99 messages.
PROBLEM: Script was assuming message numbers are always blank-delimited
in "mailx -H" header summary listing. This is not true for
message numbers 100 and above, because of the N (New) or U
(Unread) prefix. E.g., script could not find messages contain-
ing 'N100' or 'U100', resulting in null message bodies.
CORRECTION: Changed script so that leading N's or U's are stripped-off of
possible "ser7@maia" message numbers. Remaining string must
also pass a recursive "is_numeric" test before continuing.
FOUND BY: Dulaney 98/07/09
FIXED BY: Dulaney 98/07/09
SOURCE: /proc/gl/Scripts_gps (Buster)
June 25, 1999