|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 308 (0x134)
Types: TextFile
Names: »hex2pe.c«
└─⟦3d0c2be1b⟧ Bits:30001254 ISODE-5.0 Tape
└─⟦eba4602b1⟧ »./isode-5.0.tar.Z«
└─⟦d3ac74d73⟧
└─⟦this⟧ »isode-5.0/psap/hex2pe.c«
# include <stdio.h>
main()
{
unsigned int i;
char buf[1];
register int result, count;
while ((result = scanf("%x", &i)) != EOF){
count++;
buf[0]=(char) i;
if (result) write(1, buf, 1);
else
{
fprintf(stderr,"Conversion failed at byte number %d\n", count);
exit(1);
}
}
exit(0);
}