#!/usr/bin/ksh
cd ${1}
grep -l "^#!$(whence ksh)$" *

