NAME

tobaby

SYNOPSIS

tobaby [coord]

DESCRIPTION

This program reads stdin and converts any fields containing number in decimal to babylonian (sexagesimal) format like 12:34:5.6 to All other fields are passed through without change, except that multiple whitespace characters are converted to single spaces.

coord-treats the first keyword as a Right Ascension and converts degrees --> HH:MM:SS and the second field as declination and converts decimal degrees --> DD:MM:SS and passes through other fields unscathed.

Example:
echo 179.910667 33.129167 2006.826 5.96 | tobaby 
11:59:38.6 33:07:45.0 2006.826 5.96

SEE ALSO

nobaby
Program index