Date: Fri, 20 Jun 2008 19:07:10 GMT From: Gabor Kovesdan <gabor@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 143832 for review Message-ID: <200806201907.m5KJ7ATx066552@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=143832 Change 143832 by gabor@gabor_server on 2008/06/20 19:06:44 - Add some commented out work-in-progress Affected files ... .. //depot/projects/soc2008/gabor_textproc/grep/grep.c#31 edit Differences ... ==== //depot/projects/soc2008/gabor_textproc/grep/grep.c#31 (text+ko) ==== @@ -238,6 +238,11 @@ strlcpy(&(ptr[1]), &(ptr[2]), strlen(ptr)); st = ptr; } + st = pat; +/* XXX + while ((ptr = strstr(st, "{1")) != NULL && (strstr(st, "\\{1") != (ptr - 1))) { + st = ptr; + } */ if (Eflag) { st = pat; lbr = 0; @@ -258,7 +263,7 @@ } } -// printf("PAT %s\n", pat); +/// printf("PAT %s\n", pat); /* Work-around to allow * at the beginning of the regexp */ while (pat[0] == '*')
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806201907.m5KJ7ATx066552>