[ale] stripping filename extension in bash

Ed Landa elanda at xilogix.net
Sat Nov 30 16:00:27 EST 2002


> What i'd like to do is get $i without the .jpg extension at the end so 
> it would read:

Check out 'basename'.  It might not be what you need, as it strips
the leading path as well.

Ed

_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list