How to write a UNIX shell utility to find a matching filename in the current directory?

I read a post in blog with a problem in csh.
I think I get a solution for this.
 
#!/bin/csh
 
set Local=`pwd`

if($#argv == 0 ) then
   echo "Use of this script : $0 [argument]"
   exit
 else if ($#argv > 1 ) then
      echo "Use of this script: $0 [argument]"
      exit
     endif
endif

find $Local -iname "*$1*" -print


With the pwd command I get the current directory and put on a varable Local.

After I put the first argument of the command line and find this on the current directory.

This isn't a beautifull solution ( I had problems with the if command on csh ), but ... the solution is here :)