require_prog script
#### FreeBSD script, e.g., doesn't use -c to identify a command to run.
if script -c 'echo OK' /dev/null 2>&1 | egrep 'OK' >/dev/null; then
require_prog script
#### FreeBSD script, e.g., doesn't use -c to identify a command to run.
if script -c 'echo OK' /dev/null 2>&1 | egrep 'OK' >/dev/null; then