|P is for Practical|
Grep Pattern Matchby LostS (Friar)
|on Dec 27, 2002 at 14:57 UTC||Need Help??|
LostS has asked for the
wisdom of the Perl Monks concerning the following question:
OK I suck at trying to figure this pattern match stuff out. Here is the situation. I have an array of all the files in a directory. I need to grep this array and pull out all the files that match this pattern. nc, 2 digit year and ends in .log. So it would find a file that looks like this nc021225.log or nc0201.log. Just need to figure out how to do that pattern match or be giving a link to figure it out.
Slinar Hardtail - Hand of Dane
Datal Ephialtes - Guildless