Clean up title slide script - bitreich-tv - Meme TV encoding and streaming HTML git clone git://bitreich.org/bitreich-tv git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/bitreich-tv DIR Log DIR Files DIR Refs DIR Tags DIR LICENSE --- DIR commit 2c603b4a4ac3a953f11aac4157aae322f52a9e80 DIR parent 514e6788b34aa2fea81e685a03b0f0bc9e449157 HTML Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 16 Aug 2020 20:11:56 +0200 Clean up title slide script Diffstat: M brtv-generate-title-slides.sh | 13 ------------- 1 file changed, 0 insertions(+), 13 deletions(-) --- DIR diff --git a/brtv-generate-title-slides.sh b/brtv-generate-title-slides.sh @@ -26,19 +26,6 @@ title_display_time=5 ### CONFIGURATION END -die() { - printf '%s: error: %s\n' "${0##*/}" "$1" >&2 - exit 1 -} - -regeximatch() { - printf '%s' "$1" | grep -iEq "$2" -} - -if [ $# -ne 1 ]; then - die "usage: ${0##*/} <hashtags-file>" -fi - title_slide() { img="$(basename "${1%.*}".png)" printf 'title_slide %s -> %s\n' "$1" "$img"