bug report 4.2BSD/bin/169
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Tue, 5 May 1987 07:16:29 +0000 (23:16 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Tue, 5 May 1987 07:16:29 +0000 (23:16 -0800)
SCCS-vsn: old/refer/hunt/hunt8.c 4.3

usr/src/old/refer/hunt/hunt8.c

index b7a2dbc..8aa9568 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef lint
 #ifndef lint
-static char *sccsid = "@(#)hunt8.c     4.2 (Berkeley) %G%";
+static char *sccsid = "@(#)hunt8.c     4.3 (Berkeley) %G%";
 #endif
 
 #include <stdio.h>
 #endif
 
 #include <stdio.h>
@@ -13,7 +13,7 @@ char *s;
 {
        /* make a file suitable for fgrep */
        char tmp[200];
 {
        /* make a file suitable for fgrep */
        char tmp[200];
-       sprintf(tmp, "/usr/lib/refer/mkey %s >%s.ig", s,s);
+       sprintf(tmp, "/usr/lib/refer/mkey '%s' > '%s.ig'", s,s);
        system(tmp);
 }
 
        system(tmp);
 }