#!/bin/tcsh set files = `echo "$*" | cut -d" " -f1 --complement` if ( $# < 2 ) then echo "$#" echo "Process a sed expression onto a set of files" echo "call me fix_l10n.sh " echo "e.g. fix_l10n.sh s/test/ivo/g *.sdf" echo "or fix_l10n.sh 's/abc/abcx $file.tmp mv $file.tmp $file end