#!/usr/bin/env bash set -euo pipefail set +m # no job-control notices ("Killed") in the captured transcript cd "$(dirname "$0")/.." source scripts/env.sh { echo "== versions ==" java -version 2>&1 | clean echo echo "spring-boot-starter-parent: $(grep -A2 'spring-boot-starter-parent' pom.xml | grep '' | sed 's/.*\(.*\)<\/version>.*/\1/')" } > docs/output/00-versions.txt 2>&1 cat docs/output/00-versions.txt