Jochen Kühner wrote: > I've restarted my shellscript to use sh instead of php. > > but now i need help, > > first, the option to extrat the filename of a path and a extsion. (like > /aa/bb/cc/dd.eee then i need dd) > You need "basename" -- Michael J. Lynch What if the hokey pokey IS what it's all about -- author unknown