* Using tee for better visibility
This commit is contained in:
parent
7bf368ad8c
commit
ad14b96fbe
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
file="$1"
|
file="$1"
|
||||||
|
|
||||||
cat << EOF > "$file"
|
cat << EOF | tee "$file"
|
||||||
---
|
---
|
||||||
title: $(basename "$file")
|
title: $(basename "$file")
|
||||||
date: $(date '+%F')
|
date: $(date '+%F')
|
||||||
|
Loading…
Reference in New Issue
Block a user