Syntactic Confectionery Delight | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
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.
----------------------- Billy S. Slinar Hardtail - Hand of Dane Datal Ephialtes - Guildless RallosZek.Net Admin/WebMaster
In reply to Grep Pattern Match by LostS
|
|