Re: Ignoring Files With Spaces In Them

2004-05-11 Thread Jeff 'japhy' Pinyan
On May 11, Jason Dusek said: >How do I get the wanted function in a find call to ignore file names >with spaces in them? I want to catch all files with the suffii '.pro' >and .'idl' but some Windows user has put files like 'Foo Bar Har.pro' on >the system. I am trying: > > sub wanted { > if

Ignoring Files With Spaces In Them

2004-05-11 Thread Jason Dusek
How do I get the wanted function in a find call to ignore file names with spaces in them? I want to catch all files with the suffii '.pro' and .'idl' but some Windows user has put files like 'Foo Bar Har.pro' on the system. I am trying: sub wanted { if (/\.(pro|idl)$/ && !/\w+\s+\w+/) {