int main(int argc, char *const *argv)
{
+ printf("%s\n", bregexp_build_where("/tmp", NULL, ".old"));
+ exit(0);
+
+
regex_t preg;
char prbuf[500];
char *fname = NULL;
while (fgets(data, sizeof(data)-1, fd)) {
strip_trailing_newline(data);
- p = apply_bregexps(data, list);
+ apply_bregexps(data, list, &p);
printf("%s => %s\n", data, p);
}
fclose(fd);