dos33fsprogs/dos33fs-utils/char2hex.c
Vince Weaver 2305c15ee4 split up into subprojects
sorry anyone who was maintaining patches against this or had hardcoded
paths
2016-03-11 14:37:48 -05:00

18 lines
229 B
C

#include <stdio.h>
#include "version.h"
int main(int argc, char **argv) {
int input;
while(1) {
input=fgetc(stdin);
if (input==EOF) break;
printf("$%02X,",input|0x80);
}
return 0;
}