changelogfile="changelog.htm" commithash="HEAD" sitename="https://kassy.neocities.org/" rss= rssfile="miscfeed.xml" while getopts rc: option do case "${option}" in r)rss=1;; c)commithash=${OPTARG};; esac done entrydiff=$(awk '/.html?$|.css$/{print "" $(NF-1) ", "}' <<< $(git diff --name-only $commithash~ $commithash)) entrydiff=${entrydiff::-2}":" entrydate=$(date -d "@$(git show -s --format=%ct $commithash)" "+%H:%M%d-%m-%g") entrymessage=$(git show -s --format=%B $commithash) entrydiffcommas="${entrydiff//$'\n'/','}$([[ ! -z $entrydiff ]] && echo ':')" entrymatch="" entry="\ \ \ \ \ \