Website/bin/htmlTagList
Jonathan Hodgson 56f95cb9aa Moved to Makefile based build system
Got rid of janky build.sh script. Now uses a bunch of janky scripts and
a make file - because that is bound to be easier to maintain.
2022-06-13 11:02:02 +01:00

11 lines
217 B
Bash
Executable file

#!/usr/bin/env bash
echo "<ul class='taglist'>"
for line in "$@"; do
link="/tag/$(echo "$line" | tr 'A-Z' 'a-z')/"
name="$(echo "$line" | tr '_' ' ')"
echo "<li><a href='$link'>$name</a></li>"
done
echo "</ul>"