#!/bin/sh
# Run in the synthetic project workspace in T3 Code's terminal drawer.
clear
while true; do
  printf '\nObserved UTC: '
  date -u +%T
  for f in child-log.txt child-log2.txt; do
    if test -f "$f"; then
      printf '%s lines=' "$f"
      wc -l < "$f"
      tail -n 1 "$f"
    fi
  done
  sleep 4
done
