diff options
author | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
---|---|---|
committer | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
commit | 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch) | |
tree | 4464880c571602d54f6ae114729bf62a89518057 /math/slalib/sedscript | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'math/slalib/sedscript')
-rwxr-xr-x | math/slalib/sedscript | 17 |
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 |