#!/bin/sh
# Output redaction affects display only; the child command environment is untouched.
{
  printf '%s\n' '--- inherited environment (unset variables print no line) ---'
  printenv APPDIR APPIMAGE ARGV0 OWD LD_LIBRARY_PATH PATH XDG_DATA_DIRS GSETTINGS_SCHEMA_DIR
  printf '%s\n' '--- notify-send --version ---'
  notify-send --version
  printf 'notify-send exit: %s\n' "$?"
  printf 'provider override: '
  printenv T3_ENV_PROOF
} 2>&1 | sed -E 's@/home/[^: ;]+@<user-path>@g; s@/tmp/factory[^: ;]+@<isolated-path>@g'
