If you use bconce for each number, that will be slow. Can you organize the delivery of data to a file and data entry at a time?
, input.txt:
$ ( echo 'obase=2;ibase=16;'; cat input.txt ) | bc | paste input.txt - > output.txt
$ ( echo 'obase=16;ibase=2;'; cat input.txt ) | bc | paste input.txt - > output.txt
output.txt.
paste ,
07 111
1A 11010
20 100000
2B 101011
35 110101
80 10000000
FF 11111111
.
, , :
$ ( echo 'obase=2;ibase=16;'; cat input.txt ) | bc > output.txt
, , , ibase, obase, .
gclswceap1d-mc48191-CRENG_DEV [/home/mc48191/scratch]