Brian Henning <[EMAIL PROTECTED]> writes:

> I am trying to write an SH script that i need some functionality. 
> 
> I want it to be able to get a filename without the extention on the end.
> 
> for example.
> 
> file.mp3
> 
> i would like it to return 'file'.

basename(1); it's even POSIX, so it's pretty portable.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to