I wanna match a specific pattern using grep(). My pattern has two parts: 1. exclude "." or ".." (to exclude the current and parent directory in unix) 2. the file type is jpg.
The first pattern I am using is !/^\.\.?$/ The second is /\.jpg$/i How to combine them together? using two greps or a single one? thanks a lot! eruisi 10/09/2004 20:31:25 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>