2025-03-21 published | 2025-03-28 edited
#!/bin/sh
# SPDX-License-Identifier: CC0-1.0
set -eu
if [ $# -ne 1 ]
then
echo "Usage: $0 URL-OF-REDIRECT"
exit 1
fi
echo "<html>"
echo "<head>"
echo "<meta http-equiv='refresh' content='0;url=$1' />"
echo "</head>"
echo "<body>"
echo "Redirected to <a href='$1'>$1</a>"
echo "</body>"
echo "</html>"