perl - Converting text file to html -


i have plain text file looks -

234234 text

345435 text

23423 text

i convert html either vbscript, perl or else looks nice when emailed out. maybe can make numbers bolded etc.

any ideas on how can this?

thanks

if file simple have written, perl -ne 'chomp; s!^(\d+)!<b>$1</b>!; print "$_<br />\n"' inputfile.txt have asked.

however if source more complex this, 1 of many html formatting modules on cpan


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -