aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/grep/files/patch-ad
blob: 12605879194979c4fb84079ad3381189bde05d0b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- grep.c.orig Mon Feb 12 03:52:11 2001
+++ grep.c  Mon Feb 12 03:57:30 2001
@@ -832,7 +832,7 @@
       usage();
 
   if (!matcher)
-    matcher = prog;
+    matcher = prog[0] == 'j' ? prog + 1 : prog;
 
   if (!setmatcher(matcher) && !setmatcher("default"))
     abort();