1 2 3 4 5 6
FILES="configure io/ftwtest-sh" for i in $FILES ; do sed -e "s^@PWD@^pwd^g" < $i > $i.new mv $i.new $i chmod +x $i done