Hi, Frank Küster <frank at kuesterei.ch> wrote: > The attached patch does that, except that I don't know whether > > tree=${database%ls-R} > > is portable (would have to use echo | sed instead). > As you see here, it is in POSIX: http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_06_02 -- Florent