dozens 2024-01-17 11:41:56 -07:00
parent 8a8e73cddf
commit 4e63928a59
1 changed files with 14 additions and 0 deletions

View File

@ -65,3 +65,17 @@ upload:
# build and rss
all: markdown gemini index upload rss
# new script
new:
#!/usr/bin/env sh
count=$(recsel -c db/database.rec)
read -p "first line: " top
read -p "second line: " bottom
printf -v id "%05d" $((++count))
recins --verbose -t comic \
-f "top" -v "$top" \
-f "bottom" -v "$bottom" \
-f "id" -v "$id" \
-f "date" -v "$(date -I)" \
db/database.rec