Steven Elling wrote: > Just do the following in your case: > > cat old.ldif | > sed -e 's/(dn:.*)/1,ou=contacts,dc=tarcanfel,dc=net/' > new.ldif Hehe. "Just..." If it's any consolation, Jonathan, I look at lines like this and my eyes cross too. :) To be fair, really should learn sed and awk sometime soon. -- Jason Clinton I don't believe in witty sigs.