Try File::Basename
Scott
In reply to Re: Question about grep by helphand in thread Question about grep by ckaspar