Fred Flintstone 1/25/1975 James Wilfrid Vander Zanden 11/28/1930 Ebber B. Vander Zanden 9/8/1964 Abe Lincoln 2/12/1809 Jackie O 2/12/1964 Rhonda Jones 2/3/1964 Brad Vander Zanden 2/3/1964 Smiley 5/5/2005 Claudia 7/6/2006and your command is:
bvz> perl birth.pl names.txt 5then your output should be:
Abe Lincoln 2/12/1809 James Wilfrid Vander Zanden 11/28/1930 Brad Vander Zanden 2/3/1964 Rhonda Jones 2/3/1964 Jackie O 2/12/1964Your program should make the following assumptions:
name mm/dd/yyyywhere name may be one or more whitespace delimited words.
For maximum credit your program must have the following features:
perl bullets.pl article1.txt article2.txt article3.txt
For example, "Jan. 43, 1964 AD" is a valid date but "Feb. 4, 607" is not (missing an era and year is only 3 digits), nor is "February 2, 1855 BC" (month is too long), nor is "Wednesday Jun. 23, 1563 AD" (extraneous information). An example invocation might be:
perl date.pl "Jan. 43, 1964 AD"
A sample invocation might be:
perl substitute.pl raceresults.txtYou may replace any pattern that matches the above description, even if it is embedded within another pattern, such as "03:18:19AM".