GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
#include"typedef.h"1#include"getput.h"2#include"bravais.h"3#include"symm.h"456int INFO_LEVEL;7extern int SFLAG;89main (int argc, char *argv[])10{1112bravais_TYP *G,13*H;1415char comment[1000];1617read_header(argc, argv);18if ((FILEANZ != 1) || (is_option('h') && optionnumber('h') ==0)){19printf("Usage: %s 'file'\n",argv[0]);20printf("\n");21printf("file: bravais_TYP containing the finite unimodular group G.\n");22printf("\n");23printf("Calculates generators of the Bravais group B(G) of G. If \n");24printf("the space of G-invariant quadratic forms is given in 'file',\n");25printf("it relies on its correctness and echoes it in the \n");26printf("output. Otherwise it is calculated as well.\n");27printf("\n");28printf("Cf. Aut_grp (for forms without a group in file).\n");29if (is_option('h')){30exit(0);31}32else{33exit(31);34}35}3637INFO_LEVEL = optionnumber('h');38if (INFO_LEVEL & 12){39SFLAG = 1;40}4142G = get_bravais(FILENAMES[0]);4344H = bravais_group(G,FALSE);4546sprintf(comment,"bravais group to %s",FILENAMES[0]);47put_bravais(H,NULL,comment);4849free_bravais(G);50free_bravais(H);5152if (INFO_LEVEL & 12){53pointer_statistics(0,0);54}55exit(0);56}575859