#!/bin/sh # src/tools/make_diff/cporig for FILE do if [ ! -f "$FILE.orig" ] then cp $FILE $FILE.orig else echo "$FILE.orig exists" 1>&2 fi done