just a question, what the difference between «cd abs» and «cd ./abs» ? Afaik, « ./ » stand for « current directory / », so it will not change the cd target, doesn't it ? 2009/4/5, Baho Utot <baho-utot@xxxxxxxxxxxxxxx>: > Alessandro Doro wrote: >> On Sat, Apr 04, 2009 at 04:35:04PM -0400, Baho Utot wrote: >> >>> Kurt J. Bosch wrote: >>> >>>> On 2009-04-04 15:06, Baho Utot wrote: >>>> >>>>> find returns the directory entry with ./ in front of the directory name >>>>> Anyone know how to make find return abs instead of ./abs >>>>> >>>>> >>>> man find suggests -printf %P for this :) >>>> >>>> >>> doesn't work >>> >> >> Do you maybe need this? >> for i in $(find . -mindepth 1 -maxdepth 1 -type d -printf "%P\n") ; do >> >> > That did indeed work > > Now my script works "out of the box" > > Many Thanks > >