summaryrefslogtreecommitdiffstats
path: root/usr.bin/grep
diff options
context:
space:
mode:
authorgabor <gabor@FreeBSD.org>2010-07-23 17:42:42 +0000
committergabor <gabor@FreeBSD.org>2010-07-23 17:42:42 +0000
commit92f99daeffe4f73fed09853e5a4a3a49cca23f76 (patch)
tree20d1aa90ceb2cd26847b5b2e53f447b721fd5edd /usr.bin/grep
parent50e1a73d601b113e166d994bff65fb997f547c7e (diff)
downloadFreeBSD-src-92f99daeffe4f73fed09853e5a4a3a49cca23f76.zip
FreeBSD-src-92f99daeffe4f73fed09853e5a4a3a49cca23f76.tar.gz
- Add Russian catalog [1]
- Fix two minor nits in manpage [2] - style.Makefile(5) Submitted by: pluknet <pluknet at gmail.com> [1], Alex Kozlov <spam@rm-rf.kiev.ua> [2] Reviewed by: delphij
Diffstat (limited to 'usr.bin/grep')
-rw-r--r--usr.bin/grep/grep.14
-rw-r--r--usr.bin/grep/nls/Makefile.inc5
-rw-r--r--usr.bin/grep/nls/ru_RU.KOI8-R.msg14
3 files changed, 19 insertions, 4 deletions
diff --git a/usr.bin/grep/grep.1 b/usr.bin/grep/grep.1
index 67bee44..1f96a3e 100644
--- a/usr.bin/grep/grep.1
+++ b/usr.bin/grep/grep.1
@@ -29,7 +29,7 @@
.\"
.\" @(#)grep.1 8.3 (Berkeley) 4/18/94
.\"
-.Dd 19 September, 2009
+.Dd September 19, 2009
.Dt GREP 1
.Os
.Sh NAME
@@ -374,7 +374,7 @@ and block buffered otherwise.
.Pp
.El
If no file arguments are specified, the standard input is used.
-.Sh RETURN VALUES
+.Sh EXIT STATUS
The
.Nm grep
utility exits with one of the following values:
diff --git a/usr.bin/grep/nls/Makefile.inc b/usr.bin/grep/nls/Makefile.inc
index c32dacb..20cae02 100644
--- a/usr.bin/grep/nls/Makefile.inc
+++ b/usr.bin/grep/nls/Makefile.inc
@@ -1,12 +1,13 @@
# $FreeBSD$
-NLSNAME= grep
+NLSNAME= grep
NLS= es_ES.ISO8859-1
NLS+= gl_ES.ISO8859-1
NLS+= hu_HU.ISO8859-2
NLS+= pt_BR.ISO8859-1
+NLS+= ru_RU.KOI8-R
-NLSSRCDIR= ${.CURDIR}/nls
+NLSSRCDIR= ${.CURDIR}/nls
.for lang in ${NLS}
NLSSRCFILES_${lang}=${lang}.msg
.endfor
diff --git a/usr.bin/grep/nls/ru_RU.KOI8-R.msg b/usr.bin/grep/nls/ru_RU.KOI8-R.msg
new file mode 100644
index 0000000..3d153d2
--- /dev/null
+++ b/usr.bin/grep/nls/ru_RU.KOI8-R.msg
@@ -0,0 +1,14 @@
+$ $FreeBSD$
+$
+$set 1
+$quote "
+1 "(стандартный ввод)"
+2 "не могу прочитать сжатый в bzip2 файл"
+3 "неизвестный ключ --color"
+4 "использование: %s [-abcDEFGHhIiJLlmnOoPqRSsUVvwxZ] [-A чис] [-B чис] [-C[чис]]\n"
+5 "\t[-e шаблон] [-f файл] [--binary-files=значение] [--color=когда]\n"
+6 "\t[--context[=чис]] [--directories=действие] [--label] [--line-buffered]\n"
+7 "\t[--null] [шаблон] [файл ...]\n"
+8 "неизвестный ключ --binary-files"
+9 "двоичный файл %s совпадает\n"
+10 "%s (BSD grep) %s\n"
OpenPOWER on IntegriCloud