#!/usr/bin/perl $c = 'a';$l="<";$r=">"; while(<>){s/$c/$l$c$r/g;print;}
abc bac bca aba abcabc aaa
<a>bc b<a>c bc<a> <a>b<a> <a>bc<a>bc <a><a><a>
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!