NAME

nobaby

SYNOPSIS

nobaby [coord] [mod=] [rollover] [iso] [high]

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- reads the string as a coordinate string and prints it as a decimal. The high keyword can be used to add more significant figures to it.

mod= converts the number to its positive modulo.

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

iso - converts ISO 8601 time string to unix time in seconds. (Sort of useless).

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
Ephem index