/usr/share/dh-exec/dh-exec-strip-output is in dh-exec 0.23.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 | #! /usr/bin/perl -wnp
##
## This script removes commented and empty (or whitespace-only) lines
## from its input.
$_ = "" if /^\#|^\s*$/;
|