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
Post a Comment