#!/bin/sh set -e set -f usage() { cat <<EOF Justify the expense of a .sh domain by presenting my site as a POSIX shell script. I guess it may as well list the pages. Usage: ./jdb.sh Examples: ./jdb.sh EOF } if [ "$#" -ne 0 ]; then case "$1" in -h|--help) usage exit 0 ;; *) printf "Unknown option: %s\n" "$1" >&2 usage exit 1 ;; esac fi set -u set +f ls -1 ./**/*.html ./*.html | sort set -f
- ./about.html
- ./blog/2023-03-21-merge-jsonnet-and-json.html
- ./blog/2023-03-26-indy-open-2023-results.html
- ./blog/2023-03-30-convert-bash-to-posix-shell.html
- ./blog/2023-03-30-review-go-code.html
- ./blog/2023-03-31-replace-specific-markdown-blockquotes-with-hugo-shortcodes.html
- ./blog/index.html
- ./literate.html
- ./stylesheet.html
The preceding script was written with literate programming. For more information, refer to About.