#!/bin/sh -e mkdir -p ./posts # get name and url and other values we need read -p "Title of blog post: " postTitle read -p "URL string for blog post: " postUrl fullUrl='https:\/\/stillgreenmoss\.net\/blog\/'"$postUrl" currentMonth=$(date +%B) currentYear=$(date +%Y) postDate=$(date --rfc-3339=date) rssDate="$postDate"T00:00:00Z # create link to post on blog.html sed -i "s/