for f in /usr/lib*/bonobo/servers/*.server; do sed -ie 's|$(LIB)|$LIB|'
$f; done Shouldn't that be: 's|$(LIB)|$LIB|g' -- Bojan