gemini-old/log/new-post.sh

10 lines
181 B
Bash
Raw Permalink Normal View History

2024-11-03 17:29:42 -06:00
postID="$RANDOM-$RANDOM$RANDOM"
2024-11-03 17:32:36 -06:00
echo " " > $postID
2024-11-03 17:38:11 -06:00
echo "## $(date) - Title" >> $postID
2024-11-03 17:29:42 -06:00
echo "Body" >> $postID
nano $postID
echo " " >> $postID
2024-11-03 17:32:36 -06:00
cat $postID >> index.gmi
2024-11-03 17:29:42 -06:00
rm $postID