All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

changeall.csh 275 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/bin/csh -v -x
echo "Replacing $1 with $2 in all files in 3 seconds"
sleep 3
foreach file (*.php3)
  echo "Processing $file"
  set str = "s/$1/$2/g;print;"
  perl -ne $str < $file > .my_tmp
  echo "Okay? (2 sec)"
  sleep 2
  cp .my_tmp $file
  rm .my_tmp
end
echo "Done."