a44421a79fb36cc2036fe116b97ea3bc9590cd0c braney Fri Dec 2 09:34:39 2011 -0800 removed rcsid (#295) diff --git src/utils/jimgrep/jimgrep.c src/utils/jimgrep/jimgrep.c old mode 100755 new mode 100644 index 3bd0626..e830a9f --- src/utils/jimgrep/jimgrep.c +++ src/utils/jimgrep/jimgrep.c @@ -1,150 +1,149 @@ /* Jim grep - crude approximation of grep. */ #include "common.h" #include -static char const rcsid[] = "$Id: jimgrep.c,v 1.2 2003/05/06 07:41:07 kate Exp $"; _inline toUp(char c) { if (isalpha(c)) c |= 0x20; return c; } char *findInString(const char *string, const char *pattern) /* Return first occurrence of pattern in string. * (Ignores case) */ { char c1 = toUp(*pattern++); int patSize = strlen(pattern); char c; while ((c = *string++) != 0) { if (c1 == toUp(c)) { int i; for (i=0; i