#!/bin/sh set -eu readonly Root='https://text.causal.agency' updated=$(date -u '+%FT%TZ') cat <<-EOF Causal Agency Junejune@causal.agency ${Root}/ ${updated} EOF encode() { sed ' s/&/\&/g s/ ${title} ${summary} ${Root}/${txt} ${published} ${updated}
EOF printf '
'
	encode "$txt"
	cat <<-EOF
		
EOF done echo '
'