Paul Clayton writes: > from my_domain.com to dc=my_domain,dc=com perl -pe 's/\./,dc=/g && s/^/dc=/' -- Hallvard