#!/bin/sh for f in `find . -name '*.c' -print` do echo ================== $f `dirname $0`/instrument.c-file $f $$ mv $$ $f done