#!/bin/bash cat < sad-songs.html Sad Songs EOF while IFS=$'\t' read -r song year author genre youtube based_on desc do [ "$song" == "song" ] && continue # header echo "song: $song ($year), author: $author, genre: $genre, yt: $youtube, based_on: $based_on, desc: $desc" cat <> sad-songs.html EOF done < sad-songs.tsv cat <> sad-songs.html
Song Year Author Genre YouTube Based On Description/Spoiler
$song $year $author $genre YouTube Based On
Spoiler $desc

Built from / contribute to: github or code.moparisthebest.com

EOF rsync -avz --stats --progress sad-songs.html moparisthebest.com:/htdocs/moparisthebest.com/