1

Script to convert csv file to html with good visibilty

view story
linux-howto

http://www.unix.com – Hi, I have Below script which converts csv file to html succesfully.but the visiblity is simple in black n white. I want to have better visibilty of each columns in different colours(like green).As it is a Database report suppose some tablespace available space is less than 20% then it should come up in red colour.If the available space is above 20% then it should come up in green. Code: perl -F',' -lane 'BEGIN{open O, ">output_db.html"; print O "<html><body><table border=1>"}; chomp; print O "<tr>"; print O "<th>$_&lt (HowTos)