above_the_waters/missing.sh

10 lines
159 B
Bash

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