check if line only contains tab or spaces
        int i = 0
        while (i; i < strlen(line); i++) {
            if (line[i] == ' ' || line[i] == '\t') {
                break;
            }
        }