tr_mailtoexpand -- expand mailto: into a non clickable name and mail address.
tr_mailtoexpand [-hp] html-files
tr_mailtoexpand modifies "a href=mailto:" tags such that the mail address contails [at] instead of the @ to protect it from spammers. The anchor tag is completely removed and the address is just inserted behind in the text the name.
File access permissions are preserved.
-h short help
-p print to stdout and do not modify any files.
tr_mailtoexpand -p index.html or to really change the file: tr_mailtoexpand index.html
tr_mailtoexpand is part of the HTML::TagReader package and was written by Guido Socher [guido(at)linuxfocus.org]
To install HTML::TagReader, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::TagReader
CPAN shell
perl -MCPAN -e shell install HTML::TagReader
For more information on module installation, please visit the detailed CPAN module installation guide.