NAME

nobaby

SYNOPSIS

nobaby [coord] [mod=] [rollover]

DESCRIPTION

This program reads stdin and converts any fields containing number in babylonian (sexagesimal) format like 12:34:5.6 to decimal (i.e. contains colons). 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 HH:MM:SS --> decimal degrees. The second keyword is treated as Declination and converts DD:MM:SS --> decimal degrees. All other fields pass through unscathed.

mod= converts the number to its positive modulo.

rollover converts increasing hours to total hours by adding 24 each time there is a backstep.

EXAMPLES

echo 12:12:33 44:44:44  4.5 gamma globulin | nobaby
12.209167 44.745556 4.5 gamma globulin 

bright ra=14 dec=23 | nobaby coord
ra=209.6620 dec=21.6959 equinox=2000.000 epoch=2020.283 name=5255 cat=yale mode=astrometric mag=5.76 dist=1.34 

SEE ALSO

tobaby
Program index