aboutsummaryrefslogtreecommitdiff
path: root/math/slalib/sedscript
diff options
context:
space:
mode:
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