Please watch the video below, to convert any file or a command output into a nice html table, in less than 5 Minutes time. The output html file can then be browsed from any location, using a local webserver or an internet www domain.
Usage Examples: (Type them on Terminal)
cd ~/Downloads/tabulate # location
chmod +x *.sh
cat "student_marks.csv" | { cat ; echo ; } | ./tabulate.sh -d "," -t "My School" -h "First Term" > "marks.html"
# or > "/var/www/html/marks.html"
-d specifies delimiting character, which is in between your input columns
-t specifies page title
-h specifies a header
Browse marks.html with browser now, either by double clicking file, from file manager or inputting location on your browser.
Other Examples:
df -h | { cat ; echo ; } | ./tabulate.sh -d " " -t "My System" -h "Disk Free" > "diskfree.html"
Refer Wiki, Tickets, Discussion for more inputs and new jobs, that can arise, with this script.
Please see below for LATEST UPDATES