#!/usr/bin/env bash # Regenerates the dialog inventory of the new console. The figures in the review # plan come from here, not from anyone's memory. # # dev/dialog-inventory.sh table per file # dev/dialog-inventory.sh titulos plus the title of each dialog set -euo pipefail cd "$(dirname "$0")/../src" tot_d=0; tot_c=0 printf '%-3s %-3s %s\n' D C FILE while read -r f; do d=$(grep -c '): $tot_d in $(grep -rl '): $tot_c in $(grep -rl '