echo '# Cloned from gildas-env.sh, but replacing "gildas" with "imager" to avoid name collisions.' > test-env.sh
cat gildas-env.sh >> test-env.sh
sed -i '' -e 's/gildas-/imager-/g' test-env.sh
sed -i '' -e 's/GILDAS/IMAGER/g' test-env.sh
sed -i '' -e 's/J. Pety <pety@iram.fr>/S. Guilloteau <stephane.guilloteau@u-bordeaux.fr/g' test-env.sh
sed -i '' -e 's#http://www.iram.fr/IRAMFR/IMAGER>#https://imager.oasu.u-bordeaux.fr>#g' test-env.sh
