The size field for non-stellar objects in the starchart databases contains the size of the object in seconds of arc encoded to two significant figures as two characters, up to a diameter of 89000 seconds, or 24.7 degrees, which is encoded as `Z9'.
This program is intended to facilitate the encoding. The sizes of several objects may be included in the command line, the encoded sizes are sent to the standard output. The first argument may be used to control the meaning of the succeding arguments. A `d' means that the corresponding argument is the size in degrees, a `m' represents minutes, and `s' represents seconds. These may be combined up to three letters. That is, `-dm' means that the following arguments should be taken in pairs, with the first being the degree component of the size, and the second the minutes.
When the command line arguments have been exhausted, numbers are read from the standard input.