#!/bin/sh # @(#)do the command on all files on your id # (e.g. all grep -i ' subroutine' ) find . \( -name '*' -type f \) -exec $* {} \; exit