forked from dozens/protoadandsuperbowl
parent
8a8e73cddf
commit
4e63928a59
14
justfile
14
justfile
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue