#!/bin/bash readonly file="content/letter.md" rm -rf $file || true touch $file echo "+++" > $file echo 'title = "Gitea Open Letter"' >> $file echo "+++" >> $file cat ../README.md | tail -n +5 >> $file