cripslock

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 6489b509848e5792f94e2548dff729a7c1d28fdf
parent 52ffe63fbb3aa93c2c66a0d91082a1e20bb2444f
Author: Daniel Barlow <dan@telent.net>
Date:   Wed,  6 Aug 2025 17:35:04 +0100

shell script for adding some topics

Diffstat:
MREADME.md | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -23,6 +23,16 @@ Not yet usable * tag existing pages with topics? how can we do this quickly? +for t in nix nixwrt liminix sbcl asdf cliki oracle lua fennel clojure clojurescript ruby android lisp; do + for i in $(grep -li $t *.{md,textile}); do + echo -n "$t " >> ${i}.topics + done +done + +for i in *.topics; do + sed -i "1i Topics: $(cat $i)" `basename $i .topics` +done + ### TO DO LATER (after 1.0) * (separate paths for posts and assets? maybe not worth it)