aboutsummaryrefslogtreecommitdiff
path: root/math/slalib/sedscript
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /math/slalib/sedscript
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'math/slalib/sedscript')
-rwxr-xr-xmath/slalib/sedscript17
1 files changed, 17 insertions, 0 deletions
diff --git a/math/slalib/sedscript b/math/slalib/sedscript
new file mode 100755
index 00000000..046d7e1d
--- /dev/null
+++ b/math/slalib/sedscript
@@ -0,0 +1,17 @@
+#!/bin/csh
+
+# SEDSCRIPT -- Script for editing/renaming the SLALIB FORTRAN routines
+
+# Make the appropriate name changes and add IRAF copyright
+foreach file (*.f)
+ echo $file
+ sed -f SED1 $file > tempfile.f
+ rm $file
+ mv tempfile.f $file
+ sed -f SED2 $file > tempfile.f
+ rm $file
+ mv tempfile.f $file
+end
+
+# Restore IRAF version of the preces.f file from a save version.
+cp precss.f.sav precss.f