diff --git a/new-post.sh b/new-post.sh deleted file mode 100755 index 9ed4602..0000000 --- a/new-post.sh +++ /dev/null @@ -1,41 +0,0 @@ -#!/usr/bin/env bash -# if [ "$1" != "-h" ] || [ "$1" != "--help" ]; then - -title="$(echo "$1" | tr '[:upper:]' '[:lower:]')" -description=$2 -date=$(date -u +%Y-%m-%d) - -stripped_spaces=${title// /-} -filename="$(echo "$stripped_spaces" | tr '[:upper:]' '[:lower:]')".md - -touch drafts/$filename -tee -a drafts/$filename <