$ cat Makefile
clean:
find . -print0 | grep -z pattern | tee >\(tr '\0' '\n' > /dev/tty\) | xargs -0 rm
$ make clean
/bin/sh: /dev/tty): Permission denied
Previous question:
How can I display intermediate pipeline results for NUL-separated data?