Print Ra,Dec in sexigecimal format given floating point values (in units of hours,degrees or degrees,degrees). To do the inverse operation use the script cdsex.
% sexcd --help Help Information for: sexcd Usage: sexcd 12.0101 24.533470 hd arg1 - RA float in hours or degrees arg2 - DEC float in degrees arg3 - hd (hours,degrees) or dd (degrees,degrees) I will show: /home/sco/sco/codes/bash/HELP_FILES/sexcd.help sexcd: Print Ra,SDec in sexigecimal format given floating point values (RA can be in units of hours or degrees). Examples: % sexcd 167.292123 23.997431 dd 11:09:10.1088 +23:59:50.7516 % sexcd 11.152808 23.997431 hd 11:09:10.1088 +23:59:50.7516 % sexcd 167.292123 23.997431 BB ERROR: arg3 must be "hd" or "dd"