From 08c9bcb3fed37d9483258bd97aaebc47b54b3fa3 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 17 Nov 2024 19:49:05 -0300 Subject: rm -rf v2/ --- v2/src/bin/sitemap | 72 ------------------------------------------------------ 1 file changed, 72 deletions(-) delete mode 100755 v2/src/bin/sitemap (limited to 'v2/src/bin/sitemap') diff --git a/v2/src/bin/sitemap b/v2/src/bin/sitemap deleted file mode 100755 index 09f7eb1..0000000 --- a/v2/src/bin/sitemap +++ /dev/null @@ -1,72 +0,0 @@ -#!/bin/sh -set -eu - -usage() { - cat <<-'EOF' - Usage: - sitemap - sitemap -h - EOF -} - -help() { - cat <<-'EOF' - - - Options: - -h, --help show this message - - - Process all generate "*.mapentry" files, combine them all - together into the final "sitemap.xml" file. - - - Examples: - - Generate the final sitemap.xml: - - $ sitemap > src/sitemap.xml - EOF -} - - -for f in "$@"; do - case "$f" in - --) - break - ;; - --help) - usage - help - exit - ;; - *) - ;; - esac -done - -while getopts 'h' flag; do - case "$flag" in - h) - usage - help - exit - ;; - *) - usage >&2 - exit 2 - ;; - esac -done -shift $((OPTIND - 1)) - - - -printf '\n' -printf '\n' - -find "$CONTENT_PREFIX"/ -type f -name '*.mapentry' | - LANG=POSIX.UTF-8 sort | - xargs cat - -printf '\n' -- cgit v1.2.3