elong

The elong program tells you the angle (elongation) between two points in the sky, given the right ascension and declination of each.

I wrote the program.

The elong program has these options:

Usage:  elong ra1 dec1 ra2 dec2
        ra  format: Hh or HhMm or HhMmSs (any can be decimals)
        dec format: Do or DoM' or DoM'S" (any can be decimals)
                with optional + or - before the degs
Example:
        elong 3h12 14o7 7h33 -27o5
and it tells you
angle = 75.495733 degrees = 75o 29' 45"