Created
February 18, 2011 11:11
-
-
Save rjp/833546 to your computer and use it in GitHub Desktop.
Turn clover-C of a bunch of iTunes tunes into a nice HTML table
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
awk -F\\t 'BEGIN{print"%html\n %body\n %table\n %tr\n %th Track\n %th Artist\n %th Album"}{printf(" %%tr\n %%td %s\n %%td %s\n %%td %s\n",$1,$3,$4)}' | recode utf8..html | haml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sample output: http://backup.frottage.org/rjp/tmp/20110218/breed.html