#!/bin/sh
cd scenes
for i in *
do
for target in $(egrep '>' "$i" | sed -E 's/^> *([^ ]+) +.*$/\1/')
test -e "$target.text" || echo "$target"
done