[net.astro] Planet.c program

fred@inuxe.UUCP (Fred Mendenhall) (12/10/85)

*** REPLACE THIS LINE WITH YOUR MESSAGE ***

I'm sorry to use the net like this but several people have
sent me mail asking about planet.c and I can't seem to get
responce back to them.

Planet.c is a program that I posted to net.sources about 
a month ago. It is written in C and runs fine on our VAX
machines. The program ask for the time and date and timezone
and will tell you  the position of the Sun and the inner
planets in terms of the epoch of the supplied date. I'm
still working on the outer planets, should be done 1Q86.

I personally run the following shell script to feed the
system time and date into the program to find the "present"
positions.

day=`date '+%d'`
month=`date '+%m'`
year=19`date '+%y'`
time=`date '+%H%M'`
echo $month >> temp
echo $day >> temp
echo $year >>temp
echo $time >> temp
# now input time zone code for EST
echo 1 >> temp
SS < temp
rm temp
# SS is the complied run file from the planet.c source code


************************************************************

				inuxe!fred