aboutsummaryrefslogtreecommitdiff
path: root/utils/h48_to_lst.c
blob: d06694bf30f04e7c505bc2c2964be1910e278442 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <stdio.h>
#include <inttypes.h>
#include <stdbool.h>

#include "../src/cube.h"

#define STRLENMAX 1000

int main(void) {
	char str[STRLENMAX];
	cube_t cube;

	fgets(str, STRLENMAX, stdin);
	cube = readcube("H48", str);
	writecube("LST", cube, str);
	fputs(str, stdout);

	return 0;
}

Generated with cgit - Back to sebastiano.tronto.net