Andrew Overholt writes: > * Andrew Overholt <overholt@xxxxxxxxxx> [2005-03-29 16:52]: > [...] > > > (cd $DB.d; ls . | xargs gcj-dbtool -m $DB $DB) > [...] > > I'm thinking this should be: > > (cd $DB.d; ls . | xargs gcj-dbtool -m $DB) > > What's the purpose of the extraneous $DB? I don't think we want it because > we actually want the entire db recreated every time. We don't want entries > that are not in sub-dbs in $DB.d to be in the resultant db. Does that make > sense? Yes. The extra $DB is there because xargs will call gcj-dbtool multiple times if it needs to. The right answer is not to use xargs. Andrew.