aboutsummaryrefslogtreecommitdiff
path: root/math/slalib/sedscript
blob: 046d7e1d89d74140037d8e1e4286aa28d80db9f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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