<commit_before>#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <glob.h>

int main(int argc, char **argv) {
	int i;
	glob_t g;

	g.gl_offs = 0;
	for (i = 0; i < argc; i++) {
		glob(argv[i], GLOB_DOOFFS | (i ? GLOB_APPEND : 0) | (strchr(argv[i], '*') ? 0 : GLOB_NOCHECK), NULL, &g);
	}

	return execvp(g.gl_pathv[0], g.gl_pathv+1);
}<commit_msg>improvement to glob, error messages<commit_after>#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <glob.h>

int main(int argc, char **argv) {
	int i;
	glob_t g;

	g.gl_offs = 0;
	for (i = 0; i < argc; i++) {
		glob(argv[i], GLOB_DOOFFS | (i ? GLOB_APPEND : 0) | (strchr(argv[i], '*') ? 0 : GLOB_NOCHECK), NULL, &g);
	}

	execvp(g.gl_pathv[0], g.gl_pathv+1);

	fprintf(stderr, "Error: could not execute %s\n", g.gl_pathv[0]);
	return 1;
}
{'fraction_non_alphanumeric': 0.20634920634920634, 'fraction_numerical': 0.017094017094017096, 'mean_word_length': 4.256410256410256, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3780683', 'n_tokens_mistral': 398, 'n_tokens_neox': 384, 'n_words': 88}