commit - 130fd210a93de05c13a7d014161a18737caefaeb
commit + 0551e9c25ff7f3da302d0590b131330a0cb4a7e3
blob - 13237c108094a9d21f0375e6240769f21e0bf1f5
blob + 2d16261c675b74d5cfa2b7f93cedb840d5f17324
--- Makefile
+++ Makefile
.POSIX:
PREFIX:=/usr/local
SHELLS=ksh93 ksh yash sh
-UTILITY_VERSION=0.0.6
+UTILITY_VERSION=0.0.7
UTILITY=$(PWD)/r7
# To use the test suite, please edit or use environment for SSH parameters
# SSH_ID=/path/to/.ssh/id_ed25519
blob - 4a55648dc808b2d2828e2b2b8c2882b471c6c1fe
blob + 7d189238191d38f260cfb3a34e6d7ecbcc4bbe8c
--- README.md
+++ README.md
section: 1
header: User Manual
date: Tue Jun 3 2025
-footer: v0.0.6
+footer: v0.0.7
---
## Tutorial
blob - 15d2ecde87f67dd12118cdd9598aad9e81f13625
blob + fb31abf1906184b9cfe406d90b7c7fe34dac91f2
--- r7
+++ r7
# shellcheck disable=SC2046,SC2031
# Global configuration
# ====================
-VERSION=0.0.6
+VERSION=0.0.7
: "${HOSTNAME:=$(uname -n)}"
# shellcheck disable=SC2031
shift $((OPTIND - 1))
case $1 in
- html) html "$@" ;;
init | workdir-init)
shift
_workdir_init "$@"
digraph-ssh)
digraph_ssh_id_hosts
;;
+ html) html "$@" ;;
'') info ;;
*)
case $0 in
pandoc -t html -f markdown+smart "$@"
}
+_su() {
+ summary | while read -r line; do
+ set -- $line
+ case $1 in
+ -)
+ printf %s\\n "$line"
+ ;;
+ *) continue ;;
+ esac
+ echo
+ echo '```'
+ cat "$R7_OUTPUTDIR/$6/$7/$8/output"
+ echo '```'
+ done
+}
+
html() {
+ _debug HTML
cat <<-eof
<!DOCTYPE html>
<html lang="en">
<nav>
<ul>
<li><a href="#Documentation">Documentation</a></li>
+ <li><a href="#Summary">Summary</a></li>
</ul>
</nav>
<main>
<section id="Documentation">
$(md README.md)
</section>
+ <section id="Summary">
+ $(_su | md)
+ </section>
</main>
<footer>
<p>r7</p>