c
bool is_tab_separator(const char* col_sep_string) {
    if (col_sep_string == NULL || *col_sep_string == '\0') {
        return false;
    }
    return *col_sep_string == '\t';
}

if (!join_lines && is_tab_separator(col_sep_string)) {
    // ...
}
