From ad14b96fbe4d5b8f79af9c7e45c2146adf83f47b Mon Sep 17 00:00:00 2001 From: shockrah Date: Tue, 22 Mar 2022 10:59:03 -0700 Subject: [PATCH] * Using tee for better visibility --- scripts/new-post.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/new-post.sh b/scripts/new-post.sh index 8c47dc0..290d410 100644 --- a/scripts/new-post.sh +++ b/scripts/new-post.sh @@ -4,7 +4,7 @@ file="$1" -cat << EOF > "$file" +cat << EOF | tee "$file" --- title: $(basename "$file") date: $(date '+%F')