#!/bin/sh for file in `find ./wingsoft -type f -print` do strings $file | grep "Sorry" > /dev/null if [ $? = 0 ] then echo $file fi done