Hi,
basename - strip directory and suffix from filenames
$ basename /etc/apache2/
$ basename /etc/apache2/apache2.conf
$ basename perlscript script
$ basename /etc/group
$ basename /etc/passwd
regards,
T.Dhanasekar
_____________________________________
ILUGC List: //www.freelists.org/list/ilugc
ILUGC Web: http://ilugc.in/