The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 02-06-2002
jo_aze jo_aze is offline
Registered User
 

Join Date: Feb 2002
Location: PARIS (FRANCE)
Posts: 22
Thanks for this suggestion but i've found nothing that i've not yet be done ...
In fact, i'm searching for a substitute of "-iname" option. I'd like to use a loop using a variable ($var for example) which should be passed to search command like "find":
Ex.:
for var in listing_var
do
find . -name $var ... ...
done

I've thought about syntax like :
find . -type d -name *[A-z][$var] ...
or
find . -type d -exec grep -i $var
But i've some problem to implement it.