"Can't do inplace edit: . is not a regular file." #### find . -name "*.c" > tomodify.txt if [ -s tomodify.txt ] then cat tomodify.txt | xargs perl -pi.bak -e 's/name1/name2/' $1 fi #### Can you pl. help me?