cat /etc/userdomains | awk {'print $1'} > test5

then vi test5
Next step is to replace :

:%s/://g

If we want to replace test with answer. this can be done by

:%s/test/answer/g

 

/etc/proftpd/passwd.vhosts
/etc/passwd