Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2008 15:24:21 GMT
From:      Gabor Kovesdan <gabor@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 145815 for review
Message-ID:  <200807241524.m6OFOLvo067741@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=145815

Change 145815 by gabor@gabor_server on 2008/07/24 15:23:38

	- Arrange catalogues

Affected files ...

.. //depot/projects/soc2008/gabor_textproc/grep/grep.c#71 edit
.. //depot/projects/soc2008/gabor_textproc/grep/nls/C.msg#6 edit
.. //depot/projects/soc2008/gabor_textproc/grep/nls/hu_HU.ISO8859-2.msg#5 edit

Differences ...

==== //depot/projects/soc2008/gabor_textproc/grep/grep.c#71 (text+ko) ====

@@ -78,7 +78,10 @@
 /*13*/	"value out of range",
 /*14*/	"unknown -d or --directory option",
 /*15*/	"unknown --color option",
-/*16*/	"cannot read bzip2 compressed file"
+/*16*/	"cannot read bzip2 compressed file",
+/*17*/	"PCRE is not enabled in this version of grep. "
+	"To enable this feature, please install libpcre and"
+	"recompile grep with WITH_PCRE set."
 };
 
 /* Flags passed to regcomp() and regexec() */
@@ -579,9 +582,7 @@
 		break;
 	case GREP_PERL:
 #ifndef WITH_PCRE
-		errx(2, "PCRE is not enabled in this version of grep."
-			"To enable this feature, please install libpcre and"
-			"recompile grep with WITH_PCRE set.");
+		errx(2, getstr(17));
 #endif
 		break;
 	default:

==== //depot/projects/soc2008/gabor_textproc/grep/nls/C.msg#6 (text+ko) ====

@@ -18,3 +18,4 @@
 14 "unknown -d or --directory option"
 15 "unknown --color option"
 16 "cannot read bzip2 compressed file"
+17 "PCRE is not enabled in this version of grep. To enable this feature, please install libpcre and recompile grep with WITH_PCRE set."

==== //depot/projects/soc2008/gabor_textproc/grep/nls/hu_HU.ISO8859-2.msg#5 (text+ko) ====

@@ -18,3 +18,4 @@
 14 "ismeretlen -d vagy --directory opció"
 15 "ismeretlen --color opció"
 16 "bzip2 tömörített fájl nem olvasható"
+17 "A PCRE nem aktivált a grep ezen verziójában. A funkció aktiválásához kérjük telepítse a libpcre könyvtárat és fordítsa újra a grep programot a WITH_PCRE opcióval."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807241524.m6OFOLvo067741>