* Using tee for better visibility

This commit is contained in:
shockrah 2022-03-22 10:59:03 -07:00
parent 7bf368ad8c
commit ad14b96fbe

View File

@ -4,7 +4,7 @@
file="$1"
cat << EOF > "$file"
cat << EOF | tee "$file"
---
title: $(basename "$file")
date: $(date '+%F')