binary to intel hex script(linux/bash)

c3a cpm3aux 10101000000000000000

dos dosuart8250 10100001000000000000

elt elks ttyS0 10100010000000000000

lxt linux ttyS0 10100100000000000000

sil silversurfer C128 10100000001000000000

z8d z80dart generic 10010000000000000000

z8s Xerox 820 and BigBoard I 10000000110000000000

C128 CP/M with ACIAFIX 10100000000100000000

			FEATURE MAPPING
		FEATURE			BITS
                USESIMPLESLIP   10000000000000000000
                USEARCNET       01000000000000000000
                HAVE_RTC        00100000000000000000
                USEZ80DART      00010000000000000000
                USECPM3AUX      00001000000000000000
                USELINUXTTYS    00000100000000000000
                USEELKSTTYS     00000010000000000000
                USEDOSUART      00000001000000000000
                USEZ80SIO       00000000100000000000
                USECOM8116      00000000010000000000
                USESILVER       00000000001000000000
                USEACIAFIX      00000000000100000000
                RESERVED8       00000000000010000000
                RESERVED7       00000000000001000000
                RESERVED6       00000000000000100000
                RESERVED5       00000000000000010000
                RESERVED4       00000000000000001000
                RESERVED3       00000000000000000100
                RESERVED2       00000000000000000010
                RESERVED1       00000000000000000001