Update GNU grep to 2.4
This commit is contained in:
parent
c0541f24c2
commit
63737a9697
|
@ -1,3 +1,409 @@
|
|||
1999-11-18 Paul Eggert
|
||||
|
||||
* m4/largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a
|
||||
problem with the QNX 4.25 shell, which doesn't propagate exit
|
||||
status of failed commands inside shell assignments.
|
||||
|
||||
1999-11-13 Eli Zaretskii
|
||||
|
||||
* doc/grep.texi: Minor markup and spelling corrections. Use
|
||||
@noindent where appropriate.
|
||||
|
||||
* PATCHES-{AM,AC}: rename to PATCHES.{AM,AC}
|
||||
|
||||
1999-11-12 Eli Zaretskii
|
||||
|
||||
doc/grep.texi: Minor fixes and typos corrected.
|
||||
djgpp/README: Updated version.
|
||||
|
||||
1999-11-07 Paul Eggert
|
||||
|
||||
* src/grep.c (usage): Fix misspelling.
|
||||
|
||||
1999-11-07 Paul Eggert
|
||||
|
||||
Don't assume that the C library has re_set_syntax and friends.
|
||||
* src/Makefile.am (base_sources): Add regex.c, regex.h.
|
||||
(EXTRA_DIST): Remove regex.c, regex.h.
|
||||
|
||||
* src/grep.c (prtext): Use out_quiet, not not_text, to decide
|
||||
whether to set pending to zero at the end.
|
||||
(not_text): Remove static variable, undoing latest change.
|
||||
(grep): Likewise.
|
||||
|
||||
* doc/grep.texi: Tighten up the text, and fix some minor
|
||||
spelling and usage errors. Use @enumerate rather than @table
|
||||
@samp, since it's better for Q&A format. Add cross
|
||||
references.
|
||||
|
||||
1999-11-01 Alain Magloire
|
||||
|
||||
* src/search.c: Use the more portable [[:alnum:]]
|
||||
to define a word instead of Ascii dependent [0-9A-Za-z]
|
||||
* src/grep.c: make not_text global to not display text when
|
||||
the context switches -A/-B/-C are use on binary files.
|
||||
* make grep-2.3g available for testing.
|
||||
* configure.in: drop support for --without-included-regex.
|
||||
This was generating bogus bug reports, since many GNU/Linux
|
||||
users have different version of glibc. And glibc maintainers
|
||||
decided to drop k&r support.
|
||||
|
||||
1999-11-01 Arnold D. Robbins
|
||||
|
||||
* regex.c (init_syntax_once): move below definition of
|
||||
ISALNUM etc., then use ISALNUM to init the table, so that
|
||||
the word ops will work if i18n'ed.
|
||||
(SYNTAX): And subscript with 0xFF for Latin-1 characters.
|
||||
|
||||
1999-10-26 Alain Magloire
|
||||
|
||||
* src/regex.c: Merge changes from GNU lib C.
|
||||
* Updated the *.po files
|
||||
|
||||
1999-10-26 Paul Eggert
|
||||
|
||||
* src/grep.c (fillbuf): Don't report buffer size overflow if
|
||||
newalloc == save and maxalloc == save. This can happen
|
||||
e.g. when reading a large page-aligned file that contains
|
||||
no newlines.
|
||||
|
||||
1999-10-21 Paul Eggert
|
||||
|
||||
* src/grep.c (usage): Give example. Clarify -F.
|
||||
Explain exit status more clearly.
|
||||
|
||||
1999-10-12 Paul Eggert
|
||||
|
||||
* doc/grep.texi: Shorten the commentary about egrep and {.
|
||||
"BSD grep" -> "traditional grep".
|
||||
* doc/grep.1: Match recent changes to grep.texi.
|
||||
|
||||
1999-10-11 Paul Eggert
|
||||
|
||||
* NEWS, doc/grep.1, doc/grep.texi: New option --mmap.
|
||||
* src/grep.c (mmap_option): New variable.
|
||||
(long_options, reset, usage): Add --mmap.
|
||||
Default is now read, not mmap.
|
||||
|
||||
* doc/grep.1: Document -Z or --null.
|
||||
|
||||
1999-10-11 Paul Eggert
|
||||
|
||||
* doc/grep.texi: Fix texinfo glitches. POSIX -> POSIX.2 where
|
||||
appropriate.
|
||||
|
||||
1999-10-11 Paul Eggert
|
||||
|
||||
* acconfig.h (ssize_t): New #undef.
|
||||
|
||||
* configure.in (AC_CHECK_TYPE): Add ssize_t.
|
||||
|
||||
* src/grep.c (PREFERRED_SAVE_FACTOR): New macro.
|
||||
(reset): If the buffer has already been allocated, set bufsalloc to
|
||||
be bufalloc / PREFERRED_SAVE_FACTOR. This avoids problems when
|
||||
bufsalloc == bufalloc (possible after reading a large binary file).
|
||||
(reset): Use PREFERRED_SAVE_FACTOR instead of magic constant.
|
||||
Do not set bufbeg; nobody uses it.
|
||||
Always set buflim.
|
||||
Check for lseek error.
|
||||
Use SEEK_CUR, not a magic constant.
|
||||
(fillbuf): Return an error indication, not a count.
|
||||
All callers changed.
|
||||
Do not assume ssize_t fits in int.
|
||||
Use PREFERRED_SAVE_FACTOR instead of magic constant.
|
||||
Clean up mmap code.
|
||||
Do not attempt to mmap zero bytes.
|
||||
Check for lseek error.
|
||||
Use SEEK_SET, not a magic constant.
|
||||
Work correctly if read is interrupted.
|
||||
(grepfile): Work correctly if open or close is interrupted.
|
||||
|
||||
* src/system.h (SEEK_SET, SEEK_CUR): New macros.
|
||||
|
||||
1999-10-02 Alain Magloire
|
||||
|
||||
* src/regex.[ch]: upgrade from GNU lib C source tree.
|
||||
|
||||
* make beta 2.3f available.
|
||||
|
||||
1999-10-02 Paul Eggert
|
||||
|
||||
* NEWS: egrep is now equivalent to `grep -E'.
|
||||
The lower bound of an interval is not optional.
|
||||
You can specify a matcher multiple types without error.
|
||||
-u and -U are now allowed on non-DOS hosts, and have no effect.
|
||||
* doc/grep.texi: Likewise.
|
||||
* doc/grep.1: Likewise.
|
||||
Fix some troff bugs that prevented `groff' from rendering the page.
|
||||
|
||||
* src/egrepmat.c, src/fgrepmat.c, src/grepmat.c (default_matcher):
|
||||
Remove.
|
||||
(matcher): Add.
|
||||
* src/grep.h (default_matcher): Remove.
|
||||
(matcher): Now exported from ?grepmat.c, not grep.c.
|
||||
|
||||
* src/dfa.c (lex): If { would start an invalid interval specification,
|
||||
treat it as a normal character.
|
||||
Remove (broken) support for {,M} meaning {0,M}.
|
||||
Diagnose bogus intervals like {1,0}.
|
||||
(closure): maxrep is now -1 to indicate no limit, not zero;
|
||||
zero is a valid value for maxrep, meaning an upper bound of zero.
|
||||
|
||||
* src/grep.c (short_options): New constant.
|
||||
(long_options, main): -u and -U are now supported on Unix,
|
||||
with no effect.
|
||||
(matcher): Removed; now defined by ?grepmat.c.
|
||||
(install_matcher): Renamed from setmatcher.
|
||||
(setmatcher): New function.
|
||||
(usage): Report new, more uniform option scheme.
|
||||
(main): Do not initialize matcher; ?grepmat.c now does this.
|
||||
Rely on setmatcher to catch matcher conflicts.
|
||||
Default matcher is "grep".
|
||||
|
||||
* src/search.c (matchers):
|
||||
Remove "posix-egrep" matcher; no longer needed.
|
||||
(Ecompile): Likewise.
|
||||
The egrep matcher now has POSIX behavior.
|
||||
|
||||
* tests/bre.tests: grep '\{' is no longer an error.
|
||||
Fix test for interval too large, and enable it.
|
||||
* tests/ere.tests: grep -E {1 is no longer an error
|
||||
Likewise for a{1, a{1a, a{1a}, a{1,x}.
|
||||
|
||||
1999-09-22 Paul Eggert
|
||||
|
||||
* largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around GCC
|
||||
2.95.1 bug with HP-UX 10.20.
|
||||
|
||||
1999-09-12 Paul Eggert
|
||||
|
||||
* src/grep.c (fillbuf): Fix typo: we sometimes reported
|
||||
arithmetic overflow even when there wasn't any.
|
||||
|
||||
1999-09-12 Paul Eggert
|
||||
|
||||
* configure.in (AC_CHECK_FUNCS): Add memmove.
|
||||
|
||||
* src/system.h (S_ISREG): New macro.
|
||||
(memmove): Define if ! defined HAVE_MEMMOVE && ! defined memmove,
|
||||
not if !defined STDC_HEADERS. This is needed for SunOS 4.1.4,
|
||||
which defines STDC_HEADERS but lacks memmove.
|
||||
|
||||
* src/grep.c (bufoffset): Needed even if !defined HAVE_MMAP.
|
||||
(reset): Always fstat the file, since we always need its size if it is
|
||||
regular.
|
||||
Similarly, get the buffer offset of every regular file.
|
||||
Set bufmapped to 0 if the file's initial offset is not a multiple
|
||||
of the page size.
|
||||
(fillbuf): Calculate an upper bound on how much memory we should
|
||||
allocate only for regular files, since we don't know the sizes of
|
||||
other files.
|
||||
Don't bother to check whether the file offset is a multiple of the page
|
||||
size, since we now do that just once in `reset'.
|
||||
When an mmapped area would fall past the end of the file, trim it to
|
||||
just before instead of giving up immediately and doing a `read';
|
||||
that avoids a worst-case behavior that could read half an mmapped file.
|
||||
Fix bug when computing offsets on hosts that don't have mmap.
|
||||
|
||||
1999-08-27 Paul Eggert
|
||||
|
||||
* src/system.h (memmove): New macro.
|
||||
|
||||
* src/grep.c (page_alloc): Reallocate the old buffer instead
|
||||
of having both old and new buffers active simultaneously.
|
||||
Remove valloc debugging variant, which no longer applies.
|
||||
|
||||
(fillbuf): Rejigger the buffer allocation mechanism. The old
|
||||
mechanism could allocate more than 10*N bytes for an N-byte
|
||||
file, which was excessive. Check for arithmetic overflow a
|
||||
bit more carefully.
|
||||
|
||||
1999-08-25 Paul Eggert
|
||||
|
||||
* src/grep.c (grepdir):
|
||||
Don't assume that st_ino and st_dev must be integers;
|
||||
POSIX.1 allows them to be floating-point (!).
|
||||
|
||||
* src/vms_fab.h (arr_ptr): `:' -> `;' to fix typo.
|
||||
|
||||
1999-08-18 Alain Magloire
|
||||
|
||||
* 2.3e snapshot.
|
||||
|
||||
1999-08-18 Alain Magloire
|
||||
|
||||
* src/search.c: On a CRAY J90 system running UNICOS 8.0.
|
||||
Compilation of ./src/search.c failed because the declaration of
|
||||
the variable "regex":
|
||||
static struct re_pattern_buffer regex;
|
||||
conflicted with a previous declaration search.c #includes "system.h",
|
||||
which #includes <stdlib.h>, which declares :
|
||||
extern char *regex __((char *_Re, char *_Subject, ...));
|
||||
The declaration in search.c is local to that one source file.
|
||||
I just changed its name to something less likely to conflict.
|
||||
(I called it "regexbuf", but you could pick any name you want.)
|
||||
Excerpt email from Dean Kopesky.
|
||||
|
||||
1999-08-16 Paul Eggert
|
||||
|
||||
Upgrade large-file support to the version used in tar and
|
||||
textutils.
|
||||
|
||||
* Makefile.am (ACLOCAL_AMFLAGS): Define to be empty.
|
||||
(M4DIR, ACINCLUDE_INPUTS): New macros.
|
||||
($(srcdir)/acinclude.m4): New rule.
|
||||
|
||||
* configure.in (AC_CANONICAL_HOST, AM_C_PROTOTYPES): Add.
|
||||
(AC_SYS_LARGEFILE): Renamed from AC_LFS, for compatibility
|
||||
with what should appear in the next autoconf release.
|
||||
|
||||
* m4/largefile.m4: Renamed from m4/lfs.m4.
|
||||
|
||||
* src/ansi2knr.1, src/ansi2knr.c, config.guess, config.sub:
|
||||
New files. config.guess and config.sub ar needed by the new
|
||||
AC_SYS_LARGEFILE. ansi2knr is needed by AM_C_PROTOTYPES,
|
||||
which in turn is needed by the new AC_SYS_LARGEFILE.
|
||||
|
||||
1999-08-16 Alain Magloire
|
||||
|
||||
* 2.3d snapshot on ftp server.
|
||||
|
||||
1999-07-26 Paul Eggert
|
||||
|
||||
Several GNU tools have options to process arbitrary file names, even
|
||||
file names that contain newline characters. These include `find
|
||||
-print0', `perl -0', `sort -z', and `xargs -0'. It'd be handy if GNU
|
||||
grep also processed such file names. Here's a proposed patch to do
|
||||
this, relative to grep 2.3c. This patch introduces two options, one
|
||||
for the data, and one for the file names. (Sometimes one wants
|
||||
null-terminated file names in the output, and sometimes one wants to
|
||||
process lists of null-terminated strings, and these are orthogonal
|
||||
axes.)
|
||||
|
||||
* NEWS, doc/grep.texi: New -z or --null-data and -Z or --null options.
|
||||
* src/grep.c (long_options, usage, main): Likewise.
|
||||
|
||||
* src/dfa.h (dfasyntax): New eol parameter.
|
||||
* src/dfa.c (eolbyte): New var.
|
||||
(dfasyntax): Set it from new parameter.
|
||||
(lex, dfastat, build_state, dfaexec): Use it instead of '\n'.
|
||||
|
||||
* src/grep.h (eolbyte): New decl.
|
||||
* src/grep.c (eolbyte): New var.
|
||||
(nlscan, prpending, prtext, grepbuf, grep): Use it instead of '\n'.
|
||||
(filename_mask): New var.
|
||||
(prline, grepfile): Output NUL separator if filename_mask is zero.
|
||||
(grep): Look for '\200' as the hallmark of a binary file, not '\0',
|
||||
if -z or --null-data is specified, since it implies that '\0' is
|
||||
expected as text.
|
||||
|
||||
* src/search.c (Gcompile, Ecompile): Pass eolbyte to dfasyntax.
|
||||
(EGexecute, Fexecute): Use eolbyte instead of '\n'.
|
||||
|
||||
1999-06-15 Alain Magloire
|
||||
|
||||
* src/grep.c, doc/grep{1,texi} :
|
||||
--revert-match should be --invert-match.
|
||||
Correction proposed by Karl Berry.
|
||||
|
||||
1999-06-12 Alain Magloire
|
||||
|
||||
* doc/grep.{1,texi}: add description for --with-filename.
|
||||
Noted missing by UEBAYASHI Masao.
|
||||
|
||||
1999-03-17 Paul Eggert
|
||||
|
||||
* NEWS: Add GREP_OPTIONS.
|
||||
|
||||
* doc/grep.texi: Document GREP_OPTIONS, and the other
|
||||
environment variables. Fix doc for [:blank:], [:cntrl:], [:punct:].
|
||||
|
||||
* src/grep.c (prepend_args, prepend_default_options): New functions.
|
||||
(main): Use them to implement GREP_OPTIONS.
|
||||
* src/system.h (getenv): New decl.
|
||||
|
||||
1999-03-16 Volker Borchert
|
||||
|
||||
* configure.in: Use case case ... esac for checking Visual C++.
|
||||
When ${CC} contains options it was not recognize.
|
||||
|
||||
1999-03-07 Paul Eggert
|
||||
|
||||
* src/grep.c (usage): Don't report -E, -F, and -G unless we're grep.
|
||||
(main): Don't match options -E, -F, and -G unless we're grep.
|
||||
Remove after-the-fact check for options -E, -F, and -G, since
|
||||
they're no longer needed.
|
||||
|
||||
1999-03-05 Eli Zaretskii
|
||||
|
||||
* src/grep.c (main): Print the name of the default matcher instead
|
||||
of just "grep".
|
||||
|
||||
1999-02-06 Alain Magloire
|
||||
|
||||
* tests/*.awk : Linux users are seeing "Broken Pipe" on make check.
|
||||
The problem is that grep does not drain its stdin, thus the previous
|
||||
process in the pipeline receives a SIGPIPE. Other shells are silent
|
||||
about this. There is actually no failure, since the broken pipe is
|
||||
expected. You can work around it by changing the pipeline, so that
|
||||
the input is drained, like this:
|
||||
status=`echo 'check' | { ${GREP} -E -e pattern >/dev/null 2>&1;
|
||||
echo $?; cat >/dev/null; }`; if test $status -ne $errnu then ... fi
|
||||
Excerpt email from Andreas Schwab.
|
||||
|
||||
1999-02-23 Alain Magloire
|
||||
|
||||
* src/grep.c : Restrict the use of -E, -F, -G
|
||||
to only grep driver, Posix behaviour. {f,e}grep
|
||||
the matcher is already set. This change may brake
|
||||
scripts, warn in NEWS.
|
||||
|
||||
* doc/grep.{1,texi} : -C takes arguments, upgrade manual.
|
||||
|
||||
* beta 2.3a
|
||||
|
||||
1999-02-23 Alain Magloire
|
||||
|
||||
* configure.in : Change the configure VC test from
|
||||
'test x$ac_cv_prog_CC = xcl;' to 'test x"$ac_cv_prog_CC" = xcl;'
|
||||
Email from Joshua R. Poulson.
|
||||
|
||||
1999-02-23 Paul Eggert
|
||||
|
||||
Fix porting bug reported by Amakawa Shuhei for SunOS 4.1.4-JL.
|
||||
The btowc.c shipped with grep 2.3 is incorrect for Solaris
|
||||
2.5.1 and earlier, as it assumes UTF8, which these OSes do not
|
||||
support. Solaris 7 supports btowc, so there's no need to ship
|
||||
a substitute for it. The only questionable case is Solaris
|
||||
2.6, which lacks btowc but does support UTF8. However, 2.6
|
||||
supports UTF8 but only as a demonstration (for an English
|
||||
locale!); Japanese Solaris 2.6 users typically use EUC, or
|
||||
sometimes shift-JIS, but they cannot use UTF8 since Japanese
|
||||
UTF8 is not supported. Hence there's no point to having grep
|
||||
substitute a btowc that uses UTF8, as it is either redundant,
|
||||
or it will almost invariably have incorrect behavior.
|
||||
|
||||
* configure.in (AC_CHECK_HEADERS): Don't set USE_WCHAR.
|
||||
(AC_CHECK_FUNCS): Add btowc, wctype.
|
||||
(AC_REPLACE_FUNCS): Don't replace btowc; our replacement is
|
||||
invariably doing the wrong thing anyway, at least on SunOS/Solaris.
|
||||
Don't bother to check for wctype in -lw, as we don't support
|
||||
wide characters on Solaris 2.5.1 or earlier anyway.
|
||||
|
||||
* bootstrap/Makefile.try (OBJS): Remove btowc.$(OBJEXT).
|
||||
|
||||
* src/btowc.c: Removed; no longer needed.
|
||||
|
||||
1999-02-19 Paul Eggert
|
||||
|
||||
* NEWS: Fix typo when talking about the old behavior of
|
||||
silently skipping directories; it was grep 2.1, not grep 2.2.
|
||||
|
||||
1999-02-15 Alain Magloire
|
||||
|
||||
* bootstrap/Makefile.try : add DJGPP DEFS.
|
||||
Done by Elie Zaretsckii.
|
||||
|
||||
1999-02-14 Alain Magloire
|
||||
|
||||
* m4/gettext.m4 : Guard [] with changequote.
|
||||
|
|
|
@ -1,7 +1,20 @@
|
|||
## Process this file with automake to create Makefile.in
|
||||
AUTOMAKE_OPTIONS = no-dependencies
|
||||
|
||||
ACLOCAL_AMFLAGS = --acdir=m4
|
||||
SUBDIRS = intl po doc src tests djgpp m4 vms bootstrap
|
||||
|
||||
EXTRA_DIST = TODO README PATCHES-AC
|
||||
EXTRA_DIST = TODO README PATCHES.AC PATCHES.AM
|
||||
|
||||
# We should be able to just define `ACLOCAL_AMFLAGS = --acdir=m4',
|
||||
# but this runs afoul of a bug in automake 1.
|
||||
# The following hack works around this bug by creating acinclude.m4 manually.
|
||||
ACLOCAL_AMFLAGS =
|
||||
M4DIR = $(srcdir)/m4
|
||||
ACINCLUDE_INPUTS = $(M4DIR)/djgpp.m4 $(M4DIR)/dosfile.m4 \
|
||||
$(M4DIR)/envsep.m4 $(M4DIR)/gettext.m4 $(M4DIR)/glibc.m4 \
|
||||
$(M4DIR)/header.m4 $(M4DIR)/init.m4 $(M4DIR)/install.m4 \
|
||||
$(M4DIR)/isc-posix.m4 $(M4DIR)/largefile.m4 $(M4DIR)/lcmessage.m4 \
|
||||
$(M4DIR)/missing.m4 $(M4DIR)/progtest.m4 $(M4DIR)/regex.m4 \
|
||||
$(M4DIR)/sanity.m4
|
||||
$(srcdir)/acinclude.m4 : $(ACINCLUDE_INPUTS)
|
||||
cat $(ACINCLUDE_INPUTS) >$(srcdir)/acinclude.m4
|
||||
|
|
|
@ -57,13 +57,17 @@ POST_INSTALL = :
|
|||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
host_alias = @host_alias@
|
||||
host_triplet = @host@
|
||||
AWK = @AWK@
|
||||
CATALOGS = @CATALOGS@
|
||||
CATOBJEXT = @CATOBJEXT@
|
||||
CC = @CC@
|
||||
CPP = @CPP@
|
||||
DATADIRNAME = @DATADIRNAME@
|
||||
EXEEXT = @EXEEXT@
|
||||
GENCAT = @GENCAT@
|
||||
GETCONF = @GETCONF@
|
||||
GMOFILES = @GMOFILES@
|
||||
GMSGFMT = @GMSGFMT@
|
||||
GT_NO = @GT_NO@
|
||||
|
@ -83,6 +87,7 @@ POFILES = @POFILES@
|
|||
POSUB = @POSUB@
|
||||
RANLIB = @RANLIB@
|
||||
SEP = @SEP@
|
||||
U = @U@
|
||||
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
|
@ -90,17 +95,25 @@ l = @l@
|
|||
|
||||
AUTOMAKE_OPTIONS = no-dependencies
|
||||
|
||||
ACLOCAL_AMFLAGS = --acdir=m4
|
||||
SUBDIRS = intl po doc src tests djgpp m4 vms bootstrap
|
||||
|
||||
EXTRA_DIST = TODO README PATCHES-AC
|
||||
EXTRA_DIST = TODO README PATCHES.AC PATCHES.AM
|
||||
|
||||
# We should be able to just define `ACLOCAL_AMFLAGS = --acdir=m4',
|
||||
# but this runs afoul of a bug in automake 1.
|
||||
# The following hack works around this bug by creating acinclude.m4 manually.
|
||||
ACLOCAL_AMFLAGS =
|
||||
M4DIR = $(srcdir)/m4
|
||||
ACINCLUDE_INPUTS = $(M4DIR)/djgpp.m4 $(M4DIR)/dosfile.m4 $(M4DIR)/envsep.m4 $(M4DIR)/gettext.m4 $(M4DIR)/glibc.m4 $(M4DIR)/header.m4 $(M4DIR)/init.m4 $(M4DIR)/install.m4 $(M4DIR)/isc-posix.m4 $(M4DIR)/largefile.m4 $(M4DIR)/lcmessage.m4 $(M4DIR)/missing.m4 $(M4DIR)/progtest.m4 $(M4DIR)/regex.m4 $(M4DIR)/sanity.m4
|
||||
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
DIST_COMMON = README ./stamp-h.in ABOUT-NLS AUTHORS COPYING ChangeLog \
|
||||
INSTALL Makefile.am Makefile.in NEWS THANKS TODO acconfig.h aclocal.m4 \
|
||||
config.hin configure configure.in install-sh missing mkinstalldirs
|
||||
INSTALL Makefile.am Makefile.in NEWS THANKS TODO acconfig.h \
|
||||
acinclude.m4 aclocal.m4 config.guess config.hin config.sub configure \
|
||||
configure.in install-sh missing mkinstalldirs
|
||||
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
@ -116,7 +129,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|||
cd $(top_builddir) \
|
||||
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||
|
||||
$(ACLOCAL_M4): configure.in
|
||||
$(ACLOCAL_M4): configure.in acinclude.m4
|
||||
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
||||
|
||||
config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
|
@ -372,6 +385,8 @@ install uninstall-am uninstall all-redirect all-am all installdirs-am \
|
|||
installdirs mostlyclean-generic distclean-generic clean-generic \
|
||||
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
||||
|
||||
$(srcdir)/acinclude.m4 : $(ACINCLUDE_INPUTS)
|
||||
cat $(ACINCLUDE_INPUTS) >$(srcdir)/acinclude.m4
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
|
|
|
@ -1,3 +1,53 @@
|
|||
Version 2.4:
|
||||
|
||||
- egrep is now equivalent to `grep -E' as required by POSIX,
|
||||
removing a longstanding source of confusion and incompatibility.
|
||||
`grep' is now more forgiving about stray `{'s, for backward
|
||||
compatibility with traditional egrep.
|
||||
|
||||
- The lower bound of an interval is not optional.
|
||||
You must use an explicit zero, e.g. `x{0,10}' instead of `x{,10}'.
|
||||
(The old documentation incorrectly claimed that it was optional.)
|
||||
|
||||
- The --revert-match option has been renamed to --invert-match.
|
||||
|
||||
- The --fixed-regexp option has been renamed to --fixed-string.
|
||||
|
||||
- New option -H or --with-filename.
|
||||
|
||||
- New option --mmap. By default, GNU grep now uses read instead of mmap.
|
||||
This is faster on some hosts, and is safer on all.
|
||||
|
||||
- The new option -z or --null-data causes `grep' to treat a zero byte
|
||||
(the ASCII NUL character) as a line terminator in input data, and
|
||||
to treat newlines as ordinary data.
|
||||
|
||||
- The new option -Z or --null causes `grep' to output a zero byte
|
||||
instead of the normal separator after a file name.
|
||||
|
||||
- These two options can be used with commands like `find -print0',
|
||||
`perl -0', `sort -z', and `xargs -0' to process arbitrary file names,
|
||||
even those that contain newlines.
|
||||
|
||||
- The environment variable GREP_OPTIONS specifies default options;
|
||||
e.g. GREP_OPTIONS='--directories=skip' reestablishes grep 2.1's
|
||||
behavior of silently skipping directories.
|
||||
|
||||
- You can specify a matcher multiple times without error, e.g.
|
||||
`grep -E -E' or `fgrep -F'. It is still an error to specify
|
||||
conflicting matchers.
|
||||
|
||||
- -u and -U are now allowed on non-DOS hosts, and have no effect.
|
||||
|
||||
- Modifications of the tests scripts to go around the "Broken Pipe"
|
||||
errors from bash. See Bash FAQ.
|
||||
|
||||
- New option -r or --recursive or --directories=recurse.
|
||||
(This option was also in grep 2.3, but wasn't announced here.)
|
||||
|
||||
- --without-included-regex disable, was causing bogus reports .i.e
|
||||
doing more harm then good.
|
||||
|
||||
Version 2.3:
|
||||
|
||||
- When searching a binary file FOO, grep now just reports
|
||||
|
@ -19,7 +69,7 @@ Version 2.3:
|
|||
`grep: DIRECTORY: Binary file matches' (or nothing) otherwise.
|
||||
|
||||
The new -d ACTION or --directories=ACTION option affects directory handling.
|
||||
`-d skip' causes `grep' to silently skip directories, as in grep 2.2;
|
||||
`-d skip' causes `grep' to silently skip directories, as in grep 2.1;
|
||||
`-d read' (the default) causes `grep' to read directories if possible,
|
||||
as in earlier versions of grep.
|
||||
|
||||
|
|
|
@ -0,0 +1,243 @@
|
|||
--------------------------------------------------------------------
|
||||
> François Pinard mailto:pinard@iro.umontreal.ca
|
||||
> I have a collection of DOS-abling patches for Autoconf which came from
|
||||
> Eli, I think, and which you may fetch from:
|
||||
>
|
||||
> http://www.iro.umontreal.ca/contrib/paxutils/dist/PATCHES-AC
|
||||
>
|
||||
> if I'm not mistaken. There are a few other mods not related to DOS ports.
|
||||
--------------------------------------------------------------------
|
||||
> On Sun, 22 Nov 1998, Tim Rice(tim@trr.metro.net wrote:
|
||||
> Here is a patch for Autoconf version 2.12 to address a couple of
|
||||
> issues on SVR4.2 machines.
|
||||
>
|
||||
> It was failing the test for opendir() because opendir() is in libc
|
||||
> not in libdir. The patch now checks libc first then libdir.
|
||||
>
|
||||
> It was failing on gethostbyname(). I added a third test for gethostbynane()
|
||||
> in libsocket.
|
||||
>
|
||||
--------------------------------------------------------------------
|
||||
1999-01-27
|
||||
* acgeneral.m4: added support for DJGPP
|
||||
- "test -f" should be replaced by "test -x" where the script
|
||||
looks for an executable binary which will be called gcc.exe
|
||||
etc. on DOS/Windows. A simple test for $COMSPEC being not
|
||||
defined is suggested as a means to determine which option is
|
||||
required. (You cannot use "test -x" on all systems because some
|
||||
variants of Unix shell don't support -x.)
|
||||
|
||||
- File patterns used to distinguish between absolute and relative
|
||||
file names need to be changed as follows:
|
||||
|
||||
/*) --> /*|[A-z]:/*)
|
||||
[/$]* --> [/$]*/[A-z]:/*)
|
||||
|
||||
This is because absolute file names on DOS/Windows may include a
|
||||
drive letter and a colon before the leading slash. Note that the
|
||||
lower-case `z' in [A-z] is intentional, since some network
|
||||
clients allow filesystems to be identified by the six letters
|
||||
between the uppercase `Z' and lowercase `a', and because the
|
||||
drive letter can come in either letter-case.
|
||||
|
||||
- The line which computes ac_file_inputs by replacing the colon in
|
||||
foo:foo.in needs its two Sed commands to be swapped, because
|
||||
once you put in the $ac_given_srcdir part, the colon after the
|
||||
drive letter in it will be replaced instead of the original
|
||||
colon.
|
||||
From Eli Zarestskii.
|
||||
|
||||
* acspecific.m4: check opendir in libc before -ldir
|
||||
gethosbyname/connect check in -lsocket also
|
||||
From Tim Rice.
|
||||
|
||||
diff -ur ../autoconf-2.13.orig/acgeneral.m4 ./acgeneral.m4
|
||||
--- ../autoconf-2.13.orig/acgeneral.m4 Tue Jan 5 08:27:37 1999
|
||||
+++ ./acgeneral.m4 Tue Feb 9 22:27:34 1999
|
||||
@@ -636,6 +636,9 @@
|
||||
esac
|
||||
done
|
||||
|
||||
+# Support of DJGPP port of bash.
|
||||
+if test -n "$COMSPEC$ComSpec"; then ac_x=-x; else ac_x=-f; fi
|
||||
+
|
||||
# NLS nuisances.
|
||||
# Only set these to C if already set. These must not be set unconditionally
|
||||
# because not all systems understand e.g. LANG=C (notably SCO).
|
||||
@@ -1213,7 +1216,7 @@
|
||||
|
||||
dnl AC_MSG_WARN(PROBLEM-DESCRIPTION)
|
||||
define(AC_MSG_WARN,
|
||||
-[echo "configure: warning: $1" 1>&2])
|
||||
+[echo "configure: WARNING: $1" 1>&2])
|
||||
|
||||
dnl AC_MSG_ERROR(ERROR-DESCRIPTION)
|
||||
define(AC_MSG_ERROR,
|
||||
@@ -1304,7 +1307,7 @@
|
||||
|
||||
dnl AC_OBSOLETE(THIS-MACRO-NAME [, SUGGESTION])
|
||||
define(AC_OBSOLETE,
|
||||
-[errprint(__file__:__line__: warning: [$1] is obsolete[$2]
|
||||
+[errprint(__file__:__line__: WARNING: [$1] is obsolete[$2]
|
||||
)])
|
||||
|
||||
|
||||
@@ -1330,7 +1333,7 @@
|
||||
ac_dummy="ifelse([$5], , $PATH, [$5])"
|
||||
for ac_dir in $ac_dummy; do
|
||||
test -z "$ac_dir" && ac_dir=.
|
||||
- if test -f $ac_dir/$ac_word; then
|
||||
+ if test $ac_x $ac_dir/$ac_word; then
|
||||
ifelse([$6], , , dnl
|
||||
[ if test "[$ac_dir/$ac_word]" = "$6"; then
|
||||
ac_prog_rejected=yes
|
||||
@@ -1384,7 +1387,9 @@
|
||||
AC_MSG_CHECKING([for $ac_word])
|
||||
AC_CACHE_VAL(ac_cv_path_$1,
|
||||
[case "[$]$1" in
|
||||
- /*)
|
||||
+changequote(, )dnl
|
||||
+ /*|[A-z]:/*)
|
||||
+changequote([, ])dnl
|
||||
ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
|
||||
;;
|
||||
?:/*)
|
||||
@@ -1398,7 +1403,7 @@
|
||||
ac_dummy="ifelse([$4], , $PATH, [$4])"
|
||||
for ac_dir in $ac_dummy; do
|
||||
test -z "$ac_dir" && ac_dir=.
|
||||
- if test -f $ac_dir/$ac_word; then
|
||||
+ if test $ac_x $ac_dir/$ac_word; then
|
||||
ac_cv_path_$1="$ac_dir/$ac_word"
|
||||
break
|
||||
fi
|
||||
@@ -1802,7 +1807,7 @@
|
||||
AC_DEFUN(AC_TRY_RUN,
|
||||
[if test "$cross_compiling" = yes; then
|
||||
ifelse([$4], ,
|
||||
- [errprint(__file__:__line__: warning: [AC_TRY_RUN] called without default to allow cross compiling
|
||||
+ [errprint(__file__:__line__: WARNING: [AC_TRY_RUN] called without default to allow cross compiling
|
||||
)dnl
|
||||
AC_MSG_ERROR(can not run test program while cross compiling)],
|
||||
[$4])
|
||||
@@ -2267,7 +2272,10 @@
|
||||
.) srcdir=.
|
||||
if test -z "$ac_dots"; then top_srcdir=.
|
||||
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
|
||||
- /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
|
||||
+changequote(, )dnl
|
||||
+ /*|[A-z]:/*)
|
||||
+changequote([, ])dnl
|
||||
+ srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
|
||||
*) # Relative path.
|
||||
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
|
||||
top_srcdir="$ac_dots$ac_given_srcdir" ;;
|
||||
@@ -2276,7 +2284,7 @@
|
||||
ifdef([AC_PROVIDE_AC_PROG_INSTALL],
|
||||
[ case "$ac_given_INSTALL" in
|
||||
changequote(, )dnl
|
||||
- [/$]*) INSTALL="$ac_given_INSTALL" ;;
|
||||
+ [/$]*|[A-z]:/*) INSTALL="$ac_given_INSTALL" ;;
|
||||
changequote([, ])dnl
|
||||
*) INSTALL="$ac_dots$ac_given_INSTALL" ;;
|
||||
esac
|
||||
@@ -2291,7 +2299,7 @@
|
||||
*) ac_comsub= ;;
|
||||
esac
|
||||
|
||||
- ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
|
||||
+ ac_file_inputs=`echo $ac_file_in|sed -e "s%:% $ac_given_srcdir/%g" -e "s%^%$ac_given_srcdir/%"`
|
||||
sed -e "$ac_comsub
|
||||
s%@configure_input@%$configure_input%g
|
||||
s%@srcdir@%$srcdir%g
|
||||
@@ -2359,7 +2367,7 @@
|
||||
echo creating $ac_file
|
||||
|
||||
rm -f conftest.frag conftest.in conftest.out
|
||||
- ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
|
||||
+ ac_file_inputs=`echo $ac_file_in|sed -e "s%:% $ac_given_srcdir/%g" -e "s%^%$ac_given_srcdir/%"`
|
||||
cat $ac_file_inputs > conftest.in
|
||||
|
||||
EOF
|
||||
@@ -2483,7 +2491,7 @@
|
||||
|
||||
case "$srcdir" in
|
||||
changequote(, )dnl
|
||||
- [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
|
||||
+ [/$]*|[A-z]:/*) ac_rel_source="$srcdir/$ac_source" ;;
|
||||
changequote([, ])dnl
|
||||
*) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
|
||||
esac
|
||||
@@ -2558,7 +2566,9 @@
|
||||
case "$srcdir" in
|
||||
.) # No --srcdir option. We are building in place.
|
||||
ac_sub_srcdir=$srcdir ;;
|
||||
- /*) # Absolute path.
|
||||
+changequote(, )dnl
|
||||
+ /*|[A-z]:/*) # Absolute path.
|
||||
+changequote([, ])dnl
|
||||
ac_sub_srcdir=$srcdir/$ac_config_dir ;;
|
||||
*) # Relative path.
|
||||
ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
|
||||
@@ -2579,14 +2589,16 @@
|
||||
|
||||
# Make the cache file name correct relative to the subdirectory.
|
||||
case "$cache_file" in
|
||||
- /*) ac_sub_cache_file=$cache_file ;;
|
||||
+changequote(, )dnl
|
||||
+ /*|[A-z]:/*) ac_sub_cache_file=$cache_file ;;
|
||||
+changequote([, ])dnl
|
||||
*) # Relative path.
|
||||
ac_sub_cache_file="$ac_dots$cache_file" ;;
|
||||
esac
|
||||
ifdef([AC_PROVIDE_AC_PROG_INSTALL],
|
||||
[ case "$ac_given_INSTALL" in
|
||||
changequote(, )dnl
|
||||
- [/$]*) INSTALL="$ac_given_INSTALL" ;;
|
||||
+ [/$]*|[A-z]:/*) INSTALL="$ac_given_INSTALL" ;;
|
||||
changequote([, ])dnl
|
||||
*) INSTALL="$ac_dots$ac_given_INSTALL" ;;
|
||||
esac
|
||||
diff -ur ../autoconf-2.13.orig/acspecific.m4 ./acspecific.m4
|
||||
--- ../autoconf-2.13.orig/acspecific.m4 Tue Jan 5 08:27:52 1999
|
||||
+++ ./acspecific.m4 Thu Jan 28 23:01:41 1999
|
||||
@@ -615,7 +615,7 @@
|
||||
# Don't use installbsd from OSF since it installs stuff as root
|
||||
# by default.
|
||||
for ac_prog in ginstall scoinst install; do
|
||||
- if test -f $ac_dir/$ac_prog; then
|
||||
+ if test $ac_x $ac_dir/$ac_prog; then
|
||||
if test $ac_prog = install &&
|
||||
grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
|
||||
# AIX install. It has an incompatible calling convention.
|
||||
@@ -765,7 +765,10 @@
|
||||
[ac_header_dirent=$ac_hdr; break])
|
||||
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
|
||||
if test $ac_header_dirent = dirent.h; then
|
||||
-AC_CHECK_LIB(dir, opendir, LIBS="$LIBS -ldir")
|
||||
+AC_CHECK_FUNC(opendir)
|
||||
+if test $ac_cv_func_opendir = no; then
|
||||
+ AC_CHECK_LIB(dir, opendir, LIBS="$LIBS -ldir")
|
||||
+fi
|
||||
else
|
||||
AC_CHECK_LIB(x, opendir, LIBS="$LIBS -lx")
|
||||
fi
|
||||
@@ -2564,6 +2567,9 @@
|
||||
AC_CHECK_FUNC(gethostbyname)
|
||||
if test $ac_cv_func_gethostbyname = no; then
|
||||
AC_CHECK_LIB(nsl, gethostbyname, X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl")
|
||||
+ if test $ac_cv_func_gethostbyname = no; then
|
||||
+ AC_CHECK_LIB(socket, gethostbyname, X_EXTRA_LIBS="$X_EXTRA_LIBS -lsocket -lnsl", , -lnsl)
|
||||
+ fi
|
||||
fi
|
||||
|
||||
# lieder@skyler.mavd.honeywell.com says without -lsocket,
|
||||
@@ -2575,7 +2581,7 @@
|
||||
# We assume that if connect needs -lnsl, so does gethostbyname.
|
||||
AC_CHECK_FUNC(connect)
|
||||
if test $ac_cv_func_connect = no; then
|
||||
- AC_CHECK_LIB(socket, connect, X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS", ,
|
||||
+ AC_CHECK_LIB(socket, connect, X_EXTRA_LIBS="-lsocket -lnsl $X_EXTRA_LIBS", ,
|
||||
$X_EXTRA_LIBS)
|
||||
fi
|
||||
|
|
@ -0,0 +1,78 @@
|
|||
Date: Wed, 2 Dec 1998 11:00:58 +0200 (IST)
|
||||
From: Eli Zaretskii <eliz@is.elta.co.il>
|
||||
To: Alain Magloire <alainm@rcsm.ece.mcgill.ca>
|
||||
Subject: Re: grep on the move
|
||||
|
||||
> 3. Note that config.sed has a line like this:
|
||||
>
|
||||
> /TEXINPUTS=/s,:,\\\\\\\\\\\\\\;,g\
|
||||
>
|
||||
> This line is needed to cause ./configure to edit several lines in
|
||||
> doc/Makefile.in which set $TEXINPUTS. On DOS/Windows, directories
|
||||
> in variables like PATH and TEXINPUTS must be separated by a
|
||||
> semi-colon (which needs to be backslash-escaped to protect it from
|
||||
> the shell), since the colon is used in the directory names after
|
||||
> the drive letter.
|
||||
|
||||
Date: Sun, 6 Dec 1998 10:32:40 +0200 (IST)
|
||||
From: Eli Zaretskii <eliz@is.elta.co.il>
|
||||
To: Alain Magloire <alainm@rcsm.ece.mcgill.ca>
|
||||
Subject: Re: grep on the move
|
||||
|
||||
> I don't see any clean solution to do this except with the config.sed
|
||||
> script. I could patch automake but still don't see how to do it
|
||||
> cleanly for all platforms.
|
||||
|
||||
If patching Automake is an option, then make it say this:
|
||||
|
||||
sep=@SEP@
|
||||
.texi.dvi:
|
||||
TEXINPUTS=$(srcdir)$(sep)$$TEXINPUTS \
|
||||
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
|
||||
|
||||
And then let `configure' edit @SEP@ into either : or \;,
|
||||
depending on the results of the "$COMSPEC$ComSpec" test.
|
||||
--------------------------------------------------------
|
||||
1999-01-27
|
||||
* texinfos.am: uses $(sep) as the separator
|
||||
caveat one set @SEP@.
|
||||
|
||||
--- texinfos.am.orig Fri Jan 29 00:21:59 1999
|
||||
+++ texinfos.am Tue Feb 9 22:30:54 1999
|
||||
@@ -16,6 +16,9 @@
|
||||
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
## 02111-1307, USA.
|
||||
|
||||
+## Provide path separator for OS that uses ':'
|
||||
+sep=@SEP@
|
||||
+
|
||||
## FIXME: should repeat all the stuff in this file. Instead should
|
||||
## generate the contents in a smarter way.
|
||||
|
||||
@@ -35,7 +38,7 @@
|
||||
CYGNUS $(MAKEINFO) -I $(srcdir) $<
|
||||
|
||||
.texi.dvi:
|
||||
- TEXINPUTS=@TEXINFODIR@:$$TEXINPUTS \
|
||||
+ TEXINPUTS="@TEXINFODIR@$(sep)$$TEXINPUTS" \
|
||||
## Must set MAKEINFO like this so that version.texi will be found even
|
||||
## if it is in srcdir.
|
||||
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
|
||||
@@ -86,7 +89,7 @@
|
||||
CYGNUS $(MAKEINFO) -I $(srcdir) $<
|
||||
|
||||
.texinfo.dvi:
|
||||
- TEXINPUTS=@TEXINFODIR@:$$TEXINPUTS \
|
||||
+ TEXINPUTS="@TEXINFODIR@$(sep)$$TEXINPUTS" \
|
||||
## Must set MAKEINFO like this so that version.texi will be found even
|
||||
## if it is in srcdir.
|
||||
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
|
||||
@@ -107,7 +110,7 @@
|
||||
CYGNUS $(MAKEINFO) -I $(srcdir) $<
|
||||
|
||||
.txi.dvi:
|
||||
- TEXINPUTS=@TEXINFODIR@:$$TEXINPUTS \
|
||||
+ TEXINPUTS="@TEXINFODIR@$(sep)$$TEXINPUTS" \
|
||||
## Must set MAKEINFO like this so that version.texi will be found even
|
||||
## if it is in srcdir.
|
||||
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
|
|
@ -1,5 +1,6 @@
|
|||
Aharon Robbins <arnold@gnu.org>
|
||||
Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
|
||||
Alain Magloire <alainm@rcsm.ece.mcgill.ca>
|
||||
Andreas Schwab <schwab@suse.de>
|
||||
Andreas Ley <andy@rz.uni-karlsruhe.de>
|
||||
Ben Elliston <bje@cygnus.com>
|
||||
David J MacKenzie <djm@catapult.va.pubnix.com>
|
||||
|
@ -8,6 +9,7 @@ Florian La Roche <florian@knorke.saar.de>
|
|||
Franc,ois Pinard <pinard@IRO.UMontreal.CA>
|
||||
Grant McDorman <grant@isgtec.com>
|
||||
Harald Hanche-Olsen <hanche@math.ntnu.no>
|
||||
Jeff Bailey <jbailey@nisa.net>
|
||||
Jim Hand <jhand@austx.tandem.com>
|
||||
Jim Meyering <meyering@asic.sc.ti.com>
|
||||
Jochen Hein <jochen.hein@delphi.central.de>
|
||||
|
@ -27,6 +29,7 @@ Miles Bader <miles@ccs.mt.nec.co.jp>
|
|||
Olaf Kirch <okir@ns.lst.de>
|
||||
Paul Eggert <eggert@twinsun.com>
|
||||
Paul Kimoto <kimoto@spacenet.tn.cornell.edu>
|
||||
Phillip C. Brisco <phillip.craig.brisco@ccmail.census.gov>
|
||||
Philippe Defert <Philippe.Defert@cern.ch>
|
||||
Philippe De Muyter <phdm@info.ucl.ac.be>
|
||||
Roland Roberts <rroberts@muller.com>
|
||||
|
@ -37,6 +40,7 @@ Sydoruk Stepan <step@unitex.kiev.ua>
|
|||
Tom 'moof' Spindler <dogcow@ccs.neu.edu>
|
||||
Tom Tromey <tromey@creche.cygnus.com>
|
||||
Ulrich Drepper <drepper@cygnus.com>
|
||||
UEBAYASHI Masao <masao@nf.enveng.titech.ac.jp>
|
||||
Volker Borchert <bt@teknon.de>
|
||||
Wichert Akkerman <wakkerma@wi.leidenuniv.nl>
|
||||
William Bader <william@nscs.fast.net>
|
||||
|
|
|
@ -7,6 +7,9 @@
|
|||
/* Version number. */
|
||||
#undef VERSION
|
||||
|
||||
/* Define to `int' if <sys/types.h> doesn't define. */
|
||||
#undef ssize_t
|
||||
|
||||
/* Hack for Visual C++ suggested by irox. */
|
||||
#undef alloca
|
||||
|
||||
|
|
|
@ -0,0 +1,811 @@
|
|||
dnl Check for DJGPP. we use DJ_GPP as the variable
|
||||
dnl EXEEXXT
|
||||
AC_DEFUN(AC_DJGPP,
|
||||
[AC_CACHE_CHECK(for DJGPP environment, ac_cv_djgpp,
|
||||
[AC_TRY_COMPILE(,[ return __DJGPP__;],
|
||||
ac_cv_djgpp=yes, ac_cv_djgpp=no)
|
||||
rm -f conftest*])
|
||||
DJ_GPP=
|
||||
test "$ac_cv_djgpp" = yes && DJ_GPP=yes])
|
||||
# Check to see if we use dir\file name conventtion
|
||||
# If so, set macro HAVE_DOS_FILE_NAMES
|
||||
dnl AC_DOSFILE()
|
||||
AC_DEFUN(AC_DOSFILE,
|
||||
[AC_CACHE_CHECK([for dos file convention], ac_cv_dosfile,
|
||||
[if test -d ".\."; then
|
||||
ac_cv_dosfile=yes
|
||||
AC_DEFINE(HAVE_DOS_FILE_NAMES)
|
||||
else
|
||||
ac_cv_dosfile=no
|
||||
fi
|
||||
])])
|
||||
# Check to see the separator for the environment variables
|
||||
# and set SEP to ";" or default ":"
|
||||
|
||||
dnl AM_SEP()
|
||||
dnl SEP
|
||||
AC_DEFUN(AM_SEP,
|
||||
[AC_REQUIRE([AC_CYGWIN])
|
||||
AC_REQUIRE([AC_MINGW32])
|
||||
AC_REQUIRE([AC_DJGPP])
|
||||
AC_MSG_CHECKING([for environ variable separator])
|
||||
AC_CACHE_VAL(ac_cv_sep,
|
||||
[if test "$CYGWIN" = yes || test "$MINGW32" = yes || test "$DJ_GPP" = yes ; then
|
||||
ac_cv_sep=yes
|
||||
else
|
||||
ac_cv_sep=no
|
||||
fi])
|
||||
SEP=":"
|
||||
test x"$ac_cv_sep" = xyes && SEP=";"
|
||||
AC_MSG_RESULT(${SEP})
|
||||
AC_SUBST(SEP)])
|
||||
# Macro to add for using GNU gettext.
|
||||
# Ulrich Drepper <drepper@cygnus.com>, 1995.
|
||||
#
|
||||
# This file can be copied and used freely without restrictions. It can
|
||||
# be used in projects which are not available under the GNU Public License
|
||||
# but which still want to provide support for the GNU gettext functionality.
|
||||
# Please note that the actual code is *not* freely available.
|
||||
|
||||
# serial 105
|
||||
|
||||
AC_DEFUN(AM_WITH_NLS,
|
||||
[AC_MSG_CHECKING([whether NLS is requested])
|
||||
dnl Default is enabled NLS
|
||||
AC_ARG_ENABLE(nls,
|
||||
[ --disable-nls do not use Native Language Support],
|
||||
USE_NLS=$enableval, USE_NLS=yes)
|
||||
AC_MSG_RESULT($USE_NLS)
|
||||
AC_SUBST(USE_NLS)
|
||||
|
||||
USE_INCLUDED_LIBINTL=no
|
||||
|
||||
dnl If we use NLS figure out what method
|
||||
if test "$USE_NLS" = "yes"; then
|
||||
AC_DEFINE(ENABLE_NLS)
|
||||
AC_MSG_CHECKING([whether included gettext is requested])
|
||||
AC_ARG_WITH(included-gettext,
|
||||
[ --with-included-gettext use the GNU gettext library included here],
|
||||
nls_cv_force_use_gnu_gettext=$withval,
|
||||
nls_cv_force_use_gnu_gettext=no)
|
||||
AC_MSG_RESULT($nls_cv_force_use_gnu_gettext)
|
||||
|
||||
nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
|
||||
if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
|
||||
dnl User does not insist on using GNU NLS library. Figure out what
|
||||
dnl to use. If gettext or catgets are available (in this order) we
|
||||
dnl use this. Else we have to fall back to GNU NLS library.
|
||||
dnl catgets is only used if permitted by option --with-catgets.
|
||||
nls_cv_header_intl=
|
||||
nls_cv_header_libgt=
|
||||
CATOBJEXT=NONE
|
||||
|
||||
AC_CHECK_HEADER(libintl.h,
|
||||
[AC_CACHE_CHECK([for gettext in libc], gt_cv_func_gettext_libc,
|
||||
[AC_TRY_LINK([#include <libintl.h>], [return (int) gettext ("")],
|
||||
gt_cv_func_gettext_libc=yes, gt_cv_func_gettext_libc=no)])
|
||||
|
||||
if test "$gt_cv_func_gettext_libc" != "yes"; then
|
||||
AC_CHECK_LIB(intl, bindtextdomain,
|
||||
[AC_CACHE_CHECK([for gettext in libintl],
|
||||
gt_cv_func_gettext_libintl,
|
||||
[AC_CHECK_LIB(intl, gettext,
|
||||
gt_cv_func_gettext_libintl=yes,
|
||||
gt_cv_func_gettext_libintl=no)],
|
||||
gt_cv_func_gettext_libintl=no)])
|
||||
|
||||
if test "$gt_cv_func_gettext_libintl" = yes; then
|
||||
LIBS="$LIBS -lintl"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
if test "$gt_cv_func_gettext_libc" = "yes" \
|
||||
|| test "$gt_cv_func_gettext_libintl" = "yes"; then
|
||||
AC_DEFINE(HAVE_GETTEXT)
|
||||
AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
|
||||
[test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl
|
||||
if test "$MSGFMT" != "no"; then
|
||||
AC_CHECK_FUNCS(dcgettext)
|
||||
AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
|
||||
AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
|
||||
[test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :)
|
||||
AC_TRY_LINK(, [extern int _nl_msg_cat_cntr;
|
||||
return _nl_msg_cat_cntr],
|
||||
[CATOBJEXT=.gmo
|
||||
DATADIRNAME=share],
|
||||
[CATOBJEXT=.mo
|
||||
DATADIRNAME=lib])
|
||||
INSTOBJEXT=.mo
|
||||
fi
|
||||
fi
|
||||
])
|
||||
|
||||
if test "$CATOBJEXT" = "NONE"; then
|
||||
AC_MSG_CHECKING([whether catgets can be used])
|
||||
AC_ARG_WITH(catgets,
|
||||
[ --with-catgets use catgets functions if available],
|
||||
nls_cv_use_catgets=$withval, nls_cv_use_catgets=no)
|
||||
AC_MSG_RESULT($nls_cv_use_catgets)
|
||||
|
||||
if test "$nls_cv_use_catgets" = "yes"; then
|
||||
dnl No gettext in C library. Try catgets next.
|
||||
AC_CHECK_LIB(i, main)
|
||||
AC_CHECK_FUNC(catgets,
|
||||
[AC_DEFINE(HAVE_CATGETS)
|
||||
INTLOBJS="\$(CATOBJS)"
|
||||
AC_PATH_PROG(GENCAT, gencat, no)dnl
|
||||
if test "$GENCAT" != "no"; then
|
||||
AC_PATH_PROG(GMSGFMT, gmsgfmt, no)
|
||||
if test "$GMSGFMT" = "no"; then
|
||||
AM_PATH_PROG_WITH_TEST(GMSGFMT, msgfmt,
|
||||
[test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)
|
||||
fi
|
||||
AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
|
||||
[test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :)
|
||||
USE_INCLUDED_LIBINTL=yes
|
||||
CATOBJEXT=.cat
|
||||
INSTOBJEXT=.cat
|
||||
DATADIRNAME=lib
|
||||
INTLDEPS='$(top_builddir)/intl/libintl.a'
|
||||
INTLLIBS=$INTLDEPS
|
||||
LIBS=`echo $LIBS | sed -e 's/-lintl//'`
|
||||
nls_cv_header_intl=intl/libintl.h
|
||||
nls_cv_header_libgt=intl/libgettext.h
|
||||
fi])
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "$CATOBJEXT" = "NONE"; then
|
||||
dnl Neither gettext nor catgets in included in the C library.
|
||||
dnl Fall back on GNU gettext library.
|
||||
nls_cv_use_gnu_gettext=yes
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "$nls_cv_use_gnu_gettext" = "yes"; then
|
||||
dnl Mark actions used to generate GNU NLS library.
|
||||
INTLOBJS="\$(GETTOBJS)"
|
||||
AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
|
||||
[test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], msgfmt)
|
||||
AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
|
||||
AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
|
||||
[test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :)
|
||||
AC_SUBST(MSGFMT)
|
||||
USE_INCLUDED_LIBINTL=yes
|
||||
CATOBJEXT=.gmo
|
||||
INSTOBJEXT=.mo
|
||||
DATADIRNAME=share
|
||||
INTLDEPS='$(top_builddir)/intl/libintl.a'
|
||||
INTLLIBS=$INTLDEPS
|
||||
LIBS=`echo $LIBS | sed -e 's/-lintl//'`
|
||||
nls_cv_header_intl=intl/libintl.h
|
||||
nls_cv_header_libgt=intl/libgettext.h
|
||||
fi
|
||||
|
||||
dnl Test whether we really found GNU xgettext.
|
||||
if test "$XGETTEXT" != ":"; then
|
||||
dnl If it is no GNU xgettext we define it as : so that the
|
||||
dnl Makefiles still can work.
|
||||
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
|
||||
: ;
|
||||
else
|
||||
AC_MSG_RESULT(
|
||||
[found xgettext program is not GNU xgettext; ignore it])
|
||||
XGETTEXT=":"
|
||||
fi
|
||||
fi
|
||||
|
||||
# We need to process the po/ directory.
|
||||
POSUB=po
|
||||
else
|
||||
DATADIRNAME=share
|
||||
nls_cv_header_intl=intl/libintl.h
|
||||
nls_cv_header_libgt=intl/libgettext.h
|
||||
fi
|
||||
if test -z "$nsl_cv_header_intl"; then
|
||||
# Clean out junk possibly left behind by a previous configuration.
|
||||
rm -f intl/libintl.h
|
||||
fi
|
||||
AC_LINK_FILES($nls_cv_header_libgt, $nls_cv_header_intl)
|
||||
AC_OUTPUT_COMMANDS(
|
||||
[case "$CONFIG_FILES" in *po/Makefile.in*)
|
||||
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
|
||||
esac])
|
||||
|
||||
|
||||
# If this is used in GNU gettext we have to set USE_NLS to `yes'
|
||||
# because some of the sources are only built for this goal.
|
||||
if test "$PACKAGE" = gettext; then
|
||||
USE_NLS=yes
|
||||
USE_INCLUDED_LIBINTL=yes
|
||||
fi
|
||||
|
||||
dnl These rules are solely for the distribution goal. While doing this
|
||||
dnl we only have to keep exactly one list of the available catalogs
|
||||
dnl in configure.in.
|
||||
for lang in $ALL_LINGUAS; do
|
||||
GMOFILES="$GMOFILES $lang.gmo"
|
||||
POFILES="$POFILES $lang.po"
|
||||
done
|
||||
|
||||
dnl Make all variables we use known to autoconf.
|
||||
AC_SUBST(USE_INCLUDED_LIBINTL)
|
||||
AC_SUBST(CATALOGS)
|
||||
AC_SUBST(CATOBJEXT)
|
||||
AC_SUBST(DATADIRNAME)
|
||||
AC_SUBST(GMOFILES)
|
||||
AC_SUBST(INSTOBJEXT)
|
||||
AC_SUBST(INTLDEPS)
|
||||
AC_SUBST(INTLLIBS)
|
||||
AC_SUBST(INTLOBJS)
|
||||
AC_SUBST(POFILES)
|
||||
AC_SUBST(POSUB)
|
||||
])
|
||||
|
||||
AC_DEFUN(AM_GNU_GETTEXT,
|
||||
[AC_REQUIRE([AC_PROG_MAKE_SET])dnl
|
||||
AC_REQUIRE([AC_PROG_CC])dnl
|
||||
AC_REQUIRE([AC_PROG_RANLIB])dnl
|
||||
AC_REQUIRE([AC_ISC_POSIX])dnl
|
||||
AC_REQUIRE([AC_HEADER_STDC])dnl
|
||||
AC_REQUIRE([AC_C_CONST])dnl
|
||||
AC_REQUIRE([AC_C_INLINE])dnl
|
||||
AC_REQUIRE([AC_TYPE_OFF_T])dnl
|
||||
AC_REQUIRE([AC_TYPE_SIZE_T])dnl
|
||||
AC_REQUIRE([AC_FUNC_ALLOCA])dnl
|
||||
AC_REQUIRE([AC_FUNC_MMAP])dnl
|
||||
|
||||
AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h string.h \
|
||||
unistd.h sys/param.h])
|
||||
AC_CHECK_FUNCS([getcwd munmap putenv setenv setlocale strchr strcasecmp \
|
||||
strdup __argz_count __argz_stringify __argz_next])
|
||||
|
||||
if test "${ac_cv_func_stpcpy+set}" != "set"; then
|
||||
AC_CHECK_FUNCS(stpcpy)
|
||||
fi
|
||||
if test "${ac_cv_func_stpcpy}" = "yes"; then
|
||||
AC_DEFINE(HAVE_STPCPY)
|
||||
fi
|
||||
|
||||
AM_LC_MESSAGES
|
||||
AM_WITH_NLS
|
||||
|
||||
if test "x$CATOBJEXT" != "x"; then
|
||||
if test "x$ALL_LINGUAS" = "x"; then
|
||||
LINGUAS=
|
||||
else
|
||||
AC_MSG_CHECKING(for catalogs to be installed)
|
||||
NEW_LINGUAS=
|
||||
for lang in ${LINGUAS=$ALL_LINGUAS}; do
|
||||
case "$ALL_LINGUAS" in
|
||||
*$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;;
|
||||
esac
|
||||
done
|
||||
LINGUAS=$NEW_LINGUAS
|
||||
AC_MSG_RESULT($LINGUAS)
|
||||
fi
|
||||
|
||||
dnl Construct list of names of catalog files to be constructed.
|
||||
if test -n "$LINGUAS"; then
|
||||
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
|
||||
fi
|
||||
fi
|
||||
|
||||
dnl The reference to <locale.h> in the installed <libintl.h> file
|
||||
dnl must be resolved because we cannot expect the users of this
|
||||
dnl to define HAVE_LOCALE_H.
|
||||
if test $ac_cv_header_locale_h = yes; then
|
||||
INCLUDE_LOCALE_H="#include <locale.h>"
|
||||
else
|
||||
INCLUDE_LOCALE_H="\
|
||||
/* The system does not provide the header <locale.h>. Take care yourself. */"
|
||||
fi
|
||||
AC_SUBST(INCLUDE_LOCALE_H)
|
||||
|
||||
dnl Determine which catalog format we have (if any is needed)
|
||||
dnl For now we know about two different formats:
|
||||
dnl Linux libc-5 and the normal X/Open format
|
||||
test -d intl || mkdir intl
|
||||
if test "$CATOBJEXT" = ".cat"; then
|
||||
AC_CHECK_HEADER(linux/version.h, msgformat=linux, msgformat=xopen)
|
||||
|
||||
dnl Transform the SED scripts while copying because some dumb SEDs
|
||||
dnl cannot handle comments.
|
||||
sed -e '/^#/d' $srcdir/intl/$msgformat-msg.sed > intl/po2msg.sed
|
||||
fi
|
||||
dnl po2tbl.sed is always needed.
|
||||
sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
|
||||
$srcdir/intl/po2tbl.sed.in > intl/po2tbl.sed
|
||||
|
||||
dnl In the intl/Makefile.in we have a special dependency which makes
|
||||
dnl only sense for gettext. We comment this out for non-gettext
|
||||
dnl packages.
|
||||
if test "$PACKAGE" = "gettext"; then
|
||||
GT_NO="#NO#"
|
||||
GT_YES=
|
||||
else
|
||||
GT_NO=
|
||||
GT_YES="#YES#"
|
||||
fi
|
||||
AC_SUBST(GT_NO)
|
||||
AC_SUBST(GT_YES)
|
||||
|
||||
dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
|
||||
dnl find the mkinstalldirs script in another subdir but ($top_srcdir).
|
||||
dnl Try to locate is.
|
||||
MKINSTALLDIRS=
|
||||
if test -n "$ac_aux_dir"; then
|
||||
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
|
||||
fi
|
||||
if test -z "$MKINSTALLDIRS"; then
|
||||
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
|
||||
fi
|
||||
AC_SUBST(MKINSTALLDIRS)
|
||||
|
||||
dnl *** For now the libtool support in intl/Makefile is not for real.
|
||||
l=
|
||||
AC_SUBST(l)
|
||||
|
||||
dnl Generate list of files to be processed by xgettext which will
|
||||
dnl be included in po/Makefile.
|
||||
test -d po || mkdir po
|
||||
if test "x$srcdir" != "x."; then
|
||||
changequote(, )dnl
|
||||
if test "x`echo $srcdir | sed -e 's@^[A-z]:@@' -e 's@/.*@@'`" = "x"; then
|
||||
posrcprefix="$srcdir/"
|
||||
else
|
||||
posrcprefix="../$srcdir/"
|
||||
fi
|
||||
changequote([, ])dnl
|
||||
else
|
||||
posrcprefix="../"
|
||||
fi
|
||||
rm -f po/POTFILES
|
||||
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
|
||||
< $srcdir/po/POTFILES.in > po/POTFILES
|
||||
])
|
||||
dnl From Gordon Matzigkeit.
|
||||
dnl Test for the GNU C Library.
|
||||
dnl FIXME: this should migrate into libit.
|
||||
|
||||
AC_DEFUN(AM_GLIBC,
|
||||
[
|
||||
AC_CACHE_CHECK(whether we are using the GNU C Library,
|
||||
ac_cv_gnu_library,
|
||||
[AC_EGREP_CPP([Thanks for using GNU],
|
||||
[
|
||||
#include <features.h>
|
||||
#ifdef __GNU_LIBRARY__
|
||||
Thanks for using GNU
|
||||
#endif
|
||||
],
|
||||
ac_cv_gnu_library=yes,
|
||||
ac_cv_gnu_library=no)
|
||||
]
|
||||
)
|
||||
AC_CACHE_CHECK(for version 2 of the GNU C Library,
|
||||
ac_cv_glibc,
|
||||
[AC_EGREP_CPP([Thanks for using GNU too],
|
||||
[
|
||||
#include <features.h>
|
||||
#ifdef __GLIBC__
|
||||
Thanks for using GNU too
|
||||
#endif
|
||||
],
|
||||
ac_cv_glibc=yes, ac_cv_glibc=no)
|
||||
]
|
||||
)
|
||||
]
|
||||
)
|
||||
# Like AC_CONFIG_HEADER, but automatically create stamp file.
|
||||
|
||||
AC_DEFUN(AM_CONFIG_HEADER,
|
||||
[AC_PREREQ([2.12])
|
||||
AC_CONFIG_HEADER([$1])
|
||||
dnl When config.status generates a header, we must update the stamp-h file.
|
||||
dnl This file resides in the same directory as the config header
|
||||
dnl that is generated. We must strip everything past the first ":",
|
||||
dnl and everything past the last "/".
|
||||
AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl
|
||||
ifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>,
|
||||
<<test -z "<<$>>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>,
|
||||
<<am_indx=1
|
||||
for am_file in <<$1>>; do
|
||||
case " <<$>>CONFIG_HEADERS " in
|
||||
*" <<$>>am_file "*<<)>>
|
||||
echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h$am_indx
|
||||
;;
|
||||
esac
|
||||
am_indx=`expr "<<$>>am_indx" + 1`
|
||||
done<<>>dnl>>)
|
||||
changequote([,]))])
|
||||
# Do all the work for Automake. This macro actually does too much --
|
||||
# some checks are only needed if your package does certain things.
|
||||
# But this isn't really a big deal.
|
||||
|
||||
# serial 1
|
||||
|
||||
dnl Usage:
|
||||
dnl AM_INIT_AUTOMAKE(package,version, [no-define])
|
||||
|
||||
AC_DEFUN(AM_INIT_AUTOMAKE,
|
||||
[AC_REQUIRE([AC_PROG_INSTALL])
|
||||
PACKAGE=[$1]
|
||||
AC_SUBST(PACKAGE)
|
||||
VERSION=[$2]
|
||||
AC_SUBST(VERSION)
|
||||
dnl test to see if srcdir already configured
|
||||
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
|
||||
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
|
||||
fi
|
||||
ifelse([$3],,
|
||||
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
|
||||
AC_DEFINE_UNQUOTED(VERSION, "$VERSION"))
|
||||
AC_REQUIRE([AM_SANITY_CHECK])
|
||||
AC_REQUIRE([AC_ARG_PROGRAM])
|
||||
dnl FIXME This is truly gross.
|
||||
missing_dir=`cd $ac_aux_dir && pwd`
|
||||
AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir)
|
||||
AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
|
||||
AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir)
|
||||
AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
|
||||
AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
|
||||
AC_REQUIRE([AC_PROG_MAKE_SET])])
|
||||
## --------------------------------------------------------- ##
|
||||
## Use AC_PROG_INSTALL, supplementing it with INSTALL_SCRIPT ##
|
||||
## substitution. ##
|
||||
## From Franc,ois Pinard ##
|
||||
## --------------------------------------------------------- ##
|
||||
|
||||
# serial 1
|
||||
|
||||
AC_DEFUN(AM_PROG_INSTALL,
|
||||
[AC_REQUIRE([AC_PROG_INSTALL])
|
||||
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
|
||||
AC_SUBST(INSTALL_SCRIPT)dnl
|
||||
])
|
||||
#serial 1
|
||||
dnl This test replaces the one in autoconf.
|
||||
dnl Currently this macro should have the same name as the autoconf macro
|
||||
dnl because gettext's gettext.m4 (distributed in the automake package)
|
||||
dnl still uses it. Otherwise, the use in gettext.m4 makes autoheader
|
||||
dnl give these diagnostics:
|
||||
dnl configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX
|
||||
dnl configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX
|
||||
|
||||
undefine([AC_ISC_POSIX])
|
||||
AC_DEFUN(AC_ISC_POSIX,
|
||||
[
|
||||
dnl This test replaces the obsolescent AC_ISC_POSIX kludge.
|
||||
dnl AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"])
|
||||
dnl grep has stub for the absence of strerror
|
||||
]
|
||||
)
|
||||
#serial 6
|
||||
|
||||
dnl By default, many hosts won't let programs access large files;
|
||||
dnl one must use special compiler options to get large-file access to work.
|
||||
dnl For more details about this brain damage please see:
|
||||
dnl http://www.sas.com/standards/large.file/x_open.20Mar96.html
|
||||
|
||||
dnl Written by Paul Eggert <eggert@twinsun.com>.
|
||||
|
||||
dnl Internal subroutine of AC_SYS_LARGEFILE.
|
||||
dnl AC_SYS_LARGEFILE_FLAGS(FLAGSNAME)
|
||||
AC_DEFUN(AC_SYS_LARGEFILE_FLAGS,
|
||||
[AC_CACHE_CHECK([for $1 value to request large file support],
|
||||
ac_cv_sys_largefile_$1,
|
||||
[if ($GETCONF LFS_$1) >conftest.1 2>conftest.2 && test ! -s conftest.2
|
||||
then
|
||||
ac_cv_sys_largefile_$1=`cat conftest.1`
|
||||
else
|
||||
ac_cv_sys_largefile_$1=no
|
||||
ifelse($1, CFLAGS,
|
||||
[case "$host_os" in
|
||||
# HP-UX 10.20 requires -D__STDC_EXT__ with gcc 2.95.1.
|
||||
changequote(, )dnl
|
||||
hpux10.[2-9][0-9]* | hpux1[1-9]* | hpux[2-9][0-9]*)
|
||||
changequote([, ])dnl
|
||||
if test "$GCC" = yes; then
|
||||
ac_cv_sys_largefile_CFLAGS=-D__STDC_EXT__
|
||||
fi
|
||||
;;
|
||||
# IRIX 6.2 and later require cc -n32.
|
||||
changequote(, )dnl
|
||||
irix6.[2-9]* | irix6.1[0-9]* | irix[7-9].* | irix[1-9][0-9]*)
|
||||
changequote([, ])dnl
|
||||
if test "$GCC" != yes; then
|
||||
ac_cv_sys_largefile_CFLAGS=-n32
|
||||
fi
|
||||
esac
|
||||
if test "$ac_cv_sys_largefile_CFLAGS" != no; then
|
||||
ac_save_CC="$CC"
|
||||
CC="$CC $ac_cv_sys_largefile_CFLAGS"
|
||||
AC_TRY_LINK(, , , ac_cv_sys_largefile_CFLAGS=no)
|
||||
CC="$ac_save_CC"
|
||||
fi])
|
||||
fi
|
||||
rm -f conftest*])])
|
||||
|
||||
dnl Internal subroutine of AC_SYS_LARGEFILE.
|
||||
dnl AC_SYS_LARGEFILE_SPACE_APPEND(VAR, VAL)
|
||||
AC_DEFUN(AC_SYS_LARGEFILE_SPACE_APPEND,
|
||||
[case $2 in
|
||||
no) ;;
|
||||
?*)
|
||||
case "[$]$1" in
|
||||
'') $1=$2 ;;
|
||||
*) $1=[$]$1' '$2 ;;
|
||||
esac ;;
|
||||
esac])
|
||||
|
||||
dnl Internal subroutine of AC_SYS_LARGEFILE.
|
||||
dnl AC_SYS_LARGEFILE_MACRO_VALUE(C-MACRO, CACHE-VAR, COMMENT, CODE-TO-SET-DEFAULT)
|
||||
AC_DEFUN(AC_SYS_LARGEFILE_MACRO_VALUE,
|
||||
[AC_CACHE_CHECK([for $1], $2,
|
||||
[$2=no
|
||||
changequote(, )dnl
|
||||
$4
|
||||
for ac_flag in $ac_cv_sys_largefile_CFLAGS no; do
|
||||
case "$ac_flag" in
|
||||
-D$1)
|
||||
$2=1 ;;
|
||||
-D$1=*)
|
||||
$2=`expr " $ac_flag" : '[^=]*=\(.*\)'` ;;
|
||||
esac
|
||||
done
|
||||
changequote([, ])dnl
|
||||
])
|
||||
if test "[$]$2" != no; then
|
||||
AC_DEFINE_UNQUOTED([$1], [$]$2, [$3])
|
||||
fi])
|
||||
|
||||
AC_DEFUN(AC_SYS_LARGEFILE,
|
||||
[AC_REQUIRE([AC_CANONICAL_HOST])
|
||||
AC_ARG_ENABLE(largefile,
|
||||
[ --disable-largefile omit support for large files])
|
||||
if test "$enable_largefile" != no; then
|
||||
AC_CHECK_TOOL(GETCONF, getconf)
|
||||
AC_SYS_LARGEFILE_FLAGS(CFLAGS)
|
||||
AC_SYS_LARGEFILE_FLAGS(LDFLAGS)
|
||||
AC_SYS_LARGEFILE_FLAGS(LIBS)
|
||||
|
||||
for ac_flag in $ac_cv_sys_largefile_CFLAGS no; do
|
||||
case "$ac_flag" in
|
||||
no) ;;
|
||||
-D_FILE_OFFSET_BITS=*) ;;
|
||||
-D_LARGEFILE_SOURCE | -D_LARGEFILE_SOURCE=*) ;;
|
||||
-D_LARGE_FILES | -D_LARGE_FILES=*) ;;
|
||||
-D?* | -I?*)
|
||||
AC_SYS_LARGEFILE_SPACE_APPEND(CPPFLAGS, "$ac_flag") ;;
|
||||
*)
|
||||
AC_SYS_LARGEFILE_SPACE_APPEND(CFLAGS, "$ac_flag") ;;
|
||||
esac
|
||||
done
|
||||
AC_SYS_LARGEFILE_SPACE_APPEND(LDFLAGS, "$ac_cv_sys_largefile_LDFLAGS")
|
||||
AC_SYS_LARGEFILE_SPACE_APPEND(LIBS, "$ac_cv_sys_largefile_LIBS")
|
||||
AC_SYS_LARGEFILE_MACRO_VALUE(_FILE_OFFSET_BITS,
|
||||
ac_cv_sys_file_offset_bits,
|
||||
[Number of bits in a file offset, on hosts where this is settable.],
|
||||
[case "$host_os" in
|
||||
# HP-UX 10.20 and later
|
||||
hpux10.[2-9][0-9]* | hpux1[1-9]* | hpux[2-9][0-9]*)
|
||||
ac_cv_sys_file_offset_bits=64 ;;
|
||||
esac])
|
||||
AC_SYS_LARGEFILE_MACRO_VALUE(_LARGEFILE_SOURCE,
|
||||
ac_cv_sys_largefile_source,
|
||||
[Define to make fseeko etc. visible, on some hosts.],
|
||||
[case "$host_os" in
|
||||
# HP-UX 10.20 and later
|
||||
hpux10.[2-9][0-9]* | hpux1[1-9]* | hpux[2-9][0-9]*)
|
||||
ac_cv_sys_largefile_source=1 ;;
|
||||
esac])
|
||||
AC_SYS_LARGEFILE_MACRO_VALUE(_LARGE_FILES,
|
||||
ac_cv_sys_large_files,
|
||||
[Define for large files, on AIX-style hosts.],
|
||||
[case "$host_os" in
|
||||
# AIX 4.2 and later
|
||||
aix4.[2-9]* | aix4.1[0-9]* | aix[5-9].* | aix[1-9][0-9]*)
|
||||
ac_cv_sys_large_files=1 ;;
|
||||
esac])
|
||||
fi
|
||||
])
|
||||
# Check whether LC_MESSAGES is available in <locale.h>.
|
||||
# Ulrich Drepper <drepper@cygnus.com>, 1995.
|
||||
#
|
||||
# This file can be copied and used freely without restrictions. It can
|
||||
# be used in projects which are not available under the GNU Public License
|
||||
# but which still want to provide support for the GNU gettext functionality.
|
||||
# Please note that the actual code is *not* freely available.
|
||||
|
||||
# serial 1
|
||||
|
||||
AC_DEFUN(AM_LC_MESSAGES,
|
||||
[if test $ac_cv_header_locale_h = yes; then
|
||||
AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
|
||||
[AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
|
||||
am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
|
||||
if test $am_cv_val_LC_MESSAGES = yes; then
|
||||
AC_DEFINE(HAVE_LC_MESSAGES)
|
||||
fi
|
||||
fi])
|
||||
## --------------------------------------------------------- ##
|
||||
## Fake the existence of programs that GNU maintainers use. ##
|
||||
## --------------------------------------------------------- ##
|
||||
dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
|
||||
dnl The program must properly implement --version.
|
||||
AC_DEFUN(AM_MISSING_PROG,
|
||||
[AC_MSG_CHECKING(for working $2)
|
||||
# Run test in a subshell; some versions of sh will print an error if
|
||||
# an executable is not found, even if stderr is redirected.
|
||||
# Redirect stdin to placate older versions of autoconf. Sigh.
|
||||
if ($2 --version) < /dev/null > /dev/null 2>&1; then
|
||||
$1=$2
|
||||
AC_MSG_RESULT(found)
|
||||
else
|
||||
$1="$3/missing $2"
|
||||
AC_MSG_RESULT(missing)
|
||||
fi
|
||||
AC_SUBST($1)])
|
||||
# Search path for a program which passes the given test.
|
||||
# Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||
# update to support dos
|
||||
#
|
||||
# This file can be copied and used freely without restrictions. It can
|
||||
# be used in projects which are not available under the GNU Public License
|
||||
# but which still want to provide support for the GNU gettext functionality.
|
||||
# Please note that the actual code is *not* freely available.
|
||||
|
||||
# serial 1
|
||||
|
||||
dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
|
||||
dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
|
||||
AC_DEFUN(AM_PATH_PROG_WITH_TEST,
|
||||
[# Extract the first word of "$2", so it can be a program name with args.
|
||||
set dummy $2; ac_word=[$]2
|
||||
AC_MSG_CHECKING([for $ac_word])
|
||||
AC_CACHE_VAL(ac_cv_path_$1,
|
||||
[case "[$]$1" in
|
||||
changequote(, )dnl
|
||||
/*|[A-z]:/*)
|
||||
changequote([, ])dnl
|
||||
ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
|
||||
;;
|
||||
*)
|
||||
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
|
||||
for ac_dir in ifelse([$5], , $PATH, [$5]); do
|
||||
test -z "$ac_dir" && ac_dir=.
|
||||
if test $ac_x $ac_dir/$ac_word; then
|
||||
if [$3]; then
|
||||
ac_cv_path_$1="$ac_dir/$ac_word"
|
||||
break
|
||||
fi
|
||||
fi
|
||||
done
|
||||
IFS="$ac_save_ifs"
|
||||
dnl If no 4th arg is given, leave the cache variable unset,
|
||||
dnl so AC_PATH_PROGS will keep looking.
|
||||
ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
|
||||
])dnl
|
||||
;;
|
||||
esac])dnl
|
||||
$1="$ac_cv_path_$1"
|
||||
if test -n "[$]$1"; then
|
||||
AC_MSG_RESULT([$]$1)
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
AC_SUBST($1)dnl
|
||||
])
|
||||
#serial 5
|
||||
|
||||
dnl Initially derived from code in GNU grep.
|
||||
dnl Mostly written by Jim Meyering.
|
||||
|
||||
dnl Usage: jm_INCLUDED_REGEX([lib/regex.c])
|
||||
dnl
|
||||
AC_DEFUN(jm_INCLUDED_REGEX,
|
||||
[
|
||||
dnl Even packages that don't use regex.c can use this macro.
|
||||
dnl Of course, for them it doesn't do anything.
|
||||
|
||||
# Assume we'll default to using the included regex.c.
|
||||
ac_use_included_regex=yes
|
||||
|
||||
# However, if the system regex support is good enough that it passes the
|
||||
# the following run test, then default to *not* using the included regex.c.
|
||||
# If cross compiling, assume the test would fail and use the included
|
||||
# regex.c. The failing regular expression is from `Spencer ere test #75'
|
||||
# in grep-2.3.
|
||||
AC_CACHE_CHECK([for working re_compile_pattern],
|
||||
jm_cv_func_working_re_compile_pattern,
|
||||
AC_TRY_RUN(
|
||||
changequote(<<, >>)dnl
|
||||
<<
|
||||
#include <stdio.h>
|
||||
#include <regex.h>
|
||||
int
|
||||
main ()
|
||||
{
|
||||
static struct re_pattern_buffer regex;
|
||||
const char *s;
|
||||
re_set_syntax (RE_SYNTAX_POSIX_EGREP);
|
||||
/* Add this third left square bracket, [, to balance the
|
||||
three right ones below. Otherwise autoconf-2.14 chokes. */
|
||||
s = re_compile_pattern ("a[[:]:]]b\n", 9, ®ex);
|
||||
/* This should fail with _Invalid character class name_ error. */
|
||||
exit (s ? 0 : 1);
|
||||
}
|
||||
>>,
|
||||
changequote([, ])dnl
|
||||
|
||||
jm_cv_func_working_re_compile_pattern=yes,
|
||||
jm_cv_func_working_re_compile_pattern=no,
|
||||
dnl When crosscompiling, assume it's broken.
|
||||
jm_cv_func_working_re_compile_pattern=no))
|
||||
if test $jm_cv_func_working_re_compile_pattern = yes; then
|
||||
ac_use_included_regex=no
|
||||
fi
|
||||
|
||||
test -n "$1" || AC_MSG_ERROR([missing argument])
|
||||
syscmd([test -f $1])
|
||||
ifelse(sysval, 0,
|
||||
[
|
||||
|
||||
AC_ARG_WITH(included-regex,
|
||||
[ --without-included-regex don't compile regex; this is the default on
|
||||
systems with version 2 of the GNU C library
|
||||
(use with caution on other system)],
|
||||
jm_with_regex=$withval,
|
||||
jm_with_regex=$ac_use_included_regex)
|
||||
if test "$jm_with_regex" = yes; then
|
||||
AC_SUBST(LIBOBJS)
|
||||
LIBOBJS="$LIBOBJS regex.$ac_objext"
|
||||
fi
|
||||
],
|
||||
)
|
||||
]
|
||||
)
|
||||
#
|
||||
# Check to make sure that the build environment is sane.
|
||||
#
|
||||
|
||||
AC_DEFUN(AM_SANITY_CHECK,
|
||||
[AC_MSG_CHECKING([whether build environment is sane])
|
||||
# Just in case
|
||||
sleep 1
|
||||
echo timestamp > conftestfile
|
||||
# Do `set' in a subshell so we don't clobber the current shell's
|
||||
# arguments. Must try -L first in case configure is actually a
|
||||
# symlink; some systems play weird games with the mod time of symlinks
|
||||
# (eg FreeBSD returns the mod time of the symlink's containing
|
||||
# directory).
|
||||
if (
|
||||
set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
|
||||
if test "[$]*" = "X"; then
|
||||
# -L didn't work.
|
||||
set X `ls -t $srcdir/configure conftestfile`
|
||||
fi
|
||||
if test "[$]*" != "X $srcdir/configure conftestfile" \
|
||||
&& test "[$]*" != "X conftestfile $srcdir/configure"; then
|
||||
|
||||
# If neither matched, then we have a broken ls. This can happen
|
||||
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
||||
# broken ls alias from the environment. This has actually
|
||||
# happened. Such a system could not be considered "sane".
|
||||
AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
|
||||
alias in your environment])
|
||||
fi
|
||||
|
||||
test "[$]2" = conftestfile
|
||||
)
|
||||
then
|
||||
# Ok.
|
||||
:
|
||||
else
|
||||
AC_MSG_ERROR([newly created file is older than distributed files!
|
||||
Check your system clock])
|
||||
fi
|
||||
rm -f conftest*
|
||||
AC_MSG_RESULT(yes)])
|
|
@ -10,166 +10,47 @@ dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
|||
dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
dnl PARTICULAR PURPOSE.
|
||||
|
||||
# Do all the work for Automake. This macro actually does too much --
|
||||
# some checks are only needed if your package does certain things.
|
||||
# But this isn't really a big deal.
|
||||
|
||||
# serial 1
|
||||
|
||||
dnl Usage:
|
||||
dnl AM_INIT_AUTOMAKE(package,version, [no-define])
|
||||
|
||||
AC_DEFUN(AM_INIT_AUTOMAKE,
|
||||
[AC_REQUIRE([AC_PROG_INSTALL])
|
||||
PACKAGE=[$1]
|
||||
AC_SUBST(PACKAGE)
|
||||
VERSION=[$2]
|
||||
AC_SUBST(VERSION)
|
||||
dnl test to see if srcdir already configured
|
||||
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
|
||||
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
|
||||
fi
|
||||
ifelse([$3],,
|
||||
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
|
||||
AC_DEFINE_UNQUOTED(VERSION, "$VERSION"))
|
||||
AC_REQUIRE([AM_SANITY_CHECK])
|
||||
AC_REQUIRE([AC_ARG_PROGRAM])
|
||||
dnl FIXME This is truly gross.
|
||||
missing_dir=`cd $ac_aux_dir && pwd`
|
||||
AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir)
|
||||
AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
|
||||
AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir)
|
||||
AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
|
||||
AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
|
||||
AC_REQUIRE([AC_PROG_MAKE_SET])])
|
||||
|
||||
#
|
||||
# Check to make sure that the build environment is sane.
|
||||
#
|
||||
|
||||
AC_DEFUN(AM_SANITY_CHECK,
|
||||
[AC_MSG_CHECKING([whether build environment is sane])
|
||||
# Just in case
|
||||
sleep 1
|
||||
echo timestamp > conftestfile
|
||||
# Do `set' in a subshell so we don't clobber the current shell's
|
||||
# arguments. Must try -L first in case configure is actually a
|
||||
# symlink; some systems play weird games with the mod time of symlinks
|
||||
# (eg FreeBSD returns the mod time of the symlink's containing
|
||||
# directory).
|
||||
if (
|
||||
set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
|
||||
if test "[$]*" = "X"; then
|
||||
# -L didn't work.
|
||||
set X `ls -t $srcdir/configure conftestfile`
|
||||
fi
|
||||
if test "[$]*" != "X $srcdir/configure conftestfile" \
|
||||
&& test "[$]*" != "X conftestfile $srcdir/configure"; then
|
||||
|
||||
# If neither matched, then we have a broken ls. This can happen
|
||||
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
||||
# broken ls alias from the environment. This has actually
|
||||
# happened. Such a system could not be considered "sane".
|
||||
AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
|
||||
alias in your environment])
|
||||
fi
|
||||
|
||||
test "[$]2" = conftestfile
|
||||
)
|
||||
then
|
||||
# Ok.
|
||||
:
|
||||
dnl Check for DJGPP. we use DJ_GPP as the variable
|
||||
dnl EXEEXXT
|
||||
AC_DEFUN(AC_DJGPP,
|
||||
[AC_CACHE_CHECK(for DJGPP environment, ac_cv_djgpp,
|
||||
[AC_TRY_COMPILE(,[ return __DJGPP__;],
|
||||
ac_cv_djgpp=yes, ac_cv_djgpp=no)
|
||||
rm -f conftest*])
|
||||
DJ_GPP=
|
||||
test "$ac_cv_djgpp" = yes && DJ_GPP=yes])
|
||||
# Check to see if we use dir\file name conventtion
|
||||
# If so, set macro HAVE_DOS_FILE_NAMES
|
||||
dnl AC_DOSFILE()
|
||||
AC_DEFUN(AC_DOSFILE,
|
||||
[AC_CACHE_CHECK([for dos file convention], ac_cv_dosfile,
|
||||
[if test -d ".\."; then
|
||||
ac_cv_dosfile=yes
|
||||
AC_DEFINE(HAVE_DOS_FILE_NAMES)
|
||||
else
|
||||
AC_MSG_ERROR([newly created file is older than distributed files!
|
||||
Check your system clock])
|
||||
ac_cv_dosfile=no
|
||||
fi
|
||||
rm -f conftest*
|
||||
AC_MSG_RESULT(yes)])
|
||||
])])
|
||||
# Check to see the separator for the environment variables
|
||||
# and set SEP to ";" or default ":"
|
||||
|
||||
dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
|
||||
dnl The program must properly implement --version.
|
||||
AC_DEFUN(AM_MISSING_PROG,
|
||||
[AC_MSG_CHECKING(for working $2)
|
||||
# Run test in a subshell; some versions of sh will print an error if
|
||||
# an executable is not found, even if stderr is redirected.
|
||||
# Redirect stdin to placate older versions of autoconf. Sigh.
|
||||
if ($2 --version) < /dev/null > /dev/null 2>&1; then
|
||||
$1=$2
|
||||
AC_MSG_RESULT(found)
|
||||
dnl AM_SEP()
|
||||
dnl SEP
|
||||
AC_DEFUN(AM_SEP,
|
||||
[AC_REQUIRE([AC_CYGWIN])
|
||||
AC_REQUIRE([AC_MINGW32])
|
||||
AC_REQUIRE([AC_DJGPP])
|
||||
AC_MSG_CHECKING([for environ variable separator])
|
||||
AC_CACHE_VAL(ac_cv_sep,
|
||||
[if test "$CYGWIN" = yes || test "$MINGW32" = yes || test "$DJ_GPP" = yes ; then
|
||||
ac_cv_sep=yes
|
||||
else
|
||||
$1="$3/missing $2"
|
||||
AC_MSG_RESULT(missing)
|
||||
fi
|
||||
AC_SUBST($1)])
|
||||
|
||||
# Like AC_CONFIG_HEADER, but automatically create stamp file.
|
||||
|
||||
AC_DEFUN(AM_CONFIG_HEADER,
|
||||
[AC_PREREQ([2.12])
|
||||
AC_CONFIG_HEADER([$1])
|
||||
dnl When config.status generates a header, we must update the stamp-h file.
|
||||
dnl This file resides in the same directory as the config header
|
||||
dnl that is generated. We must strip everything past the first ":",
|
||||
dnl and everything past the last "/".
|
||||
AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl
|
||||
ifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>,
|
||||
<<test -z "<<$>>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>,
|
||||
<<am_indx=1
|
||||
for am_file in <<$1>>; do
|
||||
case " <<$>>CONFIG_HEADERS " in
|
||||
*" <<$>>am_file "*<<)>>
|
||||
echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h$am_indx
|
||||
;;
|
||||
esac
|
||||
am_indx=`expr "<<$>>am_indx" + 1`
|
||||
done<<>>dnl>>)
|
||||
changequote([,]))])
|
||||
|
||||
#serial 1
|
||||
|
||||
dnl The problem is that the default compilation flags in Solaris 2.6 won't
|
||||
dnl let programs access large files; you need to tell the compiler that
|
||||
dnl you actually want your programs to work on large files. For more
|
||||
dnl details about this brain damage please see:
|
||||
dnl http://www.sas.com/standards/large.file/x_open.20Mar96.html
|
||||
|
||||
dnl Written by Paul Eggert <eggert@twinsun.com>.
|
||||
|
||||
AC_DEFUN(AC_LFS,
|
||||
[dnl
|
||||
# If available, prefer support for large files unless the user specified
|
||||
# one of the CPPFLAGS, LDFLAGS, or LIBS variables.
|
||||
AC_MSG_CHECKING(whether large file support needs explicit enabling)
|
||||
ac_getconfs=''
|
||||
ac_result=yes
|
||||
ac_set=''
|
||||
ac_shellvars='CPPFLAGS LDFLAGS LIBS'
|
||||
for ac_shellvar in $ac_shellvars; do
|
||||
case $ac_shellvar in
|
||||
CPPFLAGS) ac_lfsvar=LFS_CFLAGS ;;
|
||||
*) ac_lfsvar=LFS_$ac_shellvar ;;
|
||||
esac
|
||||
eval test '"${'$ac_shellvar'+set}"' = set && ac_set=$ac_shellvar
|
||||
(getconf $ac_lfsvar) >/dev/null 2>&1 || { ac_result=no; break; }
|
||||
ac_getconf=`getconf $ac_lfsvar`
|
||||
ac_getconfs=$ac_getconfs$ac_getconf
|
||||
eval ac_test_$ac_shellvar=\$ac_getconf
|
||||
done
|
||||
case "$ac_result$ac_getconfs" in
|
||||
yes) ac_result=no ;;
|
||||
esac
|
||||
case "$ac_result$ac_set" in
|
||||
yes?*) ac_result="yes, but $ac_set is already set, so use its settings"
|
||||
esac
|
||||
AC_MSG_RESULT($ac_result)
|
||||
case $ac_result in
|
||||
yes)
|
||||
for ac_shellvar in $ac_shellvars; do
|
||||
eval $ac_shellvar=\$ac_test_$ac_shellvar
|
||||
done ;;
|
||||
esac
|
||||
])
|
||||
|
||||
ac_cv_sep=no
|
||||
fi])
|
||||
SEP=":"
|
||||
test x"$ac_cv_sep" = xyes && SEP=";"
|
||||
AC_MSG_RESULT(${SEP})
|
||||
AC_SUBST(SEP)])
|
||||
# Macro to add for using GNU gettext.
|
||||
# Ulrich Drepper <drepper@cygnus.com>, 1995.
|
||||
#
|
||||
|
@ -496,7 +377,281 @@ strdup __argz_count __argz_stringify __argz_next])
|
|||
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
|
||||
< $srcdir/po/POTFILES.in > po/POTFILES
|
||||
])
|
||||
dnl From Gordon Matzigkeit.
|
||||
dnl Test for the GNU C Library.
|
||||
dnl FIXME: this should migrate into libit.
|
||||
|
||||
AC_DEFUN(AM_GLIBC,
|
||||
[
|
||||
AC_CACHE_CHECK(whether we are using the GNU C Library,
|
||||
ac_cv_gnu_library,
|
||||
[AC_EGREP_CPP([Thanks for using GNU],
|
||||
[
|
||||
#include <features.h>
|
||||
#ifdef __GNU_LIBRARY__
|
||||
Thanks for using GNU
|
||||
#endif
|
||||
],
|
||||
ac_cv_gnu_library=yes,
|
||||
ac_cv_gnu_library=no)
|
||||
]
|
||||
)
|
||||
AC_CACHE_CHECK(for version 2 of the GNU C Library,
|
||||
ac_cv_glibc,
|
||||
[AC_EGREP_CPP([Thanks for using GNU too],
|
||||
[
|
||||
#include <features.h>
|
||||
#ifdef __GLIBC__
|
||||
Thanks for using GNU too
|
||||
#endif
|
||||
],
|
||||
ac_cv_glibc=yes, ac_cv_glibc=no)
|
||||
]
|
||||
)
|
||||
]
|
||||
)
|
||||
# Like AC_CONFIG_HEADER, but automatically create stamp file.
|
||||
|
||||
AC_DEFUN(AM_CONFIG_HEADER,
|
||||
[AC_PREREQ([2.12])
|
||||
AC_CONFIG_HEADER([$1])
|
||||
dnl When config.status generates a header, we must update the stamp-h file.
|
||||
dnl This file resides in the same directory as the config header
|
||||
dnl that is generated. We must strip everything past the first ":",
|
||||
dnl and everything past the last "/".
|
||||
AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl
|
||||
ifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>,
|
||||
<<test -z "<<$>>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>,
|
||||
<<am_indx=1
|
||||
for am_file in <<$1>>; do
|
||||
case " <<$>>CONFIG_HEADERS " in
|
||||
*" <<$>>am_file "*<<)>>
|
||||
echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h$am_indx
|
||||
;;
|
||||
esac
|
||||
am_indx=`expr "<<$>>am_indx" + 1`
|
||||
done<<>>dnl>>)
|
||||
changequote([,]))])
|
||||
# Do all the work for Automake. This macro actually does too much --
|
||||
# some checks are only needed if your package does certain things.
|
||||
# But this isn't really a big deal.
|
||||
|
||||
# serial 1
|
||||
|
||||
dnl Usage:
|
||||
dnl AM_INIT_AUTOMAKE(package,version, [no-define])
|
||||
|
||||
AC_DEFUN(AM_INIT_AUTOMAKE,
|
||||
[AC_REQUIRE([AC_PROG_INSTALL])
|
||||
PACKAGE=[$1]
|
||||
AC_SUBST(PACKAGE)
|
||||
VERSION=[$2]
|
||||
AC_SUBST(VERSION)
|
||||
dnl test to see if srcdir already configured
|
||||
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
|
||||
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
|
||||
fi
|
||||
ifelse([$3],,
|
||||
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
|
||||
AC_DEFINE_UNQUOTED(VERSION, "$VERSION"))
|
||||
AC_REQUIRE([AM_SANITY_CHECK])
|
||||
AC_REQUIRE([AC_ARG_PROGRAM])
|
||||
dnl FIXME This is truly gross.
|
||||
missing_dir=`cd $ac_aux_dir && pwd`
|
||||
AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir)
|
||||
AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
|
||||
AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir)
|
||||
AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
|
||||
AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
|
||||
AC_REQUIRE([AC_PROG_MAKE_SET])])
|
||||
|
||||
# serial 1
|
||||
|
||||
AC_DEFUN(AM_PROG_INSTALL,
|
||||
[AC_REQUIRE([AC_PROG_INSTALL])
|
||||
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
|
||||
AC_SUBST(INSTALL_SCRIPT)dnl
|
||||
])
|
||||
#serial 1
|
||||
dnl This test replaces the one in autoconf.
|
||||
dnl Currently this macro should have the same name as the autoconf macro
|
||||
dnl because gettext's gettext.m4 (distributed in the automake package)
|
||||
dnl still uses it. Otherwise, the use in gettext.m4 makes autoheader
|
||||
dnl give these diagnostics:
|
||||
dnl configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX
|
||||
dnl configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX
|
||||
|
||||
undefine([AC_ISC_POSIX])
|
||||
AC_DEFUN(AC_ISC_POSIX,
|
||||
[
|
||||
dnl This test replaces the obsolescent AC_ISC_POSIX kludge.
|
||||
dnl AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"])
|
||||
dnl grep has stub for the absence of strerror
|
||||
]
|
||||
)
|
||||
#serial 6
|
||||
|
||||
dnl By default, many hosts won't let programs access large files;
|
||||
dnl one must use special compiler options to get large-file access to work.
|
||||
dnl For more details about this brain damage please see:
|
||||
dnl http://www.sas.com/standards/large.file/x_open.20Mar96.html
|
||||
|
||||
dnl Written by Paul Eggert <eggert@twinsun.com>.
|
||||
|
||||
dnl Internal subroutine of AC_SYS_LARGEFILE.
|
||||
dnl AC_SYS_LARGEFILE_FLAGS(FLAGSNAME)
|
||||
AC_DEFUN(AC_SYS_LARGEFILE_FLAGS,
|
||||
[AC_CACHE_CHECK([for $1 value to request large file support],
|
||||
ac_cv_sys_largefile_$1,
|
||||
[if ($GETCONF LFS_$1) >conftest.1 2>conftest.2 && test ! -s conftest.2
|
||||
then
|
||||
ac_cv_sys_largefile_$1=`cat conftest.1`
|
||||
else
|
||||
ac_cv_sys_largefile_$1=no
|
||||
ifelse($1, CFLAGS,
|
||||
[case "$host_os" in
|
||||
# HP-UX 10.20 requires -D__STDC_EXT__ with gcc 2.95.1.
|
||||
changequote(, )dnl
|
||||
hpux10.[2-9][0-9]* | hpux1[1-9]* | hpux[2-9][0-9]*)
|
||||
changequote([, ])dnl
|
||||
if test "$GCC" = yes; then
|
||||
ac_cv_sys_largefile_CFLAGS=-D__STDC_EXT__
|
||||
fi
|
||||
;;
|
||||
# IRIX 6.2 and later require cc -n32.
|
||||
changequote(, )dnl
|
||||
irix6.[2-9]* | irix6.1[0-9]* | irix[7-9].* | irix[1-9][0-9]*)
|
||||
changequote([, ])dnl
|
||||
if test "$GCC" != yes; then
|
||||
ac_cv_sys_largefile_CFLAGS=-n32
|
||||
fi
|
||||
esac
|
||||
if test "$ac_cv_sys_largefile_CFLAGS" != no; then
|
||||
ac_save_CC="$CC"
|
||||
CC="$CC $ac_cv_sys_largefile_CFLAGS"
|
||||
AC_TRY_LINK(, , , ac_cv_sys_largefile_CFLAGS=no)
|
||||
CC="$ac_save_CC"
|
||||
fi])
|
||||
fi
|
||||
rm -f conftest*])])
|
||||
|
||||
dnl Internal subroutine of AC_SYS_LARGEFILE.
|
||||
dnl AC_SYS_LARGEFILE_SPACE_APPEND(VAR, VAL)
|
||||
AC_DEFUN(AC_SYS_LARGEFILE_SPACE_APPEND,
|
||||
[case $2 in
|
||||
no) ;;
|
||||
?*)
|
||||
case "[$]$1" in
|
||||
'') $1=$2 ;;
|
||||
*) $1=[$]$1' '$2 ;;
|
||||
esac ;;
|
||||
esac])
|
||||
|
||||
dnl Internal subroutine of AC_SYS_LARGEFILE.
|
||||
dnl AC_SYS_LARGEFILE_MACRO_VALUE(C-MACRO, CACHE-VAR, COMMENT, CODE-TO-SET-DEFAULT)
|
||||
AC_DEFUN(AC_SYS_LARGEFILE_MACRO_VALUE,
|
||||
[AC_CACHE_CHECK([for $1], $2,
|
||||
[$2=no
|
||||
changequote(, )dnl
|
||||
$4
|
||||
for ac_flag in $ac_cv_sys_largefile_CFLAGS no; do
|
||||
case "$ac_flag" in
|
||||
-D$1)
|
||||
$2=1 ;;
|
||||
-D$1=*)
|
||||
$2=`expr " $ac_flag" : '[^=]*=\(.*\)'` ;;
|
||||
esac
|
||||
done
|
||||
changequote([, ])dnl
|
||||
])
|
||||
if test "[$]$2" != no; then
|
||||
AC_DEFINE_UNQUOTED([$1], [$]$2, [$3])
|
||||
fi])
|
||||
|
||||
AC_DEFUN(AC_SYS_LARGEFILE,
|
||||
[AC_REQUIRE([AC_CANONICAL_HOST])
|
||||
AC_ARG_ENABLE(largefile,
|
||||
[ --disable-largefile omit support for large files])
|
||||
if test "$enable_largefile" != no; then
|
||||
AC_CHECK_TOOL(GETCONF, getconf)
|
||||
AC_SYS_LARGEFILE_FLAGS(CFLAGS)
|
||||
AC_SYS_LARGEFILE_FLAGS(LDFLAGS)
|
||||
AC_SYS_LARGEFILE_FLAGS(LIBS)
|
||||
|
||||
for ac_flag in $ac_cv_sys_largefile_CFLAGS no; do
|
||||
case "$ac_flag" in
|
||||
no) ;;
|
||||
-D_FILE_OFFSET_BITS=*) ;;
|
||||
-D_LARGEFILE_SOURCE | -D_LARGEFILE_SOURCE=*) ;;
|
||||
-D_LARGE_FILES | -D_LARGE_FILES=*) ;;
|
||||
-D?* | -I?*)
|
||||
AC_SYS_LARGEFILE_SPACE_APPEND(CPPFLAGS, "$ac_flag") ;;
|
||||
*)
|
||||
AC_SYS_LARGEFILE_SPACE_APPEND(CFLAGS, "$ac_flag") ;;
|
||||
esac
|
||||
done
|
||||
AC_SYS_LARGEFILE_SPACE_APPEND(LDFLAGS, "$ac_cv_sys_largefile_LDFLAGS")
|
||||
AC_SYS_LARGEFILE_SPACE_APPEND(LIBS, "$ac_cv_sys_largefile_LIBS")
|
||||
AC_SYS_LARGEFILE_MACRO_VALUE(_FILE_OFFSET_BITS,
|
||||
ac_cv_sys_file_offset_bits,
|
||||
[Number of bits in a file offset, on hosts where this is settable.],
|
||||
[case "$host_os" in
|
||||
# HP-UX 10.20 and later
|
||||
hpux10.[2-9][0-9]* | hpux1[1-9]* | hpux[2-9][0-9]*)
|
||||
ac_cv_sys_file_offset_bits=64 ;;
|
||||
esac])
|
||||
AC_SYS_LARGEFILE_MACRO_VALUE(_LARGEFILE_SOURCE,
|
||||
ac_cv_sys_largefile_source,
|
||||
[Define to make fseeko etc. visible, on some hosts.],
|
||||
[case "$host_os" in
|
||||
# HP-UX 10.20 and later
|
||||
hpux10.[2-9][0-9]* | hpux1[1-9]* | hpux[2-9][0-9]*)
|
||||
ac_cv_sys_largefile_source=1 ;;
|
||||
esac])
|
||||
AC_SYS_LARGEFILE_MACRO_VALUE(_LARGE_FILES,
|
||||
ac_cv_sys_large_files,
|
||||
[Define for large files, on AIX-style hosts.],
|
||||
[case "$host_os" in
|
||||
# AIX 4.2 and later
|
||||
aix4.[2-9]* | aix4.1[0-9]* | aix[5-9].* | aix[1-9][0-9]*)
|
||||
ac_cv_sys_large_files=1 ;;
|
||||
esac])
|
||||
fi
|
||||
])
|
||||
# Check whether LC_MESSAGES is available in <locale.h>.
|
||||
# Ulrich Drepper <drepper@cygnus.com>, 1995.
|
||||
#
|
||||
# This file can be copied and used freely without restrictions. It can
|
||||
# be used in projects which are not available under the GNU Public License
|
||||
# but which still want to provide support for the GNU gettext functionality.
|
||||
# Please note that the actual code is *not* freely available.
|
||||
|
||||
# serial 1
|
||||
|
||||
AC_DEFUN(AM_LC_MESSAGES,
|
||||
[if test $ac_cv_header_locale_h = yes; then
|
||||
AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
|
||||
[AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
|
||||
am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
|
||||
if test $am_cv_val_LC_MESSAGES = yes; then
|
||||
AC_DEFINE(HAVE_LC_MESSAGES)
|
||||
fi
|
||||
fi])
|
||||
dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
|
||||
dnl The program must properly implement --version.
|
||||
AC_DEFUN(AM_MISSING_PROG,
|
||||
[AC_MSG_CHECKING(for working $2)
|
||||
# Run test in a subshell; some versions of sh will print an error if
|
||||
# an executable is not found, even if stderr is redirected.
|
||||
# Redirect stdin to placate older versions of autoconf. Sigh.
|
||||
if ($2 --version) < /dev/null > /dev/null 2>&1; then
|
||||
$1=$2
|
||||
AC_MSG_RESULT(found)
|
||||
else
|
||||
$1="$3/missing $2"
|
||||
AC_MSG_RESULT(missing)
|
||||
fi
|
||||
AC_SUBST($1)])
|
||||
# Search path for a program which passes the given test.
|
||||
# Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||
# update to support dos
|
||||
|
@ -547,89 +702,6 @@ else
|
|||
fi
|
||||
AC_SUBST($1)dnl
|
||||
])
|
||||
|
||||
#serial 1
|
||||
dnl This test replaces the one in autoconf.
|
||||
dnl Currently this macro should have the same name as the autoconf macro
|
||||
dnl because gettext's gettext.m4 (distributed in the automake package)
|
||||
dnl still uses it. Otherwise, the use in gettext.m4 makes autoheader
|
||||
dnl give these diagnostics:
|
||||
dnl configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX
|
||||
dnl configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX
|
||||
|
||||
undefine([AC_ISC_POSIX])
|
||||
AC_DEFUN(AC_ISC_POSIX,
|
||||
[
|
||||
dnl This test replaces the obsolescent AC_ISC_POSIX kludge.
|
||||
dnl AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"])
|
||||
dnl grep has stub for the absence of strerror
|
||||
]
|
||||
)
|
||||
|
||||
# Check whether LC_MESSAGES is available in <locale.h>.
|
||||
# Ulrich Drepper <drepper@cygnus.com>, 1995.
|
||||
#
|
||||
# This file can be copied and used freely without restrictions. It can
|
||||
# be used in projects which are not available under the GNU Public License
|
||||
# but which still want to provide support for the GNU gettext functionality.
|
||||
# Please note that the actual code is *not* freely available.
|
||||
|
||||
# serial 1
|
||||
|
||||
AC_DEFUN(AM_LC_MESSAGES,
|
||||
[if test $ac_cv_header_locale_h = yes; then
|
||||
AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
|
||||
[AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
|
||||
am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
|
||||
if test $am_cv_val_LC_MESSAGES = yes; then
|
||||
AC_DEFINE(HAVE_LC_MESSAGES)
|
||||
fi
|
||||
fi])
|
||||
|
||||
# Check to see if we use dir\file name conventtion
|
||||
# If so, set macro HAVE_DOS_FILE_NAMES
|
||||
dnl AC_DOSFILE()
|
||||
AC_DEFUN(AC_DOSFILE,
|
||||
[AC_CACHE_CHECK([for dos file convention], ac_cv_dosfile,
|
||||
[if test -d ".\."; then
|
||||
ac_cv_dosfile=yes
|
||||
AC_DEFINE(HAVE_DOS_FILE_NAMES)
|
||||
else
|
||||
ac_cv_dosfile=no
|
||||
fi
|
||||
])])
|
||||
|
||||
# Check to see the separator for the environment variables
|
||||
# and set SEP to ";" or default ":"
|
||||
|
||||
dnl AM_SEP()
|
||||
dnl SEP
|
||||
AC_DEFUN(AM_SEP,
|
||||
[AC_REQUIRE([AC_CYGWIN])
|
||||
AC_REQUIRE([AC_MINGW32])
|
||||
AC_REQUIRE([AC_DJGPP])
|
||||
AC_MSG_CHECKING([for environ variable separator])
|
||||
AC_CACHE_VAL(ac_cv_sep,
|
||||
[if test "$CYGWIN" = yes || test "$MINGW32" = yes || test "$DJ_GPP" = yes ; then
|
||||
ac_cv_sep=yes
|
||||
else
|
||||
ac_cv_sep=no
|
||||
fi])
|
||||
SEP=":"
|
||||
test x"$ac_cv_sep" = xyes && SEP=";"
|
||||
AC_MSG_RESULT(${SEP})
|
||||
AC_SUBST(SEP)])
|
||||
|
||||
dnl Check for DJGPP. we use DJ_GPP as the variable
|
||||
dnl EXEEXXT
|
||||
AC_DEFUN(AC_DJGPP,
|
||||
[AC_CACHE_CHECK(for DJGPP environment, ac_cv_djgpp,
|
||||
[AC_TRY_COMPILE(,[ return __DJGPP__;],
|
||||
ac_cv_djgpp=yes, ac_cv_djgpp=no)
|
||||
rm -f conftest*])
|
||||
DJ_GPP=
|
||||
test "$ac_cv_djgpp" = yes && DJ_GPP=yes])
|
||||
|
||||
#serial 5
|
||||
|
||||
dnl Initially derived from code in GNU grep.
|
||||
|
@ -699,4 +771,156 @@ AC_DEFUN(jm_INCLUDED_REGEX,
|
|||
)
|
||||
]
|
||||
)
|
||||
#
|
||||
# Check to make sure that the build environment is sane.
|
||||
#
|
||||
|
||||
AC_DEFUN(AM_SANITY_CHECK,
|
||||
[AC_MSG_CHECKING([whether build environment is sane])
|
||||
# Just in case
|
||||
sleep 1
|
||||
echo timestamp > conftestfile
|
||||
# Do `set' in a subshell so we don't clobber the current shell's
|
||||
# arguments. Must try -L first in case configure is actually a
|
||||
# symlink; some systems play weird games with the mod time of symlinks
|
||||
# (eg FreeBSD returns the mod time of the symlink's containing
|
||||
# directory).
|
||||
if (
|
||||
set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
|
||||
if test "[$]*" = "X"; then
|
||||
# -L didn't work.
|
||||
set X `ls -t $srcdir/configure conftestfile`
|
||||
fi
|
||||
if test "[$]*" != "X $srcdir/configure conftestfile" \
|
||||
&& test "[$]*" != "X conftestfile $srcdir/configure"; then
|
||||
|
||||
# If neither matched, then we have a broken ls. This can happen
|
||||
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
||||
# broken ls alias from the environment. This has actually
|
||||
# happened. Such a system could not be considered "sane".
|
||||
AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
|
||||
alias in your environment])
|
||||
fi
|
||||
|
||||
test "[$]2" = conftestfile
|
||||
)
|
||||
then
|
||||
# Ok.
|
||||
:
|
||||
else
|
||||
AC_MSG_ERROR([newly created file is older than distributed files!
|
||||
Check your system clock])
|
||||
fi
|
||||
rm -f conftest*
|
||||
AC_MSG_RESULT(yes)])
|
||||
|
||||
|
||||
# serial 1
|
||||
|
||||
AC_DEFUN(AM_C_PROTOTYPES,
|
||||
[AC_REQUIRE([AM_PROG_CC_STDC])
|
||||
AC_REQUIRE([AC_PROG_CPP])
|
||||
AC_MSG_CHECKING([for function prototypes])
|
||||
if test "$am_cv_prog_cc_stdc" != no; then
|
||||
AC_MSG_RESULT(yes)
|
||||
AC_DEFINE(PROTOTYPES,1,[Define if compiler has function prototypes])
|
||||
U= ANSI2KNR=
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
U=_ ANSI2KNR=./ansi2knr
|
||||
# Ensure some checks needed by ansi2knr itself.
|
||||
AC_HEADER_STDC
|
||||
AC_CHECK_HEADERS(string.h)
|
||||
fi
|
||||
AC_SUBST(U)dnl
|
||||
AC_SUBST(ANSI2KNR)dnl
|
||||
])
|
||||
|
||||
|
||||
# serial 1
|
||||
|
||||
# @defmac AC_PROG_CC_STDC
|
||||
# @maindex PROG_CC_STDC
|
||||
# @ovindex CC
|
||||
# If the C compiler in not in ANSI C mode by default, try to add an option
|
||||
# to output variable @code{CC} to make it so. This macro tries various
|
||||
# options that select ANSI C on some system or another. It considers the
|
||||
# compiler to be in ANSI C mode if it handles function prototypes correctly.
|
||||
#
|
||||
# If you use this macro, you should check after calling it whether the C
|
||||
# compiler has been set to accept ANSI C; if not, the shell variable
|
||||
# @code{am_cv_prog_cc_stdc} is set to @samp{no}. If you wrote your source
|
||||
# code in ANSI C, you can make an un-ANSIfied copy of it by using the
|
||||
# program @code{ansi2knr}, which comes with Ghostscript.
|
||||
# @end defmac
|
||||
|
||||
AC_DEFUN(AM_PROG_CC_STDC,
|
||||
[AC_REQUIRE([AC_PROG_CC])
|
||||
AC_BEFORE([$0], [AC_C_INLINE])
|
||||
AC_BEFORE([$0], [AC_C_CONST])
|
||||
dnl Force this before AC_PROG_CPP. Some cpp's, eg on HPUX, require
|
||||
dnl a magic option to avoid problems with ANSI preprocessor commands
|
||||
dnl like #elif.
|
||||
dnl FIXME: can't do this because then AC_AIX won't work due to a
|
||||
dnl circular dependency.
|
||||
dnl AC_BEFORE([$0], [AC_PROG_CPP])
|
||||
AC_MSG_CHECKING(for ${CC-cc} option to accept ANSI C)
|
||||
AC_CACHE_VAL(am_cv_prog_cc_stdc,
|
||||
[am_cv_prog_cc_stdc=no
|
||||
ac_save_CC="$CC"
|
||||
# Don't try gcc -ansi; that turns off useful extensions and
|
||||
# breaks some systems' header files.
|
||||
# AIX -qlanglvl=ansi
|
||||
# Ultrix and OSF/1 -std1
|
||||
# HP-UX -Aa -D_HPUX_SOURCE
|
||||
# SVR4 -Xc -D__EXTENSIONS__
|
||||
for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
||||
do
|
||||
CC="$ac_save_CC $ac_arg"
|
||||
AC_TRY_COMPILE(
|
||||
[#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
||||
struct buf { int x; };
|
||||
FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
||||
static char *e (p, i)
|
||||
char **p;
|
||||
int i;
|
||||
{
|
||||
return p[i];
|
||||
}
|
||||
static char *f (char * (*g) (char **, int), char **p, ...)
|
||||
{
|
||||
char *s;
|
||||
va_list v;
|
||||
va_start (v,p);
|
||||
s = g (p, va_arg (v,int));
|
||||
va_end (v);
|
||||
return s;
|
||||
}
|
||||
int test (int i, double x);
|
||||
struct s1 {int (*f) (int a);};
|
||||
struct s2 {int (*f) (double a);};
|
||||
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
||||
int argc;
|
||||
char **argv;
|
||||
], [
|
||||
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
||||
],
|
||||
[am_cv_prog_cc_stdc="$ac_arg"; break])
|
||||
done
|
||||
CC="$ac_save_CC"
|
||||
])
|
||||
if test -z "$am_cv_prog_cc_stdc"; then
|
||||
AC_MSG_RESULT([none needed])
|
||||
else
|
||||
AC_MSG_RESULT($am_cv_prog_cc_stdc)
|
||||
fi
|
||||
case "x$am_cv_prog_cc_stdc" in
|
||||
x|xno) ;;
|
||||
*) CC="$CC $am_cv_prog_cc_stdc" ;;
|
||||
esac
|
||||
])
|
||||
|
||||
|
|
|
@ -0,0 +1,973 @@
|
|||
#! /bin/sh
|
||||
# Attempt to guess a canonical system name.
|
||||
# Copyright (C) 1992, 93, 94, 95, 96, 97, 1998 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
# General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
#
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
# Written by Per Bothner <bothner@cygnus.com>.
|
||||
# The master version of this file is at the FSF in /home/gd/gnu/lib.
|
||||
#
|
||||
# This script attempts to guess a canonical system name similar to
|
||||
# config.sub. If it succeeds, it prints the system name on stdout, and
|
||||
# exits with 0. Otherwise, it exits with 1.
|
||||
#
|
||||
# The plan is that this can be called by configure scripts if you
|
||||
# don't specify an explicit system type (host/target name).
|
||||
#
|
||||
# Only a few systems have been added to this list; please add others
|
||||
# (but try to keep the structure clean).
|
||||
#
|
||||
|
||||
# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
|
||||
# (ghazi@noc.rutgers.edu 8/24/94.)
|
||||
if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
|
||||
PATH=$PATH:/.attbin ; export PATH
|
||||
fi
|
||||
|
||||
UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
|
||||
UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
|
||||
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
|
||||
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
|
||||
|
||||
dummy=dummy-$$
|
||||
trap 'rm -f $dummy.c $dummy.o $dummy; exit 1' 1 2 15
|
||||
|
||||
# Note: order is significant - the case branches are not exclusive.
|
||||
|
||||
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
||||
alpha:OSF1:*:*)
|
||||
if test $UNAME_RELEASE = "V4.0"; then
|
||||
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
|
||||
fi
|
||||
# A Vn.n version is a released version.
|
||||
# A Tn.n version is a released field test version.
|
||||
# A Xn.n version is an unreleased experimental baselevel.
|
||||
# 1.2 uses "1.2" for uname -r.
|
||||
cat <<EOF >$dummy.s
|
||||
.globl main
|
||||
.ent main
|
||||
main:
|
||||
.frame \$30,0,\$26,0
|
||||
.prologue 0
|
||||
.long 0x47e03d80 # implver $0
|
||||
lda \$2,259
|
||||
.long 0x47e20c21 # amask $2,$1
|
||||
srl \$1,8,\$2
|
||||
sll \$2,2,\$2
|
||||
sll \$0,3,\$0
|
||||
addl \$1,\$0,\$0
|
||||
addl \$2,\$0,\$0
|
||||
ret \$31,(\$26),1
|
||||
.end main
|
||||
EOF
|
||||
${CC-cc} $dummy.s -o $dummy 2>/dev/null
|
||||
if test "$?" = 0 ; then
|
||||
./$dummy
|
||||
case "$?" in
|
||||
7)
|
||||
UNAME_MACHINE="alpha"
|
||||
;;
|
||||
15)
|
||||
UNAME_MACHINE="alphaev5"
|
||||
;;
|
||||
14)
|
||||
UNAME_MACHINE="alphaev56"
|
||||
;;
|
||||
10)
|
||||
UNAME_MACHINE="alphapca56"
|
||||
;;
|
||||
16)
|
||||
UNAME_MACHINE="alphaev6"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
rm -f $dummy.s $dummy
|
||||
echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr [[A-Z]] [[a-z]]`
|
||||
exit 0 ;;
|
||||
21064:Windows_NT:50:3)
|
||||
echo alpha-dec-winnt3.5
|
||||
exit 0 ;;
|
||||
Amiga*:UNIX_System_V:4.0:*)
|
||||
echo m68k-cbm-sysv4
|
||||
exit 0;;
|
||||
amiga:NetBSD:*:*)
|
||||
echo m68k-cbm-netbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
amiga:OpenBSD:*:*)
|
||||
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
*:[Aa]miga[Oo][Ss]:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-amigaos
|
||||
exit 0 ;;
|
||||
arc64:OpenBSD:*:*)
|
||||
echo mips64el-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
arc:OpenBSD:*:*)
|
||||
echo mipsel-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
hkmips:OpenBSD:*:*)
|
||||
echo mips-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
pmax:OpenBSD:*:*)
|
||||
echo mipsel-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
sgi:OpenBSD:*:*)
|
||||
echo mips-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
wgrisc:OpenBSD:*:*)
|
||||
echo mipsel-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
|
||||
echo arm-acorn-riscix${UNAME_RELEASE}
|
||||
exit 0;;
|
||||
arm32:NetBSD:*:*)
|
||||
echo arm-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
|
||||
exit 0 ;;
|
||||
SR2?01:HI-UX/MPP:*:*)
|
||||
echo hppa1.1-hitachi-hiuxmpp
|
||||
exit 0;;
|
||||
Pyramid*:OSx*:*:*|MIS*:OSx*:*:*|MIS*:SMP_DC-OSx*:*:*)
|
||||
# akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
|
||||
if test "`(/bin/universe) 2>/dev/null`" = att ; then
|
||||
echo pyramid-pyramid-sysv3
|
||||
else
|
||||
echo pyramid-pyramid-bsd
|
||||
fi
|
||||
exit 0 ;;
|
||||
NILE:*:*:dcosx)
|
||||
echo pyramid-pyramid-svr4
|
||||
exit 0 ;;
|
||||
sun4H:SunOS:5.*:*)
|
||||
echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
||||
exit 0 ;;
|
||||
sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
|
||||
echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
||||
exit 0 ;;
|
||||
i86pc:SunOS:5.*:*)
|
||||
echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
||||
exit 0 ;;
|
||||
sun4*:SunOS:6*:*)
|
||||
# According to config.sub, this is the proper way to canonicalize
|
||||
# SunOS6. Hard to guess exactly what SunOS6 will be like, but
|
||||
# it's likely to be more like Solaris than SunOS4.
|
||||
echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
||||
exit 0 ;;
|
||||
sun4*:SunOS:*:*)
|
||||
case "`/usr/bin/arch -k`" in
|
||||
Series*|S4*)
|
||||
UNAME_RELEASE=`uname -v`
|
||||
;;
|
||||
esac
|
||||
# Japanese Language versions have a version number like `4.1.3-JL'.
|
||||
echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
|
||||
exit 0 ;;
|
||||
sun3*:SunOS:*:*)
|
||||
echo m68k-sun-sunos${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
sun*:*:4.2BSD:*)
|
||||
UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
|
||||
test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
|
||||
case "`/bin/arch`" in
|
||||
sun3)
|
||||
echo m68k-sun-sunos${UNAME_RELEASE}
|
||||
;;
|
||||
sun4)
|
||||
echo sparc-sun-sunos${UNAME_RELEASE}
|
||||
;;
|
||||
esac
|
||||
exit 0 ;;
|
||||
aushp:SunOS:*:*)
|
||||
echo sparc-auspex-sunos${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
atari*:NetBSD:*:*)
|
||||
echo m68k-atari-netbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
atari*:OpenBSD:*:*)
|
||||
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
sun3*:NetBSD:*:*)
|
||||
echo m68k-sun-netbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
sun3*:OpenBSD:*:*)
|
||||
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
mac68k:NetBSD:*:*)
|
||||
echo m68k-apple-netbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
mac68k:OpenBSD:*:*)
|
||||
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
mvme68k:OpenBSD:*:*)
|
||||
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
mvme88k:OpenBSD:*:*)
|
||||
echo m88k-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
powerpc:machten:*:*)
|
||||
echo powerpc-apple-machten${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
macppc:NetBSD:*:*)
|
||||
echo powerpc-apple-netbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
RISC*:Mach:*:*)
|
||||
echo mips-dec-mach_bsd4.3
|
||||
exit 0 ;;
|
||||
RISC*:ULTRIX:*:*)
|
||||
echo mips-dec-ultrix${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
VAX*:ULTRIX*:*:*)
|
||||
echo vax-dec-ultrix${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
2020:CLIX:*:*)
|
||||
echo clipper-intergraph-clix${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
mips:*:*:UMIPS | mips:*:*:RISCos)
|
||||
sed 's/^ //' << EOF >$dummy.c
|
||||
int main (argc, argv) int argc; char **argv; {
|
||||
#if defined (host_mips) && defined (MIPSEB)
|
||||
#if defined (SYSTYPE_SYSV)
|
||||
printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
|
||||
#endif
|
||||
#if defined (SYSTYPE_SVR4)
|
||||
printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
|
||||
#endif
|
||||
#if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
|
||||
printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
|
||||
#endif
|
||||
#endif
|
||||
exit (-1);
|
||||
}
|
||||
EOF
|
||||
${CC-cc} $dummy.c -o $dummy \
|
||||
&& ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
|
||||
&& rm $dummy.c $dummy && exit 0
|
||||
rm -f $dummy.c $dummy
|
||||
echo mips-mips-riscos${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
Night_Hawk:Power_UNIX:*:*)
|
||||
echo powerpc-harris-powerunix
|
||||
exit 0 ;;
|
||||
m88k:CX/UX:7*:*)
|
||||
echo m88k-harris-cxux7
|
||||
exit 0 ;;
|
||||
m88k:*:4*:R4*)
|
||||
echo m88k-motorola-sysv4
|
||||
exit 0 ;;
|
||||
m88k:*:3*:R3*)
|
||||
echo m88k-motorola-sysv3
|
||||
exit 0 ;;
|
||||
AViiON:dgux:*:*)
|
||||
# DG/UX returns AViiON for all architectures
|
||||
UNAME_PROCESSOR=`/usr/bin/uname -p`
|
||||
if [ $UNAME_PROCESSOR = mc88100 -o $UNAME_PROCESSOR = mc88110 ] ; then
|
||||
if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx \
|
||||
-o ${TARGET_BINARY_INTERFACE}x = x ] ; then
|
||||
echo m88k-dg-dgux${UNAME_RELEASE}
|
||||
else
|
||||
echo m88k-dg-dguxbcs${UNAME_RELEASE}
|
||||
fi
|
||||
else echo i586-dg-dgux${UNAME_RELEASE}
|
||||
fi
|
||||
exit 0 ;;
|
||||
M88*:DolphinOS:*:*) # DolphinOS (SVR3)
|
||||
echo m88k-dolphin-sysv3
|
||||
exit 0 ;;
|
||||
M88*:*:R3*:*)
|
||||
# Delta 88k system running SVR3
|
||||
echo m88k-motorola-sysv3
|
||||
exit 0 ;;
|
||||
XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
|
||||
echo m88k-tektronix-sysv3
|
||||
exit 0 ;;
|
||||
Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
|
||||
echo m68k-tektronix-bsd
|
||||
exit 0 ;;
|
||||
*:IRIX*:*:*)
|
||||
echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
|
||||
exit 0 ;;
|
||||
????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
|
||||
echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
|
||||
exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX '
|
||||
i?86:AIX:*:*)
|
||||
echo i386-ibm-aix
|
||||
exit 0 ;;
|
||||
*:AIX:2:3)
|
||||
if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
|
||||
sed 's/^ //' << EOF >$dummy.c
|
||||
#include <sys/systemcfg.h>
|
||||
|
||||
main()
|
||||
{
|
||||
if (!__power_pc())
|
||||
exit(1);
|
||||
puts("powerpc-ibm-aix3.2.5");
|
||||
exit(0);
|
||||
}
|
||||
EOF
|
||||
${CC-cc} $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0
|
||||
rm -f $dummy.c $dummy
|
||||
echo rs6000-ibm-aix3.2.5
|
||||
elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
|
||||
echo rs6000-ibm-aix3.2.4
|
||||
else
|
||||
echo rs6000-ibm-aix3.2
|
||||
fi
|
||||
exit 0 ;;
|
||||
*:AIX:*:4)
|
||||
IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'`
|
||||
if /usr/sbin/lsattr -EHl ${IBM_CPU_ID} | grep POWER >/dev/null 2>&1; then
|
||||
IBM_ARCH=rs6000
|
||||
else
|
||||
IBM_ARCH=powerpc
|
||||
fi
|
||||
if [ -x /usr/bin/oslevel ] ; then
|
||||
IBM_REV=`/usr/bin/oslevel`
|
||||
else
|
||||
IBM_REV=4.${UNAME_RELEASE}
|
||||
fi
|
||||
echo ${IBM_ARCH}-ibm-aix${IBM_REV}
|
||||
exit 0 ;;
|
||||
*:AIX:*:*)
|
||||
echo rs6000-ibm-aix
|
||||
exit 0 ;;
|
||||
ibmrt:4.4BSD:*|romp-ibm:BSD:*)
|
||||
echo romp-ibm-bsd4.4
|
||||
exit 0 ;;
|
||||
ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC NetBSD and
|
||||
echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
|
||||
exit 0 ;; # report: romp-ibm BSD 4.3
|
||||
*:BOSX:*:*)
|
||||
echo rs6000-bull-bosx
|
||||
exit 0 ;;
|
||||
DPX/2?00:B.O.S.:*:*)
|
||||
echo m68k-bull-sysv3
|
||||
exit 0 ;;
|
||||
9000/[34]??:4.3bsd:1.*:*)
|
||||
echo m68k-hp-bsd
|
||||
exit 0 ;;
|
||||
hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
|
||||
echo m68k-hp-bsd4.4
|
||||
exit 0 ;;
|
||||
9000/[34678]??:HP-UX:*:*)
|
||||
case "${UNAME_MACHINE}" in
|
||||
9000/31? ) HP_ARCH=m68000 ;;
|
||||
9000/[34]?? ) HP_ARCH=m68k ;;
|
||||
9000/6?? | 9000/7?? | 9000/80[24] | 9000/8?[13679] | 9000/892 )
|
||||
sed 's/^ //' << EOF >$dummy.c
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
int main ()
|
||||
{
|
||||
#if defined(_SC_KERNEL_BITS)
|
||||
long bits = sysconf(_SC_KERNEL_BITS);
|
||||
#endif
|
||||
long cpu = sysconf (_SC_CPU_VERSION);
|
||||
|
||||
switch (cpu)
|
||||
{
|
||||
case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
|
||||
case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
|
||||
case CPU_PA_RISC2_0:
|
||||
#if defined(_SC_KERNEL_BITS)
|
||||
switch (bits)
|
||||
{
|
||||
case 64: puts ("hppa2.0w"); break;
|
||||
case 32: puts ("hppa2.0n"); break;
|
||||
default: puts ("hppa2.0"); break;
|
||||
} break;
|
||||
#else /* !defined(_SC_KERNEL_BITS) */
|
||||
puts ("hppa2.0"); break;
|
||||
#endif
|
||||
default: puts ("hppa1.0"); break;
|
||||
}
|
||||
exit (0);
|
||||
}
|
||||
EOF
|
||||
(${CC-cc} $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy`
|
||||
rm -f $dummy.c $dummy
|
||||
esac
|
||||
HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
|
||||
echo ${HP_ARCH}-hp-hpux${HPUX_REV}
|
||||
exit 0 ;;
|
||||
3050*:HI-UX:*:*)
|
||||
sed 's/^ //' << EOF >$dummy.c
|
||||
#include <unistd.h>
|
||||
int
|
||||
main ()
|
||||
{
|
||||
long cpu = sysconf (_SC_CPU_VERSION);
|
||||
/* The order matters, because CPU_IS_HP_MC68K erroneously returns
|
||||
true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct
|
||||
results, however. */
|
||||
if (CPU_IS_PA_RISC (cpu))
|
||||
{
|
||||
switch (cpu)
|
||||
{
|
||||
case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
|
||||
case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
|
||||
case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
|
||||
default: puts ("hppa-hitachi-hiuxwe2"); break;
|
||||
}
|
||||
}
|
||||
else if (CPU_IS_HP_MC68K (cpu))
|
||||
puts ("m68k-hitachi-hiuxwe2");
|
||||
else puts ("unknown-hitachi-hiuxwe2");
|
||||
exit (0);
|
||||
}
|
||||
EOF
|
||||
${CC-cc} $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0
|
||||
rm -f $dummy.c $dummy
|
||||
echo unknown-hitachi-hiuxwe2
|
||||
exit 0 ;;
|
||||
9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
|
||||
echo hppa1.1-hp-bsd
|
||||
exit 0 ;;
|
||||
9000/8??:4.3bsd:*:*)
|
||||
echo hppa1.0-hp-bsd
|
||||
exit 0 ;;
|
||||
hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
|
||||
echo hppa1.1-hp-osf
|
||||
exit 0 ;;
|
||||
hp8??:OSF1:*:*)
|
||||
echo hppa1.0-hp-osf
|
||||
exit 0 ;;
|
||||
i?86:OSF1:*:*)
|
||||
if [ -x /usr/sbin/sysversion ] ; then
|
||||
echo ${UNAME_MACHINE}-unknown-osf1mk
|
||||
else
|
||||
echo ${UNAME_MACHINE}-unknown-osf1
|
||||
fi
|
||||
exit 0 ;;
|
||||
parisc*:Lites*:*:*)
|
||||
echo hppa1.1-hp-lites
|
||||
exit 0 ;;
|
||||
C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
|
||||
echo c1-convex-bsd
|
||||
exit 0 ;;
|
||||
C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
|
||||
if getsysinfo -f scalar_acc
|
||||
then echo c32-convex-bsd
|
||||
else echo c2-convex-bsd
|
||||
fi
|
||||
exit 0 ;;
|
||||
C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
|
||||
echo c34-convex-bsd
|
||||
exit 0 ;;
|
||||
C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
|
||||
echo c38-convex-bsd
|
||||
exit 0 ;;
|
||||
C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
|
||||
echo c4-convex-bsd
|
||||
exit 0 ;;
|
||||
CRAY*X-MP:*:*:*)
|
||||
echo xmp-cray-unicos
|
||||
exit 0 ;;
|
||||
CRAY*Y-MP:*:*:*)
|
||||
echo ymp-cray-unicos${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
CRAY*[A-Z]90:*:*:*)
|
||||
echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
|
||||
| sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
|
||||
-e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/
|
||||
exit 0 ;;
|
||||
CRAY*TS:*:*:*)
|
||||
echo t90-cray-unicos${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
CRAY*T3E:*:*:*)
|
||||
echo t3e-cray-unicosmk${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
CRAY-2:*:*:*)
|
||||
echo cray2-cray-unicos
|
||||
exit 0 ;;
|
||||
F300:UNIX_System_V:*:*)
|
||||
FUJITSU_SYS=`uname -p | tr [A-Z] [a-z] | sed -e 's/\///'`
|
||||
FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
|
||||
echo "f300-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
|
||||
exit 0 ;;
|
||||
F301:UNIX_System_V:*:*)
|
||||
echo f301-fujitsu-uxpv`echo $UNAME_RELEASE | sed 's/ .*//'`
|
||||
exit 0 ;;
|
||||
hp3[0-9][05]:NetBSD:*:*)
|
||||
echo m68k-hp-netbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
hp300:OpenBSD:*:*)
|
||||
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
sparc*:BSD/OS:*:*)
|
||||
echo sparc-unknown-bsdi${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
i?86:BSD/386:*:* | i?86:BSD/OS:*:*)
|
||||
echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
*:BSD/OS:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
*:FreeBSD:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
|
||||
exit 0 ;;
|
||||
*:NetBSD:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
|
||||
exit 0 ;;
|
||||
*:OpenBSD:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
|
||||
exit 0 ;;
|
||||
i*:CYGWIN*:*)
|
||||
echo ${UNAME_MACHINE}-pc-cygwin
|
||||
exit 0 ;;
|
||||
i*:MINGW*:*)
|
||||
echo ${UNAME_MACHINE}-pc-mingw32
|
||||
exit 0 ;;
|
||||
p*:CYGWIN*:*)
|
||||
echo powerpcle-unknown-cygwin
|
||||
exit 0 ;;
|
||||
prep*:SunOS:5.*:*)
|
||||
echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
||||
exit 0 ;;
|
||||
*:GNU:*:*)
|
||||
echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
|
||||
exit 0 ;;
|
||||
*:Linux:*:*)
|
||||
# uname on the ARM produces all sorts of strangeness, and we need to
|
||||
# filter it out.
|
||||
case "$UNAME_MACHINE" in
|
||||
arm* | sa110*) UNAME_MACHINE="arm" ;;
|
||||
esac
|
||||
|
||||
# The BFD linker knows what the default object file format is, so
|
||||
# first see if it will tell us.
|
||||
ld_help_string=`ld --help 2>&1`
|
||||
ld_supported_emulations=`echo $ld_help_string \
|
||||
| sed -ne '/supported emulations:/!d
|
||||
s/[ ][ ]*/ /g
|
||||
s/.*supported emulations: *//
|
||||
s/ .*//
|
||||
p'`
|
||||
case "$ld_supported_emulations" in
|
||||
i?86linux) echo "${UNAME_MACHINE}-pc-linux-gnuaout" ; exit 0 ;;
|
||||
i?86coff) echo "${UNAME_MACHINE}-pc-linux-gnucoff" ; exit 0 ;;
|
||||
sparclinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
|
||||
armlinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
|
||||
m68klinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
|
||||
elf32ppc) echo "powerpc-unknown-linux-gnu" ; exit 0 ;;
|
||||
esac
|
||||
|
||||
if test "${UNAME_MACHINE}" = "alpha" ; then
|
||||
sed 's/^ //' <<EOF >$dummy.s
|
||||
.globl main
|
||||
.ent main
|
||||
main:
|
||||
.frame \$30,0,\$26,0
|
||||
.prologue 0
|
||||
.long 0x47e03d80 # implver $0
|
||||
lda \$2,259
|
||||
.long 0x47e20c21 # amask $2,$1
|
||||
srl \$1,8,\$2
|
||||
sll \$2,2,\$2
|
||||
sll \$0,3,\$0
|
||||
addl \$1,\$0,\$0
|
||||
addl \$2,\$0,\$0
|
||||
ret \$31,(\$26),1
|
||||
.end main
|
||||
EOF
|
||||
LIBC=""
|
||||
${CC-cc} $dummy.s -o $dummy 2>/dev/null
|
||||
if test "$?" = 0 ; then
|
||||
./$dummy
|
||||
case "$?" in
|
||||
7)
|
||||
UNAME_MACHINE="alpha"
|
||||
;;
|
||||
15)
|
||||
UNAME_MACHINE="alphaev5"
|
||||
;;
|
||||
14)
|
||||
UNAME_MACHINE="alphaev56"
|
||||
;;
|
||||
10)
|
||||
UNAME_MACHINE="alphapca56"
|
||||
;;
|
||||
16)
|
||||
UNAME_MACHINE="alphaev6"
|
||||
;;
|
||||
esac
|
||||
|
||||
objdump --private-headers $dummy | \
|
||||
grep ld.so.1 > /dev/null
|
||||
if test "$?" = 0 ; then
|
||||
LIBC="libc1"
|
||||
fi
|
||||
fi
|
||||
rm -f $dummy.s $dummy
|
||||
echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} ; exit 0
|
||||
elif test "${UNAME_MACHINE}" = "mips" ; then
|
||||
cat >$dummy.c <<EOF
|
||||
main(argc, argv)
|
||||
int argc;
|
||||
char *argv[];
|
||||
{
|
||||
#ifdef __MIPSEB__
|
||||
printf ("%s-unknown-linux-gnu\n", argv[1]);
|
||||
#endif
|
||||
#ifdef __MIPSEL__
|
||||
printf ("%sel-unknown-linux-gnu\n", argv[1]);
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
EOF
|
||||
${CC-cc} $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0
|
||||
rm -f $dummy.c $dummy
|
||||
else
|
||||
# Either a pre-BFD a.out linker (linux-gnuoldld)
|
||||
# or one that does not give us useful --help.
|
||||
# GCC wants to distinguish between linux-gnuoldld and linux-gnuaout.
|
||||
# If ld does not provide *any* "supported emulations:"
|
||||
# that means it is gnuoldld.
|
||||
echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations:"
|
||||
test $? != 0 && echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0
|
||||
|
||||
case "${UNAME_MACHINE}" in
|
||||
i?86)
|
||||
VENDOR=pc;
|
||||
;;
|
||||
*)
|
||||
VENDOR=unknown;
|
||||
;;
|
||||
esac
|
||||
# Determine whether the default compiler is a.out or elf
|
||||
cat >$dummy.c <<EOF
|
||||
#include <features.h>
|
||||
main(argc, argv)
|
||||
int argc;
|
||||
char *argv[];
|
||||
{
|
||||
#ifdef __ELF__
|
||||
# ifdef __GLIBC__
|
||||
# if __GLIBC__ >= 2
|
||||
printf ("%s-${VENDOR}-linux-gnu\n", argv[1]);
|
||||
# else
|
||||
printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]);
|
||||
# endif
|
||||
# else
|
||||
printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]);
|
||||
# endif
|
||||
#else
|
||||
printf ("%s-${VENDOR}-linux-gnuaout\n", argv[1]);
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
EOF
|
||||
${CC-cc} $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0
|
||||
rm -f $dummy.c $dummy
|
||||
fi ;;
|
||||
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. earlier versions
|
||||
# are messed up and put the nodename in both sysname and nodename.
|
||||
i?86:DYNIX/ptx:4*:*)
|
||||
echo i386-sequent-sysv4
|
||||
exit 0 ;;
|
||||
i?86:UNIX_SV:4.2MP:2.*)
|
||||
# Unixware is an offshoot of SVR4, but it has its own version
|
||||
# number series starting with 2...
|
||||
# I am not positive that other SVR4 systems won't match this,
|
||||
# I just have to hope. -- rms.
|
||||
# Use sysv4.2uw... so that sysv4* matches it.
|
||||
echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
|
||||
exit 0 ;;
|
||||
i?86:*:4.*:* | i?86:SYSTEM_V:4.*:*)
|
||||
if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
|
||||
echo ${UNAME_MACHINE}-univel-sysv${UNAME_RELEASE}
|
||||
else
|
||||
echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE}
|
||||
fi
|
||||
exit 0 ;;
|
||||
i?86:*:3.2:*)
|
||||
if test -f /usr/options/cb.name; then
|
||||
UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
|
||||
echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
|
||||
elif /bin/uname -X 2>/dev/null >/dev/null ; then
|
||||
UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
|
||||
(/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
|
||||
(/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
|
||||
&& UNAME_MACHINE=i586
|
||||
echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
|
||||
else
|
||||
echo ${UNAME_MACHINE}-pc-sysv32
|
||||
fi
|
||||
exit 0 ;;
|
||||
i?86:UnixWare:*:*)
|
||||
if /bin/uname -X 2>/dev/null >/dev/null ; then
|
||||
(/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
|
||||
&& UNAME_MACHINE=i586
|
||||
fi
|
||||
echo ${UNAME_MACHINE}-unixware-${UNAME_RELEASE}-${UNAME_VERSION}
|
||||
exit 0 ;;
|
||||
pc:*:*:*)
|
||||
# uname -m prints for DJGPP always 'pc', but it prints nothing about
|
||||
# the processor, so we play safe by assuming i386.
|
||||
echo i386-pc-msdosdjgpp
|
||||
exit 0 ;;
|
||||
Intel:Mach:3*:*)
|
||||
echo i386-pc-mach3
|
||||
exit 0 ;;
|
||||
paragon:*:*:*)
|
||||
echo i860-intel-osf1
|
||||
exit 0 ;;
|
||||
i860:*:4.*:*) # i860-SVR4
|
||||
if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
|
||||
echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
|
||||
else # Add other i860-SVR4 vendors below as they are discovered.
|
||||
echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
|
||||
fi
|
||||
exit 0 ;;
|
||||
mini*:CTIX:SYS*5:*)
|
||||
# "miniframe"
|
||||
echo m68010-convergent-sysv
|
||||
exit 0 ;;
|
||||
M68*:*:R3V[567]*:*)
|
||||
test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
|
||||
3[34]??:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0)
|
||||
OS_REL=''
|
||||
test -r /etc/.relid \
|
||||
&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
|
||||
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
|
||||
&& echo i486-ncr-sysv4.3${OS_REL} && exit 0
|
||||
/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
|
||||
&& echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;;
|
||||
3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
|
||||
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
|
||||
&& echo i486-ncr-sysv4 && exit 0 ;;
|
||||
m68*:LynxOS:2.*:*)
|
||||
echo m68k-unknown-lynxos${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
mc68030:UNIX_System_V:4.*:*)
|
||||
echo m68k-atari-sysv4
|
||||
exit 0 ;;
|
||||
i?86:LynxOS:2.*:*)
|
||||
echo i386-unknown-lynxos${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
TSUNAMI:LynxOS:2.*:*)
|
||||
echo sparc-unknown-lynxos${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
rs6000:LynxOS:2.*:* | PowerPC:LynxOS:2.*:*)
|
||||
echo rs6000-unknown-lynxos${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
SM[BE]S:UNIX_SV:*:*)
|
||||
echo mips-dde-sysv${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
RM*:SINIX-*:*:*)
|
||||
echo mips-sni-sysv4
|
||||
exit 0 ;;
|
||||
*:SINIX-*:*:*)
|
||||
if uname -p 2>/dev/null >/dev/null ; then
|
||||
UNAME_MACHINE=`(uname -p) 2>/dev/null`
|
||||
echo ${UNAME_MACHINE}-sni-sysv4
|
||||
else
|
||||
echo ns32k-sni-sysv
|
||||
fi
|
||||
exit 0 ;;
|
||||
PENTIUM:CPunix:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
|
||||
# says <Richard.M.Bartel@ccMail.Census.GOV>
|
||||
echo i586-unisys-sysv4
|
||||
exit 0 ;;
|
||||
*:UNIX_System_V:4*:FTX*)
|
||||
# From Gerald Hewes <hewes@openmarket.com>.
|
||||
# How about differentiating between stratus architectures? -djm
|
||||
echo hppa1.1-stratus-sysv4
|
||||
exit 0 ;;
|
||||
*:*:*:FTX*)
|
||||
# From seanf@swdc.stratus.com.
|
||||
echo i860-stratus-sysv4
|
||||
exit 0 ;;
|
||||
mc68*:A/UX:*:*)
|
||||
echo m68k-apple-aux${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
news*:NEWS-OS:*:6*)
|
||||
echo mips-sony-newsos6
|
||||
exit 0 ;;
|
||||
R3000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R4000:UNIX_SV:*:*)
|
||||
if [ -d /usr/nec ]; then
|
||||
echo mips-nec-sysv${UNAME_RELEASE}
|
||||
else
|
||||
echo mips-unknown-sysv${UNAME_RELEASE}
|
||||
fi
|
||||
exit 0 ;;
|
||||
BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
|
||||
echo powerpc-be-beos
|
||||
exit 0 ;;
|
||||
BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
|
||||
echo powerpc-apple-beos
|
||||
exit 0 ;;
|
||||
BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
|
||||
echo i586-pc-beos
|
||||
exit 0 ;;
|
||||
SX-4:SUPER-UX:*:*)
|
||||
echo sx4-nec-superux${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
SX-5:SUPER-UX:*:*)
|
||||
echo sx5-nec-superux${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
Power*:Rhapsody:*:*)
|
||||
echo powerpc-apple-rhapsody${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
*:Rhapsody:*:*)
|
||||
echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
esac
|
||||
|
||||
#echo '(No uname command or uname output not recognized.)' 1>&2
|
||||
#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
|
||||
|
||||
cat >$dummy.c <<EOF
|
||||
#ifdef _SEQUENT_
|
||||
# include <sys/types.h>
|
||||
# include <sys/utsname.h>
|
||||
#endif
|
||||
main ()
|
||||
{
|
||||
#if defined (sony)
|
||||
#if defined (MIPSEB)
|
||||
/* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
|
||||
I don't know.... */
|
||||
printf ("mips-sony-bsd\n"); exit (0);
|
||||
#else
|
||||
#include <sys/param.h>
|
||||
printf ("m68k-sony-newsos%s\n",
|
||||
#ifdef NEWSOS4
|
||||
"4"
|
||||
#else
|
||||
""
|
||||
#endif
|
||||
); exit (0);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined (__arm) && defined (__acorn) && defined (__unix)
|
||||
printf ("arm-acorn-riscix"); exit (0);
|
||||
#endif
|
||||
|
||||
#if defined (hp300) && !defined (hpux)
|
||||
printf ("m68k-hp-bsd\n"); exit (0);
|
||||
#endif
|
||||
|
||||
#if defined (NeXT)
|
||||
#if !defined (__ARCHITECTURE__)
|
||||
#define __ARCHITECTURE__ "m68k"
|
||||
#endif
|
||||
int version;
|
||||
version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
|
||||
if (version < 4)
|
||||
printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
|
||||
else
|
||||
printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
|
||||
exit (0);
|
||||
#endif
|
||||
|
||||
#if defined (MULTIMAX) || defined (n16)
|
||||
#if defined (UMAXV)
|
||||
printf ("ns32k-encore-sysv\n"); exit (0);
|
||||
#else
|
||||
#if defined (CMU)
|
||||
printf ("ns32k-encore-mach\n"); exit (0);
|
||||
#else
|
||||
printf ("ns32k-encore-bsd\n"); exit (0);
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined (__386BSD__)
|
||||
printf ("i386-pc-bsd\n"); exit (0);
|
||||
#endif
|
||||
|
||||
#if defined (sequent)
|
||||
#if defined (i386)
|
||||
printf ("i386-sequent-dynix\n"); exit (0);
|
||||
#endif
|
||||
#if defined (ns32000)
|
||||
printf ("ns32k-sequent-dynix\n"); exit (0);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined (_SEQUENT_)
|
||||
struct utsname un;
|
||||
|
||||
uname(&un);
|
||||
|
||||
if (strncmp(un.version, "V2", 2) == 0) {
|
||||
printf ("i386-sequent-ptx2\n"); exit (0);
|
||||
}
|
||||
if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
|
||||
printf ("i386-sequent-ptx1\n"); exit (0);
|
||||
}
|
||||
printf ("i386-sequent-ptx\n"); exit (0);
|
||||
|
||||
#endif
|
||||
|
||||
#if defined (vax)
|
||||
#if !defined (ultrix)
|
||||
printf ("vax-dec-bsd\n"); exit (0);
|
||||
#else
|
||||
printf ("vax-dec-ultrix\n"); exit (0);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined (alliant) && defined (i860)
|
||||
printf ("i860-alliant-bsd\n"); exit (0);
|
||||
#endif
|
||||
|
||||
exit (1);
|
||||
}
|
||||
EOF
|
||||
|
||||
${CC-cc} $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm $dummy.c $dummy && exit 0
|
||||
rm -f $dummy.c $dummy
|
||||
|
||||
# Apollos put the system type in the environment.
|
||||
|
||||
test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; }
|
||||
|
||||
# Convex versions that predate uname can use getsysinfo(1)
|
||||
|
||||
if [ -x /usr/convex/getsysinfo ]
|
||||
then
|
||||
case `getsysinfo -f cpu_type` in
|
||||
c1*)
|
||||
echo c1-convex-bsd
|
||||
exit 0 ;;
|
||||
c2*)
|
||||
if getsysinfo -f scalar_acc
|
||||
then echo c32-convex-bsd
|
||||
else echo c2-convex-bsd
|
||||
fi
|
||||
exit 0 ;;
|
||||
c34*)
|
||||
echo c34-convex-bsd
|
||||
exit 0 ;;
|
||||
c38*)
|
||||
echo c38-convex-bsd
|
||||
exit 0 ;;
|
||||
c4*)
|
||||
echo c4-convex-bsd
|
||||
exit 0 ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
#echo '(Unable to guess system type)' 1>&2
|
||||
|
||||
exit 1
|
|
@ -55,6 +55,9 @@
|
|||
/* Version number. */
|
||||
#undef VERSION
|
||||
|
||||
/* Define to `int' if <sys/types.h> doesn't define. */
|
||||
#undef ssize_t
|
||||
|
||||
/* Hack for Visual C++ suggested by irox. */
|
||||
#undef alloca
|
||||
|
||||
|
@ -100,6 +103,9 @@
|
|||
/* Define if you have the memchr function. */
|
||||
#undef HAVE_MEMCHR
|
||||
|
||||
/* Define if you have the memmove function. */
|
||||
#undef HAVE_MEMMOVE
|
||||
|
||||
/* Define if you have the munmap function. */
|
||||
#undef HAVE_MUNMAP
|
||||
|
||||
|
@ -130,6 +136,9 @@
|
|||
/* Define if you have the strerror function. */
|
||||
#undef HAVE_STRERROR
|
||||
|
||||
/* Define if you have the wctype function. */
|
||||
#undef HAVE_WCTYPE
|
||||
|
||||
/* Define if you have the <argz.h> header file. */
|
||||
#undef HAVE_ARGZ_H
|
||||
|
||||
|
@ -183,3 +192,16 @@
|
|||
|
||||
/* Define if you have the i library (-li). */
|
||||
#undef HAVE_LIBI
|
||||
|
||||
/* Number of bits in a file offset, on hosts where this is settable. */
|
||||
#undef _FILE_OFFSET_BITS
|
||||
|
||||
/* Define to make fseeko etc. visible, on some hosts. */
|
||||
#undef _LARGEFILE_SOURCE
|
||||
|
||||
/* Define for large files, on AIX-style hosts. */
|
||||
#undef _LARGE_FILES
|
||||
|
||||
/* Define if compiler has function prototypes */
|
||||
#undef PROTOTYPES
|
||||
|
||||
|
|
|
@ -0,0 +1,956 @@
|
|||
#! /bin/sh
|
||||
# Configuration validation subroutine script, version 1.1.
|
||||
# Copyright (C) 1991, 92-97, 1998 Free Software Foundation, Inc.
|
||||
# This file is (in principle) common to ALL GNU software.
|
||||
# The presence of a machine in this file suggests that SOME GNU software
|
||||
# can handle that machine. It does not imply ALL GNU software can.
|
||||
#
|
||||
# This file is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
# Boston, MA 02111-1307, USA.
|
||||
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
# Configuration subroutine to validate and canonicalize a configuration type.
|
||||
# Supply the specified configuration type as an argument.
|
||||
# If it is invalid, we print an error message on stderr and exit with code 1.
|
||||
# Otherwise, we print the canonical config type on stdout and succeed.
|
||||
|
||||
# This file is supposed to be the same for all GNU packages
|
||||
# and recognize all the CPU types, system types and aliases
|
||||
# that are meaningful with *any* GNU software.
|
||||
# Each package is responsible for reporting which valid configurations
|
||||
# it does not support. The user should be able to distinguish
|
||||
# a failure to support a valid configuration from a meaningless
|
||||
# configuration.
|
||||
|
||||
# The goal of this file is to map all the various variations of a given
|
||||
# machine specification into a single specification in the form:
|
||||
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
|
||||
# or in some cases, the newer four-part form:
|
||||
# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
|
||||
# It is wrong to echo any other type of specification.
|
||||
|
||||
if [ x$1 = x ]
|
||||
then
|
||||
echo Configuration name missing. 1>&2
|
||||
echo "Usage: $0 CPU-MFR-OPSYS" 1>&2
|
||||
echo "or $0 ALIAS" 1>&2
|
||||
echo where ALIAS is a recognized configuration type. 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# First pass through any local machine types.
|
||||
case $1 in
|
||||
*local*)
|
||||
echo $1
|
||||
exit 0
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
|
||||
# Here we must recognize all the valid KERNEL-OS combinations.
|
||||
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
|
||||
case $maybe_os in
|
||||
linux-gnu*)
|
||||
os=-$maybe_os
|
||||
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
|
||||
;;
|
||||
*)
|
||||
basic_machine=`echo $1 | sed 's/-[^-]*$//'`
|
||||
if [ $basic_machine != $1 ]
|
||||
then os=`echo $1 | sed 's/.*-/-/'`
|
||||
else os=; fi
|
||||
;;
|
||||
esac
|
||||
|
||||
### Let's recognize common machines as not being operating systems so
|
||||
### that things like config.sub decstation-3100 work. We also
|
||||
### recognize some manufacturers as not being operating systems, so we
|
||||
### can provide default operating systems below.
|
||||
case $os in
|
||||
-sun*os*)
|
||||
# Prevent following clause from handling this invalid input.
|
||||
;;
|
||||
-dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
|
||||
-att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
|
||||
-unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
|
||||
-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
|
||||
-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
|
||||
-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
|
||||
-apple)
|
||||
os=
|
||||
basic_machine=$1
|
||||
;;
|
||||
-hiux*)
|
||||
os=-hiuxwe2
|
||||
;;
|
||||
-sco5)
|
||||
os=sco3.2v5
|
||||
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
||||
;;
|
||||
-sco4)
|
||||
os=-sco3.2v4
|
||||
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
||||
;;
|
||||
-sco3.2.[4-9]*)
|
||||
os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
|
||||
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
||||
;;
|
||||
-sco3.2v[4-9]*)
|
||||
# Don't forget version if it is 3.2v4 or newer.
|
||||
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
||||
;;
|
||||
-sco*)
|
||||
os=-sco3.2v2
|
||||
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
||||
;;
|
||||
-isc)
|
||||
os=-isc2.2
|
||||
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
||||
;;
|
||||
-clix*)
|
||||
basic_machine=clipper-intergraph
|
||||
;;
|
||||
-isc*)
|
||||
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
||||
;;
|
||||
-lynx*)
|
||||
os=-lynxos
|
||||
;;
|
||||
-ptx*)
|
||||
basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
|
||||
;;
|
||||
-windowsnt*)
|
||||
os=`echo $os | sed -e 's/windowsnt/winnt/'`
|
||||
;;
|
||||
-psos*)
|
||||
os=-psos
|
||||
;;
|
||||
esac
|
||||
|
||||
# Decode aliases for certain CPU-COMPANY combinations.
|
||||
case $basic_machine in
|
||||
# Recognize the basic CPU types without company name.
|
||||
# Some are omitted here because they have special meanings below.
|
||||
tahoe | i860 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \
|
||||
| arme[lb] | pyramid | mn10200 | mn10300 | tron | a29k \
|
||||
| 580 | i960 | h8300 | hppa | hppa1.0 | hppa1.1 | hppa2.0 \
|
||||
| alpha | alphaev5 | alphaev56 | we32k | ns16k | clipper \
|
||||
| i370 | sh | powerpc | powerpcle | 1750a | dsp16xx | pdp11 \
|
||||
| mips64 | mipsel | mips64el | mips64orion | mips64orionel \
|
||||
| mipstx39 | mipstx39el \
|
||||
| sparc | sparclet | sparclite | sparc64 | v850)
|
||||
basic_machine=$basic_machine-unknown
|
||||
;;
|
||||
# We use `pc' rather than `unknown'
|
||||
# because (1) that's what they normally are, and
|
||||
# (2) the word "unknown" tends to confuse beginning users.
|
||||
i[34567]86)
|
||||
basic_machine=$basic_machine-pc
|
||||
;;
|
||||
# Object if more than one company name word.
|
||||
*-*-*)
|
||||
echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
|
||||
exit 1
|
||||
;;
|
||||
# Recognize the basic CPU types with company name.
|
||||
vax-* | tahoe-* | i[34567]86-* | i860-* | m32r-* | m68k-* | m68000-* \
|
||||
| m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \
|
||||
| mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
|
||||
| power-* | none-* | 580-* | cray2-* | h8300-* | i960-* \
|
||||
| xmp-* | ymp-* | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* \
|
||||
| alpha-* | alphaev5-* | alphaev56-* | we32k-* | cydra-* \
|
||||
| ns16k-* | pn-* | np1-* | xps100-* | clipper-* | orion-* \
|
||||
| sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
|
||||
| sparc64-* | mips64-* | mipsel-* \
|
||||
| mips64el-* | mips64orion-* | mips64orionel-* \
|
||||
| mipstx39-* | mipstx39el-* \
|
||||
| f301-*)
|
||||
;;
|
||||
# Recognize the various machine names and aliases which stand
|
||||
# for a CPU type and a company and sometimes even an OS.
|
||||
3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
|
||||
basic_machine=m68000-att
|
||||
;;
|
||||
3b*)
|
||||
basic_machine=we32k-att
|
||||
;;
|
||||
alliant | fx80)
|
||||
basic_machine=fx80-alliant
|
||||
;;
|
||||
altos | altos3068)
|
||||
basic_machine=m68k-altos
|
||||
;;
|
||||
am29k)
|
||||
basic_machine=a29k-none
|
||||
os=-bsd
|
||||
;;
|
||||
amdahl)
|
||||
basic_machine=580-amdahl
|
||||
os=-sysv
|
||||
;;
|
||||
amiga | amiga-*)
|
||||
basic_machine=m68k-cbm
|
||||
;;
|
||||
amigaos | amigados)
|
||||
basic_machine=m68k-cbm
|
||||
os=-amigaos
|
||||
;;
|
||||
amigaunix | amix)
|
||||
basic_machine=m68k-cbm
|
||||
os=-sysv4
|
||||
;;
|
||||
apollo68)
|
||||
basic_machine=m68k-apollo
|
||||
os=-sysv
|
||||
;;
|
||||
aux)
|
||||
basic_machine=m68k-apple
|
||||
os=-aux
|
||||
;;
|
||||
balance)
|
||||
basic_machine=ns32k-sequent
|
||||
os=-dynix
|
||||
;;
|
||||
convex-c1)
|
||||
basic_machine=c1-convex
|
||||
os=-bsd
|
||||
;;
|
||||
convex-c2)
|
||||
basic_machine=c2-convex
|
||||
os=-bsd
|
||||
;;
|
||||
convex-c32)
|
||||
basic_machine=c32-convex
|
||||
os=-bsd
|
||||
;;
|
||||
convex-c34)
|
||||
basic_machine=c34-convex
|
||||
os=-bsd
|
||||
;;
|
||||
convex-c38)
|
||||
basic_machine=c38-convex
|
||||
os=-bsd
|
||||
;;
|
||||
cray | ymp)
|
||||
basic_machine=ymp-cray
|
||||
os=-unicos
|
||||
;;
|
||||
cray2)
|
||||
basic_machine=cray2-cray
|
||||
os=-unicos
|
||||
;;
|
||||
[ctj]90-cray)
|
||||
basic_machine=c90-cray
|
||||
os=-unicos
|
||||
;;
|
||||
crds | unos)
|
||||
basic_machine=m68k-crds
|
||||
;;
|
||||
da30 | da30-*)
|
||||
basic_machine=m68k-da30
|
||||
;;
|
||||
decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
|
||||
basic_machine=mips-dec
|
||||
;;
|
||||
delta | 3300 | motorola-3300 | motorola-delta \
|
||||
| 3300-motorola | delta-motorola)
|
||||
basic_machine=m68k-motorola
|
||||
;;
|
||||
delta88)
|
||||
basic_machine=m88k-motorola
|
||||
os=-sysv3
|
||||
;;
|
||||
dpx20 | dpx20-*)
|
||||
basic_machine=rs6000-bull
|
||||
os=-bosx
|
||||
;;
|
||||
dpx2* | dpx2*-bull)
|
||||
basic_machine=m68k-bull
|
||||
os=-sysv3
|
||||
;;
|
||||
ebmon29k)
|
||||
basic_machine=a29k-amd
|
||||
os=-ebmon
|
||||
;;
|
||||
elxsi)
|
||||
basic_machine=elxsi-elxsi
|
||||
os=-bsd
|
||||
;;
|
||||
encore | umax | mmax)
|
||||
basic_machine=ns32k-encore
|
||||
;;
|
||||
fx2800)
|
||||
basic_machine=i860-alliant
|
||||
;;
|
||||
genix)
|
||||
basic_machine=ns32k-ns
|
||||
;;
|
||||
gmicro)
|
||||
basic_machine=tron-gmicro
|
||||
os=-sysv
|
||||
;;
|
||||
h3050r* | hiux*)
|
||||
basic_machine=hppa1.1-hitachi
|
||||
os=-hiuxwe2
|
||||
;;
|
||||
h8300hms)
|
||||
basic_machine=h8300-hitachi
|
||||
os=-hms
|
||||
;;
|
||||
harris)
|
||||
basic_machine=m88k-harris
|
||||
os=-sysv3
|
||||
;;
|
||||
hp300-*)
|
||||
basic_machine=m68k-hp
|
||||
;;
|
||||
hp300bsd)
|
||||
basic_machine=m68k-hp
|
||||
os=-bsd
|
||||
;;
|
||||
hp300hpux)
|
||||
basic_machine=m68k-hp
|
||||
os=-hpux
|
||||
;;
|
||||
hp9k2[0-9][0-9] | hp9k31[0-9])
|
||||
basic_machine=m68000-hp
|
||||
;;
|
||||
hp9k3[2-9][0-9])
|
||||
basic_machine=m68k-hp
|
||||
;;
|
||||
hp9k7[0-9][0-9] | hp7[0-9][0-9] | hp9k8[0-9]7 | hp8[0-9]7)
|
||||
basic_machine=hppa1.1-hp
|
||||
;;
|
||||
hp9k8[0-9][0-9] | hp8[0-9][0-9])
|
||||
basic_machine=hppa1.0-hp
|
||||
;;
|
||||
hppa-next)
|
||||
os=-nextstep3
|
||||
;;
|
||||
i370-ibm* | ibm*)
|
||||
basic_machine=i370-ibm
|
||||
os=-mvs
|
||||
;;
|
||||
# I'm not sure what "Sysv32" means. Should this be sysv3.2?
|
||||
i[34567]86v32)
|
||||
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
||||
os=-sysv32
|
||||
;;
|
||||
i[34567]86v4*)
|
||||
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
||||
os=-sysv4
|
||||
;;
|
||||
i[34567]86v)
|
||||
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
||||
os=-sysv
|
||||
;;
|
||||
i[34567]86sol2)
|
||||
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
||||
os=-solaris2
|
||||
;;
|
||||
iris | iris4d)
|
||||
basic_machine=mips-sgi
|
||||
case $os in
|
||||
-irix*)
|
||||
;;
|
||||
*)
|
||||
os=-irix4
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
isi68 | isi)
|
||||
basic_machine=m68k-isi
|
||||
os=-sysv
|
||||
;;
|
||||
m88k-omron*)
|
||||
basic_machine=m88k-omron
|
||||
;;
|
||||
magnum | m3230)
|
||||
basic_machine=mips-mips
|
||||
os=-sysv
|
||||
;;
|
||||
merlin)
|
||||
basic_machine=ns32k-utek
|
||||
os=-sysv
|
||||
;;
|
||||
miniframe)
|
||||
basic_machine=m68000-convergent
|
||||
;;
|
||||
mipsel*-linux*)
|
||||
basic_machine=mipsel-unknown
|
||||
os=-linux-gnu
|
||||
;;
|
||||
mips*-linux*)
|
||||
basic_machine=mips-unknown
|
||||
os=-linux-gnu
|
||||
;;
|
||||
mips3*-*)
|
||||
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
|
||||
;;
|
||||
mips3*)
|
||||
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
|
||||
;;
|
||||
ncr3000)
|
||||
basic_machine=i486-ncr
|
||||
os=-sysv4
|
||||
;;
|
||||
news | news700 | news800 | news900)
|
||||
basic_machine=m68k-sony
|
||||
os=-newsos
|
||||
;;
|
||||
news1000)
|
||||
basic_machine=m68030-sony
|
||||
os=-newsos
|
||||
;;
|
||||
news-3600 | risc-news)
|
||||
basic_machine=mips-sony
|
||||
os=-newsos
|
||||
;;
|
||||
next | m*-next )
|
||||
basic_machine=m68k-next
|
||||
case $os in
|
||||
-nextstep* )
|
||||
;;
|
||||
-ns2*)
|
||||
os=-nextstep2
|
||||
;;
|
||||
*)
|
||||
os=-nextstep3
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
nh3000)
|
||||
basic_machine=m68k-harris
|
||||
os=-cxux
|
||||
;;
|
||||
nh[45]000)
|
||||
basic_machine=m88k-harris
|
||||
os=-cxux
|
||||
;;
|
||||
nindy960)
|
||||
basic_machine=i960-intel
|
||||
os=-nindy
|
||||
;;
|
||||
np1)
|
||||
basic_machine=np1-gould
|
||||
;;
|
||||
pa-hitachi)
|
||||
basic_machine=hppa1.1-hitachi
|
||||
os=-hiuxwe2
|
||||
;;
|
||||
paragon)
|
||||
basic_machine=i860-intel
|
||||
os=-osf
|
||||
;;
|
||||
pbd)
|
||||
basic_machine=sparc-tti
|
||||
;;
|
||||
pbb)
|
||||
basic_machine=m68k-tti
|
||||
;;
|
||||
pc532 | pc532-*)
|
||||
basic_machine=ns32k-pc532
|
||||
;;
|
||||
pentium | p5 | k5 | nexen)
|
||||
basic_machine=i586-pc
|
||||
;;
|
||||
pentiumpro | p6 | k6 | 6x86)
|
||||
basic_machine=i686-pc
|
||||
;;
|
||||
pentiumii | pentium2)
|
||||
basic_machine=i786-pc
|
||||
;;
|
||||
pentium-* | p5-* | k5-* | nexen-*)
|
||||
basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||
;;
|
||||
pentiumpro-* | p6-* | k6-* | 6x86-*)
|
||||
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||
;;
|
||||
pentiumii-* | pentium2-*)
|
||||
basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||
;;
|
||||
pn)
|
||||
basic_machine=pn-gould
|
||||
;;
|
||||
power) basic_machine=rs6000-ibm
|
||||
;;
|
||||
ppc) basic_machine=powerpc-unknown
|
||||
;;
|
||||
ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||
;;
|
||||
ppcle | powerpclittle | ppc-le | powerpc-little)
|
||||
basic_machine=powerpcle-unknown
|
||||
;;
|
||||
ppcle-* | powerpclittle-*)
|
||||
basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||
;;
|
||||
ps2)
|
||||
basic_machine=i386-ibm
|
||||
;;
|
||||
rm[46]00)
|
||||
basic_machine=mips-siemens
|
||||
;;
|
||||
rtpc | rtpc-*)
|
||||
basic_machine=romp-ibm
|
||||
;;
|
||||
sequent)
|
||||
basic_machine=i386-sequent
|
||||
;;
|
||||
sh)
|
||||
basic_machine=sh-hitachi
|
||||
os=-hms
|
||||
;;
|
||||
sps7)
|
||||
basic_machine=m68k-bull
|
||||
os=-sysv2
|
||||
;;
|
||||
spur)
|
||||
basic_machine=spur-unknown
|
||||
;;
|
||||
sun2)
|
||||
basic_machine=m68000-sun
|
||||
;;
|
||||
sun2os3)
|
||||
basic_machine=m68000-sun
|
||||
os=-sunos3
|
||||
;;
|
||||
sun2os4)
|
||||
basic_machine=m68000-sun
|
||||
os=-sunos4
|
||||
;;
|
||||
sun3os3)
|
||||
basic_machine=m68k-sun
|
||||
os=-sunos3
|
||||
;;
|
||||
sun3os4)
|
||||
basic_machine=m68k-sun
|
||||
os=-sunos4
|
||||
;;
|
||||
sun4os3)
|
||||
basic_machine=sparc-sun
|
||||
os=-sunos3
|
||||
;;
|
||||
sun4os4)
|
||||
basic_machine=sparc-sun
|
||||
os=-sunos4
|
||||
;;
|
||||
sun4sol2)
|
||||
basic_machine=sparc-sun
|
||||
os=-solaris2
|
||||
;;
|
||||
sun3 | sun3-*)
|
||||
basic_machine=m68k-sun
|
||||
;;
|
||||
sun4)
|
||||
basic_machine=sparc-sun
|
||||
;;
|
||||
sun386 | sun386i | roadrunner)
|
||||
basic_machine=i386-sun
|
||||
;;
|
||||
symmetry)
|
||||
basic_machine=i386-sequent
|
||||
os=-dynix
|
||||
;;
|
||||
tx39)
|
||||
basic_machine=mipstx39-unknown
|
||||
;;
|
||||
tx39el)
|
||||
basic_machine=mipstx39el-unknown
|
||||
;;
|
||||
tower | tower-32)
|
||||
basic_machine=m68k-ncr
|
||||
;;
|
||||
udi29k)
|
||||
basic_machine=a29k-amd
|
||||
os=-udi
|
||||
;;
|
||||
ultra3)
|
||||
basic_machine=a29k-nyu
|
||||
os=-sym1
|
||||
;;
|
||||
vaxv)
|
||||
basic_machine=vax-dec
|
||||
os=-sysv
|
||||
;;
|
||||
vms)
|
||||
basic_machine=vax-dec
|
||||
os=-vms
|
||||
;;
|
||||
vpp*|vx|vx-*)
|
||||
basic_machine=f301-fujitsu
|
||||
;;
|
||||
vxworks960)
|
||||
basic_machine=i960-wrs
|
||||
os=-vxworks
|
||||
;;
|
||||
vxworks68)
|
||||
basic_machine=m68k-wrs
|
||||
os=-vxworks
|
||||
;;
|
||||
vxworks29k)
|
||||
basic_machine=a29k-wrs
|
||||
os=-vxworks
|
||||
;;
|
||||
xmp)
|
||||
basic_machine=xmp-cray
|
||||
os=-unicos
|
||||
;;
|
||||
xps | xps100)
|
||||
basic_machine=xps100-honeywell
|
||||
;;
|
||||
none)
|
||||
basic_machine=none-none
|
||||
os=-none
|
||||
;;
|
||||
|
||||
# Here we handle the default manufacturer of certain CPU types. It is in
|
||||
# some cases the only manufacturer, in others, it is the most popular.
|
||||
mips)
|
||||
if [ x$os = x-linux-gnu ]; then
|
||||
basic_machine=mips-unknown
|
||||
else
|
||||
basic_machine=mips-mips
|
||||
fi
|
||||
;;
|
||||
romp)
|
||||
basic_machine=romp-ibm
|
||||
;;
|
||||
rs6000)
|
||||
basic_machine=rs6000-ibm
|
||||
;;
|
||||
vax)
|
||||
basic_machine=vax-dec
|
||||
;;
|
||||
pdp11)
|
||||
basic_machine=pdp11-dec
|
||||
;;
|
||||
we32k)
|
||||
basic_machine=we32k-att
|
||||
;;
|
||||
sparc)
|
||||
basic_machine=sparc-sun
|
||||
;;
|
||||
cydra)
|
||||
basic_machine=cydra-cydrome
|
||||
;;
|
||||
orion)
|
||||
basic_machine=orion-highlevel
|
||||
;;
|
||||
orion105)
|
||||
basic_machine=clipper-highlevel
|
||||
;;
|
||||
*)
|
||||
echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# Here we canonicalize certain aliases for manufacturers.
|
||||
case $basic_machine in
|
||||
*-digital*)
|
||||
basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
|
||||
;;
|
||||
*-commodore*)
|
||||
basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
# Decode manufacturer-specific aliases for certain operating systems.
|
||||
|
||||
if [ x"$os" != x"" ]
|
||||
then
|
||||
case $os in
|
||||
# First match some system type aliases
|
||||
# that might get confused with valid system types.
|
||||
# -solaris* is a basic system type, with this one exception.
|
||||
-solaris1 | -solaris1.*)
|
||||
os=`echo $os | sed -e 's|solaris1|sunos4|'`
|
||||
;;
|
||||
-solaris)
|
||||
os=-solaris2
|
||||
;;
|
||||
-svr4*)
|
||||
os=-sysv4
|
||||
;;
|
||||
-unixware*)
|
||||
os=-sysv4.2uw
|
||||
;;
|
||||
-gnu/linux*)
|
||||
os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
|
||||
;;
|
||||
# First accept the basic system types.
|
||||
# The portable systems comes first.
|
||||
# Each alternative MUST END IN A *, to match a version number.
|
||||
# -sysv* is not here because it comes later, after sysvr4.
|
||||
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
|
||||
| -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
|
||||
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
|
||||
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
|
||||
| -aos* \
|
||||
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
||||
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
||||
| -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
|
||||
| -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \
|
||||
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
|
||||
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
|
||||
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
||||
| -mingw32* | -linux-gnu* | -uxpv* | -beos* | -rhapsody* \
|
||||
| -openstep*)
|
||||
# Remember, each alternative MUST END IN *, to match a version number.
|
||||
;;
|
||||
-linux*)
|
||||
os=`echo $os | sed -e 's|linux|linux-gnu|'`
|
||||
;;
|
||||
-sunos5*)
|
||||
os=`echo $os | sed -e 's|sunos5|solaris2|'`
|
||||
;;
|
||||
-sunos6*)
|
||||
os=`echo $os | sed -e 's|sunos6|solaris3|'`
|
||||
;;
|
||||
-osfrose*)
|
||||
os=-osfrose
|
||||
;;
|
||||
-osf*)
|
||||
os=-osf
|
||||
;;
|
||||
-utek*)
|
||||
os=-bsd
|
||||
;;
|
||||
-dynix*)
|
||||
os=-bsd
|
||||
;;
|
||||
-acis*)
|
||||
os=-aos
|
||||
;;
|
||||
-ctix* | -uts*)
|
||||
os=-sysv
|
||||
;;
|
||||
-ns2 )
|
||||
os=-nextstep2
|
||||
;;
|
||||
# Preserve the version number of sinix5.
|
||||
-sinix5.*)
|
||||
os=`echo $os | sed -e 's|sinix|sysv|'`
|
||||
;;
|
||||
-sinix*)
|
||||
os=-sysv4
|
||||
;;
|
||||
-triton*)
|
||||
os=-sysv3
|
||||
;;
|
||||
-oss*)
|
||||
os=-sysv3
|
||||
;;
|
||||
-svr4)
|
||||
os=-sysv4
|
||||
;;
|
||||
-svr3)
|
||||
os=-sysv3
|
||||
;;
|
||||
-sysvr4)
|
||||
os=-sysv4
|
||||
;;
|
||||
# This must come after -sysvr4.
|
||||
-sysv*)
|
||||
;;
|
||||
-xenix)
|
||||
os=-xenix
|
||||
;;
|
||||
-none)
|
||||
;;
|
||||
*)
|
||||
# Get rid of the `-' at the beginning of $os.
|
||||
os=`echo $os | sed 's/[^-]*-//'`
|
||||
echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
else
|
||||
|
||||
# Here we handle the default operating systems that come with various machines.
|
||||
# The value should be what the vendor currently ships out the door with their
|
||||
# machine or put another way, the most popular os provided with the machine.
|
||||
|
||||
# Note that if you're going to try to match "-MANUFACTURER" here (say,
|
||||
# "-sun"), then you have to tell the case statement up towards the top
|
||||
# that MANUFACTURER isn't an operating system. Otherwise, code above
|
||||
# will signal an error saying that MANUFACTURER isn't an operating
|
||||
# system, and we'll never get to this point.
|
||||
|
||||
case $basic_machine in
|
||||
*-acorn)
|
||||
os=-riscix1.2
|
||||
;;
|
||||
arm*-semi)
|
||||
os=-aout
|
||||
;;
|
||||
pdp11-*)
|
||||
os=-none
|
||||
;;
|
||||
*-dec | vax-*)
|
||||
os=-ultrix4.2
|
||||
;;
|
||||
m68*-apollo)
|
||||
os=-domain
|
||||
;;
|
||||
i386-sun)
|
||||
os=-sunos4.0.2
|
||||
;;
|
||||
m68000-sun)
|
||||
os=-sunos3
|
||||
# This also exists in the configure program, but was not the
|
||||
# default.
|
||||
# os=-sunos4
|
||||
;;
|
||||
*-tti) # must be before sparc entry or we get the wrong os.
|
||||
os=-sysv3
|
||||
;;
|
||||
sparc-* | *-sun)
|
||||
os=-sunos4.1.1
|
||||
;;
|
||||
*-be)
|
||||
os=-beos
|
||||
;;
|
||||
*-ibm)
|
||||
os=-aix
|
||||
;;
|
||||
*-hp)
|
||||
os=-hpux
|
||||
;;
|
||||
*-hitachi)
|
||||
os=-hiux
|
||||
;;
|
||||
i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
|
||||
os=-sysv
|
||||
;;
|
||||
*-cbm)
|
||||
os=-amigaos
|
||||
;;
|
||||
*-dg)
|
||||
os=-dgux
|
||||
;;
|
||||
*-dolphin)
|
||||
os=-sysv3
|
||||
;;
|
||||
m68k-ccur)
|
||||
os=-rtu
|
||||
;;
|
||||
m88k-omron*)
|
||||
os=-luna
|
||||
;;
|
||||
*-next )
|
||||
os=-nextstep
|
||||
;;
|
||||
*-sequent)
|
||||
os=-ptx
|
||||
;;
|
||||
*-crds)
|
||||
os=-unos
|
||||
;;
|
||||
*-ns)
|
||||
os=-genix
|
||||
;;
|
||||
i370-*)
|
||||
os=-mvs
|
||||
;;
|
||||
*-next)
|
||||
os=-nextstep3
|
||||
;;
|
||||
*-gould)
|
||||
os=-sysv
|
||||
;;
|
||||
*-highlevel)
|
||||
os=-bsd
|
||||
;;
|
||||
*-encore)
|
||||
os=-bsd
|
||||
;;
|
||||
*-sgi)
|
||||
os=-irix
|
||||
;;
|
||||
*-siemens)
|
||||
os=-sysv4
|
||||
;;
|
||||
*-masscomp)
|
||||
os=-rtu
|
||||
;;
|
||||
f301-fujitsu)
|
||||
os=-uxpv
|
||||
;;
|
||||
*)
|
||||
os=-none
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Here we handle the case where we know the os, and the CPU type, but not the
|
||||
# manufacturer. We pick the logical manufacturer.
|
||||
vendor=unknown
|
||||
case $basic_machine in
|
||||
*-unknown)
|
||||
case $os in
|
||||
-riscix*)
|
||||
vendor=acorn
|
||||
;;
|
||||
-sunos*)
|
||||
vendor=sun
|
||||
;;
|
||||
-aix*)
|
||||
vendor=ibm
|
||||
;;
|
||||
-hpux*)
|
||||
vendor=hp
|
||||
;;
|
||||
-hiux*)
|
||||
vendor=hitachi
|
||||
;;
|
||||
-unos*)
|
||||
vendor=crds
|
||||
;;
|
||||
-dgux*)
|
||||
vendor=dg
|
||||
;;
|
||||
-luna*)
|
||||
vendor=omron
|
||||
;;
|
||||
-genix*)
|
||||
vendor=ns
|
||||
;;
|
||||
-mvs*)
|
||||
vendor=ibm
|
||||
;;
|
||||
-ptx*)
|
||||
vendor=sequent
|
||||
;;
|
||||
-vxsim* | -vxworks*)
|
||||
vendor=wrs
|
||||
;;
|
||||
-aux*)
|
||||
vendor=apple
|
||||
;;
|
||||
esac
|
||||
basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
|
||||
;;
|
||||
esac
|
||||
|
||||
echo $basic_machine$os
|
File diff suppressed because it is too large
Load Diff
|
@ -8,28 +8,27 @@ AC_DEFINE(GREP)
|
|||
AC_PREREQ(2.13)
|
||||
|
||||
dnl Automake stuff.
|
||||
AM_INIT_AUTOMAKE(grep, 2.3)
|
||||
AM_INIT_AUTOMAKE(grep, 2.4)
|
||||
AM_CONFIG_HEADER(config.h:config.hin)
|
||||
|
||||
dnl Checks for programs.
|
||||
AC_CANONICAL_HOST
|
||||
AC_PROG_AWK
|
||||
AC_PROG_CC
|
||||
AC_PROG_INSTALL
|
||||
AC_PROG_RANLIB
|
||||
|
||||
# From Paul Eggert.
|
||||
# If available, prefer support for large files unless the user specified
|
||||
# one of the CPPFLAGS, LDFLAGS, or LIBS variables.
|
||||
AC_LFS
|
||||
|
||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||
AC_SYS_LARGEFILE
|
||||
AM_C_PROTOTYPES
|
||||
AC_TYPE_SIZE_T
|
||||
AC_CHECK_TYPE(ssize_t, int)
|
||||
AC_C_CONST
|
||||
|
||||
dnl Checks for header files.
|
||||
AC_HEADER_STDC
|
||||
AC_CHECK_HEADERS(string.h stdlib.h sys/param.h memory.h unistd.h libintl.h)
|
||||
AC_CHECK_HEADERS(wctype.h wchar.h, USE_WCHAR=yes, USE_WCHAR=no)
|
||||
AC_CHECK_HEADERS(wctype.h wchar.h)
|
||||
AC_HEADER_DIRENT
|
||||
AC_HEADER_STAT
|
||||
|
||||
|
@ -38,23 +37,18 @@ AC_FUNC_ALLOCA
|
|||
AC_FUNC_CLOSEDIR_VOID
|
||||
AC_FUNC_MMAP
|
||||
dnl getpagesize is checked for by AC_FUNC_MMAP.
|
||||
AC_CHECK_FUNCS(strerror isascii setmode)
|
||||
AC_CHECK_FUNCS(btowc isascii memmove setmode strerror wctype)
|
||||
AC_REPLACE_FUNCS(memchr stpcpy)
|
||||
dnl Solaris 2.5 doesn't have btowc()
|
||||
if test "$USE_WCHAR" = "yes"; then
|
||||
AC_REPLACE_FUNCS(btowc)
|
||||
dnl Solaris puts wctype/wXXX() in /usr/lib/libw.a
|
||||
AC_CHECK_LIB(w, wctype, [LIBS="$LIBS -lw"])
|
||||
fi
|
||||
|
||||
dnl for VC++
|
||||
if test x$ac_cv_prog_CC = xcl ; then
|
||||
AC_DEFINE(alloca, _alloca)
|
||||
fi
|
||||
case "$ac_cv_prog_CC" in
|
||||
cl*) AC_DEFINE(alloca, _alloca) ;;
|
||||
*) ;;
|
||||
esac
|
||||
|
||||
|
||||
dnl I18N feature
|
||||
ALL_LINGUAS="de es el fr ko nl no pl ru sl sv"
|
||||
ALL_LINGUAS="de es el fr ko nl no pl pt_BR ru sl sv"
|
||||
AM_GNU_GETTEXT
|
||||
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
|
||||
AC_DEFINE_UNQUOTED(VERSION, "$VERSION")
|
||||
|
@ -75,6 +69,12 @@ AC_OBJEXT
|
|||
dnl some folks ask for this, that's fine by me
|
||||
dnl hope they know what they're doing ...
|
||||
dnl if glibc2 regex is not included
|
||||
jm_INCLUDED_REGEX(src/regex.c)
|
||||
|
||||
dnl This commented out now.
|
||||
dnl I no longer follow GLibC regex, glibc maitainers decided
|
||||
dnl to drop support for k&r semantics. And beside, it was
|
||||
dnl a real pain since on many GNU/Linux people have different
|
||||
dnl glibc versions with buggy regex.
|
||||
#jm_INCLUDED_REGEX(src/regex.c)
|
||||
|
||||
AC_OUTPUT(Makefile src/Makefile tests/Makefile po/Makefile.in intl/Makefile doc/Makefile m4/Makefile djgpp/Makefile vms/Makefile bootstrap/Makefile, [sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile; echo timestamp > stamp-h])
|
||||
|
|
|
@ -57,13 +57,17 @@ POST_INSTALL = :
|
|||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
host_alias = @host_alias@
|
||||
host_triplet = @host@
|
||||
AWK = @AWK@
|
||||
CATALOGS = @CATALOGS@
|
||||
CATOBJEXT = @CATOBJEXT@
|
||||
CC = @CC@
|
||||
CPP = @CPP@
|
||||
DATADIRNAME = @DATADIRNAME@
|
||||
EXEEXT = @EXEEXT@
|
||||
GENCAT = @GENCAT@
|
||||
GETCONF = @GETCONF@
|
||||
GMOFILES = @GMOFILES@
|
||||
GMSGFMT = @GMSGFMT@
|
||||
GT_NO = @GT_NO@
|
||||
|
@ -83,6 +87,7 @@ POFILES = @POFILES@
|
|||
POSUB = @POSUB@
|
||||
RANLIB = @RANLIB@
|
||||
SEP = @SEP@
|
||||
U = @U@
|
||||
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
@set UPDATED 10 February 1999
|
||||
@set EDITION 2.3
|
||||
@set VERSION 2.3
|
||||
@set UPDATED 13 November 1999
|
||||
@set EDITION 2.4
|
||||
@set VERSION 2.4
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
@set UPDATED 10 February 1999
|
||||
@set EDITION 2.3
|
||||
@set VERSION 2.3
|
||||
@set UPDATED 13 November 1999
|
||||
@set EDITION 2.4
|
||||
@set VERSION 2.4
|
||||
|
|
|
@ -39,33 +39,38 @@ const struct _msg_ent _msg_tbl[] = {
|
|||
{"?? getopt returned character code 0%o ??\n", 30},
|
||||
{"non-option ARGV-elements: ", 31},
|
||||
{"memory exhausted", 32},
|
||||
{"%s: warning: %s: %s\n", 33},
|
||||
{"writing output", 34},
|
||||
{"Binary file %s matches\n", 35},
|
||||
{"(standard input)", 36},
|
||||
{"writing output", 33},
|
||||
{"Binary file %s matches\n", 34},
|
||||
{"(standard input)", 35},
|
||||
{"%s: warning: %s: %s\n", 36},
|
||||
{"recursive directory loop", 37},
|
||||
{"Usage: %s [OPTION]... PATTERN [FILE]...\n", 38},
|
||||
{"Try `%s --help' for more information.\n", 39},
|
||||
{"Usage: %s [OPTION]... PATTERN [FILE] ...\n", 40},
|
||||
{"\
|
||||
Search for PATTERN in each FILE or standard input.\n\
|
||||
Example: %s -i 'hello.*world' menu.h main.c\n\
|
||||
\n\
|
||||
Regexp selection and interpretation:\n\
|
||||
Regexp selection and interpretation:\n", 41},
|
||||
{"\
|
||||
-E, --extended-regexp PATTERN is an extended regular expression\n\
|
||||
-F, --fixed-regexp PATTERN is a fixed string separated by newlines\n\
|
||||
-G, --basic-regexp PATTERN is a basic regular expression\n\
|
||||
-F, --fixed-strings PATTERN is a set of newline-separated strings\n\
|
||||
-G, --basic-regexp PATTERN is a basic regular expression\n", 42},
|
||||
{"\
|
||||
-e, --regexp=PATTERN use PATTERN as a regular expression\n\
|
||||
-f, --file=FILE obtain PATTERN from FILE\n\
|
||||
-i, --ignore-case ignore case distinctions\n\
|
||||
-w, --word-regexp force PATTERN to match only whole words\n\
|
||||
-x, --line-regexp force PATTERN to match only whole lines\n", 41},
|
||||
-x, --line-regexp force PATTERN to match only whole lines\n\
|
||||
-z, --null-data a data line ends in 0 byte, not newline\n", 43},
|
||||
{"\
|
||||
\n\
|
||||
Miscellaneous:\n\
|
||||
-s, --no-messages suppress error messages\n\
|
||||
-v, --revert-match select non-matching lines\n\
|
||||
-v, --invert-match select non-matching lines\n\
|
||||
-V, --version print version information and exit\n\
|
||||
--help display this help and exit\n", 42},
|
||||
--help display this help and exit\n\
|
||||
--mmap use memory-mapped input if possible\n", 44},
|
||||
{"\
|
||||
\n\
|
||||
Output control:\n\
|
||||
|
@ -80,35 +85,35 @@ Output control:\n\
|
|||
-r, --recursive equivalent to --directories=recurse.\n\
|
||||
-L, --files-without-match only print FILE names containing no match\n\
|
||||
-l, --files-with-matches only print FILE names containing matches\n\
|
||||
-c, --count only print a count of matching lines per FILE\n", 43},
|
||||
-c, --count only print a count of matching lines per FILE\n\
|
||||
-Z, --null print 0 byte after FILE name\n", 45},
|
||||
{"\
|
||||
\n\
|
||||
Context control:\n\
|
||||
-B, --before-context=NUM print NUM lines of leading context\n\
|
||||
-A, --after-context=NUM print NUM lines of trailing context\n\
|
||||
-C, --context[=NUM] print NUM (default 2) lines of output context\n\
|
||||
unless overriden by -A or -B\n\
|
||||
unless overridden by -A or -B\n\
|
||||
-NUM same as --context=NUM\n\
|
||||
-U, --binary do not strip CR characters at EOL (MSDOS)\n\
|
||||
-u, --unix-byte-offsets report offsets as if CRs were not there (MSDOS)\n\
|
||||
\n\
|
||||
If no -[GEF], then `egrep' assumes -E, `fgrep' -F, else -G.\n\
|
||||
With no FILE, or when FILE is -, read standard input. If less than\n\
|
||||
two FILEs given, assume -h. Exit with 0 if matches, with 1 if none.\n\
|
||||
Exit with 2 if syntax errors or system errors.\n", 44},
|
||||
`egrep' means `grep -E'. `fgrep' means `grep -F'.\n\
|
||||
With no FILE, or when FILE is -, read standard input. If less than\n\
|
||||
two FILEs given, assume -h. Exit status is 0 if match, 1 if no match,\n\
|
||||
and 2 if trouble.\n", 46},
|
||||
{"\
|
||||
\n\
|
||||
Report bugs to <bug-gnu-utils@gnu.org>.\n", 45},
|
||||
{"invalid context length argument", 46},
|
||||
{"you may specify only one of -E, -F, or -G", 47},
|
||||
{"matcher already specified", 48},
|
||||
{"unknown directories method", 49},
|
||||
{"grep (GNU grep) %s\n", 50},
|
||||
{"Copyright (C) 1988, 1992-1998, 1999 Free Software Foundation, Inc.\n", 51},
|
||||
Report bugs to <bug-gnu-utils@gnu.org>.\n", 47},
|
||||
{"conflicting matchers specified", 48},
|
||||
{"invalid context length argument", 49},
|
||||
{"unknown directories method", 50},
|
||||
{"%s (GNU grep) %s\n", 51},
|
||||
{"Copyright (C) 1988, 1992-1998, 1999 Free Software Foundation, Inc.\n", 52},
|
||||
{"\
|
||||
This is free software; see the source for copying conditions. There is NO\n\
|
||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n", 52},
|
||||
{"memory exhausted\n", 53},
|
||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n", 53},
|
||||
{"memory exhausted\n", 54},
|
||||
};
|
||||
|
||||
int _msg_tbl_length = 53;
|
||||
int _msg_tbl_length = 54;
|
||||
|
|
Binary file not shown.
|
@ -1,59 +1,58 @@
|
|||
# German messages for GNU grep
|
||||
# Copyright (C) 1997, 1998 Free Software Foundation, Inc.
|
||||
# Martin von Löwis <martin@mira.isdn.cs.tu-berlin.de>, 1997, 1998
|
||||
# Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
|
||||
# Martin von Löwis <martin@mira.isdn.cs.tu-berlin.de>, 1997, 1998, 1999
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: GNU grep 2.2\n"
|
||||
"POT-Creation-Date: 1999-02-14 12:08-0500\n"
|
||||
"PO-Revision-Date: 1998-08-02 22:34 MET DST\n"
|
||||
"Project-Id-Version: GNU grep 2.3f\n"
|
||||
"POT-Creation-Date: 1999-11-13 11:33-0500\n"
|
||||
"PO-Revision-Date: 1999-10-10 15:32+02:00\n"
|
||||
"Last-Translator: Martin von Löwis <martin@mira.isdn.cs.tu-berlin.de>\n"
|
||||
"Language-Team: German <de@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=ISO-8859-1\n"
|
||||
"Content-Transfer-Encoding: 8-bit\n"
|
||||
|
||||
#: src/dfa.c:155 src/dfa.c:167 src/dfa.c:180 src/grep.c:861
|
||||
#: src/dfa.c:155 src/dfa.c:167 src/dfa.c:180 src/grep.c:921
|
||||
msgid "Memory exhausted"
|
||||
msgstr "Virtueller Speicher erschöpft."
|
||||
|
||||
#: src/dfa.c:452
|
||||
#: src/dfa.c:457
|
||||
msgid "Unfinished \\ escape"
|
||||
msgstr "Unbeendete \\-Escape-Sequenz."
|
||||
|
||||
#. Cases:
|
||||
#. {M} - exact count
|
||||
#. {M,} - minimum count, maximum is infinity
|
||||
#. {,M} - 0 through M
|
||||
#. {M,N} - M through N
|
||||
#: src/dfa.c:564 src/dfa.c:570 src/dfa.c:581 src/dfa.c:592
|
||||
#: src/dfa.c:590 src/dfa.c:596 src/dfa.c:606 src/dfa.c:614 src/dfa.c:629
|
||||
msgid "unfinished repeat count"
|
||||
msgstr "Unbeendeter Wiederholungszähler."
|
||||
|
||||
#: src/dfa.c:577 src/dfa.c:591 src/dfa.c:595
|
||||
#: src/dfa.c:603 src/dfa.c:620 src/dfa.c:628 src/dfa.c:632
|
||||
msgid "malformed repeat count"
|
||||
msgstr "Unförmiger Wiederholungszähler."
|
||||
|
||||
# Is this message used only for [ without matching ],
|
||||
# or for ] without [ as well?
|
||||
#: src/dfa.c:660 src/dfa.c:663 src/dfa.c:690 src/dfa.c:694 src/dfa.c:695
|
||||
#: src/dfa.c:698 src/dfa.c:711 src/dfa.c:712
|
||||
#: src/dfa.c:697 src/dfa.c:700 src/dfa.c:727 src/dfa.c:731 src/dfa.c:732
|
||||
#: src/dfa.c:735 src/dfa.c:748 src/dfa.c:749
|
||||
msgid "Unbalanced ["
|
||||
msgstr "Öffnende [ ohne schließende."
|
||||
|
||||
#: src/dfa.c:849
|
||||
#: src/dfa.c:886
|
||||
msgid "Unbalanced ("
|
||||
msgstr "Öffnende ( ohne schließende."
|
||||
|
||||
#: src/dfa.c:970
|
||||
#: src/dfa.c:1007
|
||||
msgid "No syntax specified"
|
||||
msgstr "Keine Syntax angegeben."
|
||||
|
||||
#: src/dfa.c:978
|
||||
#: src/dfa.c:1015
|
||||
msgid "Unbalanced )"
|
||||
msgstr "Schließende ) ohne öffnende."
|
||||
|
||||
#: src/dfa.c:1998
|
||||
#: src/dfa.c:2036
|
||||
msgid "out of memory"
|
||||
msgstr "Speicher ist alle."
|
||||
|
||||
|
@ -162,84 +161,99 @@ msgstr "?? getopt ergab Zeichen 0%o ??\n"
|
|||
msgid "non-option ARGV-elements: "
|
||||
msgstr "Nicht-Options-ARGV-Elemente: "
|
||||
|
||||
#: src/grep.c:172 src/grep.c:189 src/grep.c:291 src/grep.c:347 src/kwset.c:184
|
||||
#: src/grep.c:183 src/grep.c:200 src/grep.c:300 src/grep.c:408 src/kwset.c:184
|
||||
#: src/kwset.c:190
|
||||
msgid "memory exhausted"
|
||||
msgstr "Virtueller Speicher erschöpft."
|
||||
|
||||
#: src/grep.c:375 src/grep.c:846
|
||||
#: src/grep.c:560 src/grep.c:1454
|
||||
msgid "writing output"
|
||||
msgstr "schreibe Ausgabe"
|
||||
|
||||
#: src/grep.c:792
|
||||
#, c-format
|
||||
msgid "Binary file %s matches\n"
|
||||
msgstr "Übereinstimmungen in Binärdatei %s.\n"
|
||||
|
||||
#: src/grep.c:808
|
||||
msgid "(standard input)"
|
||||
msgstr "(Standardeingabe)"
|
||||
|
||||
#: src/grep.c:906
|
||||
#, c-format
|
||||
msgid "%s: warning: %s: %s\n"
|
||||
msgstr "%s: Warnung: %s: %s\n"
|
||||
|
||||
#: src/grep.c:500 src/grep.c:1321
|
||||
msgid "writing output"
|
||||
msgstr "schreibe Ausgabe"
|
||||
|
||||
#: src/grep.c:729
|
||||
#, c-format
|
||||
msgid "Binary file %s matches\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:745
|
||||
msgid "(standard input)"
|
||||
msgstr "(Standardeingabe)"
|
||||
|
||||
#: src/grep.c:847
|
||||
#: src/grep.c:907
|
||||
msgid "recursive directory loop"
|
||||
msgstr ""
|
||||
msgstr "Rekursive Verzeichnisschleife."
|
||||
|
||||
#: src/grep.c:898
|
||||
#: src/grep.c:958
|
||||
#, c-format
|
||||
msgid "Usage: %s [OPTION]... PATTERN [FILE]...\n"
|
||||
msgstr "Aufruf: %s [OPTION]... MUSTER [DATEI]...\n"
|
||||
|
||||
#: src/grep.c:899
|
||||
#: src/grep.c:959
|
||||
#, c-format
|
||||
msgid "Try `%s --help' for more information.\n"
|
||||
msgstr "»%s --help« gibt Ihnen mehr Informationen.\n"
|
||||
|
||||
#: src/grep.c:903
|
||||
#: src/grep.c:963
|
||||
#, c-format
|
||||
msgid "Usage: %s [OPTION]... PATTERN [FILE] ...\n"
|
||||
msgstr "Aufruf: %s [OPTION]... MUSTER [DATEI] ...\n"
|
||||
|
||||
#: src/grep.c:904
|
||||
#: src/grep.c:964
|
||||
#, fuzzy, c-format
|
||||
msgid ""
|
||||
"Search for PATTERN in each FILE or standard input.\n"
|
||||
"Example: %s -i 'hello.*world' menu.h main.c\n"
|
||||
"\n"
|
||||
"Regexp selection and interpretation:\n"
|
||||
msgstr ""
|
||||
"Suche nach MUSTER in jeder DATEI oder der Standardeingabe.\n"
|
||||
"\n"
|
||||
"Auswahl und Interpretation regulärer Ausdrücke:\n"
|
||||
|
||||
#: src/grep.c:969
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
" -E, --extended-regexp PATTERN is an extended regular expression\n"
|
||||
" -F, --fixed-regexp PATTERN is a fixed string separated by newlines\n"
|
||||
" -F, --fixed-strings PATTERN is a set of newline-separated strings\n"
|
||||
" -G, --basic-regexp PATTERN is a basic regular expression\n"
|
||||
msgstr ""
|
||||
" -E, --extended-regexp MUSTER ist ein erweiterter regulärer Ausdruck.\n"
|
||||
" -F, --fixed-regexp MUSTER ist eine feste Zeichenkette\n"
|
||||
" getrennt durch Leerzeichen.\n"
|
||||
" -G, --basic-regexp MUSTER ist ein regulärer Standardausdruck.\n"
|
||||
|
||||
#: src/grep.c:973
|
||||
msgid ""
|
||||
" -e, --regexp=PATTERN use PATTERN as a regular expression\n"
|
||||
" -f, --file=FILE obtain PATTERN from FILE\n"
|
||||
" -i, --ignore-case ignore case distinctions\n"
|
||||
" -w, --word-regexp force PATTERN to match only whole words\n"
|
||||
" -x, --line-regexp force PATTERN to match only whole lines\n"
|
||||
" -z, --null-data a data line ends in 0 byte, not newline\n"
|
||||
msgstr ""
|
||||
"Suche nach MUSTER in jeder DATEI oder der Standardeingabe.\n"
|
||||
"\n"
|
||||
"Auswahl und Interpretation regulärer Ausdrücke:\n"
|
||||
" -E, --extended-regexp MUSTER ist ein erweiterter regulärer Ausdruck.\n"
|
||||
" -F, --fixed-regexp MUSTER ist eine feste Zeichenkette\n"
|
||||
" getrennt durch Leerzeichen.\n"
|
||||
" -G, --basic-regexp MUSTER ist ein regulärer Standardausdruck.\n"
|
||||
" -e, --regexp=MUSTER MUSTER als regulären Ausdruck verwenden.\n"
|
||||
" -f, --file=FILE MUSTER aus DATEI lesen.\n"
|
||||
" -i, --ignore-case Unterschied zwischen Groß- und Kleinschreibung\n"
|
||||
" ignorieren.\n"
|
||||
" -w, --word-regexp MUSTER paßt nur auf ganze Wörter.\n"
|
||||
" -x, --line-regexp MUSTER paßt nur auf ganze Zeilen.\n"
|
||||
" -z, --null-data Eine Zeile endet mit Nullbyte, nicht Newline.\n"
|
||||
|
||||
#: src/grep.c:916
|
||||
#: src/grep.c:980
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"\n"
|
||||
"Miscellaneous:\n"
|
||||
" -s, --no-messages suppress error messages\n"
|
||||
" -v, --revert-match select non-matching lines\n"
|
||||
" -v, --invert-match select non-matching lines\n"
|
||||
" -V, --version print version information and exit\n"
|
||||
" --help display this help and exit\n"
|
||||
" --mmap use memory-mapped input if possible\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"Verschiedenes:\n"
|
||||
|
@ -248,8 +262,7 @@ msgstr ""
|
|||
" -V, --version Versionnummer ausgeben und beenden.\n"
|
||||
" --help Diese Hilfe ausgeben und beenden.\n"
|
||||
|
||||
#: src/grep.c:923
|
||||
#, fuzzy
|
||||
#: src/grep.c:988
|
||||
msgid ""
|
||||
"\n"
|
||||
"Output control:\n"
|
||||
|
@ -265,6 +278,7 @@ msgid ""
|
|||
" -L, --files-without-match only print FILE names containing no match\n"
|
||||
" -l, --files-with-matches only print FILE names containing matches\n"
|
||||
" -c, --count only print a count of matching lines per FILE\n"
|
||||
" -Z, --null print 0 byte after FILE name\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"Ausgabekontrolle:\n"
|
||||
|
@ -273,13 +287,18 @@ msgstr ""
|
|||
" -H, --with-filename Dateiname bei jeder Übereinstimmung anzeigen.\n"
|
||||
" -h, --no-filename Anzeige des Dateinamens unterdrücken.\n"
|
||||
" -q, --quiet, --silent Alle normalen Ausgaben unterdrücken.\n"
|
||||
" -a, --text Binärausgaben nicht unterdrücken.\n"
|
||||
" -d, --directories=AKTION Verarbeitung von Verzeichnissen festlegen.\n"
|
||||
" AKTION ist 'read', 'recurse', oder 'skip'.\n"
|
||||
" -r, --recursive Äquivalent zu --directories=recurse.\n"
|
||||
" -L, --files-without-match Nur Namen von Dateien ausgeben, die keine\n"
|
||||
" Übereinstimmung enthalten.\n"
|
||||
" -l, --files-with-matches Nur Dateinamen mit Übereinstimmungen ausgeben.\n"
|
||||
" -c, --count Nur Zahl der passenden Zeilen pro Datei "
|
||||
"ausgeben.\n"
|
||||
" -Z, --null Null-Byte nach jedem Dateinamen ausgeben.\n"
|
||||
|
||||
#: src/grep.c:938
|
||||
#: src/grep.c:1004
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"\n"
|
||||
|
@ -287,33 +306,35 @@ msgid ""
|
|||
" -B, --before-context=NUM print NUM lines of leading context\n"
|
||||
" -A, --after-context=NUM print NUM lines of trailing context\n"
|
||||
" -C, --context[=NUM] print NUM (default 2) lines of output context\n"
|
||||
" unless overriden by -A or -B\n"
|
||||
" unless overridden by -A or -B\n"
|
||||
" -NUM same as --context=NUM\n"
|
||||
" -U, --binary do not strip CR characters at EOL (MSDOS)\n"
|
||||
" -u, --unix-byte-offsets report offsets as if CRs were not there (MSDOS)\n"
|
||||
"\n"
|
||||
"If no -[GEF], then `egrep' assumes -E, `fgrep' -F, else -G.\n"
|
||||
"With no FILE, or when FILE is -, read standard input. If less than\n"
|
||||
"two FILEs given, assume -h. Exit with 0 if matches, with 1 if none.\n"
|
||||
"Exit with 2 if syntax errors or system errors.\n"
|
||||
"`egrep' means `grep -E'. `fgrep' means `grep -F'.\n"
|
||||
"With no FILE, or when FILE is -, read standard input. If less than\n"
|
||||
"two FILEs given, assume -h. Exit status is 0 if match, 1 if no match,\n"
|
||||
"and 2 if trouble.\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"Kontextkontrolle:\n"
|
||||
" -B, --before-context=ZAHL ZAHL Zeilen von vorausgehendem Kontext "
|
||||
"anzeigen.\n"
|
||||
" -A, --after-context=ZAHL ZAHL Zeilen von folgendem Kontext anzeigen.\n"
|
||||
" -ZAHL Wie -B ZAHL und -A ZAHL.\n"
|
||||
" -C, --context Wie -2.\n"
|
||||
" -C, --context[=ZAHL] ZAHL (Standard ist 2) Zeilen Kontext anzeigen,\n"
|
||||
" wenn nicht mit -A oder -B anderes festgelegt "
|
||||
"ist.\n"
|
||||
" -ZAHL Wie --context=ZAHL.\n"
|
||||
" -U, --binary CR-Zeichen am Zeilenende belassen (MSDOS).\n"
|
||||
" -u, --unix-byte-offsets Offsets ausgeben, als fehlten CR-Zeichen "
|
||||
"(MSDOS).\n"
|
||||
"\n"
|
||||
"Wenn -[GEF] fehlt, verwendet »egrep« -E, »fgrep« -F, ansonsten -G.\n"
|
||||
"»egrep« bedeutet »grep -E«. »fgrep« bedeutet »grep -F«.\n"
|
||||
"Wenn DATEI fehlt oder »-« ist, wird die Standardeingabe gelesen.\n"
|
||||
"Weniger als zwei DATEIen implizieren -h. Status ist 0 bei \n"
|
||||
"Übereinstimmungen, 1 ohne, 2 bei Syntax- oder Systemfehlern.\n"
|
||||
|
||||
#: src/grep.c:953
|
||||
#: src/grep.c:1019
|
||||
msgid ""
|
||||
"\n"
|
||||
"Report bugs to <bug-gnu-utils@gnu.org>.\n"
|
||||
|
@ -321,34 +342,28 @@ msgstr ""
|
|||
"\n"
|
||||
"Fehlerberichte bitte an <bug-gnu-utils@gnu.org>.\n"
|
||||
|
||||
#: src/grep.c:1096 src/grep.c:1103 src/grep.c:1112
|
||||
#: src/grep.c:1030
|
||||
msgid "conflicting matchers specified"
|
||||
msgstr "Festgelegte Vergleicher widersprechen einander."
|
||||
|
||||
#: src/grep.c:1229 src/grep.c:1236 src/grep.c:1245
|
||||
msgid "invalid context length argument"
|
||||
msgstr "Ungültige Kontextlänge."
|
||||
|
||||
#: src/grep.c:1119 src/grep.c:1124 src/grep.c:1129
|
||||
msgid "you may specify only one of -E, -F, or -G"
|
||||
msgstr "Es darf nur eines von -E, -F oder -G angegeben werden."
|
||||
|
||||
#: src/grep.c:1148
|
||||
msgid "matcher already specified"
|
||||
msgstr "Vergleicher ist bereits festgelegt."
|
||||
|
||||
#: src/grep.c:1169
|
||||
#: src/grep.c:1296
|
||||
msgid "unknown directories method"
|
||||
msgstr ""
|
||||
msgstr "Unbekannte Methode für Verzeichnisse."
|
||||
|
||||
#: src/grep.c:1255
|
||||
#: src/grep.c:1391
|
||||
#, c-format
|
||||
msgid "grep (GNU grep) %s\n"
|
||||
msgstr "grep (GNU grep) %s\n"
|
||||
msgid "%s (GNU grep) %s\n"
|
||||
msgstr "%s (GNU grep) %s\n"
|
||||
|
||||
#: src/grep.c:1257
|
||||
#, fuzzy
|
||||
#: src/grep.c:1393
|
||||
msgid "Copyright (C) 1988, 1992-1998, 1999 Free Software Foundation, Inc.\n"
|
||||
msgstr ""
|
||||
"Copyright (C) 1988, 92, 93, 94, 95, 96, 97 Free Software Foundation, Inc.\n"
|
||||
msgstr "Copyright (C) 1988, 1992-1998, 1999 Free Software Foundation, Inc.\n"
|
||||
|
||||
#: src/grep.c:1259
|
||||
#: src/grep.c:1395
|
||||
msgid ""
|
||||
"This is free software; see the source for copying conditions. There is NO\n"
|
||||
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
|
||||
|
@ -361,6 +376,3 @@ msgstr ""
|
|||
#: src/obstack.c:467
|
||||
msgid "memory exhausted\n"
|
||||
msgstr "Virtueller Speicher erschöpft.\n"
|
||||
|
||||
#~ msgid "(standard input)\n"
|
||||
#~ msgstr "(Standardeingabe)\n"
|
||||
|
|
Binary file not shown.
|
@ -1,90 +1,79 @@
|
|||
# Greek messages for GNU grep-2.2f.
|
||||
# Greek messages for GNU grep-2.3f.
|
||||
# Copyright (C) 1998 Free Software Foundation, Inc.
|
||||
# Simos KSenitellis <S.Xenitellis@rhbnc.ac.uk>, 1998.
|
||||
# Simos Xenitellis <S.Xenitellis@rhbnc.ac.uk>, 1998.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: GNU grep 2.2f\n"
|
||||
"POT-Creation-Date: 1999-02-14 12:08-0500\n"
|
||||
"PO-Revision-Date: 1999-02-09 00:25+0000\n"
|
||||
"Last-Translator: Simos KSenitellis <S.Xenitellis@rhbnc.ac.uk>\n"
|
||||
"Language-Team: Greek <S.Xenitellis@rhbnc.ac.uk>\n"
|
||||
"Project-Id-Version: GNU grep 2.3f\n"
|
||||
"POT-Creation-Date: 1999-11-13 11:33-0500\n"
|
||||
"PO-Revision-Date: 1999-10-17 20:15+0000\n"
|
||||
"Last-Translator: Simos Xenitellis <S.Xenitellis@rhbnc.ac.uk>\n"
|
||||
"Language-Team: Greek <nls@tux.hellug.gr>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=ISO-8859-7\n"
|
||||
"Content-Transfer-Encoding: 8-bit\n"
|
||||
|
||||
#
|
||||
# src/dfa.c:147 src/dfa.c:159 src/dfa.c:172
|
||||
# src/dfa.c:155 src/dfa.c:167 src/dfa.c:180 src/grep.c:827
|
||||
#: src/dfa.c:155 src/dfa.c:167 src/dfa.c:180 src/grep.c:861
|
||||
#: src/dfa.c:155 src/dfa.c:167 src/dfa.c:180 src/grep.c:921
|
||||
msgid "Memory exhausted"
|
||||
msgstr "Ç ìíÞìç åîáíôëÞèçêå"
|
||||
|
||||
#
|
||||
# src/dfa.c:444
|
||||
# src/dfa.c:452
|
||||
#: src/dfa.c:452
|
||||
#: src/dfa.c:457
|
||||
msgid "Unfinished \\ escape"
|
||||
msgstr "Ìç ôåñìáôéóìÝíïò ÷áñáêôÞñáò äéáöõãÞò \\"
|
||||
|
||||
#
|
||||
# src/dfa.c:556 src/dfa.c:562 src/dfa.c:573 src/dfa.c:584
|
||||
# src/dfa.c:564 src/dfa.c:570 src/dfa.c:581 src/dfa.c:592
|
||||
#. Cases:
|
||||
#. {M} - exact count
|
||||
#. {M,} - minimum count, maximum is infinity
|
||||
#. {,M} - 0 through M
|
||||
#. {M,N} - M through N
|
||||
#: src/dfa.c:564 src/dfa.c:570 src/dfa.c:581 src/dfa.c:592
|
||||
#: src/dfa.c:590 src/dfa.c:596 src/dfa.c:606 src/dfa.c:614 src/dfa.c:629
|
||||
msgid "unfinished repeat count"
|
||||
msgstr "ìç ôåñìáôéóìÝíïò ìåôñçôÞò åðáíÜëçøçò"
|
||||
|
||||
#
|
||||
# src/dfa.c:569 src/dfa.c:583 src/dfa.c:587
|
||||
# src/dfa.c:577 src/dfa.c:591 src/dfa.c:595
|
||||
#: src/dfa.c:577 src/dfa.c:591 src/dfa.c:595
|
||||
#: src/dfa.c:603 src/dfa.c:620 src/dfa.c:628 src/dfa.c:632
|
||||
msgid "malformed repeat count"
|
||||
msgstr "êáêïó÷çìáôéóìÝíïò ìåôñçôÞò åðáíÜëçøçò"
|
||||
|
||||
#
|
||||
# src/dfa.c:652 src/dfa.c:655 src/dfa.c:682 src/dfa.c:686 src/dfa.c:687
|
||||
# src/dfa.c:690 src/dfa.c:703 src/dfa.c:704
|
||||
# src/dfa.c:660 src/dfa.c:663 src/dfa.c:690 src/dfa.c:694 src/dfa.c:695
|
||||
# src/dfa.c:698 src/dfa.c:711 src/dfa.c:712
|
||||
#: src/dfa.c:660 src/dfa.c:663 src/dfa.c:690 src/dfa.c:694 src/dfa.c:695
|
||||
#: src/dfa.c:698 src/dfa.c:711 src/dfa.c:712
|
||||
#: src/dfa.c:697 src/dfa.c:700 src/dfa.c:727 src/dfa.c:731 src/dfa.c:732
|
||||
#: src/dfa.c:735 src/dfa.c:748 src/dfa.c:749
|
||||
msgid "Unbalanced ["
|
||||
msgstr "Ìç éóóïñïðçìÝíï ["
|
||||
|
||||
#
|
||||
# src/dfa.c:841
|
||||
# src/dfa.c:849
|
||||
#: src/dfa.c:849
|
||||
#: src/dfa.c:886
|
||||
msgid "Unbalanced ("
|
||||
msgstr "Ìç éóïññïðçìÝíï ("
|
||||
|
||||
#
|
||||
# src/dfa.c:962
|
||||
# src/dfa.c:970
|
||||
#: src/dfa.c:970
|
||||
#: src/dfa.c:1007
|
||||
msgid "No syntax specified"
|
||||
msgstr "Äåí ïñßóôçêå óõíôáêôéêü"
|
||||
|
||||
#
|
||||
# src/dfa.c:970
|
||||
# src/dfa.c:978
|
||||
#: src/dfa.c:978
|
||||
#: src/dfa.c:1015
|
||||
msgid "Unbalanced )"
|
||||
msgstr "Ìç éóïññïðçìÝíï )"
|
||||
|
||||
#
|
||||
# src/dfa.c:1990
|
||||
# src/dfa.c:1998
|
||||
#: src/dfa.c:1998
|
||||
#: src/dfa.c:2036
|
||||
msgid "out of memory"
|
||||
msgstr "åîáíôëÞèçêå ç ìíÞìç"
|
||||
|
||||
#
|
||||
# src/getopt.c:628
|
||||
# src/getopt.c:628
|
||||
#: src/getopt.c:628
|
||||
|
@ -92,7 +81,6 @@ msgstr "
|
|||
msgid "%s: option `%s' is ambiguous\n"
|
||||
msgstr "%s: ç åðéëïãÞ `%s' åßíáé äéöïñïýìåíç\n"
|
||||
|
||||
#
|
||||
# src/getopt.c:652
|
||||
# src/getopt.c:652
|
||||
#: src/getopt.c:652
|
||||
|
@ -100,7 +88,6 @@ msgstr "%s:
|
|||
msgid "%s: option `--%s' doesn't allow an argument\n"
|
||||
msgstr "%s: ç åðéëïãÞ `--%s' äåí åðéôñÝðåé ïñßóìáôá\n"
|
||||
|
||||
#
|
||||
# src/getopt.c:657
|
||||
# src/getopt.c:657
|
||||
#: src/getopt.c:657
|
||||
|
@ -108,7 +95,6 @@ msgstr "%s:
|
|||
msgid "%s: option `%c%s' doesn't allow an argument\n"
|
||||
msgstr "%s: ç åðéëïãÞ `%c%s' äåí åðéôñÝðåé ïñßóìáôá\n"
|
||||
|
||||
#
|
||||
# src/getopt.c:674 src/getopt.c:847
|
||||
# src/getopt.c:674 src/getopt.c:847
|
||||
#: src/getopt.c:674 src/getopt.c:847
|
||||
|
@ -116,7 +102,6 @@ msgstr "%s:
|
|||
msgid "%s: option `%s' requires an argument\n"
|
||||
msgstr "%s: ç åðéëïãÞ `%s' áðáéôåß üñéóìá\n"
|
||||
|
||||
#
|
||||
# src/getopt.c:703
|
||||
# src/getopt.c:703
|
||||
#. --option
|
||||
|
@ -125,7 +110,6 @@ msgstr "%s:
|
|||
msgid "%s: unrecognized option `--%s'\n"
|
||||
msgstr "%s: ìç áíáãíùñßóéìç åðéëïãÞ `--%s'\n"
|
||||
|
||||
#
|
||||
# src/getopt.c:707
|
||||
# src/getopt.c:707
|
||||
#. +option or -option
|
||||
|
@ -134,7 +118,6 @@ msgstr "%s:
|
|||
msgid "%s: unrecognized option `%c%s'\n"
|
||||
msgstr "%s: ìç áíáãíùñßóéìç åðéëïãÞ `%c%s'\n"
|
||||
|
||||
#
|
||||
# src/getopt.c:733
|
||||
# src/getopt.c:733
|
||||
#. 1003.2 specifies the format of this message.
|
||||
|
@ -143,7 +126,6 @@ msgstr "%s:
|
|||
msgid "%s: illegal option -- %c\n"
|
||||
msgstr "%s: ìç áðïäåêôÞ åðéëïãÞ -- %c\n"
|
||||
|
||||
#
|
||||
# src/getopt.c:736
|
||||
# src/getopt.c:736
|
||||
#: src/getopt.c:736
|
||||
|
@ -151,7 +133,6 @@ msgstr "%s:
|
|||
msgid "%s: invalid option -- %c\n"
|
||||
msgstr "%s: ìç Ýãêõñç åðéëïãÞ -- %c\n"
|
||||
|
||||
#
|
||||
# src/getopt.c:766 src/getopt.c:896
|
||||
# src/getopt.c:766 src/getopt.c:896
|
||||
#. 1003.2 specifies the format of this message.
|
||||
|
@ -160,7 +141,6 @@ msgstr "%s:
|
|||
msgid "%s: option requires an argument -- %c\n"
|
||||
msgstr "%s: ç åðéëïãÞ áðáéôåß Ýíá üñéóìá -- %c\n"
|
||||
|
||||
#
|
||||
# src/getopt.c:813
|
||||
# src/getopt.c:813
|
||||
#: src/getopt.c:813
|
||||
|
@ -168,7 +148,6 @@ msgstr "%s:
|
|||
msgid "%s: option `-W %s' is ambiguous\n"
|
||||
msgstr "%s: ç åðéëïãÞ `-W %s' åßíáé äéöïñïýìåíç\n"
|
||||
|
||||
#
|
||||
# src/getopt.c:831
|
||||
# src/getopt.c:831
|
||||
#: src/getopt.c:831
|
||||
|
@ -176,7 +155,6 @@ msgstr "%s:
|
|||
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
||||
msgstr "%s: ç åðéëïãÞ `-W %s' äåí äÝ÷åôáé ïñßóìáôá\n"
|
||||
|
||||
#
|
||||
# src/getopt1.c:132
|
||||
# src/getopt1.c:132
|
||||
#: src/getopt1.c:132
|
||||
|
@ -184,7 +162,6 @@ msgstr "%s:
|
|||
msgid "option %s"
|
||||
msgstr "åðéëïãÞ %s"
|
||||
|
||||
#
|
||||
# src/getopt1.c:134
|
||||
# src/getopt1.c:134
|
||||
#: src/getopt1.c:134
|
||||
|
@ -192,14 +169,12 @@ msgstr "
|
|||
msgid " with arg %s"
|
||||
msgstr " ìå üñéóìá %s"
|
||||
|
||||
#
|
||||
# src/getopt1.c:149
|
||||
# src/getopt1.c:149
|
||||
#: src/getopt1.c:149
|
||||
msgid "digits occur in two different argv-elements.\n"
|
||||
msgstr "õðÜñ÷ïõí øçößá óå äýï äéáöïñåôéêÜ argv-óôïé÷åßá.\n"
|
||||
|
||||
#
|
||||
# src/getopt1.c:151
|
||||
# src/getopt1.c:151
|
||||
#: src/getopt1.c:151
|
||||
|
@ -207,21 +182,18 @@ msgstr "
|
|||
msgid "option %c\n"
|
||||
msgstr "åðéëïãÞ %c\n"
|
||||
|
||||
#
|
||||
# src/getopt1.c:155
|
||||
# src/getopt1.c:155
|
||||
#: src/getopt1.c:155
|
||||
msgid "option a\n"
|
||||
msgstr "åðéëïãÞ á\n"
|
||||
|
||||
#
|
||||
# src/getopt1.c:159
|
||||
# src/getopt1.c:159
|
||||
#: src/getopt1.c:159
|
||||
msgid "option b\n"
|
||||
msgstr "åðéëïãÞ â\n"
|
||||
|
||||
#
|
||||
# src/getopt1.c:163
|
||||
# src/getopt1.c:163
|
||||
#: src/getopt1.c:163
|
||||
|
@ -229,7 +201,6 @@ msgstr "
|
|||
msgid "option c with value `%s'\n"
|
||||
msgstr "åðéëïãÞ ã ìå ôéìÞ `%s'\n"
|
||||
|
||||
#
|
||||
# src/getopt1.c:167
|
||||
# src/getopt1.c:167
|
||||
#: src/getopt1.c:167
|
||||
|
@ -237,7 +208,6 @@ msgstr "
|
|||
msgid "option d with value `%s'\n"
|
||||
msgstr "åðéëïãÞ ä ìå ôéìÞ `%s'\n"
|
||||
|
||||
#
|
||||
# src/getopt1.c:174
|
||||
# src/getopt1.c:174
|
||||
#: src/getopt1.c:174
|
||||
|
@ -245,139 +215,140 @@ msgstr "
|
|||
msgid "?? getopt returned character code 0%o ??\n"
|
||||
msgstr "?? ç getopt åðÝóôñåøå áëöáâçôéêü êùäéêü 0%o ??\n"
|
||||
|
||||
#
|
||||
# src/getopt1.c:180
|
||||
# src/getopt1.c:180
|
||||
#: src/getopt1.c:180
|
||||
msgid "non-option ARGV-elements: "
|
||||
msgstr "ARGV-óôïé÷åßá ðïõ äåí åßíáé åðéëïãÝò: "
|
||||
|
||||
#
|
||||
# src/grep.c:144 src/grep.c:161 src/grep.c:222 src/grep.c:263 src/kwset.c:184
|
||||
# src/kwset.c:190
|
||||
# src/grep.c:164 src/grep.c:181 src/grep.c:283 src/grep.c:338 src/kwset.c:184
|
||||
# src/kwset.c:190
|
||||
#: src/grep.c:172 src/grep.c:189 src/grep.c:291 src/grep.c:347 src/kwset.c:184
|
||||
#: src/grep.c:183 src/grep.c:200 src/grep.c:300 src/grep.c:408 src/kwset.c:184
|
||||
#: src/kwset.c:190
|
||||
msgid "memory exhausted"
|
||||
msgstr "ç ìíÞìç åîáíôëÞèçêå"
|
||||
|
||||
#
|
||||
# src/grep.c:293
|
||||
# src/grep.c:366
|
||||
#: src/grep.c:375 src/grep.c:846
|
||||
#, c-format
|
||||
msgid "%s: warning: %s: %s\n"
|
||||
msgstr "%s: προειδοποίηση: %s: %s\n"
|
||||
|
||||
#
|
||||
# src/grep.c:392 src/grep.c:1034
|
||||
# src/grep.c:487 src/grep.c:1284
|
||||
#: src/grep.c:500 src/grep.c:1321
|
||||
#: src/grep.c:560 src/grep.c:1454
|
||||
msgid "writing output"
|
||||
msgstr "åããñáöÞ áðïôåëÝóìáôïò"
|
||||
|
||||
#
|
||||
# src/grep.c:715
|
||||
#: src/grep.c:729
|
||||
#: src/grep.c:792
|
||||
#, c-format
|
||||
msgid "Binary file %s matches\n"
|
||||
msgstr "Äõáäéêü áñ÷åßï %s ôáéñéÜóìáôá\n"
|
||||
|
||||
#
|
||||
# src/grep.c:964 src/grep.c:1015
|
||||
# src/grep.c:730
|
||||
#: src/grep.c:745
|
||||
#: src/grep.c:808
|
||||
msgid "(standard input)"
|
||||
msgstr "(óôÜíôáñô åßóïäïò)"
|
||||
|
||||
#
|
||||
# src/grep.c:293
|
||||
# src/grep.c:366
|
||||
#: src/grep.c:906
|
||||
#, c-format
|
||||
msgid "%s: warning: %s: %s\n"
|
||||
msgstr "%s: προειδοποίηση: %s: %s\n"
|
||||
|
||||
# src/grep.c:844
|
||||
#: src/grep.c:847
|
||||
#: src/grep.c:907
|
||||
msgid "recursive directory loop"
|
||||
msgstr "áíáäñïìéêÞ áëëçëïäéáäï÷Þ êáôáëüãùí"
|
||||
|
||||
#
|
||||
# src/grep.c:597
|
||||
# src/grep.c:862
|
||||
#: src/grep.c:898
|
||||
#: src/grep.c:958
|
||||
#, c-format
|
||||
msgid "Usage: %s [OPTION]... PATTERN [FILE]...\n"
|
||||
msgstr "×ñÞóç: %s [ÅÐÉËÏÃÇ]... Ó×ÇÌÁÔÉÓÌÏÓ [ÁÑ×ÅÉÏ]...\n"
|
||||
|
||||
#
|
||||
# src/grep.c:598
|
||||
# src/grep.c:863
|
||||
#: src/grep.c:899
|
||||
#: src/grep.c:959
|
||||
#, c-format
|
||||
msgid "Try `%s --help' for more information.\n"
|
||||
msgstr "ÄïêéìÜóôå `%s --help' ãéá ðåñéóóüôåñåò ðëçñïöïñßåò.\n"
|
||||
|
||||
#
|
||||
# src/grep.c:602
|
||||
# src/grep.c:867
|
||||
#: src/grep.c:903
|
||||
#: src/grep.c:963
|
||||
#, c-format
|
||||
msgid "Usage: %s [OPTION]... PATTERN [FILE] ...\n"
|
||||
msgstr "×ñÞóç: %s [ÅÐÉËÏÃÇ]... Ó×ÇÌÁÔÉÓÌÏÓ [ÁÑ×ÅÉÏ] ...\n"
|
||||
|
||||
#
|
||||
# src/grep.c:603
|
||||
# src/grep.c:868
|
||||
#: src/grep.c:904
|
||||
#: src/grep.c:964
|
||||
#, fuzzy, c-format
|
||||
msgid ""
|
||||
"Search for PATTERN in each FILE or standard input.\n"
|
||||
"Example: %s -i 'hello.*world' menu.h main.c\n"
|
||||
"\n"
|
||||
"Regexp selection and interpretation:\n"
|
||||
msgstr ""
|
||||
"Αναζήτηση ΣΧΗΜΑΤΙΣΜΟΥ σε κάθε ΑΡΧΕΙΟ ή στην κανονική είσοδο.\n"
|
||||
"\n"
|
||||
"Επιλογή κανονικής έκφρασης και μετάφραση:\n"
|
||||
|
||||
#: src/grep.c:969
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
" -E, --extended-regexp PATTERN is an extended regular expression\n"
|
||||
" -F, --fixed-regexp PATTERN is a fixed string separated by newlines\n"
|
||||
" -F, --fixed-strings PATTERN is a set of newline-separated strings\n"
|
||||
" -G, --basic-regexp PATTERN is a basic regular expression\n"
|
||||
msgstr ""
|
||||
" -E, --extended-regexp ΣΧΗΜΑΤΙΣΜΟΣ είναι μια εκτεταμένη κανονική "
|
||||
"έκφραση\n"
|
||||
" -F, --fixed-regexp ΣΧΗΜΑΤΙΣΜΟΣ είναι αλφαριθμητικό ορισμένου "
|
||||
"μεγέθους\n"
|
||||
" διαχωρισμένου με χαρακτήρες αλλαγής γραμμής\n"
|
||||
" -G, --basic-regexp ΣΧΗΜΑΤΙΣΜΟΣ είναι μια βασική κανονική έκφραση\n"
|
||||
|
||||
# src/grep.c:603
|
||||
# src/grep.c:868
|
||||
#: src/grep.c:973
|
||||
msgid ""
|
||||
" -e, --regexp=PATTERN use PATTERN as a regular expression\n"
|
||||
" -f, --file=FILE obtain PATTERN from FILE\n"
|
||||
" -i, --ignore-case ignore case distinctions\n"
|
||||
" -w, --word-regexp force PATTERN to match only whole words\n"
|
||||
" -x, --line-regexp force PATTERN to match only whole lines\n"
|
||||
" -z, --null-data a data line ends in 0 byte, not newline\n"
|
||||
msgstr ""
|
||||
"Αναζήτηση για ΣΧΗΜΑΤΙΣΜΟ σε κάθε ΑΡΧΕΙΟ ή στη στάνταρτ είσοδο.\n"
|
||||
"\n"
|
||||
"Επιλογές ή regexp και εξήγηση:\n"
|
||||
" -E, --extended-regexp ΣΧΗΜΑΤΙΣΜΟΣ είναι μια εκτεταμένη κανονική "
|
||||
"έκφραση\n"
|
||||
" -F, --fixed-regexp ΣΧΗΜΑΤΙΣΜΟΣ είναι στατικό αλφαριθμητικό "
|
||||
"διαχωριζόμενο με χαρακτήρες αλλαγής γραμμής\n"
|
||||
" -G, --basic-regexp ΣΧΗΜΑΤΙΣΜΟΣ είναι απλή κανονική έκφραση\n"
|
||||
" -e, --regexp=Ó×ÇÌÁÔÉÓÌÏÓ ÷ñÞóç Ó×ÇÌÁÔÉÓÌÏÕ ãéá êáíïíéêÞ Ýêöñáóç\n"
|
||||
" -f, --file=ÁÑ×ÅÉÏ ëÞøç Ó×ÇÌÁÔÉÓÌÏÕ áðü ôï áñ÷åßï ÁÑ×ÅÉÏ\n"
|
||||
" -i, --ignore-case αγνόησε διαφορές πεζών/κεφαλαίων ignore case "
|
||||
"distinctions\n"
|
||||
" -i, --ignore-case αγνόησε διαφορές πεζών/κεφαλαίων\n"
|
||||
" -w, --word-regexp åðéâïëÞ ôïõ Ó×ÇÌÁÔÉÓÌÏÕ íá ôáéñéÜæåé ìüíï "
|
||||
"ïëüêëçñåò ëÝîåéò\n"
|
||||
" -x, --line-regexp επιβολή του force PATTERN να ταιριάζει μόνο "
|
||||
" -x, --line-regexp επιβολή του ΣΧΗΜΑΤΙΣΜΟΥ να ταιριάζει μόνο "
|
||||
"ïëüêëçñåò ãñáììÝò\n"
|
||||
|
||||
#
|
||||
# src/grep.c:615
|
||||
# src/grep.c:880
|
||||
#: src/grep.c:916
|
||||
#: src/grep.c:980
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"\n"
|
||||
"Miscellaneous:\n"
|
||||
" -s, --no-messages suppress error messages\n"
|
||||
" -v, --revert-match select non-matching lines\n"
|
||||
" -v, --invert-match select non-matching lines\n"
|
||||
" -V, --version print version information and exit\n"
|
||||
" --help display this help and exit\n"
|
||||
" --mmap use memory-mapped input if possible\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"ËïéðÜ:\n"
|
||||
" -s, --no-messages αποφυγή εμφάνισης μυνημάτων σφαλμάτων\n"
|
||||
" -s, --no-messages αποφυγή εμφάνισης μηνυμάτων σφαλμάτων\n"
|
||||
" -v, --revert-match åðéëïãÞ ãñáììþí ðïõ äåí ôáéñéÜæïõí\n"
|
||||
" -V, --version åìöÜíéóçò ðëçñïöïñéþí Ýêäïóçò êáé Ýîïäïò\n"
|
||||
" --help åìöÜíéóçò áõôÞò ôçò âïÞèåéáò êáé Ýîïäïò\n"
|
||||
|
||||
#
|
||||
# src/grep.c:622
|
||||
# src/grep.c:887
|
||||
#: src/grep.c:923
|
||||
#: src/grep.c:988
|
||||
msgid ""
|
||||
"\n"
|
||||
"Output control:\n"
|
||||
|
@ -393,15 +364,16 @@ msgid ""
|
|||
" -L, --files-without-match only print FILE names containing no match\n"
|
||||
" -l, --files-with-matches only print FILE names containing matches\n"
|
||||
" -c, --count only print a count of matching lines per FILE\n"
|
||||
" -Z, --null print 0 byte after FILE name\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"¸ëåã÷ïò åîüäïõ:\n"
|
||||
" -b, --byte-offset εμφάνιση σχετικής θέσης του byte με τις γραμμές "
|
||||
"εξόδου\n"
|
||||
" -n, --line-number εμφάνιση αριθμών γραμμής με τις γραμμές εξόδου\n"
|
||||
" -b, --byte-offset εμφάνιση σχετικής θέσης του byte με τις γραμμές\n"
|
||||
" εξόδου\n"
|
||||
" -n, --line-number εμφάνιση αριθμού γραμμής με τις γραμμές εξόδου\n"
|
||||
" -H, --with-filename åìöÜíéóç ïíüìáôïò áñ÷åßïõ ìå êÜèå ôáßñéáóìá\n"
|
||||
" -h, --no-filename αποφυγή εμφάνισης του ονόματος του αρχείου στην "
|
||||
"αρχή της εξόδου\n"
|
||||
" -h, --no-filename αποφυγή εμφάνισης του ονόματος του αρχείου στην\n"
|
||||
" αρχή της εξόδου\n"
|
||||
" -q, --quiet, --silent áðïöõãÞ åìöÜíéóçò üëçò ôçò êáíïíéêÞò åîüäïõ\n"
|
||||
" -a, --text íá ìçí áðïöåõ÷èåß ç Ýîïäïò äõáäéêþí äåäïìÝíùí\n"
|
||||
" -d, --directories=ÅÍÅÑÃÅÉÁ ôñüðïò ÷ñÞóçò ôùí êáôáëüãùí\n"
|
||||
|
@ -409,58 +381,57 @@ msgstr ""
|
|||
" (Ãéá áíÜãíùóç, áíáäñïìÞ êáé ðáñÜêáìøç "
|
||||
"áíôßóôïé÷á).\n"
|
||||
" -r, --recursive éóïäýíáìï ìå --directories=recurse.\n"
|
||||
" -L, --files-without-match εμφάνιση μόνο τα ονόματα ΑΡΧΕΙΩΝ που δεν "
|
||||
"περιέχουν ταιριάσματα\n"
|
||||
" -L, --files-without-match εμφάνιση μόνο των ονομάτων ΑΡΧΕΙΩΝ που δεν\n"
|
||||
" περιέχουν ταιριάσματα\n"
|
||||
" -l, --files-with-matches åìöÜíéóç ìüíï ôá ïíüìáôá ÁÑ×ÅÉÙÍ ìå ôáéñéÜóìáôá\n"
|
||||
" -c, --count εμφάνιση μόνο τον αριθμό των γραμμών με "
|
||||
"ταιριάσματα για κάθε ΑΡΧΕΙΟ\n"
|
||||
" -c, --count εμφάνιση μόνο τον αριθμό των γραμμών με\n"
|
||||
" ταιριάσματα για κάθε ΑΡΧΕΙΟ\n"
|
||||
" -Z, --null εμφάνιση 0 byte μετά από το όνομα ΑΡΧΕΙΟΥ\n"
|
||||
|
||||
#
|
||||
# src/grep.c:633
|
||||
# src/grep.c:902
|
||||
#: src/grep.c:938
|
||||
#: src/grep.c:1004
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"\n"
|
||||
"Context control:\n"
|
||||
" -B, --before-context=NUM print NUM lines of leading context\n"
|
||||
" -A, --after-context=NUM print NUM lines of trailing context\n"
|
||||
" -C, --context[=NUM] print NUM (default 2) lines of output context\n"
|
||||
" unless overriden by -A or -B\n"
|
||||
" unless overridden by -A or -B\n"
|
||||
" -NUM same as --context=NUM\n"
|
||||
" -U, --binary do not strip CR characters at EOL (MSDOS)\n"
|
||||
" -u, --unix-byte-offsets report offsets as if CRs were not there (MSDOS)\n"
|
||||
"\n"
|
||||
"If no -[GEF], then `egrep' assumes -E, `fgrep' -F, else -G.\n"
|
||||
"With no FILE, or when FILE is -, read standard input. If less than\n"
|
||||
"two FILEs given, assume -h. Exit with 0 if matches, with 1 if none.\n"
|
||||
"Exit with 2 if syntax errors or system errors.\n"
|
||||
"`egrep' means `grep -E'. `fgrep' means `grep -F'.\n"
|
||||
"With no FILE, or when FILE is -, read standard input. If less than\n"
|
||||
"two FILEs given, assume -h. Exit status is 0 if match, 1 if no match,\n"
|
||||
"and 2 if trouble.\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"¸ëåã÷ïò âÜóç ôïõ ðåñéå÷ïìÝíïõ:\n"
|
||||
" -B, --before-context=ΑΡΙΘΜΟΣ εμφάνιση ΑΡΙΘΜΟΣ γραμμών με ακολουθούμενο "
|
||||
"περιεχόμενο\n"
|
||||
" -A, --after-context=ΑΡΙΘΜΟΣ εμφάνιση ΑΡΙΘΜΟΣ γραμμών με προπορευόμενο "
|
||||
"περιεχόμενο\n"
|
||||
" -C, --context[=ΑΡΙΘΜΟΣ] εμφάνιση ΑΡΙΘΜΟΣ (εξ ορισμού 2) γραμμών με "
|
||||
"περιεχόμενο εξόδου\n"
|
||||
" -B, --before-context=ΑΡΙΘΜΟΣ εμφάνιση ΑΡΙΘΜΟΣ γραμμών\n"
|
||||
" με ακολουθούμενο περιεχόμενο\n"
|
||||
" -A, --after-context=ΑΡΙΘΜΟΣ εμφάνιση ΑΡΙΘΜΟΣ γραμμών\n"
|
||||
" με προπορευόμενο περιεχόμενο\n"
|
||||
" -C, --context[=ΑΡΙΘΜΟΣ] εμφάνιση ΑΡΙΘΜΟΣ (εξ ορισμού 2)\n"
|
||||
" γραμμών με περιεχόμενο εξόδου\n"
|
||||
" åêôüò êé áí áíáéñåèåß ìå -A Þ -B\n"
|
||||
" -NUM ôï ßäéï ìå --context=ÁÑÉÈÌÏÓ\n"
|
||||
" -U, --binary íá ìçí áðáëåßöïíôáé ÷áñáêôÞñåò CR óôï EOL "
|
||||
"(MSDOS)\n"
|
||||
" -u, --unix-byte-offsets αναφορά σχετικών θέσεων σαν να μην υπήρχαν "
|
||||
"χαρακτήρες CR (MSDOS)\n"
|
||||
" -u, --unix-byte-offsets αναφορά σχετικών θέσεων σαν να μην υπήρχαν\n"
|
||||
" χαρακτήρες αλλαγής γραμμής (MSDOS)\n"
|
||||
"\n"
|
||||
"Αν δεν υπάρχει -[GEF], τότε η `egrep' θεωρεί -E, η `fgrep' -F αλλιώς -G.\n"
|
||||
"Χωρίς ΑΡΧΕΙΟ ή όταν το ΑΡΧΕΙΟ είναι -, ανάγνωση από στάνταρτ είσοδο.\n"
|
||||
"Αν δίνονται λιγότερα από δύο ΑΡΧΕΙΑ, θεώρησε ότι δίνεται -h. Έξοδος με 0 "
|
||||
"όταν υπάρχει ταίριασμα,\n"
|
||||
"διαφορετικά με 1. Έξοδος με 2 στην περίπτωση συντακτικών σφαλμάτων ή "
|
||||
"σφαλμάτων συστήματος.\n"
|
||||
"Το `egrep' σημαίνει `grep -E'. Το `fgrep' σημαίνει `grep -F'.\n"
|
||||
"Χωρίς ΑΡΧΕΙΟ ή όταν το ΑΡΧΕΙΟ είναι -, ανάγνωση από κανονική είσοδο.\n"
|
||||
"Αν δίνονται λιγότερα από δύο ΑΡΧΕΙΑ, θεώρησε ότι δίνεται -h. Έξοδος με 0\n"
|
||||
"όταν υπάρχει ταίριασμα, διαφορετικά με 1. Έξοδος με 2 στην περίπτωση\n"
|
||||
"συντακτικών σφαλμάτων ή σφαλμάτων συστήματος.\n"
|
||||
|
||||
#
|
||||
# src/grep.c:647
|
||||
# src/grep.c:917
|
||||
#: src/grep.c:953
|
||||
#: src/grep.c:1019
|
||||
msgid ""
|
||||
"\n"
|
||||
"Report bugs to <bug-gnu-utils@gnu.org>.\n"
|
||||
|
@ -468,53 +439,39 @@ msgstr ""
|
|||
"\n"
|
||||
"Óôåßëôå áíáöïñÝò óöáëìÜôùí óôï <bug-gnu-utils@gnu.org>.\n"
|
||||
|
||||
#
|
||||
# src/grep.c:829
|
||||
# src/grep.c:1112
|
||||
#: src/grep.c:1030
|
||||
msgid "conflicting matchers specified"
|
||||
msgstr "έχουν οριστεί σχηματισμοί ταιριάσματος που αλληλοσυγκρούονται"
|
||||
|
||||
# src/grep.c:785 src/grep.c:792
|
||||
# src/grep.c:1060 src/grep.c:1067 src/grep.c:1076
|
||||
#: src/grep.c:1096 src/grep.c:1103 src/grep.c:1112
|
||||
#: src/grep.c:1229 src/grep.c:1236 src/grep.c:1245
|
||||
msgid "invalid context length argument"
|
||||
msgstr "ìç Ýãêõñï üñéóìá ìÞêïõò ðåñéå÷ïìÝíïõ"
|
||||
|
||||
#
|
||||
# src/grep.c:800 src/grep.c:805 src/grep.c:810
|
||||
# src/grep.c:1083 src/grep.c:1088 src/grep.c:1093
|
||||
#: src/grep.c:1119 src/grep.c:1124 src/grep.c:1129
|
||||
msgid "you may specify only one of -E, -F, or -G"
|
||||
msgstr "μπορείτε να ορίσετε μόνο ένα από τα-E, -F ή -G"
|
||||
|
||||
#
|
||||
# src/grep.c:829
|
||||
# src/grep.c:1112
|
||||
#: src/grep.c:1148
|
||||
msgid "matcher already specified"
|
||||
msgstr "το στοιχείο που πρόκειται να αναζητηθεί, έχει ήδη οριστεί"
|
||||
|
||||
#
|
||||
# src/grep.c:1133
|
||||
#: src/grep.c:1169
|
||||
#: src/grep.c:1296
|
||||
msgid "unknown directories method"
|
||||
msgstr "Üãíùóôç ìÝèïäïò êáôáëüãùí"
|
||||
|
||||
#
|
||||
# src/grep.c:915
|
||||
# src/grep.c:1219
|
||||
#: src/grep.c:1255
|
||||
#: src/grep.c:1391
|
||||
#, c-format
|
||||
msgid "grep (GNU grep) %s\n"
|
||||
msgstr "grep (GNU grep) %s\n"
|
||||
msgid "%s (GNU grep) %s\n"
|
||||
msgstr "%s (GNU grep) %s\n"
|
||||
|
||||
#
|
||||
# src/grep.c:917
|
||||
# src/grep.c:1221
|
||||
#: src/grep.c:1257
|
||||
#, fuzzy
|
||||
#: src/grep.c:1393
|
||||
msgid "Copyright (C) 1988, 1992-1998, 1999 Free Software Foundation, Inc.\n"
|
||||
msgstr "Copyright (C) 1988, 1992-1997, Free Software Foundation, Inc.\n"
|
||||
msgstr "Copyright (C) 1988, 1992-1998, 1999 Free Software Foundation, Inc.\n"
|
||||
|
||||
#
|
||||
# src/grep.c:919
|
||||
# src/grep.c:1223
|
||||
#: src/grep.c:1259
|
||||
#: src/grep.c:1395
|
||||
msgid ""
|
||||
"This is free software; see the source for copying conditions. There is NO\n"
|
||||
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
|
||||
|
@ -524,14 +481,17 @@ msgstr ""
|
|||
"ÄÅÍ õðÜñ÷åé åããýçóç· ïýôå áêüìá ãéá ×ÑÇÓÉÌÏÔÇÔÁ Þ ÊÁÔÁËËÇËÏÔÇÔÁ ÃÉÁ ÅÍÁ\n"
|
||||
"ÓÕÃÊÅÊÑÉÌÅÍÏ ÓÊÏÐÏ.\n"
|
||||
|
||||
#
|
||||
# src/obstack.c:467
|
||||
# src/obstack.c:467
|
||||
#: src/obstack.c:467
|
||||
msgid "memory exhausted\n"
|
||||
msgstr "ç ìíÞìç åîáíôëÞèçêå\n"
|
||||
|
||||
#
|
||||
# src/grep.c:800 src/grep.c:805 src/grep.c:810
|
||||
# src/grep.c:1083 src/grep.c:1088 src/grep.c:1093
|
||||
#~ msgid "you may specify only one of -E, -F, or -G"
|
||||
#~ msgstr "μπορείτε να ορίσετε μόνο ένα από τα-E, -F ή -G"
|
||||
|
||||
# src/grep.c:1027 src/grep.c:1030
|
||||
#~ msgid "(standard input)\n"
|
||||
#~ msgstr "(êáíïíéêÞ åßóïäïò)\n"
|
||||
|
|
Binary file not shown.
|
@ -6,7 +6,7 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: GNU grep 2.2f\n"
|
||||
"POT-Creation-Date: 1999-02-14 12:08-0500\n"
|
||||
"POT-Creation-Date: 1999-11-13 11:33-0500\n"
|
||||
"PO-Revision-Date: 1999-02-09 00:04+0100\n"
|
||||
"Last-Translator: Santiago Vila Doncel <sanvila@unex.es>\n"
|
||||
"Language-Team: Spanish <es@li.org>\n"
|
||||
|
@ -14,46 +14,45 @@ msgstr ""
|
|||
"Content-Type: text/plain; charset=ISO-8859-1\n"
|
||||
"Content-Transfer-Encoding: 8-bit\n"
|
||||
|
||||
#: src/dfa.c:155 src/dfa.c:167 src/dfa.c:180 src/grep.c:861
|
||||
#: src/dfa.c:155 src/dfa.c:167 src/dfa.c:180 src/grep.c:921
|
||||
msgid "Memory exhausted"
|
||||
msgstr "Memoria agotada"
|
||||
|
||||
#: src/dfa.c:452
|
||||
#: src/dfa.c:457
|
||||
msgid "Unfinished \\ escape"
|
||||
msgstr "Secuencia de escape \\ sin terminar"
|
||||
|
||||
#. Cases:
|
||||
#. {M} - exact count
|
||||
#. {M,} - minimum count, maximum is infinity
|
||||
#. {,M} - 0 through M
|
||||
#. {M,N} - M through N
|
||||
#: src/dfa.c:564 src/dfa.c:570 src/dfa.c:581 src/dfa.c:592
|
||||
#: src/dfa.c:590 src/dfa.c:596 src/dfa.c:606 src/dfa.c:614 src/dfa.c:629
|
||||
msgid "unfinished repeat count"
|
||||
msgstr "contador de repetición sin terminar"
|
||||
|
||||
#: src/dfa.c:577 src/dfa.c:591 src/dfa.c:595
|
||||
#: src/dfa.c:603 src/dfa.c:620 src/dfa.c:628 src/dfa.c:632
|
||||
msgid "malformed repeat count"
|
||||
msgstr "contador de repetición erróneo"
|
||||
|
||||
#: src/dfa.c:660 src/dfa.c:663 src/dfa.c:690 src/dfa.c:694 src/dfa.c:695
|
||||
#: src/dfa.c:698 src/dfa.c:711 src/dfa.c:712
|
||||
#: src/dfa.c:697 src/dfa.c:700 src/dfa.c:727 src/dfa.c:731 src/dfa.c:732
|
||||
#: src/dfa.c:735 src/dfa.c:748 src/dfa.c:749
|
||||
msgid "Unbalanced ["
|
||||
msgstr "[ desemparejado"
|
||||
|
||||
#: src/dfa.c:849
|
||||
#: src/dfa.c:886
|
||||
msgid "Unbalanced ("
|
||||
msgstr "( desemparejado"
|
||||
|
||||
#: src/dfa.c:970
|
||||
#: src/dfa.c:1007
|
||||
msgid "No syntax specified"
|
||||
msgstr "No se ha especificado ninguna sintaxis"
|
||||
|
||||
#: src/dfa.c:978
|
||||
#: src/dfa.c:1015
|
||||
msgid "Unbalanced )"
|
||||
msgstr ") desemparejado"
|
||||
|
||||
# FIXME. Comunicar al autor que esto es repetición...
|
||||
#: src/dfa.c:1998
|
||||
#: src/dfa.c:2036
|
||||
msgid "out of memory"
|
||||
msgstr "memoria agotada"
|
||||
|
||||
|
@ -162,62 +161,74 @@ msgstr "?? getopt ha devuelto el car
|
|||
msgid "non-option ARGV-elements: "
|
||||
msgstr "elementos de ARGV que no son opciones: "
|
||||
|
||||
#: src/grep.c:172 src/grep.c:189 src/grep.c:291 src/grep.c:347 src/kwset.c:184
|
||||
#: src/grep.c:183 src/grep.c:200 src/grep.c:300 src/grep.c:408 src/kwset.c:184
|
||||
#: src/kwset.c:190
|
||||
msgid "memory exhausted"
|
||||
msgstr "memoria agotada"
|
||||
|
||||
#: src/grep.c:375 src/grep.c:846
|
||||
#, c-format
|
||||
msgid "%s: warning: %s: %s\n"
|
||||
msgstr "%s: atención: %s: %s\n"
|
||||
|
||||
#: src/grep.c:500 src/grep.c:1321
|
||||
#: src/grep.c:560 src/grep.c:1454
|
||||
msgid "writing output"
|
||||
msgstr "escribiendo el resultado"
|
||||
|
||||
#: src/grep.c:729
|
||||
#: src/grep.c:792
|
||||
#, c-format
|
||||
msgid "Binary file %s matches\n"
|
||||
msgstr "Coincidencia en el fichero binario %s\n"
|
||||
|
||||
#: src/grep.c:745
|
||||
#: src/grep.c:808
|
||||
msgid "(standard input)"
|
||||
msgstr "(entrada estándar)"
|
||||
|
||||
#: src/grep.c:847
|
||||
#: src/grep.c:906
|
||||
#, c-format
|
||||
msgid "%s: warning: %s: %s\n"
|
||||
msgstr "%s: atención: %s: %s\n"
|
||||
|
||||
#: src/grep.c:907
|
||||
msgid "recursive directory loop"
|
||||
msgstr "bucle de directorio recursivo"
|
||||
|
||||
#: src/grep.c:898
|
||||
#: src/grep.c:958
|
||||
#, c-format
|
||||
msgid "Usage: %s [OPTION]... PATTERN [FILE]...\n"
|
||||
msgstr "Modo de empleo: %s [OPCIÓN]... PATRÓN [FICHERO]...\n"
|
||||
|
||||
#: src/grep.c:899
|
||||
#: src/grep.c:959
|
||||
#, c-format
|
||||
msgid "Try `%s --help' for more information.\n"
|
||||
msgstr "Pruebe `%s --help' para más información.\n"
|
||||
|
||||
# FIXME: Dice [FILE] ... en vez de [FILE]... ¿Será un error?
|
||||
#: src/grep.c:903
|
||||
#: src/grep.c:963
|
||||
#, c-format
|
||||
msgid "Usage: %s [OPTION]... PATTERN [FILE] ...\n"
|
||||
msgstr "Modo de empleo: %s [OPCIÓN]... PATRÓN [FICHERO] ...\n"
|
||||
|
||||
#: src/grep.c:904
|
||||
#: src/grep.c:964
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Search for PATTERN in each FILE or standard input.\n"
|
||||
"Example: %s -i 'hello.*world' menu.h main.c\n"
|
||||
"\n"
|
||||
"Regexp selection and interpretation:\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:969
|
||||
msgid ""
|
||||
" -E, --extended-regexp PATTERN is an extended regular expression\n"
|
||||
" -F, --fixed-regexp PATTERN is a fixed string separated by newlines\n"
|
||||
" -F, --fixed-strings PATTERN is a set of newline-separated strings\n"
|
||||
" -G, --basic-regexp PATTERN is a basic regular expression\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:973
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
" -e, --regexp=PATTERN use PATTERN as a regular expression\n"
|
||||
" -f, --file=FILE obtain PATTERN from FILE\n"
|
||||
" -i, --ignore-case ignore case distinctions\n"
|
||||
" -w, --word-regexp force PATTERN to match only whole words\n"
|
||||
" -x, --line-regexp force PATTERN to match only whole lines\n"
|
||||
" -z, --null-data a data line ends in 0 byte, not newline\n"
|
||||
msgstr ""
|
||||
"Busca PATRÓN en cada FICHERO o en la entrada estándar.\n"
|
||||
"\n"
|
||||
|
@ -234,14 +245,16 @@ msgstr ""
|
|||
" -x, --line-regexp obliga a que PATRÓN coincida solamente\n"
|
||||
" con líneas completas\n"
|
||||
|
||||
#: src/grep.c:916
|
||||
#: src/grep.c:980
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"\n"
|
||||
"Miscellaneous:\n"
|
||||
" -s, --no-messages suppress error messages\n"
|
||||
" -v, --revert-match select non-matching lines\n"
|
||||
" -v, --invert-match select non-matching lines\n"
|
||||
" -V, --version print version information and exit\n"
|
||||
" --help display this help and exit\n"
|
||||
" --mmap use memory-mapped input if possible\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"Variadas:\n"
|
||||
|
@ -250,7 +263,8 @@ msgstr ""
|
|||
" -V, --version muestra la versión y finaliza\n"
|
||||
" --help muestra esta ayuda y finaliza\n"
|
||||
|
||||
#: src/grep.c:923
|
||||
#: src/grep.c:988
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"\n"
|
||||
"Output control:\n"
|
||||
|
@ -266,6 +280,7 @@ msgid ""
|
|||
" -L, --files-without-match only print FILE names containing no match\n"
|
||||
" -l, --files-with-matches only print FILE names containing matches\n"
|
||||
" -c, --count only print a count of matching lines per FILE\n"
|
||||
" -Z, --null print 0 byte after FILE name\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"Control del resultado:\n"
|
||||
|
@ -290,22 +305,23 @@ msgstr ""
|
|||
"coinciden\n"
|
||||
" por cada FICHERO\n"
|
||||
|
||||
#: src/grep.c:938
|
||||
#: src/grep.c:1004
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"\n"
|
||||
"Context control:\n"
|
||||
" -B, --before-context=NUM print NUM lines of leading context\n"
|
||||
" -A, --after-context=NUM print NUM lines of trailing context\n"
|
||||
" -C, --context[=NUM] print NUM (default 2) lines of output context\n"
|
||||
" unless overriden by -A or -B\n"
|
||||
" unless overridden by -A or -B\n"
|
||||
" -NUM same as --context=NUM\n"
|
||||
" -U, --binary do not strip CR characters at EOL (MSDOS)\n"
|
||||
" -u, --unix-byte-offsets report offsets as if CRs were not there (MSDOS)\n"
|
||||
"\n"
|
||||
"If no -[GEF], then `egrep' assumes -E, `fgrep' -F, else -G.\n"
|
||||
"With no FILE, or when FILE is -, read standard input. If less than\n"
|
||||
"two FILEs given, assume -h. Exit with 0 if matches, with 1 if none.\n"
|
||||
"Exit with 2 if syntax errors or system errors.\n"
|
||||
"`egrep' means `grep -E'. `fgrep' means `grep -F'.\n"
|
||||
"With no FILE, or when FILE is -, read standard input. If less than\n"
|
||||
"two FILEs given, assume -h. Exit status is 0 if match, 1 if no match,\n"
|
||||
"and 2 if trouble.\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"Control del contexto:\n"
|
||||
|
@ -328,7 +344,7 @@ msgstr ""
|
|||
"es\n"
|
||||
"2 si hay errores de sintaxis o del sistema.\n"
|
||||
|
||||
#: src/grep.c:953
|
||||
#: src/grep.c:1019
|
||||
msgid ""
|
||||
"\n"
|
||||
"Report bugs to <bug-gnu-utils@gnu.org>.\n"
|
||||
|
@ -336,14 +352,6 @@ msgstr ""
|
|||
"\n"
|
||||
"Comunicar `bugs' a <bug-gnu-utils@gnu.org>.\n"
|
||||
|
||||
#: src/grep.c:1096 src/grep.c:1103 src/grep.c:1112
|
||||
msgid "invalid context length argument"
|
||||
msgstr "longitud de contexto inválida"
|
||||
|
||||
#: src/grep.c:1119 src/grep.c:1124 src/grep.c:1129
|
||||
msgid "you may specify only one of -E, -F, or -G"
|
||||
msgstr "sólo se puede especificar una de las opciones -E, -F, o -G"
|
||||
|
||||
# viendo los fuentes , hay varias opciones
|
||||
# que hay sin documentar. O quizá es que getopt() lo he entendido mal
|
||||
# Son las opciones X ( requiere argumento ) , switchs -c, -b, -L e -y
|
||||
|
@ -355,27 +363,32 @@ msgstr "s
|
|||
#
|
||||
# No me gusta nada lo de opción "a buscar".
|
||||
# Se admiten sugerencias. sv
|
||||
#: src/grep.c:1148
|
||||
msgid "matcher already specified"
|
||||
#: src/grep.c:1030
|
||||
#, fuzzy
|
||||
msgid "conflicting matchers specified"
|
||||
msgstr "la expresión a buscar ya fue especificada"
|
||||
|
||||
#: src/grep.c:1229 src/grep.c:1236 src/grep.c:1245
|
||||
msgid "invalid context length argument"
|
||||
msgstr "longitud de contexto inválida"
|
||||
|
||||
# Nota: Se refiere a la opción --directories=ACCIÓN cuando ACCIÓN
|
||||
# no es `read', `recurse' o `skip'.
|
||||
#: src/grep.c:1169
|
||||
#: src/grep.c:1296
|
||||
msgid "unknown directories method"
|
||||
msgstr "método de directorios desconocido"
|
||||
|
||||
#: src/grep.c:1255
|
||||
#, c-format
|
||||
msgid "grep (GNU grep) %s\n"
|
||||
#: src/grep.c:1391
|
||||
#, fuzzy, c-format
|
||||
msgid "%s (GNU grep) %s\n"
|
||||
msgstr "grep (GNU grep) %s\n"
|
||||
|
||||
#: src/grep.c:1257
|
||||
#: src/grep.c:1393
|
||||
#, fuzzy
|
||||
msgid "Copyright (C) 1988, 1992-1998, 1999 Free Software Foundation, Inc.\n"
|
||||
msgstr "Copyright (C) 1988, 1992-1997, 1998 Free Software Foundation, Inc.\n"
|
||||
|
||||
#: src/grep.c:1259
|
||||
#: src/grep.c:1395
|
||||
msgid ""
|
||||
"This is free software; see the source for copying conditions. There is NO\n"
|
||||
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
|
||||
|
@ -388,6 +401,9 @@ msgstr ""
|
|||
msgid "memory exhausted\n"
|
||||
msgstr "memoria agotada\n"
|
||||
|
||||
#~ msgid "you may specify only one of -E, -F, or -G"
|
||||
#~ msgstr "sólo se puede especificar una de las opciones -E, -F, o -G"
|
||||
|
||||
#~ msgid "(standard input)\n"
|
||||
#~ msgstr "(salida estándar)\n"
|
||||
|
||||
|
|
Binary file not shown.
|
@ -4,54 +4,53 @@
|
|||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: GNU grep 2.2f\n"
|
||||
"POT-Creation-Date: 1999-02-14 12:08-0500\n"
|
||||
"PO-Revision-Date: 1999-02-08 14:30-0500\n"
|
||||
"Project-Id-Version: GNU grep 2.3f\n"
|
||||
"POT-Creation-Date: 1999-11-13 11:33-0500\n"
|
||||
"PO-Revision-Date: 1999-10-13 08:10-0500\n"
|
||||
"Last-Translator: Michel Robitaille <robitail@IRO.UMontreal.CA>\n"
|
||||
"Language-Team: French <fr@li.org>\n"
|
||||
"Language-Team: French <traduc@traduc.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=ISO-8859-1\n"
|
||||
"Content-Transfer-Encoding: 8-bit\n"
|
||||
|
||||
#: src/dfa.c:155 src/dfa.c:167 src/dfa.c:180 src/grep.c:861
|
||||
#: src/dfa.c:155 src/dfa.c:167 src/dfa.c:180 src/grep.c:921
|
||||
msgid "Memory exhausted"
|
||||
msgstr "Mémoire épuisée."
|
||||
|
||||
#: src/dfa.c:452
|
||||
#: src/dfa.c:457
|
||||
msgid "Unfinished \\ escape"
|
||||
msgstr "séquence d'échappement \\ non terminée."
|
||||
|
||||
#. Cases:
|
||||
#. {M} - exact count
|
||||
#. {M,} - minimum count, maximum is infinity
|
||||
#. {,M} - 0 through M
|
||||
#. {M,N} - M through N
|
||||
#: src/dfa.c:564 src/dfa.c:570 src/dfa.c:581 src/dfa.c:592
|
||||
#: src/dfa.c:590 src/dfa.c:596 src/dfa.c:606 src/dfa.c:614 src/dfa.c:629
|
||||
msgid "unfinished repeat count"
|
||||
msgstr "décompte de répétition non terminé."
|
||||
|
||||
#: src/dfa.c:577 src/dfa.c:591 src/dfa.c:595
|
||||
#: src/dfa.c:603 src/dfa.c:620 src/dfa.c:628 src/dfa.c:632
|
||||
msgid "malformed repeat count"
|
||||
msgstr "décompte de répétition mal formé."
|
||||
|
||||
#: src/dfa.c:660 src/dfa.c:663 src/dfa.c:690 src/dfa.c:694 src/dfa.c:695
|
||||
#: src/dfa.c:698 src/dfa.c:711 src/dfa.c:712
|
||||
#: src/dfa.c:697 src/dfa.c:700 src/dfa.c:727 src/dfa.c:731 src/dfa.c:732
|
||||
#: src/dfa.c:735 src/dfa.c:748 src/dfa.c:749
|
||||
msgid "Unbalanced ["
|
||||
msgstr "[ non pairé"
|
||||
|
||||
#: src/dfa.c:849
|
||||
#: src/dfa.c:886
|
||||
msgid "Unbalanced ("
|
||||
msgstr "( non pairé"
|
||||
|
||||
#: src/dfa.c:970
|
||||
#: src/dfa.c:1007
|
||||
msgid "No syntax specified"
|
||||
msgstr "Aucune syntaxe spécifié"
|
||||
|
||||
#: src/dfa.c:978
|
||||
#: src/dfa.c:1015
|
||||
msgid "Unbalanced )"
|
||||
msgstr ") non pairé"
|
||||
|
||||
#: src/dfa.c:1998
|
||||
#: src/dfa.c:2036
|
||||
msgid "out of memory"
|
||||
msgstr "Mémoire épuisée."
|
||||
|
||||
|
@ -160,69 +159,81 @@ msgstr "?? getopt() a retourn
|
|||
msgid "non-option ARGV-elements: "
|
||||
msgstr "Des élément ARGV qui ne sont pas des options: "
|
||||
|
||||
#: src/grep.c:172 src/grep.c:189 src/grep.c:291 src/grep.c:347 src/kwset.c:184
|
||||
#: src/grep.c:183 src/grep.c:200 src/grep.c:300 src/grep.c:408 src/kwset.c:184
|
||||
#: src/kwset.c:190
|
||||
msgid "memory exhausted"
|
||||
msgstr "Mémoire épuisée."
|
||||
|
||||
#: src/grep.c:375 src/grep.c:846
|
||||
#, c-format
|
||||
msgid "%s: warning: %s: %s\n"
|
||||
msgstr "%s: AVERTISSEMENT: %s: %s\n"
|
||||
|
||||
#: src/grep.c:500 src/grep.c:1321
|
||||
#: src/grep.c:560 src/grep.c:1454
|
||||
msgid "writing output"
|
||||
msgstr "Génération du résultat."
|
||||
|
||||
#: src/grep.c:729
|
||||
#: src/grep.c:792
|
||||
#, c-format
|
||||
msgid "Binary file %s matches\n"
|
||||
msgstr "Fichier binaire %s concorde\n"
|
||||
|
||||
#: src/grep.c:745
|
||||
#: src/grep.c:808
|
||||
msgid "(standard input)"
|
||||
msgstr "(entrée standard)"
|
||||
|
||||
#: src/grep.c:847
|
||||
#: src/grep.c:906
|
||||
#, c-format
|
||||
msgid "%s: warning: %s: %s\n"
|
||||
msgstr "%s: AVERTISSEMENT: %s: %s\n"
|
||||
|
||||
#: src/grep.c:907
|
||||
msgid "recursive directory loop"
|
||||
msgstr "boucle récursive sur le répertoire"
|
||||
|
||||
#: src/grep.c:898
|
||||
#: src/grep.c:958
|
||||
#, c-format
|
||||
msgid "Usage: %s [OPTION]... PATTERN [FILE]...\n"
|
||||
msgstr "Usage: %s [OPTION]... PATRON [FICHIER]...\n"
|
||||
|
||||
#: src/grep.c:899
|
||||
#: src/grep.c:959
|
||||
#, c-format
|
||||
msgid "Try `%s --help' for more information.\n"
|
||||
msgstr "Pour en savoir davantage, faites: `%s --help'.\n"
|
||||
|
||||
#: src/grep.c:903
|
||||
#: src/grep.c:963
|
||||
#, c-format
|
||||
msgid "Usage: %s [OPTION]... PATTERN [FILE] ...\n"
|
||||
msgstr "Usage: %s [OPTION]... PATRON [FICHIER] ...\n"
|
||||
|
||||
#: src/grep.c:904
|
||||
#: src/grep.c:964
|
||||
#, fuzzy, c-format
|
||||
msgid ""
|
||||
"Search for PATTERN in each FILE or standard input.\n"
|
||||
"Example: %s -i 'hello.*world' menu.h main.c\n"
|
||||
"\n"
|
||||
"Regexp selection and interpretation:\n"
|
||||
msgstr ""
|
||||
"Recherche du PATRON dans chaque FICHIER ou sur l'entrée standard.\n"
|
||||
"\n"
|
||||
"Sélection et interprétation de l'expression régulière:\n"
|
||||
|
||||
#: src/grep.c:969
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
" -E, --extended-regexp PATTERN is an extended regular expression\n"
|
||||
" -F, --fixed-regexp PATTERN is a fixed string separated by newlines\n"
|
||||
" -F, --fixed-strings PATTERN is a set of newline-separated strings\n"
|
||||
" -G, --basic-regexp PATTERN is a basic regular expression\n"
|
||||
msgstr ""
|
||||
" -E, --extended-regexp PATRON est une expression regulière étendue\n"
|
||||
" -F, --fixed-regexp PATRON est une chaîne fixe séparée par des "
|
||||
"retour de chariot\n"
|
||||
" -G, --basic-regexp PATRON est une expression régulière de base\n"
|
||||
|
||||
#: src/grep.c:973
|
||||
msgid ""
|
||||
" -e, --regexp=PATTERN use PATTERN as a regular expression\n"
|
||||
" -f, --file=FILE obtain PATTERN from FILE\n"
|
||||
" -i, --ignore-case ignore case distinctions\n"
|
||||
" -w, --word-regexp force PATTERN to match only whole words\n"
|
||||
" -x, --line-regexp force PATTERN to match only whole lines\n"
|
||||
" -z, --null-data a data line ends in 0 byte, not newline\n"
|
||||
msgstr ""
|
||||
"Recherche du PATRON dans chaque FICHIER ou sur l'entrée standard.\n"
|
||||
"\n"
|
||||
"Sélection et interprétation de l'expression régulière:\n"
|
||||
" -E, --extended-regexp PATRON est une expression regulière étendue\n"
|
||||
" -F, --fixed-regexp PATRON est une chaîne fixe séparée par des "
|
||||
"retour de chariot\n"
|
||||
" -G, --basic-regexp PATRON est une expression régulière de base\n"
|
||||
" -e, --regexp=PATTERN utiliser le PATRON comme expression régulière\n"
|
||||
" -f, --file=FILE obtenir le PATRON du FICHIER\n"
|
||||
" -i, --ignore-case ignorer la distrinction de la casse\n"
|
||||
|
@ -230,15 +241,19 @@ msgstr ""
|
|||
"complets\n"
|
||||
" -x, --line-regexp forcer l'appariement du PATRON que sur des "
|
||||
"lignes entières\n"
|
||||
" -z, --null-data terminer la ligne de données par ZÉRO et\n"
|
||||
" non pas par un retour de chariot\n"
|
||||
|
||||
#: src/grep.c:916
|
||||
#: src/grep.c:980
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"\n"
|
||||
"Miscellaneous:\n"
|
||||
" -s, --no-messages suppress error messages\n"
|
||||
" -v, --revert-match select non-matching lines\n"
|
||||
" -v, --invert-match select non-matching lines\n"
|
||||
" -V, --version print version information and exit\n"
|
||||
" --help display this help and exit\n"
|
||||
" --mmap use memory-mapped input if possible\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"Divers:\n"
|
||||
|
@ -247,7 +262,7 @@ msgstr ""
|
|||
" -V, --version afficher le nom et la version du logiciel\n"
|
||||
" --help afficher l'aide et quitter\n"
|
||||
|
||||
#: src/grep.c:923
|
||||
#: src/grep.c:988
|
||||
msgid ""
|
||||
"\n"
|
||||
"Output control:\n"
|
||||
|
@ -263,6 +278,7 @@ msgid ""
|
|||
" -L, --files-without-match only print FILE names containing no match\n"
|
||||
" -l, --files-with-matches only print FILE names containing matches\n"
|
||||
" -c, --count only print a count of matching lines per FILE\n"
|
||||
" -Z, --null print 0 byte after FILE name\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"Contrôle de sortie:\n"
|
||||
|
@ -286,23 +302,25 @@ msgstr ""
|
|||
" contenant des concordances\n"
|
||||
" -c, --count afficher seulement le décompte des lignes\n"
|
||||
" concordantes par fichier\n"
|
||||
" -Z, --null afficher l'octet ZÉRO après le nom du fichier\n"
|
||||
|
||||
#: src/grep.c:938
|
||||
#: src/grep.c:1004
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"\n"
|
||||
"Context control:\n"
|
||||
" -B, --before-context=NUM print NUM lines of leading context\n"
|
||||
" -A, --after-context=NUM print NUM lines of trailing context\n"
|
||||
" -C, --context[=NUM] print NUM (default 2) lines of output context\n"
|
||||
" unless overriden by -A or -B\n"
|
||||
" unless overridden by -A or -B\n"
|
||||
" -NUM same as --context=NUM\n"
|
||||
" -U, --binary do not strip CR characters at EOL (MSDOS)\n"
|
||||
" -u, --unix-byte-offsets report offsets as if CRs were not there (MSDOS)\n"
|
||||
"\n"
|
||||
"If no -[GEF], then `egrep' assumes -E, `fgrep' -F, else -G.\n"
|
||||
"With no FILE, or when FILE is -, read standard input. If less than\n"
|
||||
"two FILEs given, assume -h. Exit with 0 if matches, with 1 if none.\n"
|
||||
"Exit with 2 if syntax errors or system errors.\n"
|
||||
"`egrep' means `grep -E'. `fgrep' means `grep -F'.\n"
|
||||
"With no FILE, or when FILE is -, read standard input. If less than\n"
|
||||
"two FILEs given, assume -h. Exit status is 0 if match, 1 if no match,\n"
|
||||
"and 2 if trouble.\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"Contrôle du contexte:\n"
|
||||
|
@ -316,14 +334,15 @@ msgstr ""
|
|||
" -u, --unix-byte-offsets afficher les adresses relatives comme si\n"
|
||||
" aucun CR n'était présent (MS-DOS)\n"
|
||||
"\n"
|
||||
"`egrep' est équivalent à `grep -E'. `fgrep' est équivalent à `grep -F'.\n"
|
||||
"Si aucune des options -[GEF] n'est utilisée, alors `egrep' assume\n"
|
||||
"l'option -E, `fgrep' l'option -F autrement l'option -G.\n"
|
||||
"Sans FICHIER, ou si - est utilisé comme nom de FICHIER, la lecture\n"
|
||||
"se fait de l'entrée standard. S'il y a moins de 2 FICHIERS, l'option -h\n"
|
||||
"est implicite. Termine avec 0 s'il y a concordance avec 1 si aucune.\n"
|
||||
"Termine avec 2 s'il y a des erreurs de syntaxe ou du système.\n"
|
||||
"Termine avec 2 s'il y a des erreurs de syntaxe ou de système.\n"
|
||||
|
||||
#: src/grep.c:953
|
||||
#: src/grep.c:1019
|
||||
msgid ""
|
||||
"\n"
|
||||
"Report bugs to <bug-gnu-utils@gnu.org>.\n"
|
||||
|
@ -331,35 +350,30 @@ msgstr ""
|
|||
"\n"
|
||||
"Rapporter toutes anomalies à <bug-gnu-utils@gnu.org>.\n"
|
||||
|
||||
#: src/grep.c:1096 src/grep.c:1103 src/grep.c:1112
|
||||
#: src/grep.c:1030
|
||||
msgid "conflicting matchers specified"
|
||||
msgstr "opérateurs de concordance spécifiés en conflit"
|
||||
|
||||
#: src/grep.c:1229 src/grep.c:1236 src/grep.c:1245
|
||||
msgid "invalid context length argument"
|
||||
msgstr "paramètre de contexte de longueur invalide"
|
||||
|
||||
#: src/grep.c:1119 src/grep.c:1124 src/grep.c:1129
|
||||
msgid "you may specify only one of -E, -F, or -G"
|
||||
msgstr "Un seul des paramètres suivants peut être spécifié -E, -F ou -G"
|
||||
|
||||
#: src/grep.c:1148
|
||||
msgid "matcher already specified"
|
||||
msgstr "L'opérateur de concordance a déjà été spécifié."
|
||||
|
||||
#: src/grep.c:1169
|
||||
#: src/grep.c:1296
|
||||
msgid "unknown directories method"
|
||||
msgstr "méthode inconnue des répertoires"
|
||||
|
||||
# msgid "GNU grep version %s"
|
||||
# msgstr "«grep» de GNU version %s"
|
||||
#: src/grep.c:1255
|
||||
#: src/grep.c:1391
|
||||
#, c-format
|
||||
msgid "grep (GNU grep) %s\n"
|
||||
msgstr "grep de GNU %s\n"
|
||||
msgid "%s (GNU grep) %s\n"
|
||||
msgstr "%s (grep de GNU) %s\n"
|
||||
|
||||
#: src/grep.c:1257
|
||||
#, fuzzy
|
||||
#: src/grep.c:1393
|
||||
msgid "Copyright (C) 1988, 1992-1998, 1999 Free Software Foundation, Inc.\n"
|
||||
msgstr "Copyright (C) 1988, 1992-1997, 1998 Free Software Foundation, Inc.\n"
|
||||
|
||||
#: src/grep.c:1259
|
||||
#: src/grep.c:1395
|
||||
msgid ""
|
||||
"This is free software; see the source for copying conditions. There is NO\n"
|
||||
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
|
||||
|
@ -372,6 +386,9 @@ msgstr ""
|
|||
msgid "memory exhausted\n"
|
||||
msgstr "Mémoire épuisée.\n"
|
||||
|
||||
#~ msgid "you may specify only one of -E, -F, or -G"
|
||||
#~ msgstr "Un seul des paramètres suivants peut être spécifié -E, -F ou -G"
|
||||
|
||||
#~ msgid "(standard input)\n"
|
||||
#~ msgstr "(entrée standard)\n"
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"POT-Creation-Date: 1999-02-14 12:08-0500\n"
|
||||
"POT-Creation-Date: 1999-11-13 11:33-0500\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
@ -14,45 +14,44 @@ msgstr ""
|
|||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Transfer-Encoding: ENCODING\n"
|
||||
|
||||
#: src/dfa.c:155 src/dfa.c:167 src/dfa.c:180 src/grep.c:861
|
||||
#: src/dfa.c:155 src/dfa.c:167 src/dfa.c:180 src/grep.c:921
|
||||
msgid "Memory exhausted"
|
||||
msgstr ""
|
||||
|
||||
#: src/dfa.c:452
|
||||
#: src/dfa.c:457
|
||||
msgid "Unfinished \\ escape"
|
||||
msgstr ""
|
||||
|
||||
#. Cases:
|
||||
#. {M} - exact count
|
||||
#. {M,} - minimum count, maximum is infinity
|
||||
#. {,M} - 0 through M
|
||||
#. {M,N} - M through N
|
||||
#: src/dfa.c:564 src/dfa.c:570 src/dfa.c:581 src/dfa.c:592
|
||||
#: src/dfa.c:590 src/dfa.c:596 src/dfa.c:606 src/dfa.c:614 src/dfa.c:629
|
||||
msgid "unfinished repeat count"
|
||||
msgstr ""
|
||||
|
||||
#: src/dfa.c:577 src/dfa.c:591 src/dfa.c:595
|
||||
#: src/dfa.c:603 src/dfa.c:620 src/dfa.c:628 src/dfa.c:632
|
||||
msgid "malformed repeat count"
|
||||
msgstr ""
|
||||
|
||||
#: src/dfa.c:660 src/dfa.c:663 src/dfa.c:690 src/dfa.c:694 src/dfa.c:695
|
||||
#: src/dfa.c:698 src/dfa.c:711 src/dfa.c:712
|
||||
#: src/dfa.c:697 src/dfa.c:700 src/dfa.c:727 src/dfa.c:731 src/dfa.c:732
|
||||
#: src/dfa.c:735 src/dfa.c:748 src/dfa.c:749
|
||||
msgid "Unbalanced ["
|
||||
msgstr ""
|
||||
|
||||
#: src/dfa.c:849
|
||||
#: src/dfa.c:886
|
||||
msgid "Unbalanced ("
|
||||
msgstr ""
|
||||
|
||||
#: src/dfa.c:970
|
||||
#: src/dfa.c:1007
|
||||
msgid "No syntax specified"
|
||||
msgstr ""
|
||||
|
||||
#: src/dfa.c:978
|
||||
#: src/dfa.c:1015
|
||||
msgid "Unbalanced )"
|
||||
msgstr ""
|
||||
|
||||
#: src/dfa.c:1998
|
||||
#: src/dfa.c:2036
|
||||
msgid "out of memory"
|
||||
msgstr ""
|
||||
|
||||
|
@ -161,74 +160,86 @@ msgstr ""
|
|||
msgid "non-option ARGV-elements: "
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:172 src/grep.c:189 src/grep.c:291 src/grep.c:347 src/kwset.c:184
|
||||
#: src/grep.c:183 src/grep.c:200 src/grep.c:300 src/grep.c:408 src/kwset.c:184
|
||||
#: src/kwset.c:190
|
||||
msgid "memory exhausted"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:375 src/grep.c:846
|
||||
#, c-format
|
||||
msgid "%s: warning: %s: %s\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:500 src/grep.c:1321
|
||||
#: src/grep.c:560 src/grep.c:1454
|
||||
msgid "writing output"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:729
|
||||
#: src/grep.c:792
|
||||
#, c-format
|
||||
msgid "Binary file %s matches\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:745
|
||||
#: src/grep.c:808
|
||||
msgid "(standard input)"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:847
|
||||
#: src/grep.c:906
|
||||
#, c-format
|
||||
msgid "%s: warning: %s: %s\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:907
|
||||
msgid "recursive directory loop"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:898
|
||||
#: src/grep.c:958
|
||||
#, c-format
|
||||
msgid "Usage: %s [OPTION]... PATTERN [FILE]...\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:899
|
||||
#: src/grep.c:959
|
||||
#, c-format
|
||||
msgid "Try `%s --help' for more information.\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:903
|
||||
#: src/grep.c:963
|
||||
#, c-format
|
||||
msgid "Usage: %s [OPTION]... PATTERN [FILE] ...\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:904
|
||||
#: src/grep.c:964
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Search for PATTERN in each FILE or standard input.\n"
|
||||
"Example: %s -i 'hello.*world' menu.h main.c\n"
|
||||
"\n"
|
||||
"Regexp selection and interpretation:\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:969
|
||||
msgid ""
|
||||
" -E, --extended-regexp PATTERN is an extended regular expression\n"
|
||||
" -F, --fixed-regexp PATTERN is a fixed string separated by newlines\n"
|
||||
" -F, --fixed-strings PATTERN is a set of newline-separated strings\n"
|
||||
" -G, --basic-regexp PATTERN is a basic regular expression\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:973
|
||||
msgid ""
|
||||
" -e, --regexp=PATTERN use PATTERN as a regular expression\n"
|
||||
" -f, --file=FILE obtain PATTERN from FILE\n"
|
||||
" -i, --ignore-case ignore case distinctions\n"
|
||||
" -w, --word-regexp force PATTERN to match only whole words\n"
|
||||
" -x, --line-regexp force PATTERN to match only whole lines\n"
|
||||
" -z, --null-data a data line ends in 0 byte, not newline\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:916
|
||||
#: src/grep.c:980
|
||||
msgid ""
|
||||
"\n"
|
||||
"Miscellaneous:\n"
|
||||
" -s, --no-messages suppress error messages\n"
|
||||
" -v, --revert-match select non-matching lines\n"
|
||||
" -v, --invert-match select non-matching lines\n"
|
||||
" -V, --version print version information and exit\n"
|
||||
" --help display this help and exit\n"
|
||||
" --mmap use memory-mapped input if possible\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:923
|
||||
#: src/grep.c:988
|
||||
msgid ""
|
||||
"\n"
|
||||
"Output control:\n"
|
||||
|
@ -244,58 +255,55 @@ msgid ""
|
|||
" -L, --files-without-match only print FILE names containing no match\n"
|
||||
" -l, --files-with-matches only print FILE names containing matches\n"
|
||||
" -c, --count only print a count of matching lines per FILE\n"
|
||||
" -Z, --null print 0 byte after FILE name\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:938
|
||||
#: src/grep.c:1004
|
||||
msgid ""
|
||||
"\n"
|
||||
"Context control:\n"
|
||||
" -B, --before-context=NUM print NUM lines of leading context\n"
|
||||
" -A, --after-context=NUM print NUM lines of trailing context\n"
|
||||
" -C, --context[=NUM] print NUM (default 2) lines of output context\n"
|
||||
" unless overriden by -A or -B\n"
|
||||
" unless overridden by -A or -B\n"
|
||||
" -NUM same as --context=NUM\n"
|
||||
" -U, --binary do not strip CR characters at EOL (MSDOS)\n"
|
||||
" -u, --unix-byte-offsets report offsets as if CRs were not there (MSDOS)\n"
|
||||
"\n"
|
||||
"If no -[GEF], then `egrep' assumes -E, `fgrep' -F, else -G.\n"
|
||||
"With no FILE, or when FILE is -, read standard input. If less than\n"
|
||||
"two FILEs given, assume -h. Exit with 0 if matches, with 1 if none.\n"
|
||||
"Exit with 2 if syntax errors or system errors.\n"
|
||||
"`egrep' means `grep -E'. `fgrep' means `grep -F'.\n"
|
||||
"With no FILE, or when FILE is -, read standard input. If less than\n"
|
||||
"two FILEs given, assume -h. Exit status is 0 if match, 1 if no match,\n"
|
||||
"and 2 if trouble.\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:953
|
||||
#: src/grep.c:1019
|
||||
msgid ""
|
||||
"\n"
|
||||
"Report bugs to <bug-gnu-utils@gnu.org>.\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:1096 src/grep.c:1103 src/grep.c:1112
|
||||
#: src/grep.c:1030
|
||||
msgid "conflicting matchers specified"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:1229 src/grep.c:1236 src/grep.c:1245
|
||||
msgid "invalid context length argument"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:1119 src/grep.c:1124 src/grep.c:1129
|
||||
msgid "you may specify only one of -E, -F, or -G"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:1148
|
||||
msgid "matcher already specified"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:1169
|
||||
#: src/grep.c:1296
|
||||
msgid "unknown directories method"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:1255
|
||||
#: src/grep.c:1391
|
||||
#, c-format
|
||||
msgid "grep (GNU grep) %s\n"
|
||||
msgid "%s (GNU grep) %s\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:1257
|
||||
#: src/grep.c:1393
|
||||
msgid "Copyright (C) 1988, 1992-1998, 1999 Free Software Foundation, Inc.\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:1259
|
||||
#: src/grep.c:1395
|
||||
msgid ""
|
||||
"This is free software; see the source for copying conditions. There is NO\n"
|
||||
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
|
||||
|
|
Binary file not shown.
|
@ -5,7 +5,7 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: GNU grep 2.0f\n"
|
||||
"POT-Creation-Date: 1999-02-14 12:08-0500\n"
|
||||
"POT-Creation-Date: 1999-11-13 11:33-0500\n"
|
||||
"PO-Revision-Date: 1997-09-03 11:19+0900\n"
|
||||
"Last-Translator: Bang Jun-Young <bangjy@geocities.com>\n"
|
||||
"Language-Team: Korean <ko@li.org>\n"
|
||||
|
@ -13,45 +13,44 @@ msgstr ""
|
|||
"Content-Type: text/plain; charset=EUC-KR\n"
|
||||
"Content-Transfer-Encoding: 8-bit\n"
|
||||
|
||||
#: src/dfa.c:155 src/dfa.c:167 src/dfa.c:180 src/grep.c:861
|
||||
#: src/dfa.c:155 src/dfa.c:167 src/dfa.c:180 src/grep.c:921
|
||||
msgid "Memory exhausted"
|
||||
msgstr "메모리가 바닥남"
|
||||
|
||||
#: src/dfa.c:452
|
||||
#: src/dfa.c:457
|
||||
msgid "Unfinished \\ escape"
|
||||
msgstr "완결되지 않은 \\ 이스케이프"
|
||||
|
||||
#. Cases:
|
||||
#. {M} - exact count
|
||||
#. {M,} - minimum count, maximum is infinity
|
||||
#. {,M} - 0 through M
|
||||
#. {M,N} - M through N
|
||||
#: src/dfa.c:564 src/dfa.c:570 src/dfa.c:581 src/dfa.c:592
|
||||
#: src/dfa.c:590 src/dfa.c:596 src/dfa.c:606 src/dfa.c:614 src/dfa.c:629
|
||||
msgid "unfinished repeat count"
|
||||
msgstr "완결되지 않은 반복 회수"
|
||||
|
||||
#: src/dfa.c:577 src/dfa.c:591 src/dfa.c:595
|
||||
#: src/dfa.c:603 src/dfa.c:620 src/dfa.c:628 src/dfa.c:632
|
||||
msgid "malformed repeat count"
|
||||
msgstr "잘못 주어진 반복 회수"
|
||||
|
||||
#: src/dfa.c:660 src/dfa.c:663 src/dfa.c:690 src/dfa.c:694 src/dfa.c:695
|
||||
#: src/dfa.c:698 src/dfa.c:711 src/dfa.c:712
|
||||
#: src/dfa.c:697 src/dfa.c:700 src/dfa.c:727 src/dfa.c:731 src/dfa.c:732
|
||||
#: src/dfa.c:735 src/dfa.c:748 src/dfa.c:749
|
||||
msgid "Unbalanced ["
|
||||
msgstr "짝이 맞지 않는 ["
|
||||
|
||||
#: src/dfa.c:849
|
||||
#: src/dfa.c:886
|
||||
msgid "Unbalanced ("
|
||||
msgstr "짝이 맞지 않는 ("
|
||||
|
||||
#: src/dfa.c:970
|
||||
#: src/dfa.c:1007
|
||||
msgid "No syntax specified"
|
||||
msgstr "문법이 지정되지 않았음"
|
||||
|
||||
#: src/dfa.c:978
|
||||
#: src/dfa.c:1015
|
||||
msgid "Unbalanced )"
|
||||
msgstr "짝이 맞지 않는 )"
|
||||
|
||||
#: src/dfa.c:1998
|
||||
#: src/dfa.c:2036
|
||||
msgid "out of memory"
|
||||
msgstr "메모리 부족"
|
||||
|
||||
|
@ -160,74 +159,86 @@ msgstr "?? getopt
|
|||
msgid "non-option ARGV-elements: "
|
||||
msgstr "비옵션 ARGV 원소: "
|
||||
|
||||
#: src/grep.c:172 src/grep.c:189 src/grep.c:291 src/grep.c:347 src/kwset.c:184
|
||||
#: src/grep.c:183 src/grep.c:200 src/grep.c:300 src/grep.c:408 src/kwset.c:184
|
||||
#: src/kwset.c:190
|
||||
msgid "memory exhausted"
|
||||
msgstr "메모리가 바닥남"
|
||||
|
||||
#: src/grep.c:375 src/grep.c:846
|
||||
#, c-format
|
||||
msgid "%s: warning: %s: %s\n"
|
||||
msgstr "%s: 경고: %s: %s\n"
|
||||
|
||||
#: src/grep.c:500 src/grep.c:1321
|
||||
#: src/grep.c:560 src/grep.c:1454
|
||||
msgid "writing output"
|
||||
msgstr "출력을 기록하고 있습니다"
|
||||
|
||||
#: src/grep.c:729
|
||||
#: src/grep.c:792
|
||||
#, c-format
|
||||
msgid "Binary file %s matches\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:745
|
||||
#: src/grep.c:808
|
||||
msgid "(standard input)"
|
||||
msgstr "(표준 입력)"
|
||||
|
||||
#: src/grep.c:847
|
||||
#: src/grep.c:906
|
||||
#, c-format
|
||||
msgid "%s: warning: %s: %s\n"
|
||||
msgstr "%s: 경고: %s: %s\n"
|
||||
|
||||
#: src/grep.c:907
|
||||
msgid "recursive directory loop"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:898
|
||||
#: src/grep.c:958
|
||||
#, c-format
|
||||
msgid "Usage: %s [OPTION]... PATTERN [FILE]...\n"
|
||||
msgstr "사용법: %s [옵션]... 패턴 [파일]...\n"
|
||||
|
||||
#: src/grep.c:899
|
||||
#: src/grep.c:959
|
||||
#, c-format
|
||||
msgid "Try `%s --help' for more information.\n"
|
||||
msgstr "더 많은 정보를 보려면 `%s --help' 하십시오.\n"
|
||||
|
||||
#: src/grep.c:903
|
||||
#: src/grep.c:963
|
||||
#, c-format
|
||||
msgid "Usage: %s [OPTION]... PATTERN [FILE] ...\n"
|
||||
msgstr "사용법: %s [옵션]... 패턴 [파일] ...\n"
|
||||
|
||||
#: src/grep.c:904
|
||||
#: src/grep.c:964
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Search for PATTERN in each FILE or standard input.\n"
|
||||
"Example: %s -i 'hello.*world' menu.h main.c\n"
|
||||
"\n"
|
||||
"Regexp selection and interpretation:\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:969
|
||||
msgid ""
|
||||
" -E, --extended-regexp PATTERN is an extended regular expression\n"
|
||||
" -F, --fixed-regexp PATTERN is a fixed string separated by newlines\n"
|
||||
" -F, --fixed-strings PATTERN is a set of newline-separated strings\n"
|
||||
" -G, --basic-regexp PATTERN is a basic regular expression\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:973
|
||||
msgid ""
|
||||
" -e, --regexp=PATTERN use PATTERN as a regular expression\n"
|
||||
" -f, --file=FILE obtain PATTERN from FILE\n"
|
||||
" -i, --ignore-case ignore case distinctions\n"
|
||||
" -w, --word-regexp force PATTERN to match only whole words\n"
|
||||
" -x, --line-regexp force PATTERN to match only whole lines\n"
|
||||
" -z, --null-data a data line ends in 0 byte, not newline\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:916
|
||||
#: src/grep.c:980
|
||||
msgid ""
|
||||
"\n"
|
||||
"Miscellaneous:\n"
|
||||
" -s, --no-messages suppress error messages\n"
|
||||
" -v, --revert-match select non-matching lines\n"
|
||||
" -v, --invert-match select non-matching lines\n"
|
||||
" -V, --version print version information and exit\n"
|
||||
" --help display this help and exit\n"
|
||||
" --mmap use memory-mapped input if possible\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:923
|
||||
#: src/grep.c:988
|
||||
msgid ""
|
||||
"\n"
|
||||
"Output control:\n"
|
||||
|
@ -243,61 +254,59 @@ msgid ""
|
|||
" -L, --files-without-match only print FILE names containing no match\n"
|
||||
" -l, --files-with-matches only print FILE names containing matches\n"
|
||||
" -c, --count only print a count of matching lines per FILE\n"
|
||||
" -Z, --null print 0 byte after FILE name\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:938
|
||||
#: src/grep.c:1004
|
||||
msgid ""
|
||||
"\n"
|
||||
"Context control:\n"
|
||||
" -B, --before-context=NUM print NUM lines of leading context\n"
|
||||
" -A, --after-context=NUM print NUM lines of trailing context\n"
|
||||
" -C, --context[=NUM] print NUM (default 2) lines of output context\n"
|
||||
" unless overriden by -A or -B\n"
|
||||
" unless overridden by -A or -B\n"
|
||||
" -NUM same as --context=NUM\n"
|
||||
" -U, --binary do not strip CR characters at EOL (MSDOS)\n"
|
||||
" -u, --unix-byte-offsets report offsets as if CRs were not there (MSDOS)\n"
|
||||
"\n"
|
||||
"If no -[GEF], then `egrep' assumes -E, `fgrep' -F, else -G.\n"
|
||||
"With no FILE, or when FILE is -, read standard input. If less than\n"
|
||||
"two FILEs given, assume -h. Exit with 0 if matches, with 1 if none.\n"
|
||||
"Exit with 2 if syntax errors or system errors.\n"
|
||||
"`egrep' means `grep -E'. `fgrep' means `grep -F'.\n"
|
||||
"With no FILE, or when FILE is -, read standard input. If less than\n"
|
||||
"two FILEs given, assume -h. Exit status is 0 if match, 1 if no match,\n"
|
||||
"and 2 if trouble.\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:953
|
||||
#: src/grep.c:1019
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"\n"
|
||||
"Report bugs to <bug-gnu-utils@gnu.org>.\n"
|
||||
msgstr "문제점은 <bug0gnu-utils@prep.ai.mit.edu>로 보고해 주십시오.\n"
|
||||
|
||||
#: src/grep.c:1096 src/grep.c:1103 src/grep.c:1112
|
||||
#: src/grep.c:1030
|
||||
#, fuzzy
|
||||
msgid "conflicting matchers specified"
|
||||
msgstr "짝이 이미 지정되었음"
|
||||
|
||||
#: src/grep.c:1229 src/grep.c:1236 src/grep.c:1245
|
||||
msgid "invalid context length argument"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:1119 src/grep.c:1124 src/grep.c:1129
|
||||
msgid "you may specify only one of -E, -F, or -G"
|
||||
msgstr "-E, -F, -G 중에서 하나만 지정할 수 있습니다"
|
||||
|
||||
#: src/grep.c:1148
|
||||
msgid "matcher already specified"
|
||||
msgstr "짝이 이미 지정되었음"
|
||||
|
||||
#: src/grep.c:1169
|
||||
#: src/grep.c:1296
|
||||
msgid "unknown directories method"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:1255
|
||||
#, c-format
|
||||
msgid "grep (GNU grep) %s\n"
|
||||
#: src/grep.c:1391
|
||||
#, fuzzy, c-format
|
||||
msgid "%s (GNU grep) %s\n"
|
||||
msgstr "grep (GNU grep) %s\n"
|
||||
|
||||
#: src/grep.c:1257
|
||||
#: src/grep.c:1393
|
||||
#, fuzzy
|
||||
msgid "Copyright (C) 1988, 1992-1998, 1999 Free Software Foundation, Inc.\n"
|
||||
msgstr ""
|
||||
"저작권 (C) 1988, 92, 93, 94, 95, 96, 97 Free Software Foundation, Inc.\n"
|
||||
|
||||
#: src/grep.c:1259
|
||||
#: src/grep.c:1395
|
||||
msgid ""
|
||||
"This is free software; see the source for copying conditions. There is NO\n"
|
||||
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
|
||||
|
@ -310,6 +319,9 @@ msgstr ""
|
|||
msgid "memory exhausted\n"
|
||||
msgstr "메모리가 바닥남\n"
|
||||
|
||||
#~ msgid "you may specify only one of -E, -F, or -G"
|
||||
#~ msgstr "-E, -F, -G 중에서 하나만 지정할 수 있습니다"
|
||||
|
||||
#~ msgid "Regexp selection and interpretation:\n"
|
||||
#~ msgstr "정규식 선택과 해석:\n"
|
||||
|
||||
|
|
Binary file not shown.
|
@ -5,7 +5,7 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: GNU grep 2.0\n"
|
||||
"POT-Creation-Date: 1999-02-14 12:08-0500\n"
|
||||
"POT-Creation-Date: 1999-11-13 11:33-0500\n"
|
||||
"PO-Revision-Date: 1996-08-18 11:24 EDT\n"
|
||||
"Last-Translator: Erick Branderhorst <branderh@debian.org>\n"
|
||||
"Language-Team: Dutch <nl@li.org>\n"
|
||||
|
@ -13,46 +13,45 @@ msgstr ""
|
|||
"Content-Type: text/plain; charset=ISO-8859-1\n"
|
||||
"Content-Transfer-Encoding: 8-bit\n"
|
||||
|
||||
#: src/dfa.c:155 src/dfa.c:167 src/dfa.c:180 src/grep.c:861
|
||||
#: src/dfa.c:155 src/dfa.c:167 src/dfa.c:180 src/grep.c:921
|
||||
#, fuzzy
|
||||
msgid "Memory exhausted"
|
||||
msgstr "geen geheugen meer beschikbaar"
|
||||
|
||||
#: src/dfa.c:452
|
||||
#: src/dfa.c:457
|
||||
msgid "Unfinished \\ escape"
|
||||
msgstr ""
|
||||
|
||||
#. Cases:
|
||||
#. {M} - exact count
|
||||
#. {M,} - minimum count, maximum is infinity
|
||||
#. {,M} - 0 through M
|
||||
#. {M,N} - M through N
|
||||
#: src/dfa.c:564 src/dfa.c:570 src/dfa.c:581 src/dfa.c:592
|
||||
#: src/dfa.c:590 src/dfa.c:596 src/dfa.c:606 src/dfa.c:614 src/dfa.c:629
|
||||
msgid "unfinished repeat count"
|
||||
msgstr ""
|
||||
|
||||
#: src/dfa.c:577 src/dfa.c:591 src/dfa.c:595
|
||||
#: src/dfa.c:603 src/dfa.c:620 src/dfa.c:628 src/dfa.c:632
|
||||
msgid "malformed repeat count"
|
||||
msgstr ""
|
||||
|
||||
#: src/dfa.c:660 src/dfa.c:663 src/dfa.c:690 src/dfa.c:694 src/dfa.c:695
|
||||
#: src/dfa.c:698 src/dfa.c:711 src/dfa.c:712
|
||||
#: src/dfa.c:697 src/dfa.c:700 src/dfa.c:727 src/dfa.c:731 src/dfa.c:732
|
||||
#: src/dfa.c:735 src/dfa.c:748 src/dfa.c:749
|
||||
msgid "Unbalanced ["
|
||||
msgstr ""
|
||||
|
||||
#: src/dfa.c:849
|
||||
#: src/dfa.c:886
|
||||
msgid "Unbalanced ("
|
||||
msgstr ""
|
||||
|
||||
#: src/dfa.c:970
|
||||
#: src/dfa.c:1007
|
||||
msgid "No syntax specified"
|
||||
msgstr ""
|
||||
|
||||
#: src/dfa.c:978
|
||||
#: src/dfa.c:1015
|
||||
msgid "Unbalanced )"
|
||||
msgstr ""
|
||||
|
||||
#: src/dfa.c:1998
|
||||
#: src/dfa.c:2036
|
||||
msgid "out of memory"
|
||||
msgstr ""
|
||||
|
||||
|
@ -161,74 +160,86 @@ msgstr ""
|
|||
msgid "non-option ARGV-elements: "
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:172 src/grep.c:189 src/grep.c:291 src/grep.c:347 src/kwset.c:184
|
||||
#: src/grep.c:183 src/grep.c:200 src/grep.c:300 src/grep.c:408 src/kwset.c:184
|
||||
#: src/kwset.c:190
|
||||
msgid "memory exhausted"
|
||||
msgstr "geen geheugen meer beschikbaar"
|
||||
|
||||
#: src/grep.c:375 src/grep.c:846
|
||||
#, c-format
|
||||
msgid "%s: warning: %s: %s\n"
|
||||
msgstr "%s: let op: %s: %s\n"
|
||||
|
||||
#: src/grep.c:500 src/grep.c:1321
|
||||
#: src/grep.c:560 src/grep.c:1454
|
||||
msgid "writing output"
|
||||
msgstr "schrijven van uitvoer"
|
||||
|
||||
#: src/grep.c:729
|
||||
#: src/grep.c:792
|
||||
#, c-format
|
||||
msgid "Binary file %s matches\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:745
|
||||
#: src/grep.c:808
|
||||
msgid "(standard input)"
|
||||
msgstr "(standaardinvoer)"
|
||||
|
||||
#: src/grep.c:847
|
||||
#: src/grep.c:906
|
||||
#, c-format
|
||||
msgid "%s: warning: %s: %s\n"
|
||||
msgstr "%s: let op: %s: %s\n"
|
||||
|
||||
#: src/grep.c:907
|
||||
msgid "recursive directory loop"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:898
|
||||
#: src/grep.c:958
|
||||
#, c-format
|
||||
msgid "Usage: %s [OPTION]... PATTERN [FILE]...\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:899
|
||||
#: src/grep.c:959
|
||||
#, c-format
|
||||
msgid "Try `%s --help' for more information.\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:903
|
||||
#: src/grep.c:963
|
||||
#, c-format
|
||||
msgid "Usage: %s [OPTION]... PATTERN [FILE] ...\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:904
|
||||
#: src/grep.c:964
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Search for PATTERN in each FILE or standard input.\n"
|
||||
"Example: %s -i 'hello.*world' menu.h main.c\n"
|
||||
"\n"
|
||||
"Regexp selection and interpretation:\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:969
|
||||
msgid ""
|
||||
" -E, --extended-regexp PATTERN is an extended regular expression\n"
|
||||
" -F, --fixed-regexp PATTERN is a fixed string separated by newlines\n"
|
||||
" -F, --fixed-strings PATTERN is a set of newline-separated strings\n"
|
||||
" -G, --basic-regexp PATTERN is a basic regular expression\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:973
|
||||
msgid ""
|
||||
" -e, --regexp=PATTERN use PATTERN as a regular expression\n"
|
||||
" -f, --file=FILE obtain PATTERN from FILE\n"
|
||||
" -i, --ignore-case ignore case distinctions\n"
|
||||
" -w, --word-regexp force PATTERN to match only whole words\n"
|
||||
" -x, --line-regexp force PATTERN to match only whole lines\n"
|
||||
" -z, --null-data a data line ends in 0 byte, not newline\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:916
|
||||
#: src/grep.c:980
|
||||
msgid ""
|
||||
"\n"
|
||||
"Miscellaneous:\n"
|
||||
" -s, --no-messages suppress error messages\n"
|
||||
" -v, --revert-match select non-matching lines\n"
|
||||
" -v, --invert-match select non-matching lines\n"
|
||||
" -V, --version print version information and exit\n"
|
||||
" --help display this help and exit\n"
|
||||
" --mmap use memory-mapped input if possible\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:923
|
||||
#: src/grep.c:988
|
||||
msgid ""
|
||||
"\n"
|
||||
"Output control:\n"
|
||||
|
@ -244,40 +255,33 @@ msgid ""
|
|||
" -L, --files-without-match only print FILE names containing no match\n"
|
||||
" -l, --files-with-matches only print FILE names containing matches\n"
|
||||
" -c, --count only print a count of matching lines per FILE\n"
|
||||
" -Z, --null print 0 byte after FILE name\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:938
|
||||
#: src/grep.c:1004
|
||||
msgid ""
|
||||
"\n"
|
||||
"Context control:\n"
|
||||
" -B, --before-context=NUM print NUM lines of leading context\n"
|
||||
" -A, --after-context=NUM print NUM lines of trailing context\n"
|
||||
" -C, --context[=NUM] print NUM (default 2) lines of output context\n"
|
||||
" unless overriden by -A or -B\n"
|
||||
" unless overridden by -A or -B\n"
|
||||
" -NUM same as --context=NUM\n"
|
||||
" -U, --binary do not strip CR characters at EOL (MSDOS)\n"
|
||||
" -u, --unix-byte-offsets report offsets as if CRs were not there (MSDOS)\n"
|
||||
"\n"
|
||||
"If no -[GEF], then `egrep' assumes -E, `fgrep' -F, else -G.\n"
|
||||
"With no FILE, or when FILE is -, read standard input. If less than\n"
|
||||
"two FILEs given, assume -h. Exit with 0 if matches, with 1 if none.\n"
|
||||
"Exit with 2 if syntax errors or system errors.\n"
|
||||
"`egrep' means `grep -E'. `fgrep' means `grep -F'.\n"
|
||||
"With no FILE, or when FILE is -, read standard input. If less than\n"
|
||||
"two FILEs given, assume -h. Exit status is 0 if match, 1 if no match,\n"
|
||||
"and 2 if trouble.\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:953
|
||||
#: src/grep.c:1019
|
||||
msgid ""
|
||||
"\n"
|
||||
"Report bugs to <bug-gnu-utils@gnu.org>.\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:1096 src/grep.c:1103 src/grep.c:1112
|
||||
msgid "invalid context length argument"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:1119 src/grep.c:1124 src/grep.c:1129
|
||||
msgid "you may specify only one of -E, -F, or -G"
|
||||
msgstr "alleen de volgende opties zijn toegestaan: -E, -F, of -G"
|
||||
|
||||
# viendo los fuentes , hay varias opciones
|
||||
# que hay sin documentar. O quiza es que getopt() lo he entendido mal
|
||||
# Son las opciones X ( requiere argumento ) , switchs -c, -b, -L e -y
|
||||
|
@ -286,24 +290,29 @@ msgstr "alleen de volgende opties zijn toegestaan: -E, -F, of -G"
|
|||
# grep --help ->
|
||||
# usage: grep [-[[AB] ]<num>] [-[CEFGVchilnqsvwx]] [-[ef]] <expr> [<files...>]
|
||||
# La opcisn -X es a la que corresponde esta lmnea.
|
||||
#: src/grep.c:1148
|
||||
msgid "matcher already specified"
|
||||
#: src/grep.c:1030
|
||||
#, fuzzy
|
||||
msgid "conflicting matchers specified"
|
||||
msgstr "overeenkomer (matcher FIXME) al gespecificeerd"
|
||||
|
||||
#: src/grep.c:1169
|
||||
#: src/grep.c:1229 src/grep.c:1236 src/grep.c:1245
|
||||
msgid "invalid context length argument"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:1296
|
||||
msgid "unknown directories method"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:1255
|
||||
#: src/grep.c:1391
|
||||
#, c-format
|
||||
msgid "grep (GNU grep) %s\n"
|
||||
msgid "%s (GNU grep) %s\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:1257
|
||||
#: src/grep.c:1393
|
||||
msgid "Copyright (C) 1988, 1992-1998, 1999 Free Software Foundation, Inc.\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:1259
|
||||
#: src/grep.c:1395
|
||||
msgid ""
|
||||
"This is free software; see the source for copying conditions. There is NO\n"
|
||||
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
|
||||
|
@ -314,6 +323,9 @@ msgstr ""
|
|||
msgid "memory exhausted\n"
|
||||
msgstr "geen geheugen meer beschikbaar"
|
||||
|
||||
#~ msgid "you may specify only one of -E, -F, or -G"
|
||||
#~ msgstr "alleen de volgende opties zijn toegestaan: -E, -F, of -G"
|
||||
|
||||
#~ msgid "GNU grep version 2.0"
|
||||
#~ msgstr "(FIXME) GNU grep version 2.0"
|
||||
|
||||
|
|
Binary file not shown.
|
@ -7,7 +7,7 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: GNU grep 2.2\n"
|
||||
"POT-Creation-Date: 1999-02-14 12:08-0500\n"
|
||||
"POT-Creation-Date: 1999-11-13 11:33-0500\n"
|
||||
"PO-Revision-Date: 1998-08-01 13:45+0200\n"
|
||||
"Last-Translator: Eivind Tagseth <eivindt@multinet.no>\n"
|
||||
"Language-Team: Norwegian <no@li.org>\n"
|
||||
|
@ -15,45 +15,44 @@ msgstr ""
|
|||
"Content-Type: text/plain; charset=ISO-8859-1\n"
|
||||
"Content-Transfer-Encoding: 8-bit\n"
|
||||
|
||||
#: src/dfa.c:155 src/dfa.c:167 src/dfa.c:180 src/grep.c:861
|
||||
#: src/dfa.c:155 src/dfa.c:167 src/dfa.c:180 src/grep.c:921
|
||||
msgid "Memory exhausted"
|
||||
msgstr "Minnet oppbrukt"
|
||||
|
||||
#: src/dfa.c:452
|
||||
#: src/dfa.c:457
|
||||
msgid "Unfinished \\ escape"
|
||||
msgstr "Uferdig \\-beskyttelse"
|
||||
|
||||
#. Cases:
|
||||
#. {M} - exact count
|
||||
#. {M,} - minimum count, maximum is infinity
|
||||
#. {,M} - 0 through M
|
||||
#. {M,N} - M through N
|
||||
#: src/dfa.c:564 src/dfa.c:570 src/dfa.c:581 src/dfa.c:592
|
||||
#: src/dfa.c:590 src/dfa.c:596 src/dfa.c:606 src/dfa.c:614 src/dfa.c:629
|
||||
msgid "unfinished repeat count"
|
||||
msgstr "uferdig gjentagelsesantall"
|
||||
|
||||
#: src/dfa.c:577 src/dfa.c:591 src/dfa.c:595
|
||||
#: src/dfa.c:603 src/dfa.c:620 src/dfa.c:628 src/dfa.c:632
|
||||
msgid "malformed repeat count"
|
||||
msgstr "feilaktig gjentagelsesantall"
|
||||
|
||||
#: src/dfa.c:660 src/dfa.c:663 src/dfa.c:690 src/dfa.c:694 src/dfa.c:695
|
||||
#: src/dfa.c:698 src/dfa.c:711 src/dfa.c:712
|
||||
#: src/dfa.c:697 src/dfa.c:700 src/dfa.c:727 src/dfa.c:731 src/dfa.c:732
|
||||
#: src/dfa.c:735 src/dfa.c:748 src/dfa.c:749
|
||||
msgid "Unbalanced ["
|
||||
msgstr "Ubalansert ["
|
||||
|
||||
#: src/dfa.c:849
|
||||
#: src/dfa.c:886
|
||||
msgid "Unbalanced ("
|
||||
msgstr "Ubalansert ("
|
||||
|
||||
#: src/dfa.c:970
|
||||
#: src/dfa.c:1007
|
||||
msgid "No syntax specified"
|
||||
msgstr "Ingen syntaks spesifisert"
|
||||
|
||||
#: src/dfa.c:978
|
||||
#: src/dfa.c:1015
|
||||
msgid "Unbalanced )"
|
||||
msgstr "Ubalansert )"
|
||||
|
||||
#: src/dfa.c:1998
|
||||
#: src/dfa.c:2036
|
||||
msgid "out of memory"
|
||||
msgstr "tomt for minne"
|
||||
|
||||
|
@ -162,61 +161,73 @@ msgstr "?? getopt returnerte tegnverdien 0%o ??\n"
|
|||
msgid "non-option ARGV-elements: "
|
||||
msgstr "ARGV-elementer som ikke er flagg: "
|
||||
|
||||
#: src/grep.c:172 src/grep.c:189 src/grep.c:291 src/grep.c:347 src/kwset.c:184
|
||||
#: src/grep.c:183 src/grep.c:200 src/grep.c:300 src/grep.c:408 src/kwset.c:184
|
||||
#: src/kwset.c:190
|
||||
msgid "memory exhausted"
|
||||
msgstr "minnet oppbrukt"
|
||||
|
||||
#: src/grep.c:375 src/grep.c:846
|
||||
#, c-format
|
||||
msgid "%s: warning: %s: %s\n"
|
||||
msgstr "%s: advarsel: %s: %s\n"
|
||||
|
||||
#: src/grep.c:500 src/grep.c:1321
|
||||
#: src/grep.c:560 src/grep.c:1454
|
||||
msgid "writing output"
|
||||
msgstr "skriver utdata"
|
||||
|
||||
#: src/grep.c:729
|
||||
#: src/grep.c:792
|
||||
#, c-format
|
||||
msgid "Binary file %s matches\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:745
|
||||
#: src/grep.c:808
|
||||
msgid "(standard input)"
|
||||
msgstr "(standard inn)"
|
||||
|
||||
#: src/grep.c:847
|
||||
#: src/grep.c:906
|
||||
#, c-format
|
||||
msgid "%s: warning: %s: %s\n"
|
||||
msgstr "%s: advarsel: %s: %s\n"
|
||||
|
||||
#: src/grep.c:907
|
||||
msgid "recursive directory loop"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:898
|
||||
#: src/grep.c:958
|
||||
#, c-format
|
||||
msgid "Usage: %s [OPTION]... PATTERN [FILE]...\n"
|
||||
msgstr "Bruk: %s [FLAGG]... MØNSTER [FIL]...\n"
|
||||
|
||||
#: src/grep.c:899
|
||||
#: src/grep.c:959
|
||||
#, c-format
|
||||
msgid "Try `%s --help' for more information.\n"
|
||||
msgstr "Prøv «%s --help» for mer informasjon.\n"
|
||||
|
||||
#: src/grep.c:903
|
||||
#: src/grep.c:963
|
||||
#, c-format
|
||||
msgid "Usage: %s [OPTION]... PATTERN [FILE] ...\n"
|
||||
msgstr "Bruk: %s [FLAGG]... MØNSTER [FIL] ...\n"
|
||||
|
||||
#: src/grep.c:904
|
||||
#: src/grep.c:964
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Search for PATTERN in each FILE or standard input.\n"
|
||||
"Example: %s -i 'hello.*world' menu.h main.c\n"
|
||||
"\n"
|
||||
"Regexp selection and interpretation:\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:969
|
||||
msgid ""
|
||||
" -E, --extended-regexp PATTERN is an extended regular expression\n"
|
||||
" -F, --fixed-regexp PATTERN is a fixed string separated by newlines\n"
|
||||
" -F, --fixed-strings PATTERN is a set of newline-separated strings\n"
|
||||
" -G, --basic-regexp PATTERN is a basic regular expression\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:973
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
" -e, --regexp=PATTERN use PATTERN as a regular expression\n"
|
||||
" -f, --file=FILE obtain PATTERN from FILE\n"
|
||||
" -i, --ignore-case ignore case distinctions\n"
|
||||
" -w, --word-regexp force PATTERN to match only whole words\n"
|
||||
" -x, --line-regexp force PATTERN to match only whole lines\n"
|
||||
" -z, --null-data a data line ends in 0 byte, not newline\n"
|
||||
msgstr ""
|
||||
"Søk etter MØNSTER i hver FIL eller standard inn.\n"
|
||||
"\n"
|
||||
|
@ -232,14 +243,16 @@ msgstr ""
|
|||
" -w, --word-regexp MØNSTER må stemme overens med hele ord\n"
|
||||
" -x, --line-regexp MØNSTER må stemme overens med hele linjer\n"
|
||||
|
||||
#: src/grep.c:916
|
||||
#: src/grep.c:980
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"\n"
|
||||
"Miscellaneous:\n"
|
||||
" -s, --no-messages suppress error messages\n"
|
||||
" -v, --revert-match select non-matching lines\n"
|
||||
" -v, --invert-match select non-matching lines\n"
|
||||
" -V, --version print version information and exit\n"
|
||||
" --help display this help and exit\n"
|
||||
" --mmap use memory-mapped input if possible\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"Diverse:\n"
|
||||
|
@ -248,7 +261,7 @@ msgstr ""
|
|||
" -V, --version vis versioninformasjon og avslutt\n"
|
||||
" --help vis denne helpeteksten og avslutt\n"
|
||||
|
||||
#: src/grep.c:923
|
||||
#: src/grep.c:988
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"\n"
|
||||
|
@ -265,6 +278,7 @@ msgid ""
|
|||
" -L, --files-without-match only print FILE names containing no match\n"
|
||||
" -l, --files-with-matches only print FILE names containing matches\n"
|
||||
" -c, --count only print a count of matching lines per FILE\n"
|
||||
" -Z, --null print 0 byte after FILE name\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"Ut-kontroll:\n"
|
||||
|
@ -281,7 +295,7 @@ msgstr ""
|
|||
"treff\n"
|
||||
" per FIL\n"
|
||||
|
||||
#: src/grep.c:938
|
||||
#: src/grep.c:1004
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"\n"
|
||||
|
@ -289,15 +303,15 @@ msgid ""
|
|||
" -B, --before-context=NUM print NUM lines of leading context\n"
|
||||
" -A, --after-context=NUM print NUM lines of trailing context\n"
|
||||
" -C, --context[=NUM] print NUM (default 2) lines of output context\n"
|
||||
" unless overriden by -A or -B\n"
|
||||
" unless overridden by -A or -B\n"
|
||||
" -NUM same as --context=NUM\n"
|
||||
" -U, --binary do not strip CR characters at EOL (MSDOS)\n"
|
||||
" -u, --unix-byte-offsets report offsets as if CRs were not there (MSDOS)\n"
|
||||
"\n"
|
||||
"If no -[GEF], then `egrep' assumes -E, `fgrep' -F, else -G.\n"
|
||||
"With no FILE, or when FILE is -, read standard input. If less than\n"
|
||||
"two FILEs given, assume -h. Exit with 0 if matches, with 1 if none.\n"
|
||||
"Exit with 2 if syntax errors or system errors.\n"
|
||||
"`egrep' means `grep -E'. `fgrep' means `grep -F'.\n"
|
||||
"With no FILE, or when FILE is -, read standard input. If less than\n"
|
||||
"two FILEs given, assume -h. Exit status is 0 if match, 1 if no match,\n"
|
||||
"and 2 if trouble.\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"Kontekst-kontroll:\n"
|
||||
|
@ -309,7 +323,7 @@ msgstr ""
|
|||
" -u, --unix-byte-offsets rapporter posisjoner som om CRene ikke var der\n"
|
||||
" (MSDOS)\n"
|
||||
|
||||
#: src/grep.c:953
|
||||
#: src/grep.c:1019
|
||||
msgid ""
|
||||
"\n"
|
||||
"Report bugs to <bug-gnu-utils@gnu.org>.\n"
|
||||
|
@ -317,34 +331,31 @@ msgstr ""
|
|||
"\n"
|
||||
"Rapportér feil til <bug-gnu-utils@prep.ai.mit.edu>.\n"
|
||||
|
||||
#: src/grep.c:1096 src/grep.c:1103 src/grep.c:1112
|
||||
#: src/grep.c:1030
|
||||
#, fuzzy
|
||||
msgid "conflicting matchers specified"
|
||||
msgstr "søkeuttrykk er allerede spesifisert"
|
||||
|
||||
#: src/grep.c:1229 src/grep.c:1236 src/grep.c:1245
|
||||
msgid "invalid context length argument"
|
||||
msgstr "ugyldig kontekstlengde"
|
||||
|
||||
#: src/grep.c:1119 src/grep.c:1124 src/grep.c:1129
|
||||
msgid "you may specify only one of -E, -F, or -G"
|
||||
msgstr "du kan bare spesifisere en av -E, -F eller -G"
|
||||
|
||||
#: src/grep.c:1148
|
||||
msgid "matcher already specified"
|
||||
msgstr "søkeuttrykk er allerede spesifisert"
|
||||
|
||||
#: src/grep.c:1169
|
||||
#: src/grep.c:1296
|
||||
msgid "unknown directories method"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:1255
|
||||
#, c-format
|
||||
msgid "grep (GNU grep) %s\n"
|
||||
#: src/grep.c:1391
|
||||
#, fuzzy, c-format
|
||||
msgid "%s (GNU grep) %s\n"
|
||||
msgstr "grep (GNU grep) %s\n"
|
||||
|
||||
#: src/grep.c:1257
|
||||
#: src/grep.c:1393
|
||||
#, fuzzy
|
||||
msgid "Copyright (C) 1988, 1992-1998, 1999 Free Software Foundation, Inc.\n"
|
||||
msgstr ""
|
||||
"Copyright (C) 1988, 92, 93, 94, 95, 96, 97 Free Software Foundation, Inc.\n"
|
||||
|
||||
#: src/grep.c:1259
|
||||
#: src/grep.c:1395
|
||||
msgid ""
|
||||
"This is free software; see the source for copying conditions. There is NO\n"
|
||||
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
|
||||
|
@ -357,5 +368,8 @@ msgstr ""
|
|||
msgid "memory exhausted\n"
|
||||
msgstr "minnet oppbrukt\n"
|
||||
|
||||
#~ msgid "you may specify only one of -E, -F, or -G"
|
||||
#~ msgstr "du kan bare spesifisere en av -E, -F eller -G"
|
||||
|
||||
#~ msgid "(standard input)\n"
|
||||
#~ msgstr "(standard inn)\n"
|
||||
|
|
Binary file not shown.
|
@ -1,57 +1,56 @@
|
|||
# Polish translation of the GNU grep messages
|
||||
# Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
|
||||
# Rafa³ Maszkowski <rzm@icm.edu.pl>, 1996-1998.
|
||||
# Copyright (C) 1995-1998, 1999 Free Software Foundation, Inc.
|
||||
# Rafa³ Maszkowski <rzm@icm.edu.pl>, 1996-1999.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: GNU grep 2.2\n"
|
||||
"POT-Creation-Date: 1999-02-14 12:08-0500\n"
|
||||
"PO-Revision-Date: 1998-08-05 14:08+0200\n"
|
||||
"Project-Id-Version: GNU grep 2.2f\n"
|
||||
"POT-Creation-Date: 1999-11-13 11:33-0500\n"
|
||||
"PO-Revision-Date: 1999-02-27 22:15+0200\n"
|
||||
"Last-Translator: Rafa³ Maszkowski <rzm@icm.edu.pl>\n"
|
||||
"Language-Team: Polish <pl@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=ISO-8859-2\n"
|
||||
"Content-Transfer-Encoding: 8-bit\n"
|
||||
|
||||
#: src/dfa.c:155 src/dfa.c:167 src/dfa.c:180 src/grep.c:861
|
||||
#: src/dfa.c:155 src/dfa.c:167 src/dfa.c:180 src/grep.c:921
|
||||
msgid "Memory exhausted"
|
||||
msgstr "Pamiêæ wyczerpana"
|
||||
|
||||
#: src/dfa.c:452
|
||||
#: src/dfa.c:457
|
||||
msgid "Unfinished \\ escape"
|
||||
msgstr "Niedokoñczona sekwencja \\"
|
||||
|
||||
#. Cases:
|
||||
#. {M} - exact count
|
||||
#. {M,} - minimum count, maximum is infinity
|
||||
#. {,M} - 0 through M
|
||||
#. {M,N} - M through N
|
||||
#: src/dfa.c:564 src/dfa.c:570 src/dfa.c:581 src/dfa.c:592
|
||||
#: src/dfa.c:590 src/dfa.c:596 src/dfa.c:606 src/dfa.c:614 src/dfa.c:629
|
||||
msgid "unfinished repeat count"
|
||||
msgstr "niedokoñczona liczba powtórzeñ"
|
||||
|
||||
#: src/dfa.c:577 src/dfa.c:591 src/dfa.c:595
|
||||
#: src/dfa.c:603 src/dfa.c:620 src/dfa.c:628 src/dfa.c:632
|
||||
msgid "malformed repeat count"
|
||||
msgstr "¼le sformatowana liczba powtórzeñ"
|
||||
|
||||
#: src/dfa.c:660 src/dfa.c:663 src/dfa.c:690 src/dfa.c:694 src/dfa.c:695
|
||||
#: src/dfa.c:698 src/dfa.c:711 src/dfa.c:712
|
||||
#: src/dfa.c:697 src/dfa.c:700 src/dfa.c:727 src/dfa.c:731 src/dfa.c:732
|
||||
#: src/dfa.c:735 src/dfa.c:748 src/dfa.c:749
|
||||
msgid "Unbalanced ["
|
||||
msgstr "[ nie do pary"
|
||||
|
||||
#: src/dfa.c:849
|
||||
#: src/dfa.c:886
|
||||
msgid "Unbalanced ("
|
||||
msgstr "( nie do pary"
|
||||
|
||||
#: src/dfa.c:970
|
||||
#: src/dfa.c:1007
|
||||
msgid "No syntax specified"
|
||||
msgstr "Brak specyfikacji sk³adni"
|
||||
|
||||
#: src/dfa.c:978
|
||||
#: src/dfa.c:1015
|
||||
msgid "Unbalanced )"
|
||||
msgstr ") nie do pary"
|
||||
|
||||
#: src/dfa.c:1998
|
||||
#: src/dfa.c:2036
|
||||
msgid "out of memory"
|
||||
msgstr "brak pamiêci"
|
||||
|
||||
|
@ -161,61 +160,73 @@ msgstr "?? getopt zwr
|
|||
msgid "non-option ARGV-elements: "
|
||||
msgstr "elementy ARGV nie bêd±ce opcjami: "
|
||||
|
||||
#: src/grep.c:172 src/grep.c:189 src/grep.c:291 src/grep.c:347 src/kwset.c:184
|
||||
#: src/grep.c:183 src/grep.c:200 src/grep.c:300 src/grep.c:408 src/kwset.c:184
|
||||
#: src/kwset.c:190
|
||||
msgid "memory exhausted"
|
||||
msgstr "pamiêæ wyczerpana"
|
||||
|
||||
#: src/grep.c:375 src/grep.c:846
|
||||
#: src/grep.c:560 src/grep.c:1454
|
||||
msgid "writing output"
|
||||
msgstr "zapisujê wyniki"
|
||||
|
||||
#: src/grep.c:792
|
||||
#, c-format
|
||||
msgid "Binary file %s matches\n"
|
||||
msgstr "Plik binarny %s pasuje do wzorca\n"
|
||||
|
||||
#: src/grep.c:808
|
||||
msgid "(standard input)"
|
||||
msgstr "(standardowe wej¶cie)"
|
||||
|
||||
#: src/grep.c:906
|
||||
#, c-format
|
||||
msgid "%s: warning: %s: %s\n"
|
||||
msgstr "%s: uwaga: %s: %s\n"
|
||||
|
||||
#: src/grep.c:500 src/grep.c:1321
|
||||
msgid "writing output"
|
||||
msgstr "zapisujê wyniki"
|
||||
|
||||
#: src/grep.c:729
|
||||
#, c-format
|
||||
msgid "Binary file %s matches\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:745
|
||||
msgid "(standard input)"
|
||||
msgstr "(standardowe wej¶cie)"
|
||||
|
||||
#: src/grep.c:847
|
||||
#: src/grep.c:907
|
||||
msgid "recursive directory loop"
|
||||
msgstr ""
|
||||
msgstr "nieskoñczona pêtla przegl±dania katalogów"
|
||||
|
||||
#: src/grep.c:898
|
||||
#: src/grep.c:958
|
||||
#, c-format
|
||||
msgid "Usage: %s [OPTION]... PATTERN [FILE]...\n"
|
||||
msgstr "U¿ycie: %s [OPCJA]... WZORZEC [PLIK] ...\n"
|
||||
|
||||
#: src/grep.c:899
|
||||
#: src/grep.c:959
|
||||
#, c-format
|
||||
msgid "Try `%s --help' for more information.\n"
|
||||
msgstr "Spróbuj `%s --help' dla uzyskania informacji.\n"
|
||||
|
||||
#: src/grep.c:903
|
||||
#: src/grep.c:963
|
||||
#, c-format
|
||||
msgid "Usage: %s [OPTION]... PATTERN [FILE] ...\n"
|
||||
msgstr "U¿ycie: %s [OPCJA]... WZORZEC [PLIK] ...\n"
|
||||
|
||||
#: src/grep.c:904
|
||||
#: src/grep.c:964
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Search for PATTERN in each FILE or standard input.\n"
|
||||
"Example: %s -i 'hello.*world' menu.h main.c\n"
|
||||
"\n"
|
||||
"Regexp selection and interpretation:\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:969
|
||||
msgid ""
|
||||
" -E, --extended-regexp PATTERN is an extended regular expression\n"
|
||||
" -F, --fixed-regexp PATTERN is a fixed string separated by newlines\n"
|
||||
" -F, --fixed-strings PATTERN is a set of newline-separated strings\n"
|
||||
" -G, --basic-regexp PATTERN is a basic regular expression\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:973
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
" -e, --regexp=PATTERN use PATTERN as a regular expression\n"
|
||||
" -f, --file=FILE obtain PATTERN from FILE\n"
|
||||
" -i, --ignore-case ignore case distinctions\n"
|
||||
" -w, --word-regexp force PATTERN to match only whole words\n"
|
||||
" -x, --line-regexp force PATTERN to match only whole lines\n"
|
||||
" -z, --null-data a data line ends in 0 byte, not newline\n"
|
||||
msgstr ""
|
||||
"Szukanie WZORCA w ka¿dym pliku lub na standardowym wej¶ciu.\n"
|
||||
"\n"
|
||||
|
@ -229,14 +240,16 @@ msgstr ""
|
|||
" -w, --word-regexp dopasuj WZORZEC tylko do pe³nych s³ów\n"
|
||||
" -x, --line-regexp dopasuj WZORZEC tylko do ca³ych linii\n"
|
||||
|
||||
#: src/grep.c:916
|
||||
#: src/grep.c:980
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"\n"
|
||||
"Miscellaneous:\n"
|
||||
" -s, --no-messages suppress error messages\n"
|
||||
" -v, --revert-match select non-matching lines\n"
|
||||
" -v, --invert-match select non-matching lines\n"
|
||||
" -V, --version print version information and exit\n"
|
||||
" --help display this help and exit\n"
|
||||
" --mmap use memory-mapped input if possible\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"Ró¿ne:\n"
|
||||
|
@ -245,7 +258,7 @@ msgstr ""
|
|||
" -V, --version wypisz informacjê o wersji i zakoñcz\n"
|
||||
" --help wy¶wietl tê informacjê i zakoñcz\n"
|
||||
|
||||
#: src/grep.c:923
|
||||
#: src/grep.c:988
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"\n"
|
||||
|
@ -262,6 +275,7 @@ msgid ""
|
|||
" -L, --files-without-match only print FILE names containing no match\n"
|
||||
" -l, --files-with-matches only print FILE names containing matches\n"
|
||||
" -c, --count only print a count of matching lines per FILE\n"
|
||||
" -Z, --null print 0 byte after FILE name\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"Sterowanie danymi wyj¶ciowymi:\n"
|
||||
|
@ -270,12 +284,17 @@ msgstr ""
|
|||
" -H, --with-filename wypisz nazwê pliku dla ka¿dej linii\n"
|
||||
" -h, --no-filename nie dopisuj nazwy pliku w liniach wyj¶ciowych\n"
|
||||
" -q, --quiet, --silent wy³±cz wypisywanie wyniku\n"
|
||||
" -a, --text nie wstrzymuj wyj¶ciowych danych binarnych\n"
|
||||
" -d, --directiories=AKCJA jak siê obchodziæ z katalogami\n"
|
||||
" AKCJA to `read' (czytaj), `recurse' (przegl±daj\n"
|
||||
" rekurencyjnie) albo `skip' (pomiñ).\n"
|
||||
" -r, --recursive to samo co --directories=recurse .\n"
|
||||
" -L, --files-without-match wypisz tylko nazwy PLIKÓW bez trafieñ\n"
|
||||
" -l, --files-with-matches wypisz tylko nazwy PLIKÓW z trafieniami\n"
|
||||
" -c, --count wypisz tylko ilo¶æ pasuj±cych linii w ka¿dym "
|
||||
"PLIKu\n"
|
||||
|
||||
#: src/grep.c:938
|
||||
#: src/grep.c:1004
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"\n"
|
||||
|
@ -283,22 +302,23 @@ msgid ""
|
|||
" -B, --before-context=NUM print NUM lines of leading context\n"
|
||||
" -A, --after-context=NUM print NUM lines of trailing context\n"
|
||||
" -C, --context[=NUM] print NUM (default 2) lines of output context\n"
|
||||
" unless overriden by -A or -B\n"
|
||||
" unless overridden by -A or -B\n"
|
||||
" -NUM same as --context=NUM\n"
|
||||
" -U, --binary do not strip CR characters at EOL (MSDOS)\n"
|
||||
" -u, --unix-byte-offsets report offsets as if CRs were not there (MSDOS)\n"
|
||||
"\n"
|
||||
"If no -[GEF], then `egrep' assumes -E, `fgrep' -F, else -G.\n"
|
||||
"With no FILE, or when FILE is -, read standard input. If less than\n"
|
||||
"two FILEs given, assume -h. Exit with 0 if matches, with 1 if none.\n"
|
||||
"Exit with 2 if syntax errors or system errors.\n"
|
||||
"`egrep' means `grep -E'. `fgrep' means `grep -F'.\n"
|
||||
"With no FILE, or when FILE is -, read standard input. If less than\n"
|
||||
"two FILEs given, assume -h. Exit status is 0 if match, 1 if no match,\n"
|
||||
"and 2 if trouble.\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"Sterowanie kontekstem:\n"
|
||||
" -B, --before-context=ILE wypisz ILE linii kontekstu przed\n"
|
||||
" -A, --after-context=ILE wypisz ILE linii kontekstu po\n"
|
||||
" -NUM to samo co -B NUM i -A NUM razem\n"
|
||||
" -C, --context to samo co -2\n"
|
||||
" -C, --context[=NUM] wypisz ILE (domy¶lnie 2) linii kontekstu, chyba\n"
|
||||
" ¿e zmienione przez opcjê -A albo -B\n"
|
||||
" -NUM to samo co --context=NUM\n"
|
||||
" -U, --binary nie usuwaj znaków nowej linii na koñcu\n"
|
||||
" -u, --unix-byte-offsets podawaj pozycje tak jakby nie by³o CRów (MSDOS)\n"
|
||||
"\n"
|
||||
|
@ -308,7 +328,7 @@ msgstr ""
|
|||
"pasuje, z 1, je¿eli nie, z 2, je¿eli napotkano b³êdy syntaktyczne lub\n"
|
||||
"systemowe.\n"
|
||||
|
||||
#: src/grep.c:953
|
||||
#: src/grep.c:1019
|
||||
msgid ""
|
||||
"\n"
|
||||
"Report bugs to <bug-gnu-utils@gnu.org>.\n"
|
||||
|
@ -316,14 +336,6 @@ msgstr ""
|
|||
"\n"
|
||||
"Raporty o b³êdach wysy³aj do bug-gnu-utils@gnu.org.\n"
|
||||
|
||||
#: src/grep.c:1096 src/grep.c:1103 src/grep.c:1112
|
||||
msgid "invalid context length argument"
|
||||
msgstr "b³êdny argument d³ugo¶ci kontekstowej"
|
||||
|
||||
#: src/grep.c:1119 src/grep.c:1124 src/grep.c:1129
|
||||
msgid "you may specify only one of -E, -F, or -G"
|
||||
msgstr "mo¿esz podaæ tylko jedn± opcjê z -E -F -G"
|
||||
|
||||
# viendo los fuentes , hay varias opciones
|
||||
# que hay sin documentar. O quiza es que getopt() lo he entendido mal
|
||||
# Son las opciones X ( requiere argumento ) , switchs -c, -b, -L e -y
|
||||
|
@ -332,26 +344,30 @@ msgstr "mo
|
|||
# grep --help ->
|
||||
# usage: grep [-[[AB] ]<num>] [-[CEFGVchilnqsvwx]] [-[ef]] <expr> [<files...>]
|
||||
# La opción -X es a la que corresponde esta línea.
|
||||
#: src/grep.c:1148
|
||||
msgid "matcher already specified"
|
||||
#: src/grep.c:1030
|
||||
#, fuzzy
|
||||
msgid "conflicting matchers specified"
|
||||
msgstr "wzorzec ju¿ podany"
|
||||
|
||||
#: src/grep.c:1169
|
||||
msgid "unknown directories method"
|
||||
msgstr ""
|
||||
#: src/grep.c:1229 src/grep.c:1236 src/grep.c:1245
|
||||
msgid "invalid context length argument"
|
||||
msgstr "b³êdny argument d³ugo¶ci kontekstowej"
|
||||
|
||||
#: src/grep.c:1255
|
||||
#, c-format
|
||||
msgid "grep (GNU grep) %s\n"
|
||||
#: src/grep.c:1296
|
||||
msgid "unknown directories method"
|
||||
msgstr "nieznany sposób przegl±dania katalogów"
|
||||
|
||||
#: src/grep.c:1391
|
||||
#, fuzzy, c-format
|
||||
msgid "%s (GNU grep) %s\n"
|
||||
msgstr "grep (GNU grep) %s\n"
|
||||
|
||||
#: src/grep.c:1257
|
||||
#: src/grep.c:1393
|
||||
#, fuzzy
|
||||
msgid "Copyright (C) 1988, 1992-1998, 1999 Free Software Foundation, Inc.\n"
|
||||
msgstr ""
|
||||
"Copyright (C) 1988, 92, 93, 94, 95, 96, 97 Free Software Foundation, Inc.\n"
|
||||
msgstr "Copyright (C) 1988, 1992-1997, Free Software Foundation, Inc.\n"
|
||||
|
||||
#: src/grep.c:1259
|
||||
#: src/grep.c:1395
|
||||
msgid ""
|
||||
"This is free software; see the source for copying conditions. There is NO\n"
|
||||
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
|
||||
|
@ -366,5 +382,5 @@ msgstr ""
|
|||
msgid "memory exhausted\n"
|
||||
msgstr "pamiêæ wyczerpana\n"
|
||||
|
||||
#~ msgid "(standard input)\n"
|
||||
#~ msgstr "(standardowe wyj¶cie)\n"
|
||||
#~ msgid "you may specify only one of -E, -F, or -G"
|
||||
#~ msgstr "mo¿esz podaæ tylko jedn± opcjê z -E -F -G"
|
||||
|
|
Binary file not shown.
|
@ -0,0 +1,389 @@
|
|||
# Mensagens em Português do Brazil (pt_BR) para o grep da GNU.
|
||||
# Copyright (C) 1997 Free Software Foundation, Inc.
|
||||
# Rodrigo Stulzer Lopes <rodrigo@conectiva.com.br>, 1997
|
||||
# Based on Spanish Version
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: GNU grep 2.3f\n"
|
||||
"POT-Creation-Date: 1999-11-13 11:33-0500\n"
|
||||
"PO-Revision-Date: 1999-10-07 11:39-03:00\n"
|
||||
"Last-Translator: Rodrigo Stulzer Lopes <rodrigo@conectiva.com.br>\n"
|
||||
"Language-Team: Brazilian Portuguese <ldp-br@bazar.conectiva.com.br>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=ISO-8859-1\n"
|
||||
"Content-Transfer-Encoding: 8-bit\n"
|
||||
|
||||
#: src/dfa.c:155 src/dfa.c:167 src/dfa.c:180 src/grep.c:921
|
||||
msgid "Memory exhausted"
|
||||
msgstr "Memória esgotada"
|
||||
|
||||
#: src/dfa.c:457
|
||||
msgid "Unfinished \\ escape"
|
||||
msgstr "escape inacabado"
|
||||
|
||||
#. Cases:
|
||||
#. {M} - exact count
|
||||
#. {M,} - minimum count, maximum is infinity
|
||||
#. {M,N} - M through N
|
||||
#: src/dfa.c:590 src/dfa.c:596 src/dfa.c:606 src/dfa.c:614 src/dfa.c:629
|
||||
msgid "unfinished repeat count"
|
||||
msgstr "contador de repetição inválido"
|
||||
|
||||
#: src/dfa.c:603 src/dfa.c:620 src/dfa.c:628 src/dfa.c:632
|
||||
msgid "malformed repeat count"
|
||||
msgstr "contador de repetição inválido"
|
||||
|
||||
#: src/dfa.c:697 src/dfa.c:700 src/dfa.c:727 src/dfa.c:731 src/dfa.c:732
|
||||
#: src/dfa.c:735 src/dfa.c:748 src/dfa.c:749
|
||||
msgid "Unbalanced ["
|
||||
msgstr "[ desbalanceado"
|
||||
|
||||
#: src/dfa.c:886
|
||||
msgid "Unbalanced ("
|
||||
msgstr "( desbalanceado"
|
||||
|
||||
#: src/dfa.c:1007
|
||||
msgid "No syntax specified"
|
||||
msgstr "Sintaxe não especificada"
|
||||
|
||||
#: src/dfa.c:1015
|
||||
msgid "Unbalanced )"
|
||||
msgstr ") desbalanceado"
|
||||
|
||||
#: src/dfa.c:2036
|
||||
msgid "out of memory"
|
||||
msgstr "memória esgotada"
|
||||
|
||||
#: src/getopt.c:628
|
||||
#, c-format
|
||||
msgid "%s: option `%s' is ambiguous\n"
|
||||
msgstr "%s: opção `%s' é ambígua\n"
|
||||
|
||||
#: src/getopt.c:652
|
||||
#, c-format
|
||||
msgid "%s: option `--%s' doesn't allow an argument\n"
|
||||
msgstr "%s: opção `--%s' não aceita um argumento\n"
|
||||
|
||||
#: src/getopt.c:657
|
||||
#, c-format
|
||||
msgid "%s: option `%c%s' doesn't allow an argument\n"
|
||||
msgstr "%s: opção `%c%s' não aceita um argumento\n"
|
||||
|
||||
#: src/getopt.c:674 src/getopt.c:847
|
||||
#, c-format
|
||||
msgid "%s: option `%s' requires an argument\n"
|
||||
msgstr "%s: opção `%s' requer um argumento\n"
|
||||
|
||||
#. --option
|
||||
#: src/getopt.c:703
|
||||
#, c-format
|
||||
msgid "%s: unrecognized option `--%s'\n"
|
||||
msgstr "%s: opção `--%s' não reconhecida\n"
|
||||
|
||||
#. +option or -option
|
||||
#: src/getopt.c:707
|
||||
#, c-format
|
||||
msgid "%s: unrecognized option `%c%s'\n"
|
||||
msgstr "%s: opção `%c%s' não reconhecida\n"
|
||||
|
||||
#. 1003.2 specifies the format of this message.
|
||||
#: src/getopt.c:733
|
||||
#, c-format
|
||||
msgid "%s: illegal option -- %c\n"
|
||||
msgstr "%s: opção ilegal -- %c\n"
|
||||
|
||||
#: src/getopt.c:736
|
||||
#, c-format
|
||||
msgid "%s: invalid option -- %c\n"
|
||||
msgstr "%s: opção inválida -- %c\n"
|
||||
|
||||
#. 1003.2 specifies the format of this message.
|
||||
#: src/getopt.c:766 src/getopt.c:896
|
||||
#, c-format
|
||||
msgid "%s: option requires an argument -- %c\n"
|
||||
msgstr "%s: opção espera um argumento -- %c\n"
|
||||
|
||||
#: src/getopt.c:813
|
||||
#, c-format
|
||||
msgid "%s: option `-W %s' is ambiguous\n"
|
||||
msgstr "%s: opção `-W %s' é ambígua\n"
|
||||
|
||||
#: src/getopt.c:831
|
||||
#, c-format
|
||||
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
||||
msgstr "%s: opção `-W %s' não aceita um argumento\n"
|
||||
|
||||
#: src/getopt1.c:132
|
||||
#, c-format
|
||||
msgid "option %s"
|
||||
msgstr "opção %s"
|
||||
|
||||
#: src/getopt1.c:134
|
||||
#, c-format
|
||||
msgid " with arg %s"
|
||||
msgstr "com argumento %s"
|
||||
|
||||
#: src/getopt1.c:149
|
||||
msgid "digits occur in two different argv-elements.\n"
|
||||
msgstr "dígitos ocorrem em dois elementos diferentes de argv.\n"
|
||||
|
||||
#: src/getopt1.c:151
|
||||
#, c-format
|
||||
msgid "option %c\n"
|
||||
msgstr "opção %c\n"
|
||||
|
||||
#: src/getopt1.c:155
|
||||
msgid "option a\n"
|
||||
msgstr "opção a\n"
|
||||
|
||||
#: src/getopt1.c:159
|
||||
msgid "option b\n"
|
||||
msgstr "opção b\n"
|
||||
|
||||
#: src/getopt1.c:163
|
||||
#, c-format
|
||||
msgid "option c with value `%s'\n"
|
||||
msgstr "opção c com valor `%s'\n"
|
||||
|
||||
#: src/getopt1.c:167
|
||||
#, c-format
|
||||
msgid "option d with value `%s'\n"
|
||||
msgstr "opção d com valor `%s'\n"
|
||||
|
||||
#: src/getopt1.c:174
|
||||
#, c-format
|
||||
msgid "?? getopt returned character code 0%o ??\n"
|
||||
msgstr "?? getopt retornou caracter código 0%o ??\n"
|
||||
|
||||
#: src/getopt1.c:180
|
||||
msgid "non-option ARGV-elements: "
|
||||
msgstr "elementos ARGV que não são opções: "
|
||||
|
||||
#: src/grep.c:183 src/grep.c:200 src/grep.c:300 src/grep.c:408 src/kwset.c:184
|
||||
#: src/kwset.c:190
|
||||
msgid "memory exhausted"
|
||||
msgstr "memória esgotada"
|
||||
|
||||
#: src/grep.c:560 src/grep.c:1454
|
||||
msgid "writing output"
|
||||
msgstr "escrevendo saída"
|
||||
|
||||
#: src/grep.c:792
|
||||
#, c-format
|
||||
msgid "Binary file %s matches\n"
|
||||
msgstr "Arquivo binário %s casa com o padrão\n"
|
||||
|
||||
#: src/grep.c:808
|
||||
msgid "(standard input)"
|
||||
msgstr "(entrada padrão)"
|
||||
|
||||
#: src/grep.c:906
|
||||
#, c-format
|
||||
msgid "%s: warning: %s: %s\n"
|
||||
msgstr "%s: aviso: %s: %s\n"
|
||||
|
||||
#: src/grep.c:907
|
||||
msgid "recursive directory loop"
|
||||
msgstr "loop de diretório recursivo"
|
||||
|
||||
#: src/grep.c:958
|
||||
#, c-format
|
||||
msgid "Usage: %s [OPTION]... PATTERN [FILE]...\n"
|
||||
msgstr "Uso: %s [opção]... padrão [arquivo]...\n"
|
||||
|
||||
#: src/grep.c:959
|
||||
#, c-format
|
||||
msgid "Try `%s --help' for more information.\n"
|
||||
msgstr "Tente `%s --help' para mais informações.\n"
|
||||
|
||||
#: src/grep.c:963
|
||||
#, c-format
|
||||
msgid "Usage: %s [OPTION]... PATTERN [FILE] ...\n"
|
||||
msgstr "Uso: %s [opção]... padrão [arquivo]...\n"
|
||||
|
||||
#: src/grep.c:964
|
||||
#, fuzzy, c-format
|
||||
msgid ""
|
||||
"Search for PATTERN in each FILE or standard input.\n"
|
||||
"Example: %s -i 'hello.*world' menu.h main.c\n"
|
||||
"\n"
|
||||
"Regexp selection and interpretation:\n"
|
||||
msgstr ""
|
||||
"Procura por PADRÃO em cada ARQUIVO ou entrada padrão.\n"
|
||||
"\n"
|
||||
"Seleção de expressão regular e interpretação:\n"
|
||||
|
||||
#: src/grep.c:969
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
" -E, --extended-regexp PATTERN is an extended regular expression\n"
|
||||
" -F, --fixed-strings PATTERN is a set of newline-separated strings\n"
|
||||
" -G, --basic-regexp PATTERN is a basic regular expression\n"
|
||||
msgstr ""
|
||||
" -E, --extended-regexp PADRÃO é um expressão regular extendida\n"
|
||||
" -F, --fixed-regexp PADRÃO é uma cadeia fixa separada por nova "
|
||||
"linha\n"
|
||||
" -G, --basic-regexp PADRÃO é um expressão regular básica\n"
|
||||
|
||||
#: src/grep.c:973
|
||||
msgid ""
|
||||
" -e, --regexp=PATTERN use PATTERN as a regular expression\n"
|
||||
" -f, --file=FILE obtain PATTERN from FILE\n"
|
||||
" -i, --ignore-case ignore case distinctions\n"
|
||||
" -w, --word-regexp force PATTERN to match only whole words\n"
|
||||
" -x, --line-regexp force PATTERN to match only whole lines\n"
|
||||
" -z, --null-data a data line ends in 0 byte, not newline\n"
|
||||
msgstr ""
|
||||
" -e, --regexp=PADRÃO use PADRÃO como uma expressão regular\n"
|
||||
" -f, --file=ARQUIVO obtain PADRÃO from FILE\n"
|
||||
" -i, --ignore-case ignora caixa do texto\n"
|
||||
" -w, --word-regexp força PADRÃO encontrar apenas palavras inteiras\n"
|
||||
" -x, --line-regexp força PADRÃO encontrar apenas linhas inteiras\n"
|
||||
" -z, --null-data uma linha de dados acaba com 0 bytes, não nova "
|
||||
"linha\n"
|
||||
|
||||
#: src/grep.c:980
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"\n"
|
||||
"Miscellaneous:\n"
|
||||
" -s, --no-messages suppress error messages\n"
|
||||
" -v, --invert-match select non-matching lines\n"
|
||||
" -V, --version print version information and exit\n"
|
||||
" --help display this help and exit\n"
|
||||
" --mmap use memory-mapped input if possible\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"Miscelânea:\n"
|
||||
" -s, --no-messages suprime mensagens de erro\n"
|
||||
" -v, --revert-match seleciona somente linhas não coincidentes\n"
|
||||
" -V, --version mostra informações sobre versão e sai\n"
|
||||
" --help exibe esta ajuda e sai\n"
|
||||
|
||||
#: src/grep.c:988
|
||||
msgid ""
|
||||
"\n"
|
||||
"Output control:\n"
|
||||
" -b, --byte-offset print the byte offset with output lines\n"
|
||||
" -n, --line-number print line number with output lines\n"
|
||||
" -H, --with-filename print the filename for each match\n"
|
||||
" -h, --no-filename suppress the prefixing filename on output\n"
|
||||
" -q, --quiet, --silent suppress all normal output\n"
|
||||
" -a, --text do not suppress binary output\n"
|
||||
" -d, --directories=ACTION how to handle directories\n"
|
||||
" ACTION is 'read', 'recurse', or 'skip'.\n"
|
||||
" -r, --recursive equivalent to --directories=recurse.\n"
|
||||
" -L, --files-without-match only print FILE names containing no match\n"
|
||||
" -l, --files-with-matches only print FILE names containing matches\n"
|
||||
" -c, --count only print a count of matching lines per FILE\n"
|
||||
" -Z, --null print 0 byte after FILE name\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"Controle de saída:\n"
|
||||
" -b, --byte-offset exibe o deslocamento juntamente com a saída\n"
|
||||
" -n, --line-number exibe o número da linha juntamente com a saída\n"
|
||||
" -H, --with-filename exibe o nome do arquivo para cada padrão\n"
|
||||
" encontrado\n"
|
||||
" -h, --no-filename inibe o nome de arquivo na saída\n"
|
||||
" -q, --quiet, --silent inibe todas as saídas normais\n"
|
||||
" -a, --text não suprima saída de arquivos binários\n"
|
||||
" -d, --directories=AÇÃO como tratar diretórios\n"
|
||||
" AÇÃO pode ser: 'read' (ler), 'recurse' "
|
||||
"(recursivo),\n"
|
||||
" ou 'skip' (não considerar).\n"
|
||||
" -r, --recursive equivalente a --directories=recurse.\n"
|
||||
" -L, --files-without-match exibe somente os nomes dos arquivos onde não "
|
||||
"foi\n"
|
||||
" encontrado o padrão\n"
|
||||
" -l, --files-with-matches exibe somente os nomes dos arquivos onde foi\n"
|
||||
" encontrado o padrão\n"
|
||||
" -c, --count exibe o número de padrões encontrados por "
|
||||
"arquivo\n"
|
||||
" -Z, --null mostra 0 bytes depois do nome do ARQUIVO\n"
|
||||
|
||||
#: src/grep.c:1004
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"\n"
|
||||
"Context control:\n"
|
||||
" -B, --before-context=NUM print NUM lines of leading context\n"
|
||||
" -A, --after-context=NUM print NUM lines of trailing context\n"
|
||||
" -C, --context[=NUM] print NUM (default 2) lines of output context\n"
|
||||
" unless overridden by -A or -B\n"
|
||||
" -NUM same as --context=NUM\n"
|
||||
" -U, --binary do not strip CR characters at EOL (MSDOS)\n"
|
||||
" -u, --unix-byte-offsets report offsets as if CRs were not there (MSDOS)\n"
|
||||
"\n"
|
||||
"`egrep' means `grep -E'. `fgrep' means `grep -F'.\n"
|
||||
"With no FILE, or when FILE is -, read standard input. If less than\n"
|
||||
"two FILEs given, assume -h. Exit status is 0 if match, 1 if no match,\n"
|
||||
"and 2 if trouble.\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"Controle de contexto:\n"
|
||||
" -B, --before-context=NUM exibe NUM linhas até o padrão\n"
|
||||
" -A, --after-context=NUM exibe NUM linhas após o padrão\n"
|
||||
" -C, --context=[NUM] exibe NUM (default 2) linhas do padrão\n"
|
||||
" a menos que anulada por -A ou -B\n"
|
||||
" -NUM o mesmo que --context=NUM\n"
|
||||
" -U, --binary não elimina caracteres CR em final de linha\n"
|
||||
" (MSDOS)\n"
|
||||
" -u, --unix-byte-offsets relata deslocamentos como se não existissem\n"
|
||||
" CRs (MSDOS)\n"
|
||||
"\n"
|
||||
"`egrep' é o mesmo que `grep -E', `fgrep' é `grep -F'.\n"
|
||||
"\n"
|
||||
"Se não especificadas as opções -[GEF], então o `egrep' assume -E e o "
|
||||
"`fgrep'\n"
|
||||
"assume -F; a opção -G é assumida noutros casos.\n"
|
||||
"Se não informado o ARQUIVO, ou se ARQUIVO é -, lê da entrada padrão.\n"
|
||||
"Se menos que dois arquivos forem especificados, assume-se -h.\n"
|
||||
"Retorna 0 se encontra o padrão, 1 se não encontra.\n"
|
||||
"Retorna 2 se houver erro de sintaxe ou erros do sistema.\n"
|
||||
|
||||
#: src/grep.c:1019
|
||||
msgid ""
|
||||
"\n"
|
||||
"Report bugs to <bug-gnu-utils@gnu.org>.\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"Informe problemas para <bug-gnu-utils@gnu.org>.\n"
|
||||
|
||||
#: src/grep.c:1030
|
||||
msgid "conflicting matchers specified"
|
||||
msgstr "padrões de procura especificados conflitam"
|
||||
|
||||
#: src/grep.c:1229 src/grep.c:1236 src/grep.c:1245
|
||||
msgid "invalid context length argument"
|
||||
msgstr "argumento tamanho do contexto inválido"
|
||||
|
||||
#: src/grep.c:1296
|
||||
msgid "unknown directories method"
|
||||
msgstr "método desconhecido de diretórios"
|
||||
|
||||
# msgstr "la expresión a buscar ya fue especificada"
|
||||
#: src/grep.c:1391
|
||||
#, c-format
|
||||
msgid "%s (GNU grep) %s\n"
|
||||
msgstr "%s (GNU grep) %s\n"
|
||||
|
||||
#: src/grep.c:1393
|
||||
msgid "Copyright (C) 1988, 1992-1998, 1999 Free Software Foundation, Inc.\n"
|
||||
msgstr "Copyright (C) 1988, 1992-1998, 1999 Free Software Foundation, Inc.\n"
|
||||
|
||||
#: src/grep.c:1395
|
||||
msgid ""
|
||||
"This is free software; see the source for copying conditions. There is NO\n"
|
||||
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
|
||||
msgstr ""
|
||||
"Este é um free software; olhe o fonte para as condições de cópia. Não \n"
|
||||
"existe garantia; nem mesmo para cópias compradas ou adaptadas para um \n"
|
||||
"propósito particular\n"
|
||||
|
||||
#: src/obstack.c:467
|
||||
msgid "memory exhausted\n"
|
||||
msgstr "memória esgotada\n"
|
||||
|
||||
#~ msgid "you may specify only one of -E, -F, or -G"
|
||||
#~ msgstr "especifique somente uma das opções -E, -F, ou -G"
|
Binary file not shown.
|
@ -1,58 +1,56 @@
|
|||
# ìÏËÁÌÉÚÁÃÉÑ ÄÌÑ grep.
|
||||
# Copyright (C) 1997, 1998 Free Software Foundation, Inc.
|
||||
# Denis Y. Pershin <dyp@siblug.org>, 1998.
|
||||
# Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
|
||||
# Denis Y. Pershin <dyp@siblug.org>, 1998, 1999.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: GNU grep 2.1.1b\n"
|
||||
"POT-Creation-Date: 1999-02-14 12:08-0500\n"
|
||||
"PO-Revision-Date: 1998-05-23 15:26\n"
|
||||
"Project-Id-Version: GNU grep 2.2f\n"
|
||||
"POT-Creation-Date: 1999-11-13 11:33-0500\n"
|
||||
"PO-Revision-Date: 1999-04-15 15:26\n"
|
||||
"Last-Translator: Denis Y. Pershin <dyp@siblug.org>\n"
|
||||
"Language-Team: Russian <ru@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=koi8-r\n"
|
||||
"Content-Transfer-Encoding: 8-bit\n"
|
||||
|
||||
#
|
||||
#: src/dfa.c:155 src/dfa.c:167 src/dfa.c:180 src/grep.c:861
|
||||
#: src/dfa.c:155 src/dfa.c:167 src/dfa.c:180 src/grep.c:921
|
||||
msgid "Memory exhausted"
|
||||
msgstr "ðÁÍÑÔØ ÉÓÞÅÒÐÁÎÁ"
|
||||
|
||||
#: src/dfa.c:452
|
||||
#: src/dfa.c:457
|
||||
msgid "Unfinished \\ escape"
|
||||
msgstr "îÅÚÁ×ÅÒÛÅÎÎÁÑ \\ ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔØ"
|
||||
|
||||
#. Cases:
|
||||
#. {M} - exact count
|
||||
#. {M,} - minimum count, maximum is infinity
|
||||
#. {,M} - 0 through M
|
||||
#. {M,N} - M through N
|
||||
#: src/dfa.c:564 src/dfa.c:570 src/dfa.c:581 src/dfa.c:592
|
||||
#: src/dfa.c:590 src/dfa.c:596 src/dfa.c:606 src/dfa.c:614 src/dfa.c:629
|
||||
msgid "unfinished repeat count"
|
||||
msgstr "ÎÅÚÁ×ÅÒÛÅÎÎÏÅ ËÏÌÉÞÅÓÔ×Ï ÐÏ×ÔÏÒÅÎÉÊ"
|
||||
|
||||
#: src/dfa.c:577 src/dfa.c:591 src/dfa.c:595
|
||||
#: src/dfa.c:603 src/dfa.c:620 src/dfa.c:628 src/dfa.c:632
|
||||
msgid "malformed repeat count"
|
||||
msgstr "ÎÅËÏÒÒÅËÔÎÏ ÕËÁÚÁÎÏ ËÏÌÉÞÅÓÔ×Ï ÐÏ×ÔÏÒÅÎÉÊ"
|
||||
|
||||
#: src/dfa.c:660 src/dfa.c:663 src/dfa.c:690 src/dfa.c:694 src/dfa.c:695
|
||||
#: src/dfa.c:698 src/dfa.c:711 src/dfa.c:712
|
||||
#: src/dfa.c:697 src/dfa.c:700 src/dfa.c:727 src/dfa.c:731 src/dfa.c:732
|
||||
#: src/dfa.c:735 src/dfa.c:748 src/dfa.c:749
|
||||
msgid "Unbalanced ["
|
||||
msgstr "îÅÓÂÁÌÁÎÓÉÒÏ×ÁÎÎÁÑ ["
|
||||
|
||||
#: src/dfa.c:849
|
||||
#: src/dfa.c:886
|
||||
msgid "Unbalanced ("
|
||||
msgstr "îÅÓÂÁÌÁÎÓÉÒÏ×ÁÎÎÁÑ ("
|
||||
|
||||
#: src/dfa.c:970
|
||||
#: src/dfa.c:1007
|
||||
msgid "No syntax specified"
|
||||
msgstr "îÅ ÕËÁÚÁÎÏ ÓÉÎÔÁËÓÉÓÁ"
|
||||
|
||||
#: src/dfa.c:978
|
||||
#: src/dfa.c:1015
|
||||
msgid "Unbalanced )"
|
||||
msgstr "îÅÓÂÁÌÁÎÓÉÒÏ×ÁÎÎÁÑ )"
|
||||
|
||||
#: src/dfa.c:1998
|
||||
#: src/dfa.c:2036
|
||||
msgid "out of memory"
|
||||
msgstr "ÚÁËÏÎÞÉÌÁÓØ ÐÁÍÑÔØ"
|
||||
|
||||
|
@ -161,61 +159,73 @@ msgstr "?? gotopt
|
|||
msgid "non-option ARGV-elements: "
|
||||
msgstr "ARGV-ÜÌÅÍÅÎÔÙ - ÎÅ ÏÐÃÉÉ: "
|
||||
|
||||
#: src/grep.c:172 src/grep.c:189 src/grep.c:291 src/grep.c:347 src/kwset.c:184
|
||||
#: src/grep.c:183 src/grep.c:200 src/grep.c:300 src/grep.c:408 src/kwset.c:184
|
||||
#: src/kwset.c:190
|
||||
msgid "memory exhausted"
|
||||
msgstr "ÐÁÍÑÔØ ÉÓÞÅÒÐÁÎÁ"
|
||||
|
||||
#: src/grep.c:375 src/grep.c:846
|
||||
#: src/grep.c:560 src/grep.c:1454
|
||||
msgid "writing output"
|
||||
msgstr "ÚÁÐÉÓÙ×ÁÀ ×ÙÈÏÄÎÙÅ ÄÁÎÎÙÅ"
|
||||
|
||||
#: src/grep.c:792
|
||||
#, c-format
|
||||
msgid "Binary file %s matches\n"
|
||||
msgstr "âÉÎÁÒÎÙÊ ÆÁÊÌ %s ÓÏ×ÐÁÄÁÅÔ\n"
|
||||
|
||||
#: src/grep.c:808
|
||||
msgid "(standard input)"
|
||||
msgstr "(ÓÔÁÎÄÁÒÔÎÙÊ ××ÏÄ)"
|
||||
|
||||
#: src/grep.c:906
|
||||
#, c-format
|
||||
msgid "%s: warning: %s: %s\n"
|
||||
msgstr "%s: ÐÒÅÄÕÐÒÅÖÄÅÎÉÅ: %s: %s\n"
|
||||
|
||||
#: src/grep.c:500 src/grep.c:1321
|
||||
msgid "writing output"
|
||||
msgstr "ÚÁÐÉÓÙ×ÁÀ ×ÙÈÏÄÎÙÅ ÄÁÎÎÙÅ"
|
||||
|
||||
#: src/grep.c:729
|
||||
#, c-format
|
||||
msgid "Binary file %s matches\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:745
|
||||
msgid "(standard input)"
|
||||
msgstr "(ÓÔÁÎÄÁÒÔÎÙÊ ××ÏÄ)"
|
||||
|
||||
#: src/grep.c:847
|
||||
#: src/grep.c:907
|
||||
msgid "recursive directory loop"
|
||||
msgstr ""
|
||||
msgstr "ËÁÔÁÌÏÇÉ ÚÁÃÉËÌÅÎÙ"
|
||||
|
||||
#: src/grep.c:898
|
||||
#: src/grep.c:958
|
||||
#, c-format
|
||||
msgid "Usage: %s [OPTION]... PATTERN [FILE]...\n"
|
||||
msgstr "éÓÐÏÌØÚÏ×ÁÎÉÅ: %s [OPTION]... PATTERN [FILE]...\n"
|
||||
|
||||
#: src/grep.c:899
|
||||
#: src/grep.c:959
|
||||
#, c-format
|
||||
msgid "Try `%s --help' for more information.\n"
|
||||
msgstr "ðÏÐÒÏÂÕÊÔÅ `%s --help' ÄÌÑ ÐÏÌÕÞÅÎÉÑ ÂÏÌÅÅ ÐÏÄÒÏÂÎÏÇÏ ÏÐÉÓÁÎÉÑ.\n"
|
||||
|
||||
#: src/grep.c:903
|
||||
#: src/grep.c:963
|
||||
#, c-format
|
||||
msgid "Usage: %s [OPTION]... PATTERN [FILE] ...\n"
|
||||
msgstr "éÓÐÏÌØÚÏ×ÁÎÉÅ: %s [OPTION]... PATTERN [FILE] ...\n"
|
||||
|
||||
#: src/grep.c:904
|
||||
#: src/grep.c:964
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Search for PATTERN in each FILE or standard input.\n"
|
||||
"Example: %s -i 'hello.*world' menu.h main.c\n"
|
||||
"\n"
|
||||
"Regexp selection and interpretation:\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:969
|
||||
msgid ""
|
||||
" -E, --extended-regexp PATTERN is an extended regular expression\n"
|
||||
" -F, --fixed-regexp PATTERN is a fixed string separated by newlines\n"
|
||||
" -F, --fixed-strings PATTERN is a set of newline-separated strings\n"
|
||||
" -G, --basic-regexp PATTERN is a basic regular expression\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:973
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
" -e, --regexp=PATTERN use PATTERN as a regular expression\n"
|
||||
" -f, --file=FILE obtain PATTERN from FILE\n"
|
||||
" -i, --ignore-case ignore case distinctions\n"
|
||||
" -w, --word-regexp force PATTERN to match only whole words\n"
|
||||
" -x, --line-regexp force PATTERN to match only whole lines\n"
|
||||
" -z, --null-data a data line ends in 0 byte, not newline\n"
|
||||
msgstr ""
|
||||
"éÝÅÔ PATTERN × ËÁÖÄÏÍ FILE'Å ÉÌÉ ÓÔÁÎÄÁÒÔÎÏÍ ××ÏÄÅ.\n"
|
||||
"\n"
|
||||
|
@ -230,14 +240,16 @@ msgstr ""
|
|||
" -w, --word-regexp PATTERN ÄÏÌÖÅÎ ÐÏÄÈÏÄÉÔØ ËÏ ×ÓÅÍÕ ÓÌÏ×Õ\n"
|
||||
" -x, --line-regexp PATTERN ÄÏÌÖÅÎ ÐÏÄÈÏÄÉÔØ ËÏ ×ÓÅÊ ÓÔÒÏËÅ\n"
|
||||
|
||||
#: src/grep.c:916
|
||||
#: src/grep.c:980
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"\n"
|
||||
"Miscellaneous:\n"
|
||||
" -s, --no-messages suppress error messages\n"
|
||||
" -v, --revert-match select non-matching lines\n"
|
||||
" -v, --invert-match select non-matching lines\n"
|
||||
" -V, --version print version information and exit\n"
|
||||
" --help display this help and exit\n"
|
||||
" --mmap use memory-mapped input if possible\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"òÁÚÎÏÏÏÂÒÁÚÎÙÅ:\n"
|
||||
|
@ -246,7 +258,7 @@ msgstr ""
|
|||
" -V, --version ÎÁÐÅÞÁÔÁÔØ ÉÎÆÏÒÍÁÃÉÀ Ï ×ÅÒÓÉÉ É ×ÙÊÔÉ\n"
|
||||
" --help ÐÏËÁÚÁÔØ ÐÏÍÏÝØ É ×ÙÊÔÉ\n"
|
||||
|
||||
#: src/grep.c:923
|
||||
#: src/grep.c:988
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"\n"
|
||||
|
@ -263,6 +275,7 @@ msgid ""
|
|||
" -L, --files-without-match only print FILE names containing no match\n"
|
||||
" -l, --files-with-matches only print FILE names containing matches\n"
|
||||
" -c, --count only print a count of matching lines per FILE\n"
|
||||
" -Z, --null print 0 byte after FILE name\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"õÐÒÁ×ÌÅÎÉÅ ×Ù×ÏÄÏÍ:\n"
|
||||
|
@ -274,12 +287,18 @@ msgstr ""
|
|||
" -H, --with-filename ÐÅÞÁÔÁÔØ ÉÍÑ ÆÁÊÌÁ ÄÌÑ ËÁÖÄÏÇÏ ÓÏ×ÐÁÄÅÎÉÑ\n"
|
||||
" -h, --no-filename ÐÏÄÁ×ÉÔØ ×Ù×ÏÄ ÉÍÅÎÉ ÆÁÊÌÁ ÎÁ ×ÙÈÏÄÅ\n"
|
||||
" -q, --quiet, --silent ÐÏÄÁ×ÉÔØ ×ÅÓØ ÏÂÙÞÎÙÊ ×Ù×ÏÄ\n"
|
||||
" -a, --text ÎÅ ÐÏÄÁ×ÌÑÔØ ÂÉÎÁÒÎÙÊ ×Ù×ÏÄ\n"
|
||||
" -d, --directories=ACTION ËÁË ÏÂÒÁÂÁÔÙ×ÁÔØ ËÁÉÁÌÏÇÉ\n"
|
||||
" ACTION ÍÏÖÅÔ ÂÙÔØ 'read' (ÞÉÔÁÔØ),\n"
|
||||
" 'recurse' (ÒÅËÕÒÓÉ×ÎÏ), ÉÌÉ 'skip' "
|
||||
"(ÐÒÏÐÕÓËÁÔØ).\n"
|
||||
" -r, --recursive ÁÎÁÌÏÇÉÞÎÏ --directories=recurse.\n"
|
||||
" -L, --files-without-match ÐÅÞÁÔÁÔØ ÔÏÌØËÏ ÉÍÅÎÁ ÆÁÊÌÏ× ÂÅÚ ÓÏ×ÐÁÄÅÎÉÊ\n"
|
||||
" -l, --files-with-matches ÐÅÞÁÔÁÔØ ÔÏÌØËÏ ÉÍÅÎÁ ÆÁÊÌÏ× Ó ÓÏ×ÐÁÄÅÎÉÑÍÉ\n"
|
||||
" -c, --count ÐÅÞÁÔÁÔØ ÔÏÌØËÏ ËÏÌÉÞÅÓÔ×Ï ÓÏ×ÐÁÄÁÀÝÉÈ ÓÔÒÏË ÎÁ "
|
||||
"ÆÁÊÌ\n"
|
||||
|
||||
#: src/grep.c:938
|
||||
#: src/grep.c:1004
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"\n"
|
||||
|
@ -287,22 +306,23 @@ msgid ""
|
|||
" -B, --before-context=NUM print NUM lines of leading context\n"
|
||||
" -A, --after-context=NUM print NUM lines of trailing context\n"
|
||||
" -C, --context[=NUM] print NUM (default 2) lines of output context\n"
|
||||
" unless overriden by -A or -B\n"
|
||||
" unless overridden by -A or -B\n"
|
||||
" -NUM same as --context=NUM\n"
|
||||
" -U, --binary do not strip CR characters at EOL (MSDOS)\n"
|
||||
" -u, --unix-byte-offsets report offsets as if CRs were not there (MSDOS)\n"
|
||||
"\n"
|
||||
"If no -[GEF], then `egrep' assumes -E, `fgrep' -F, else -G.\n"
|
||||
"With no FILE, or when FILE is -, read standard input. If less than\n"
|
||||
"two FILEs given, assume -h. Exit with 0 if matches, with 1 if none.\n"
|
||||
"Exit with 2 if syntax errors or system errors.\n"
|
||||
"`egrep' means `grep -E'. `fgrep' means `grep -F'.\n"
|
||||
"With no FILE, or when FILE is -, read standard input. If less than\n"
|
||||
"two FILEs given, assume -h. Exit status is 0 if match, 1 if no match,\n"
|
||||
"and 2 if trouble.\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"õÐÒÁ×ÌÅÎÉÅ ËÏÎÔÅËÓÔÏÍ:\n"
|
||||
" -B, --before-context=NUM ÐÅÞÁÔÁÔØ NUM ÓÔÒÏË ÐÒÅÄÛÅÓÔ×ÕÀÝÅÇÏ ËÏÎÔÅËÓÔÁ\n"
|
||||
" -A, --after-context=NUM ÐÅÞÁÔÁÔØ NUM ÓÔÒÏË ÐÏÓÌÅÄÕÀÝÅÇÏ ËÏÎÔÅËÓÔÁ\n"
|
||||
" -NUM ÔÏ ÖÅ, ÞÔÏ -B NUM É -A NUM\n"
|
||||
" -C, --context ÔÏ ÖÅ, ÞÔÏ É -2\n"
|
||||
" -C, --context[=NUM] ÐÅÞÁÔÁÔØ NUM ÓÔÒÏË ËÏÎÔÅËÓÔÁ,\n"
|
||||
" ÅÓÌÉ ÎÅ ÐÅÒÅËÒÙ×ÁÅÔÓÑ -A ÉÌÉ -B\n"
|
||||
" -NUM ÔÏ ÖÅ, ÞÔÏ É --context=NUM\n"
|
||||
" -U, --binary ÎÅ ÕÄÁÌÑÔØ ÓÉ×ÏÌÙ CR × ËÏÎÃÅ ÓÔÒÏËÉ (MSDOS)\n"
|
||||
" -u, --unix-byte-offsets ×ÙÄÁ×ÁÔØ ÓÍÅÝÅÎÉÅ, ËÁË-ÂÕÄÔÏ ÎÅÔ CR-Ï× (MSDOS)\n"
|
||||
"\n"
|
||||
|
@ -314,7 +334,7 @@ msgstr ""
|
|||
"ÓÏ×ÐÁÄÅÎÉÑ,\n"
|
||||
"Ó 1, ÅÓÌÉ ÎÅÔ. ÷ÙÈÏÄÉÔ Ó 2, ÅÓÌÉ ÅÓÔØ ÓÉÎÔÁËÓÉÞÅÓËÉÏ ÉÌÉ ÓÉÓÔÅÍÎÙÅ ÏÛÉÂËÉ.\n"
|
||||
|
||||
#: src/grep.c:953
|
||||
#: src/grep.c:1019
|
||||
msgid ""
|
||||
"\n"
|
||||
"Report bugs to <bug-gnu-utils@gnu.org>.\n"
|
||||
|
@ -322,32 +342,30 @@ msgstr ""
|
|||
"\n"
|
||||
"ï ÏÛÉÂËÁÈ ÓÏÏÂÝÁÊÔÅ <bug-gnu-utils@gnu.org>.\n"
|
||||
|
||||
#: src/grep.c:1096 src/grep.c:1103 src/grep.c:1112
|
||||
msgid "invalid context length argument"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:1119 src/grep.c:1124 src/grep.c:1129
|
||||
msgid "you may specify only one of -E, -F, or -G"
|
||||
msgstr "×Ù ÄÏÌÖÎÙ ÕËÁÚÁÔØ ÔÏÌØËÏ ÏÄÎÕ ÉÚ -E, -F ÉÌÉ -G"
|
||||
|
||||
#: src/grep.c:1148
|
||||
msgid "matcher already specified"
|
||||
#: src/grep.c:1030
|
||||
#, fuzzy
|
||||
msgid "conflicting matchers specified"
|
||||
msgstr "ÏÂÒÁÚÅÃ ÕÖÅ ÚÁÄÁÎ"
|
||||
|
||||
#: src/grep.c:1169
|
||||
#: src/grep.c:1229 src/grep.c:1236 src/grep.c:1245
|
||||
msgid "invalid context length argument"
|
||||
msgstr "ÎÅ×ÅÒÎÙÊ ÁÒÇÕÍÅÎÔ ÄÌÉÎÙ ËÏÎÔÅËÓÔÁ"
|
||||
|
||||
#: src/grep.c:1296
|
||||
msgid "unknown directories method"
|
||||
msgstr ""
|
||||
msgstr "ÎÅÉÚ×ÅÓÔÎÙÊ ÍÅÔÏÄ ÄÌÑ ËÁÔÁÌÏÇÏ×"
|
||||
|
||||
#: src/grep.c:1255
|
||||
#, c-format
|
||||
msgid "grep (GNU grep) %s\n"
|
||||
msgstr ""
|
||||
#: src/grep.c:1391
|
||||
#, fuzzy, c-format
|
||||
msgid "%s (GNU grep) %s\n"
|
||||
msgstr "grep (GNU grep) %s\n"
|
||||
|
||||
#: src/grep.c:1257
|
||||
#: src/grep.c:1393
|
||||
#, fuzzy
|
||||
msgid "Copyright (C) 1988, 1992-1998, 1999 Free Software Foundation, Inc.\n"
|
||||
msgstr ""
|
||||
msgstr "Copyright (C) 1988, 1992-1997, 1998 Free Software Foundation, Inc.\n"
|
||||
|
||||
#: src/grep.c:1259
|
||||
#: src/grep.c:1395
|
||||
msgid ""
|
||||
"This is free software; see the source for copying conditions. There is NO\n"
|
||||
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
|
||||
|
@ -356,11 +374,13 @@ msgstr ""
|
|||
"ÔÅËÓÔÙ ÄÌÑ ÕÓÌÏ×ÉÊ ËÏÐÉÒÏ×ÁÎÉÑ. îå ÄÁÅÔÓÑ ÎÉËÁËÏÊ ÇÁÒÁÎÔÉÉ, ÄÁÖÅ Ï\n"
|
||||
"ðïäèïäéíïóôé äìñ ïðòåäåìåîîùè ãåìåê.\n"
|
||||
|
||||
#
|
||||
#: src/obstack.c:467
|
||||
msgid "memory exhausted\n"
|
||||
msgstr "ÐÁÍÑÔØ ÉÓÞÅÒÐÁÎÁ\n"
|
||||
|
||||
#~ msgid "you may specify only one of -E, -F, or -G"
|
||||
#~ msgstr "×Ù ÄÏÌÖÎÙ ÕËÁÚÁÔØ ÔÏÌØËÏ ÏÄÎÕ ÉÚ -E, -F ÉÌÉ -G"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "\n"
|
||||
#~ "In REGEXPs, most characters stand for themselves, save for all the\n"
|
||||
|
|
Binary file not shown.
|
@ -1,236 +1,267 @@
|
|||
# grep, egrep, fgrep - print lines matching a pattern.
|
||||
# -*- mode: po; -*- Slovenian message catalogues for grep, egrep, fgrep
|
||||
# Copyright (C) 1996 Free Software Foundation, Inc.
|
||||
# Primoz Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 1996.
|
||||
# Primoz Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 1996, 1999.
|
||||
#
|
||||
# $Header: /cvsroot/src/gnu/dist/grep/po/Attic/sl.po,v 1.1.1.2 1999/02/20 11:18:03 simonb Exp $
|
||||
# $Id: sl.po,v 1.1.1.3 2000/02/27 00:21:51 wiz Exp $
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: GNU grep 2.0\n"
|
||||
"POT-Creation-Date: 1999-02-14 12:08-0500\n"
|
||||
"PO-Revision-Date: 1996-05-28 21:15\n"
|
||||
"Project-Id-Version: GNU grep 2.2f\n"
|
||||
"POT-Creation-Date: 1999-11-13 11:33-0500\n"
|
||||
"PO-Revision-Date: 1999-04-23 21:11\n"
|
||||
"Last-Translator: Primoz Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>\n"
|
||||
"Language-Team: Slovenian <sl@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=ISO-8859-2\n"
|
||||
"Content-Transfer-Encoding: 8-bit\n"
|
||||
|
||||
#: src/dfa.c:155 src/dfa.c:167 src/dfa.c:180 src/grep.c:861
|
||||
#, fuzzy
|
||||
#: src/dfa.c:155 src/dfa.c:167 src/dfa.c:180 src/grep.c:921
|
||||
msgid "Memory exhausted"
|
||||
msgstr "pomnilnik porabljen"
|
||||
msgstr "Pomnilnik porabljen"
|
||||
|
||||
#: src/dfa.c:452
|
||||
#: src/dfa.c:457
|
||||
msgid "Unfinished \\ escape"
|
||||
msgstr ""
|
||||
msgstr "Nedokonèana ube¾na sekvenca \\"
|
||||
|
||||
#. Cases:
|
||||
#. {M} - exact count
|
||||
#. {M,} - minimum count, maximum is infinity
|
||||
#. {,M} - 0 through M
|
||||
#. {M,N} - M through N
|
||||
#: src/dfa.c:564 src/dfa.c:570 src/dfa.c:581 src/dfa.c:592
|
||||
#: src/dfa.c:590 src/dfa.c:596 src/dfa.c:606 src/dfa.c:614 src/dfa.c:629
|
||||
msgid "unfinished repeat count"
|
||||
msgstr ""
|
||||
msgstr "nedokonèano ¹tevilo ponovitev"
|
||||
|
||||
#: src/dfa.c:577 src/dfa.c:591 src/dfa.c:595
|
||||
#: src/dfa.c:603 src/dfa.c:620 src/dfa.c:628 src/dfa.c:632
|
||||
msgid "malformed repeat count"
|
||||
msgstr ""
|
||||
msgstr "slabo oblikovano ¹tevilo ponovitev"
|
||||
|
||||
#: src/dfa.c:660 src/dfa.c:663 src/dfa.c:690 src/dfa.c:694 src/dfa.c:695
|
||||
#: src/dfa.c:698 src/dfa.c:711 src/dfa.c:712
|
||||
#: src/dfa.c:697 src/dfa.c:700 src/dfa.c:727 src/dfa.c:731 src/dfa.c:732
|
||||
#: src/dfa.c:735 src/dfa.c:748 src/dfa.c:749
|
||||
msgid "Unbalanced ["
|
||||
msgstr ""
|
||||
msgstr "Oklepaj [ brez zaklepaja"
|
||||
|
||||
#: src/dfa.c:849
|
||||
#: src/dfa.c:886
|
||||
msgid "Unbalanced ("
|
||||
msgstr ""
|
||||
msgstr "Oklepaj ( brez zaklepaja"
|
||||
|
||||
#: src/dfa.c:970
|
||||
#: src/dfa.c:1007
|
||||
msgid "No syntax specified"
|
||||
msgstr ""
|
||||
msgstr "Skladnja ni podana"
|
||||
|
||||
#: src/dfa.c:978
|
||||
#: src/dfa.c:1015
|
||||
msgid "Unbalanced )"
|
||||
msgstr ""
|
||||
msgstr "Zaklepaj ) brez oklepaja"
|
||||
|
||||
#: src/dfa.c:1998
|
||||
#: src/dfa.c:2036
|
||||
msgid "out of memory"
|
||||
msgstr ""
|
||||
msgstr "zmanjkalo pomnilnika"
|
||||
|
||||
#: src/getopt.c:628
|
||||
#, c-format
|
||||
msgid "%s: option `%s' is ambiguous\n"
|
||||
msgstr ""
|
||||
msgstr "%s: izbira ,%s` je dvoumna\n"
|
||||
|
||||
#: src/getopt.c:652
|
||||
#, c-format
|
||||
msgid "%s: option `--%s' doesn't allow an argument\n"
|
||||
msgstr ""
|
||||
msgstr "%s: izbira ,--%s` ne dovoljuje argumenta\n"
|
||||
|
||||
#: src/getopt.c:657
|
||||
#, c-format
|
||||
msgid "%s: option `%c%s' doesn't allow an argument\n"
|
||||
msgstr ""
|
||||
msgstr "%s: izbira ,%c%s` ne dovoljuje argumenta\n"
|
||||
|
||||
#: src/getopt.c:674 src/getopt.c:847
|
||||
#, c-format
|
||||
msgid "%s: option `%s' requires an argument\n"
|
||||
msgstr ""
|
||||
msgstr "%s: izbira ,%s` zahteva argument\n"
|
||||
|
||||
#. --option
|
||||
#: src/getopt.c:703
|
||||
#, c-format
|
||||
msgid "%s: unrecognized option `--%s'\n"
|
||||
msgstr ""
|
||||
msgstr "%s: neprepoznana izbira ,--%s`\n"
|
||||
|
||||
#. +option or -option
|
||||
#: src/getopt.c:707
|
||||
#, c-format
|
||||
msgid "%s: unrecognized option `%c%s'\n"
|
||||
msgstr ""
|
||||
msgstr "%s: neprepoznana izbira ,%c%s`\n"
|
||||
|
||||
#. 1003.2 specifies the format of this message.
|
||||
#: src/getopt.c:733
|
||||
#, c-format
|
||||
msgid "%s: illegal option -- %c\n"
|
||||
msgstr ""
|
||||
msgstr "%s: nedovoljena izbira -- %c\n"
|
||||
|
||||
#: src/getopt.c:736
|
||||
#, c-format
|
||||
msgid "%s: invalid option -- %c\n"
|
||||
msgstr ""
|
||||
msgstr "%s: neveljavna izbira -- %c\n"
|
||||
|
||||
#. 1003.2 specifies the format of this message.
|
||||
#: src/getopt.c:766 src/getopt.c:896
|
||||
#, c-format
|
||||
msgid "%s: option requires an argument -- %c\n"
|
||||
msgstr ""
|
||||
msgstr "%s: izbira zahteva argument -- %c\n"
|
||||
|
||||
#: src/getopt.c:813
|
||||
#, c-format
|
||||
msgid "%s: option `-W %s' is ambiguous\n"
|
||||
msgstr ""
|
||||
msgstr "%s: izbira ,-W %s` je dvoumna\n"
|
||||
|
||||
#: src/getopt.c:831
|
||||
#, c-format
|
||||
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
||||
msgstr ""
|
||||
msgstr "%s: izbira ,-W %s` ne dovoljuje argumenta\n"
|
||||
|
||||
#: src/getopt1.c:132
|
||||
#, c-format
|
||||
msgid "option %s"
|
||||
msgstr ""
|
||||
msgstr "izbira %s"
|
||||
|
||||
#: src/getopt1.c:134
|
||||
#, c-format
|
||||
msgid " with arg %s"
|
||||
msgstr ""
|
||||
msgstr " z argumentom %s"
|
||||
|
||||
#: src/getopt1.c:149
|
||||
msgid "digits occur in two different argv-elements.\n"
|
||||
msgstr ""
|
||||
msgstr "¹tevke nastopajo pri dveh elementih ARGV.\n"
|
||||
|
||||
#: src/getopt1.c:151
|
||||
#, c-format
|
||||
msgid "option %c\n"
|
||||
msgstr ""
|
||||
msgstr "izbira %c\n"
|
||||
|
||||
#: src/getopt1.c:155
|
||||
msgid "option a\n"
|
||||
msgstr ""
|
||||
msgstr "izbira a\n"
|
||||
|
||||
#: src/getopt1.c:159
|
||||
msgid "option b\n"
|
||||
msgstr ""
|
||||
msgstr "izbira b\n"
|
||||
|
||||
#: src/getopt1.c:163
|
||||
#, c-format
|
||||
msgid "option c with value `%s'\n"
|
||||
msgstr ""
|
||||
msgstr "izbira c z vrednostjo ,%s`\n"
|
||||
|
||||
#: src/getopt1.c:167
|
||||
#, c-format
|
||||
msgid "option d with value `%s'\n"
|
||||
msgstr ""
|
||||
msgstr "izbira d z vrednostjo ,%s`\n"
|
||||
|
||||
#: src/getopt1.c:174
|
||||
#, c-format
|
||||
msgid "?? getopt returned character code 0%o ??\n"
|
||||
msgstr ""
|
||||
msgstr "?? funkcija getopt vrnila kodo znaka 0%o ??\n"
|
||||
|
||||
#: src/getopt1.c:180
|
||||
msgid "non-option ARGV-elements: "
|
||||
msgstr ""
|
||||
msgstr "neizbirni elementi ARGV: "
|
||||
|
||||
#: src/grep.c:172 src/grep.c:189 src/grep.c:291 src/grep.c:347 src/kwset.c:184
|
||||
#: src/grep.c:183 src/grep.c:200 src/grep.c:300 src/grep.c:408 src/kwset.c:184
|
||||
#: src/kwset.c:190
|
||||
msgid "memory exhausted"
|
||||
msgstr "pomnilnik porabljen"
|
||||
|
||||
#: src/grep.c:375 src/grep.c:846
|
||||
#: src/grep.c:560 src/grep.c:1454
|
||||
msgid "writing output"
|
||||
msgstr "pisanje rezultatov"
|
||||
|
||||
#: src/grep.c:792
|
||||
#, c-format
|
||||
msgid "Binary file %s matches\n"
|
||||
msgstr "Binarna datoteka %s ustreza\n"
|
||||
|
||||
#: src/grep.c:808
|
||||
msgid "(standard input)"
|
||||
msgstr "(standardni vhod)"
|
||||
|
||||
#: src/grep.c:906
|
||||
#, c-format
|
||||
msgid "%s: warning: %s: %s\n"
|
||||
msgstr "%s: pozor: %s: %s\n"
|
||||
|
||||
#: src/grep.c:500 src/grep.c:1321
|
||||
msgid "writing output"
|
||||
msgstr "pisanje rezultatov"
|
||||
|
||||
#: src/grep.c:729
|
||||
#, c-format
|
||||
msgid "Binary file %s matches\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:745
|
||||
msgid "(standard input)"
|
||||
msgstr "(standardni vhod)"
|
||||
|
||||
#: src/grep.c:847
|
||||
#: src/grep.c:907
|
||||
msgid "recursive directory loop"
|
||||
msgstr ""
|
||||
msgstr "rekurzivna zanka imenikov"
|
||||
|
||||
#: src/grep.c:898
|
||||
#: src/grep.c:958
|
||||
#, c-format
|
||||
msgid "Usage: %s [OPTION]... PATTERN [FILE]...\n"
|
||||
msgstr ""
|
||||
msgstr "Uporaba: %s [IZBIRA]... VZOREC [DATOTEKA]...\n"
|
||||
|
||||
#: src/grep.c:899
|
||||
#: src/grep.c:959
|
||||
#, c-format
|
||||
msgid "Try `%s --help' for more information.\n"
|
||||
msgstr ""
|
||||
msgstr "Poskusite ,%s --help` za dodatna pojasnila.\n"
|
||||
|
||||
#: src/grep.c:903
|
||||
#: src/grep.c:963
|
||||
#, c-format
|
||||
msgid "Usage: %s [OPTION]... PATTERN [FILE] ...\n"
|
||||
msgstr ""
|
||||
msgstr "Uporaba: %s [IZBIRA]... VZOREC [DATOTEKA]...\n"
|
||||
|
||||
#: src/grep.c:904
|
||||
#: src/grep.c:964
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Search for PATTERN in each FILE or standard input.\n"
|
||||
"Example: %s -i 'hello.*world' menu.h main.c\n"
|
||||
"\n"
|
||||
"Regexp selection and interpretation:\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:969
|
||||
msgid ""
|
||||
" -E, --extended-regexp PATTERN is an extended regular expression\n"
|
||||
" -F, --fixed-regexp PATTERN is a fixed string separated by newlines\n"
|
||||
" -F, --fixed-strings PATTERN is a set of newline-separated strings\n"
|
||||
" -G, --basic-regexp PATTERN is a basic regular expression\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:973
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
" -e, --regexp=PATTERN use PATTERN as a regular expression\n"
|
||||
" -f, --file=FILE obtain PATTERN from FILE\n"
|
||||
" -i, --ignore-case ignore case distinctions\n"
|
||||
" -w, --word-regexp force PATTERN to match only whole words\n"
|
||||
" -x, --line-regexp force PATTERN to match only whole lines\n"
|
||||
" -z, --null-data a data line ends in 0 byte, not newline\n"
|
||||
msgstr ""
|
||||
"VZOREC i¹èemo v vsaki od navedenih DATOTEK ali na standardnem vhodu.\n"
|
||||
"\n"
|
||||
"Izbira in tolmaèenje regularnih izrazov:\n"
|
||||
" -E, --extended-regexp VZOREC je raz¹irjeni regularni izraz\n"
|
||||
" -F, --fixed-regexp VZOREC je fiksni regularni izraz, loèen z "
|
||||
"newline\n"
|
||||
" -G, --basic-regexp VZOREC je osnovni regularni izraz\n"
|
||||
" -e, --regexp=VZOREC uporabimo VZOREC kot regularni izraz\n"
|
||||
" -f, --file=DATOTEKA VZOREC preberemo s podane DATOTEKE\n"
|
||||
" -i, --ignore-case ne razlikujemo med velikimi in malimi èrkami\n"
|
||||
" -w, --word-regexp iskanje uspe¹no le, èe je VZOREC cela beseda\n"
|
||||
" -x, --line-regexp iskanje uspe¹no le, èe je VZOREC cela vrstica\n"
|
||||
|
||||
#: src/grep.c:916
|
||||
#: src/grep.c:980
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"\n"
|
||||
"Miscellaneous:\n"
|
||||
" -s, --no-messages suppress error messages\n"
|
||||
" -v, --revert-match select non-matching lines\n"
|
||||
" -v, --invert-match select non-matching lines\n"
|
||||
" -V, --version print version information and exit\n"
|
||||
" --help display this help and exit\n"
|
||||
" --mmap use memory-mapped input if possible\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"Razno:\n"
|
||||
" -s, --no-messages brez sporoèil o napakah\n"
|
||||
" -v, --revert-match komplement: vrstice, kjer ni VZORCA\n"
|
||||
" -V, --version verzija programa\n"
|
||||
" --help ta pomoè\n"
|
||||
|
||||
#: src/grep.c:923
|
||||
#: src/grep.c:988
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"\n"
|
||||
"Output control:\n"
|
||||
|
@ -246,72 +277,112 @@ msgid ""
|
|||
" -L, --files-without-match only print FILE names containing no match\n"
|
||||
" -l, --files-with-matches only print FILE names containing matches\n"
|
||||
" -c, --count only print a count of matching lines per FILE\n"
|
||||
" -Z, --null print 0 byte after FILE name\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"Nadzor izhoda:\n"
|
||||
" -b, --byte-offset z izpisom odmika (v zlogih)\n"
|
||||
" -n, --line-number z izpisom zaporedne ¹tevilke vrstice\n"
|
||||
" -H, --with-filename z izpisom imena datoteke\n"
|
||||
" -h, --no-filename brez izpisa imena datoteke\n"
|
||||
" -q, --quiet, --silent brez vsega obièajnega izpisa\n"
|
||||
" -a, --text dovolimo binarni izhod\n"
|
||||
" -d, --directories=AKCIJA kako obravnavamo imenike\n"
|
||||
" AKCIJA je lahko ,read`, ,recurse` ali ,skip`\n"
|
||||
" -r, --recursive isto kot --directories=recurse.\n"
|
||||
" -L, --files-without-match le imena tistih DATOTEK, kjer VZORCA nismo "
|
||||
"na¹li\n"
|
||||
" -l, --files-with-matches le imena tistih DATOTEK, kjer smo VZOREC na¹li\n"
|
||||
" -c, --count le ¹tevilo vrstic, v katerih se v DATOTEKI\n"
|
||||
" pojavi VZOREC\n"
|
||||
|
||||
#: src/grep.c:938
|
||||
#: src/grep.c:1004
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"\n"
|
||||
"Context control:\n"
|
||||
" -B, --before-context=NUM print NUM lines of leading context\n"
|
||||
" -A, --after-context=NUM print NUM lines of trailing context\n"
|
||||
" -C, --context[=NUM] print NUM (default 2) lines of output context\n"
|
||||
" unless overriden by -A or -B\n"
|
||||
" unless overridden by -A or -B\n"
|
||||
" -NUM same as --context=NUM\n"
|
||||
" -U, --binary do not strip CR characters at EOL (MSDOS)\n"
|
||||
" -u, --unix-byte-offsets report offsets as if CRs were not there (MSDOS)\n"
|
||||
"\n"
|
||||
"If no -[GEF], then `egrep' assumes -E, `fgrep' -F, else -G.\n"
|
||||
"With no FILE, or when FILE is -, read standard input. If less than\n"
|
||||
"two FILEs given, assume -h. Exit with 0 if matches, with 1 if none.\n"
|
||||
"Exit with 2 if syntax errors or system errors.\n"
|
||||
"`egrep' means `grep -E'. `fgrep' means `grep -F'.\n"
|
||||
"With no FILE, or when FILE is -, read standard input. If less than\n"
|
||||
"two FILEs given, assume -h. Exit status is 0 if match, 1 if no match,\n"
|
||||
"and 2 if trouble.\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"Nadzor nad kontekstom:\n"
|
||||
" -B, --before-context=©T ©T vrstic konteksta pred vrstico z VZORCEM\n"
|
||||
" -A, --after-context=©T ©T vrstic konteksta za vrstico z VZORCEM\n"
|
||||
" -C, --context[=©T] ©T (privzeto 2) vrstic konteksta, razen èe ni\n"
|
||||
" drugaèe doloèeno z -A ali -B\n"
|
||||
" -©T isto kot --context=©T\n"
|
||||
" -U, --binary ne pore¾emo znakov CR na koncu vrstic (MS-DOS)\n"
|
||||
" -u, --unix-byte-offsets v odmikih ne ¹tejemo znakov CR (MS-DOS)\n"
|
||||
"\n"
|
||||
"Èe ni podana nobena od izbir -[GEF], potem ,egrep` privzame -E, ,fgrep` -F,\n"
|
||||
"ostalo pa -G. Èe DATOTEKA ni podana ali pa je -, beremo s standardnega "
|
||||
"vhoda.\n"
|
||||
"Èe sta podani manj kot dve DATOTEKI, privzamemo izbiro -h. Izhodna koda je\n"
|
||||
"niè, èe smo VZOREC na¹li, ena èe ga nismo. Izhodna koda 2 pomeni "
|
||||
"skladenjsko\n"
|
||||
"ali sistemsko napako.\n"
|
||||
|
||||
#: src/grep.c:953
|
||||
#: src/grep.c:1019
|
||||
msgid ""
|
||||
"\n"
|
||||
"Report bugs to <bug-gnu-utils@gnu.org>.\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:1096 src/grep.c:1103 src/grep.c:1112
|
||||
msgid "invalid context length argument"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:1119 src/grep.c:1124 src/grep.c:1129
|
||||
msgid "you may specify only one of -E, -F, or -G"
|
||||
msgstr "izberete lahko samo eno od izbir: -E, -F ali -G"
|
||||
"\n"
|
||||
"Morebitne napake v programu sporoèite na <bug-gnu-utils@gnu.org>.\n"
|
||||
|
||||
# Sporoèilo se pojavi pri nedokumentirani izbiri -X
|
||||
# grep.c:622 ->
|
||||
# opt = getopt(argc, argv, "0123456789A:B:CEFGVX:bce:f:hiLlnqsvwxy"
|
||||
# grep --help ->
|
||||
# usage: grep [-[[AB] ]<num>] [-[CEFGVchilnqsvwx]] [-[ef]] <expr> [<files...>]
|
||||
#: src/grep.c:1148
|
||||
msgid "matcher already specified"
|
||||
#: src/grep.c:1030
|
||||
#, fuzzy
|
||||
msgid "conflicting matchers specified"
|
||||
msgstr "vzorec ¾e doloèen"
|
||||
|
||||
#: src/grep.c:1169
|
||||
#: src/grep.c:1229 src/grep.c:1236 src/grep.c:1245
|
||||
msgid "invalid context length argument"
|
||||
msgstr "velikost konteksta ni veljavna"
|
||||
|
||||
#: src/grep.c:1296
|
||||
msgid "unknown directories method"
|
||||
msgstr ""
|
||||
msgstr "neznana metoda imenikov"
|
||||
|
||||
#: src/grep.c:1255
|
||||
#, c-format
|
||||
msgid "grep (GNU grep) %s\n"
|
||||
msgstr ""
|
||||
#: src/grep.c:1391
|
||||
#, fuzzy, c-format
|
||||
msgid "%s (GNU grep) %s\n"
|
||||
msgstr "grep (GNU grep) %s\n"
|
||||
|
||||
#: src/grep.c:1257
|
||||
#: src/grep.c:1393
|
||||
#, fuzzy
|
||||
msgid "Copyright (C) 1988, 1992-1998, 1999 Free Software Foundation, Inc.\n"
|
||||
msgstr ""
|
||||
msgstr "Copyright (C) 1988, 1992-1997, 1998 Free Software Foundation, Inc.\n"
|
||||
|
||||
#: src/grep.c:1259
|
||||
#: src/grep.c:1395
|
||||
msgid ""
|
||||
"This is free software; see the source for copying conditions. There is NO\n"
|
||||
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
|
||||
msgstr ""
|
||||
"To je prost program; pogoji, pod katerimi ga lahko razmno¾ujete in\n"
|
||||
"raz¹irjate so navedeni v izvorni kodi. Za program ni NOBENEGA jamstva,\n"
|
||||
"niti jamstev USTREZNOSTI ZA PRODAJO ali PRIMERNOSTI ZA UPORABO.\n"
|
||||
|
||||
#: src/obstack.c:467
|
||||
#, fuzzy
|
||||
msgid "memory exhausted\n"
|
||||
msgstr "pomnilnik porabljen"
|
||||
msgstr "pomnilnik porabljen\n"
|
||||
|
||||
#~ msgid "you may specify only one of -E, -F, or -G"
|
||||
#~ msgstr "izberete lahko samo eno od izbir: -E, -F ali -G"
|
||||
|
||||
#~ msgid "GNU grep version 2.0"
|
||||
#~ msgstr "GNU grep verzija 2.0"
|
||||
|
|
Binary file not shown.
|
@ -1,58 +1,58 @@
|
|||
# Swedish messages for GNU Grep version 2.2
|
||||
# Swedish messages for GNU Grep version 2.3f
|
||||
# Copyright (C) 1996 Free Software Foundation, Inc.
|
||||
# Thomas Olsson <d95to@efd.lth.se>, 1996.
|
||||
# Daniel Bergstrom <daniel@bergstrom.net>, 1998.
|
||||
# Thomas Olsson <cid95tho@student1.lu.se>, 1996.
|
||||
# Daniel Bergström <daniel@bergstrom.net>, 1998, 1999
|
||||
# $Revision: 1.1.1.3 $
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: GNU grep 2.2\n"
|
||||
"POT-Creation-Date: 1999-02-14 12:08-0500\n"
|
||||
"PO-Revision-Date: 1998-08-31 16:02-0200\n"
|
||||
"Last-Translator: Daniel Bergstrom <daniel@bergstrom.net>\n"
|
||||
"Project-Id-Version: GNU grep 2.3f\n"
|
||||
"POT-Creation-Date: 1999-11-13 11:33-0500\n"
|
||||
"PO-Revision-Date: 1999-10-19 10:46+02:00\n"
|
||||
"Last-Translator: Daniel Bergström <daniel@bergstrom.net>\n"
|
||||
"Language-Team: Swedish <sv@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=ISO-8859-1\n"
|
||||
"Content-Transfer-Encoding: 8-bit\n"
|
||||
|
||||
#: src/dfa.c:155 src/dfa.c:167 src/dfa.c:180 src/grep.c:861
|
||||
#: src/dfa.c:155 src/dfa.c:167 src/dfa.c:180 src/grep.c:921
|
||||
msgid "Memory exhausted"
|
||||
msgstr "Minnet slut"
|
||||
|
||||
#: src/dfa.c:452
|
||||
#: src/dfa.c:457
|
||||
msgid "Unfinished \\ escape"
|
||||
msgstr "Oavslutad \\-sekvens"
|
||||
|
||||
#. Cases:
|
||||
#. {M} - exact count
|
||||
#. {M,} - minimum count, maximum is infinity
|
||||
#. {,M} - 0 through M
|
||||
#. {M,N} - M through N
|
||||
#: src/dfa.c:564 src/dfa.c:570 src/dfa.c:581 src/dfa.c:592
|
||||
#: src/dfa.c:590 src/dfa.c:596 src/dfa.c:606 src/dfa.c:614 src/dfa.c:629
|
||||
msgid "unfinished repeat count"
|
||||
msgstr "oavslutad repetitionsräknare"
|
||||
|
||||
#: src/dfa.c:577 src/dfa.c:591 src/dfa.c:595
|
||||
#: src/dfa.c:603 src/dfa.c:620 src/dfa.c:628 src/dfa.c:632
|
||||
msgid "malformed repeat count"
|
||||
msgstr "felformaterad repetionsräknare"
|
||||
|
||||
#: src/dfa.c:660 src/dfa.c:663 src/dfa.c:690 src/dfa.c:694 src/dfa.c:695
|
||||
#: src/dfa.c:698 src/dfa.c:711 src/dfa.c:712
|
||||
#: src/dfa.c:697 src/dfa.c:700 src/dfa.c:727 src/dfa.c:731 src/dfa.c:732
|
||||
#: src/dfa.c:735 src/dfa.c:748 src/dfa.c:749
|
||||
msgid "Unbalanced ["
|
||||
msgstr "Obalanserad ["
|
||||
|
||||
#: src/dfa.c:849
|
||||
#: src/dfa.c:886
|
||||
msgid "Unbalanced ("
|
||||
msgstr "Obalanserad ("
|
||||
|
||||
#: src/dfa.c:970
|
||||
#: src/dfa.c:1007
|
||||
msgid "No syntax specified"
|
||||
msgstr "Ingen specifierad syntax"
|
||||
|
||||
#: src/dfa.c:978
|
||||
#: src/dfa.c:1015
|
||||
msgid "Unbalanced )"
|
||||
msgstr "Obalanserad )"
|
||||
|
||||
#: src/dfa.c:1998
|
||||
#: src/dfa.c:2036
|
||||
msgid "out of memory"
|
||||
msgstr "minnet slut"
|
||||
|
||||
|
@ -113,7 +113,7 @@ msgstr "%s: flaggan \"-W %s\"
|
|||
#: src/getopt.c:831
|
||||
#, c-format
|
||||
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
||||
msgstr "%s: flaggan \"-W %s\" tillåter inget targument\n"
|
||||
msgstr "%s: flaggan \"-W %s\" tillåter inget argument\n"
|
||||
|
||||
#: src/getopt1.c:132
|
||||
#, c-format
|
||||
|
@ -161,93 +161,107 @@ msgstr "?? getopt returnerade teckenkod 0%o ??\n"
|
|||
msgid "non-option ARGV-elements: "
|
||||
msgstr "ARGV-element är inte flaggor: "
|
||||
|
||||
#: src/grep.c:172 src/grep.c:189 src/grep.c:291 src/grep.c:347 src/kwset.c:184
|
||||
#: src/grep.c:183 src/grep.c:200 src/grep.c:300 src/grep.c:408 src/kwset.c:184
|
||||
#: src/kwset.c:190
|
||||
msgid "memory exhausted"
|
||||
msgstr "minnet slut"
|
||||
|
||||
#: src/grep.c:375 src/grep.c:846
|
||||
#: src/grep.c:560 src/grep.c:1454
|
||||
msgid "writing output"
|
||||
msgstr "skriver utdata"
|
||||
|
||||
#: src/grep.c:792
|
||||
#, c-format
|
||||
msgid "Binary file %s matches\n"
|
||||
msgstr "Binär fil %s matchar\n"
|
||||
|
||||
#: src/grep.c:808
|
||||
msgid "(standard input)"
|
||||
msgstr "(standard in)"
|
||||
|
||||
#: src/grep.c:906
|
||||
#, c-format
|
||||
msgid "%s: warning: %s: %s\n"
|
||||
msgstr "%s: varning: %s: %s\n"
|
||||
|
||||
#: src/grep.c:500 src/grep.c:1321
|
||||
msgid "writing output"
|
||||
msgstr "skriver utdata"
|
||||
|
||||
#: src/grep.c:729
|
||||
#, c-format
|
||||
msgid "Binary file %s matches\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:745
|
||||
msgid "(standard input)"
|
||||
msgstr "(standard in)"
|
||||
|
||||
#: src/grep.c:847
|
||||
#: src/grep.c:907
|
||||
msgid "recursive directory loop"
|
||||
msgstr ""
|
||||
msgstr "rekursiv katalogloop"
|
||||
|
||||
#: src/grep.c:898
|
||||
#: src/grep.c:958
|
||||
#, c-format
|
||||
msgid "Usage: %s [OPTION]... PATTERN [FILE]...\n"
|
||||
msgstr "Användning: %s [FLAGGA]... MÖNSTER [FIL]...\n"
|
||||
|
||||
#: src/grep.c:899
|
||||
#: src/grep.c:959
|
||||
#, c-format
|
||||
msgid "Try `%s --help' for more information.\n"
|
||||
msgstr "Försök med \"%s --help\" för mer information\n"
|
||||
|
||||
#: src/grep.c:903
|
||||
#: src/grep.c:963
|
||||
#, c-format
|
||||
msgid "Usage: %s [OPTION]... PATTERN [FILE] ...\n"
|
||||
msgstr "Användning: %s [FLAGGA]... MÖNSTER [FIL]...\n"
|
||||
|
||||
#: src/grep.c:904
|
||||
#: src/grep.c:964
|
||||
#, fuzzy, c-format
|
||||
msgid ""
|
||||
"Search for PATTERN in each FILE or standard input.\n"
|
||||
"Example: %s -i 'hello.*world' menu.h main.c\n"
|
||||
"\n"
|
||||
"Regexp selection and interpretation:\n"
|
||||
msgstr ""
|
||||
"Sök efter MÖNSTER i varje FIL eller standard in.\n"
|
||||
"\n"
|
||||
"Val och tolkning av reguljära utrryck:\n"
|
||||
|
||||
#: src/grep.c:969
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
" -E, --extended-regexp PATTERN is an extended regular expression\n"
|
||||
" -F, --fixed-regexp PATTERN is a fixed string separated by newlines\n"
|
||||
" -F, --fixed-strings PATTERN is a set of newline-separated strings\n"
|
||||
" -G, --basic-regexp PATTERN is a basic regular expression\n"
|
||||
msgstr ""
|
||||
" -E, --extended-regexp MÖNSTER är ett utökat reguljärt uttryck\n"
|
||||
" -F, --fixed-regexp MÖNSTER är en fix sträng separerad med nyrad\n"
|
||||
" -G, --basic-regexp MÖNSTER är ett enkelt reguljärt uttryck\n"
|
||||
|
||||
#: src/grep.c:973
|
||||
msgid ""
|
||||
" -e, --regexp=PATTERN use PATTERN as a regular expression\n"
|
||||
" -f, --file=FILE obtain PATTERN from FILE\n"
|
||||
" -i, --ignore-case ignore case distinctions\n"
|
||||
" -w, --word-regexp force PATTERN to match only whole words\n"
|
||||
" -x, --line-regexp force PATTERN to match only whole lines\n"
|
||||
" -z, --null-data a data line ends in 0 byte, not newline\n"
|
||||
msgstr ""
|
||||
"Sök efter MÖNSTER i varje FIL eller standard in.\n"
|
||||
"\n"
|
||||
"Val och tolkning av reguljära uttryck:\n"
|
||||
" -E, --extended-regexp MÖNSTER är ett utökat reguljärt uttryck\n"
|
||||
" -F, --fixed-regexp MÖNSTER är en fixerad sträng separerad med "
|
||||
"nyrad\n"
|
||||
" -G, --basic-regexp MÖNSTER är ett enkelt reguljärt uttryck\n"
|
||||
" -e, --regexp=MÖNSTER använd MÖNSTER som ett reguljärt uttryck\n"
|
||||
" -f, --file=FIL hämta MÖNSTER från FIL\n"
|
||||
" -i, --ignore-case skilj ej på gemener och versaler\n"
|
||||
" -w, --word-regexp tvinga MÖNSTER att endast matcha hela ord\n"
|
||||
" -x, --line-regexp tvinga MÖNSTER att endast matcha hela rader\n"
|
||||
" -z, --null-data en rad indata begränsas av en 0-byte, inte\n"
|
||||
" av ett nyrad-tecken\n"
|
||||
|
||||
#: src/grep.c:916
|
||||
#: src/grep.c:980
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"\n"
|
||||
"Miscellaneous:\n"
|
||||
" -s, --no-messages suppress error messages\n"
|
||||
" -v, --revert-match select non-matching lines\n"
|
||||
" -v, --invert-match select non-matching lines\n"
|
||||
" -V, --version print version information and exit\n"
|
||||
" --help display this help and exit\n"
|
||||
" --mmap use memory-mapped input if possible\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"Diverse:\n"
|
||||
" -s, --no-messages visa inga felmeddelanden\n"
|
||||
" -v, --revert-match välj rader som utan träffar\n"
|
||||
" -v, --invert-match välj rader utan träffar\n"
|
||||
" -V, --version visa versionsinformation och avsluta\n"
|
||||
" --help visa detta hjälpmeddelande och avsluta\n"
|
||||
|
||||
#: src/grep.c:923
|
||||
#, fuzzy
|
||||
#: src/grep.c:988
|
||||
msgid ""
|
||||
"\n"
|
||||
"Output control:\n"
|
||||
|
@ -263,6 +277,7 @@ msgid ""
|
|||
" -L, --files-without-match only print FILE names containing no match\n"
|
||||
" -l, --files-with-matches only print FILE names containing matches\n"
|
||||
" -c, --count only print a count of matching lines per FILE\n"
|
||||
" -Z, --null print 0 byte after FILE name\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"Styrning av utskrift:\n"
|
||||
|
@ -271,12 +286,17 @@ msgstr ""
|
|||
" -H, --with-filename skriv filnamn vid varje träff\n"
|
||||
" -h, --no-filename skriv inte filnamn vid varje visad rad\n"
|
||||
" -q, --quiet, --silent undvik all normal utskrift\n"
|
||||
" -a, --text skriv även ut binära filer\n"
|
||||
" -d, --directories=ACTION hur kataloger skall hanteras\n"
|
||||
" ACTION är 'read', 'recursive' eller 'skip'.\n"
|
||||
" -r, --recursive motsvarar --directories=recursive\n"
|
||||
" -L, --files-without-match skriv bara ut FILnamn utan träffar\n"
|
||||
" -l, --files-with-matches skriv bara ut FILnamn med träffar\n"
|
||||
" -c, --count skriv för varje FIL bara ut antal träffade "
|
||||
"rader\n"
|
||||
" -Z, --null skriv 0-byte efter FILnamn\n"
|
||||
|
||||
#: src/grep.c:938
|
||||
#: src/grep.c:1004
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"\n"
|
||||
|
@ -284,32 +304,32 @@ msgid ""
|
|||
" -B, --before-context=NUM print NUM lines of leading context\n"
|
||||
" -A, --after-context=NUM print NUM lines of trailing context\n"
|
||||
" -C, --context[=NUM] print NUM (default 2) lines of output context\n"
|
||||
" unless overriden by -A or -B\n"
|
||||
" unless overridden by -A or -B\n"
|
||||
" -NUM same as --context=NUM\n"
|
||||
" -U, --binary do not strip CR characters at EOL (MSDOS)\n"
|
||||
" -u, --unix-byte-offsets report offsets as if CRs were not there (MSDOS)\n"
|
||||
"\n"
|
||||
"If no -[GEF], then `egrep' assumes -E, `fgrep' -F, else -G.\n"
|
||||
"With no FILE, or when FILE is -, read standard input. If less than\n"
|
||||
"two FILEs given, assume -h. Exit with 0 if matches, with 1 if none.\n"
|
||||
"Exit with 2 if syntax errors or system errors.\n"
|
||||
"`egrep' means `grep -E'. `fgrep' means `grep -F'.\n"
|
||||
"With no FILE, or when FILE is -, read standard input. If less than\n"
|
||||
"two FILEs given, assume -h. Exit status is 0 if match, 1 if no match,\n"
|
||||
"and 2 if trouble.\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"Kontroll av sammanhang:\n"
|
||||
" -B, --before-context=NUM skriv NUM rader före träffad rad\n"
|
||||
" -A, --after-context=NUM skriv NUM rader efter träffad rad\n"
|
||||
" -NUM motsvarar både -B NUM och -A NUM\n"
|
||||
" -C, --context motsvarar -2\n"
|
||||
" -C, --context[=NUM] skriv NUM (i normalfallet 2) rader runt träffad\n"
|
||||
" rad, om inte -A eller -B angivits\n"
|
||||
" -NUM motsvarar --context=NUM\n"
|
||||
" -U, --binary ta inte bort CR-tecken vid radslut (MSDOS)\n"
|
||||
" -u, --unix-byte-offsets skriv offset som om CR-tecken inte förekommit\n"
|
||||
"\n"
|
||||
"Om flaggorna -[GEF] ej används, och programmet anropas som \"egrep\" sätts\n"
|
||||
"flaggan -E. Anropas programmet som \"fgrep\" sätts -F, annars sätts -G.\n"
|
||||
"\"egrep\" betyder \"grep -E\". \"fgrep\" betyder \"grep -F\".\n"
|
||||
"Utan FIL, eller om FIL är -, läser programmet från standard in. Om färre än\n"
|
||||
"två FILer är angivna, sätts flaggan -h. Programmet returnerar 0 om något\n"
|
||||
"matchar, 1 om inget matchade och 2 vid syntaxfel eller systemrelaterade fel\n"
|
||||
|
||||
#: src/grep.c:953
|
||||
#: src/grep.c:1019
|
||||
msgid ""
|
||||
"\n"
|
||||
"Report bugs to <bug-gnu-utils@gnu.org>.\n"
|
||||
|
@ -318,34 +338,28 @@ msgstr ""
|
|||
"Rapportera buggar till <bug-gnu-utils@gnu.org>.\n"
|
||||
"Skicka anmärkningar på översättningar till <sv@li.org>\n"
|
||||
|
||||
#: src/grep.c:1096 src/grep.c:1103 src/grep.c:1112
|
||||
#: src/grep.c:1030
|
||||
msgid "conflicting matchers specified"
|
||||
msgstr "motstridiga söksträngar specifierade"
|
||||
|
||||
#: src/grep.c:1229 src/grep.c:1236 src/grep.c:1245
|
||||
msgid "invalid context length argument"
|
||||
msgstr "ogiltigt argument till -A, -B eller -C"
|
||||
|
||||
#: src/grep.c:1119 src/grep.c:1124 src/grep.c:1129
|
||||
msgid "you may specify only one of -E, -F, or -G"
|
||||
msgstr ""
|
||||
|
||||
#: src/grep.c:1148
|
||||
msgid "matcher already specified"
|
||||
msgstr "söksträng redan specificerad"
|
||||
|
||||
#: src/grep.c:1169
|
||||
#: src/grep.c:1296
|
||||
msgid "unknown directories method"
|
||||
msgstr ""
|
||||
msgstr "okänd metod gällande kataloger"
|
||||
|
||||
#: src/grep.c:1255
|
||||
#: src/grep.c:1391
|
||||
#, c-format
|
||||
msgid "grep (GNU grep) %s\n"
|
||||
msgstr "grep (GNU grep) %s\n"
|
||||
msgid "%s (GNU grep) %s\n"
|
||||
msgstr "%s (GNU grep) %s\n"
|
||||
|
||||
#: src/grep.c:1257
|
||||
#, fuzzy
|
||||
#: src/grep.c:1393
|
||||
msgid "Copyright (C) 1988, 1992-1998, 1999 Free Software Foundation, Inc.\n"
|
||||
msgstr ""
|
||||
"Copyright (C) 1988, 92, 93, 94, 95, 96, 97 Free Software Foundation, Inc.\n"
|
||||
msgstr "Copyright (C) 1988, 1992-1998, 1999 Free Software Foundation, Inc.\n"
|
||||
|
||||
#: src/grep.c:1259
|
||||
#: src/grep.c:1395
|
||||
msgid ""
|
||||
"This is free software; see the source for copying conditions. There is NO\n"
|
||||
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
|
||||
|
|
|
@ -8,6 +8,7 @@ base_sources = grep.c grep.h \
|
|||
dfa.c dfa.h \
|
||||
kwset.c kwset.h \
|
||||
obstack.c obstack.h \
|
||||
regex.c regex.h \
|
||||
savedir.c savedir.h \
|
||||
getopt.c getopt1.c getopt.h \
|
||||
search.c getpagesize.h system.h
|
||||
|
@ -20,7 +21,7 @@ datadir = $(prefix)/@DATADIRNAME@
|
|||
localedir = $(datadir)/locale
|
||||
INCLUDES = -I../intl -DLOCALEDIR=\"$(localedir)\"
|
||||
|
||||
EXTRA_DIST = regex.h regex.c \
|
||||
EXTRA_DIST = \
|
||||
dosbuf.c \
|
||||
vms_fab.c vms_fab.h
|
||||
|
||||
|
|
|
@ -56,13 +56,17 @@ POST_INSTALL = :
|
|||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
host_alias = @host_alias@
|
||||
host_triplet = @host@
|
||||
AWK = @AWK@
|
||||
CATALOGS = @CATALOGS@
|
||||
CATOBJEXT = @CATOBJEXT@
|
||||
CC = @CC@
|
||||
CPP = @CPP@
|
||||
DATADIRNAME = @DATADIRNAME@
|
||||
EXEEXT = @EXEEXT@
|
||||
GENCAT = @GENCAT@
|
||||
GETCONF = @GETCONF@
|
||||
GMOFILES = @GMOFILES@
|
||||
GMSGFMT = @GMSGFMT@
|
||||
GT_NO = @GT_NO@
|
||||
|
@ -82,6 +86,7 @@ POFILES = @POFILES@
|
|||
POSUB = @POSUB@
|
||||
RANLIB = @RANLIB@
|
||||
SEP = @SEP@
|
||||
U = @U@
|
||||
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
|
@ -92,7 +97,7 @@ AUTOMAKE_OPTIONS = no-dependencies
|
|||
LN = ln
|
||||
|
||||
bin_PROGRAMS = grep egrep fgrep
|
||||
base_sources = grep.c grep.h dfa.c dfa.h kwset.c kwset.h obstack.c obstack.h savedir.c savedir.h getopt.c getopt1.c getopt.h search.c getpagesize.h system.h
|
||||
base_sources = grep.c grep.h dfa.c dfa.h kwset.c kwset.h obstack.c obstack.h regex.c regex.h savedir.c savedir.h getopt.c getopt1.c getopt.h search.c getpagesize.h system.h
|
||||
|
||||
egrep_SOURCES = $(base_sources) egrepmat.c
|
||||
fgrep_SOURCES = $(base_sources) fgrepmat.c
|
||||
|
@ -103,7 +108,7 @@ datadir = $(prefix)/@DATADIRNAME@
|
|||
localedir = $(datadir)/locale
|
||||
INCLUDES = -I../intl -DLOCALEDIR=\"$(localedir)\"
|
||||
|
||||
EXTRA_DIST = regex.h regex.c dosbuf.c vms_fab.c vms_fab.h
|
||||
EXTRA_DIST = dosbuf.c vms_fab.c vms_fab.h
|
||||
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = ../config.h
|
||||
|
@ -117,20 +122,20 @@ CPPFLAGS = @CPPFLAGS@
|
|||
LDFLAGS = @LDFLAGS@
|
||||
LIBS = @LIBS@
|
||||
grep_OBJECTS = grep.$(OBJEXT) dfa.$(OBJEXT) kwset.$(OBJEXT) \
|
||||
obstack.$(OBJEXT) savedir.$(OBJEXT) getopt.$(OBJEXT) getopt1.$(OBJEXT) \
|
||||
search.$(OBJEXT) grepmat.$(OBJEXT)
|
||||
obstack.$(OBJEXT) regex.$(OBJEXT) savedir.$(OBJEXT) getopt.$(OBJEXT) \
|
||||
getopt1.$(OBJEXT) search.$(OBJEXT) grepmat.$(OBJEXT)
|
||||
grep_LDADD = $(LDADD)
|
||||
grep_DEPENDENCIES = @ALLOCA@ @LIBOBJS@
|
||||
grep_LDFLAGS =
|
||||
egrep_OBJECTS = grep.$(OBJEXT) dfa.$(OBJEXT) kwset.$(OBJEXT) \
|
||||
obstack.$(OBJEXT) savedir.$(OBJEXT) getopt.$(OBJEXT) getopt1.$(OBJEXT) \
|
||||
search.$(OBJEXT) egrepmat.$(OBJEXT)
|
||||
obstack.$(OBJEXT) regex.$(OBJEXT) savedir.$(OBJEXT) getopt.$(OBJEXT) \
|
||||
getopt1.$(OBJEXT) search.$(OBJEXT) egrepmat.$(OBJEXT)
|
||||
egrep_LDADD = $(LDADD)
|
||||
egrep_DEPENDENCIES = @ALLOCA@ @LIBOBJS@
|
||||
egrep_LDFLAGS =
|
||||
fgrep_OBJECTS = grep.$(OBJEXT) dfa.$(OBJEXT) kwset.$(OBJEXT) \
|
||||
obstack.$(OBJEXT) savedir.$(OBJEXT) getopt.$(OBJEXT) getopt1.$(OBJEXT) \
|
||||
search.$(OBJEXT) fgrepmat.$(OBJEXT)
|
||||
obstack.$(OBJEXT) regex.$(OBJEXT) savedir.$(OBJEXT) getopt.$(OBJEXT) \
|
||||
getopt1.$(OBJEXT) search.$(OBJEXT) fgrepmat.$(OBJEXT)
|
||||
fgrep_LDADD = $(LDADD)
|
||||
fgrep_DEPENDENCIES = @ALLOCA@ @LIBOBJS@
|
||||
fgrep_LDFLAGS =
|
||||
|
@ -138,8 +143,7 @@ CFLAGS = @CFLAGS@
|
|||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
CCLD = $(CC)
|
||||
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
|
||||
DIST_COMMON = Makefile.am Makefile.in alloca.c btowc.c memchr.c \
|
||||
stpcpy.c
|
||||
DIST_COMMON = Makefile.am Makefile.in alloca.c memchr.c stpcpy.c
|
||||
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
|
|
@ -328,15 +328,20 @@ static reg_syntax_t syntax_bits, syntax_bits_set;
|
|||
/* Flag for case-folding letters into sets. */
|
||||
static int case_fold;
|
||||
|
||||
/* End-of-line byte in data. */
|
||||
static unsigned char eolbyte;
|
||||
|
||||
/* Entry point to set syntax options. */
|
||||
void
|
||||
dfasyntax(bits, fold)
|
||||
dfasyntax(bits, fold, eol)
|
||||
reg_syntax_t bits;
|
||||
int fold;
|
||||
int eol;
|
||||
{
|
||||
syntax_bits_set = 1;
|
||||
syntax_bits = bits;
|
||||
case_fold = fold;
|
||||
eolbyte = eol;
|
||||
}
|
||||
|
||||
/* Lexical analyzer. All the dross that deals with the obnoxious
|
||||
|
@ -555,11 +560,32 @@ lex()
|
|||
goto normal_char;
|
||||
if (backslash != ((syntax_bits & RE_NO_BK_BRACES) == 0))
|
||||
goto normal_char;
|
||||
minrep = maxrep = 0;
|
||||
if (!(syntax_bits & RE_CONTEXT_INDEP_OPS) && laststart)
|
||||
goto normal_char;
|
||||
|
||||
if (syntax_bits & RE_NO_BK_BRACES)
|
||||
{
|
||||
/* Scan ahead for a valid interval; if it's not valid,
|
||||
treat it as a literal '{'. */
|
||||
int lo = -1, hi = -1;
|
||||
char const *p = lexptr;
|
||||
char const *lim = p + lexleft;
|
||||
for (; p != lim && ISDIGIT (*p); p++)
|
||||
lo = (lo < 0 ? 0 : lo * 10) + *p - '0';
|
||||
if (p != lim && *p == ',')
|
||||
while (++p != lim && ISDIGIT (*p))
|
||||
hi = (hi < 0 ? 0 : hi * 10) + *p - '0';
|
||||
else
|
||||
hi = lo;
|
||||
if (p == lim || *p != '}'
|
||||
|| lo < 0 || RE_DUP_MAX < hi || (0 <= hi && hi < lo))
|
||||
goto normal_char;
|
||||
}
|
||||
|
||||
minrep = 0;
|
||||
/* Cases:
|
||||
{M} - exact count
|
||||
{M,} - minimum count, maximum is infinity
|
||||
{,M} - 0 through M
|
||||
{M,N} - M through N */
|
||||
FETCH(c, _("unfinished repeat count"));
|
||||
if (ISDIGIT(c))
|
||||
|
@ -573,16 +599,27 @@ lex()
|
|||
minrep = 10 * minrep + c - '0';
|
||||
}
|
||||
}
|
||||
else if (c != ',')
|
||||
else
|
||||
dfaerror(_("malformed repeat count"));
|
||||
if (c == ',')
|
||||
for (;;)
|
||||
{
|
||||
FETCH(c, _("unfinished repeat count"));
|
||||
if (!ISDIGIT(c))
|
||||
break;
|
||||
maxrep = 10 * maxrep + c - '0';
|
||||
}
|
||||
{
|
||||
FETCH (c, _("unfinished repeat count"));
|
||||
if (! ISDIGIT (c))
|
||||
maxrep = -1;
|
||||
else
|
||||
{
|
||||
maxrep = c - '0';
|
||||
for (;;)
|
||||
{
|
||||
FETCH (c, _("unfinished repeat count"));
|
||||
if (! ISDIGIT (c))
|
||||
break;
|
||||
maxrep = 10 * maxrep + c - '0';
|
||||
}
|
||||
if (0 <= maxrep && maxrep < minrep)
|
||||
dfaerror (_("malformed repeat count"));
|
||||
}
|
||||
}
|
||||
else
|
||||
maxrep = minrep;
|
||||
if (!(syntax_bits & RE_NO_BK_BRACES))
|
||||
|
@ -634,7 +671,7 @@ lex()
|
|||
zeroset(ccl);
|
||||
notset(ccl);
|
||||
if (!(syntax_bits & RE_DOT_NEWLINE))
|
||||
clrbit('\n', ccl);
|
||||
clrbit(eolbyte, ccl);
|
||||
if (syntax_bits & RE_DOT_NOT_NULL)
|
||||
clrbit('\0', ccl);
|
||||
laststart = 0;
|
||||
|
@ -732,7 +769,7 @@ lex()
|
|||
{
|
||||
notset(ccl);
|
||||
if (syntax_bits & RE_HAT_LISTS_NOT_NEWLINE)
|
||||
clrbit('\n', ccl);
|
||||
clrbit(eolbyte, ccl);
|
||||
}
|
||||
laststart = 0;
|
||||
return lasttok = CSET + charclass_index(ccl);
|
||||
|
@ -898,7 +935,7 @@ closure()
|
|||
{
|
||||
ntokens = nsubtoks(dfa->tindex);
|
||||
tindex = dfa->tindex - ntokens;
|
||||
if (maxrep == 0)
|
||||
if (maxrep < 0)
|
||||
addtok(PLUS);
|
||||
if (minrep == 0)
|
||||
addtok(QMARK);
|
||||
|
@ -1561,7 +1598,7 @@ dfastate(s, d, trans)
|
|||
for (i = 0; i < NOTCHAR; ++i)
|
||||
if (IS_WORD_CONSTITUENT(i))
|
||||
setbit(i, letters);
|
||||
setbit('\n', newline);
|
||||
setbit(eolbyte, newline);
|
||||
}
|
||||
|
||||
zeroset(matches);
|
||||
|
@ -1582,7 +1619,7 @@ dfastate(s, d, trans)
|
|||
{
|
||||
if (! MATCHES_NEWLINE_CONTEXT(pos.constraint,
|
||||
d->states[s].newline, 1))
|
||||
clrbit('\n', matches);
|
||||
clrbit(eolbyte, matches);
|
||||
if (! MATCHES_NEWLINE_CONTEXT(pos.constraint,
|
||||
d->states[s].newline, 0))
|
||||
for (j = 0; j < CHARCLASS_INTS; ++j)
|
||||
|
@ -1693,7 +1730,7 @@ dfastate(s, d, trans)
|
|||
state_letter = state;
|
||||
for (i = 0; i < NOTCHAR; ++i)
|
||||
trans[i] = (IS_WORD_CONSTITUENT(i)) ? state_letter : state;
|
||||
trans['\n'] = state_newline;
|
||||
trans[eolbyte] = state_newline;
|
||||
}
|
||||
else
|
||||
for (i = 0; i < NOTCHAR; ++i)
|
||||
|
@ -1717,7 +1754,7 @@ dfastate(s, d, trans)
|
|||
|
||||
/* Find out if the new state will want any context information. */
|
||||
wants_newline = 0;
|
||||
if (tstbit('\n', labels[i]))
|
||||
if (tstbit(eolbyte, labels[i]))
|
||||
for (j = 0; j < follows.nelem; ++j)
|
||||
if (PREV_NEWLINE_DEPENDENT(follows.elems[j].constraint))
|
||||
wants_newline = 1;
|
||||
|
@ -1749,7 +1786,7 @@ dfastate(s, d, trans)
|
|||
{
|
||||
int c = j * INTBITS + k;
|
||||
|
||||
if (c == '\n')
|
||||
if (c == eolbyte)
|
||||
trans[c] = state_newline;
|
||||
else if (IS_WORD_CONSTITUENT(c))
|
||||
trans[c] = state_letter;
|
||||
|
@ -1840,8 +1877,8 @@ build_state(s, d)
|
|||
|
||||
/* Keep the newline transition in a special place so we can use it as
|
||||
a sentinel. */
|
||||
d->newlines[s] = trans['\n'];
|
||||
trans['\n'] = -1;
|
||||
d->newlines[s] = trans[eolbyte];
|
||||
trans[eolbyte] = -1;
|
||||
|
||||
if (ACCEPTING(s, *d))
|
||||
d->fails[s] = trans;
|
||||
|
@ -1889,6 +1926,7 @@ dfaexec(d, begin, end, newline, count, backref)
|
|||
register unsigned char *p; /* Current input character. */
|
||||
register int **trans, *t; /* Copy of d->trans so it can be optimized
|
||||
into a register. */
|
||||
register unsigned char eol = eolbyte; /* Likewise for eolbyte. */
|
||||
static int sbit[NOTCHAR]; /* Table for anding with d->success. */
|
||||
static int sbit_init;
|
||||
|
||||
|
@ -1899,7 +1937,7 @@ dfaexec(d, begin, end, newline, count, backref)
|
|||
sbit_init = 1;
|
||||
for (i = 0; i < NOTCHAR; ++i)
|
||||
sbit[i] = (IS_WORD_CONSTITUENT(i)) ? 2 : 1;
|
||||
sbit['\n'] = 4;
|
||||
sbit[eol] = 4;
|
||||
}
|
||||
|
||||
if (! d->tralloc)
|
||||
|
@ -1908,7 +1946,7 @@ dfaexec(d, begin, end, newline, count, backref)
|
|||
s = s1 = 0;
|
||||
p = (unsigned char *) begin;
|
||||
trans = d->trans;
|
||||
*end = '\n';
|
||||
*end = eol;
|
||||
|
||||
for (;;)
|
||||
{
|
||||
|
@ -1936,7 +1974,7 @@ dfaexec(d, begin, end, newline, count, backref)
|
|||
}
|
||||
|
||||
/* If the previous character was a newline, count it. */
|
||||
if (count && (char *) p <= end && p[-1] == '\n')
|
||||
if (count && (char *) p <= end && p[-1] == eol)
|
||||
++*count;
|
||||
|
||||
/* Check if we've run off the end of the buffer. */
|
||||
|
@ -1950,7 +1988,7 @@ dfaexec(d, begin, end, newline, count, backref)
|
|||
continue;
|
||||
}
|
||||
|
||||
if (p[-1] == '\n' && newline)
|
||||
if (p[-1] == eol && newline)
|
||||
{
|
||||
s = d->newlines[s1];
|
||||
continue;
|
||||
|
|
|
@ -320,9 +320,10 @@ struct dfa
|
|||
|
||||
/* Entry points. */
|
||||
|
||||
/* dfasyntax() takes two arguments; the first sets the syntax bits described
|
||||
earlier in this file, and the second sets the case-folding flag. */
|
||||
extern void dfasyntax PARAMS ((reg_syntax_t, int));
|
||||
/* dfasyntax() takes three arguments; the first sets the syntax bits described
|
||||
earlier in this file, the second sets the case-folding flag, and the
|
||||
third specifies the line terminator. */
|
||||
extern void dfasyntax PARAMS ((reg_syntax_t, int, int));
|
||||
|
||||
/* Compile the given string of the given length into the given struct dfa.
|
||||
Final argument is a flag specifying whether to build a searching or an
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
#endif
|
||||
#include "system.h"
|
||||
#include "grep.h"
|
||||
char const default_matcher[] = "egrep";
|
||||
char const *matcher = "egrep";
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
#endif
|
||||
#include "system.h"
|
||||
#include "grep.h"
|
||||
char const default_matcher[] = "fgrep";
|
||||
char const *matcher = "fgrep";
|
||||
|
|
|
@ -35,14 +35,12 @@ extern struct matcher
|
|||
char *(*execute) PARAMS ((char *, size_t, char **));
|
||||
} matchers[];
|
||||
|
||||
/* Exported from grep.c. */
|
||||
extern char const *matcher;
|
||||
|
||||
/* Exported from fgrepmat.c, egrepmat.c, grepmat.c. */
|
||||
extern char const default_matcher[];
|
||||
extern char const *matcher;
|
||||
|
||||
/* The following flags are exported from grep for the matchers
|
||||
to look at. */
|
||||
extern int match_icase; /* -i */
|
||||
extern int match_words; /* -w */
|
||||
extern int match_lines; /* -x */
|
||||
extern unsigned char eolbyte; /* -z */
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
#endif
|
||||
#include "system.h"
|
||||
#include "grep.h"
|
||||
char const default_matcher[] = "grep";
|
||||
char const *matcher;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
version 0.12.
|
||||
(Implements POSIX draft P1003.2/D11.2, except for some of the
|
||||
internationalization features.)
|
||||
Copyright (C) 1993, 94, 95, 96, 97, 98 Free Software Foundation, Inc.
|
||||
Copyright (C) 1993, 94, 95, 96, 97, 98, 99 Free Software Foundation, Inc.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Library General Public License as
|
||||
|
@ -164,46 +164,6 @@ char *realloc ();
|
|||
# define SWITCH_ENUM_CAST(x) (x)
|
||||
# endif
|
||||
|
||||
/* How many characters in the character set. */
|
||||
# define CHAR_SET_SIZE 256
|
||||
|
||||
# ifdef SYNTAX_TABLE
|
||||
|
||||
extern char *re_syntax_table;
|
||||
|
||||
# else /* not SYNTAX_TABLE */
|
||||
|
||||
static char re_syntax_table[CHAR_SET_SIZE];
|
||||
|
||||
static void
|
||||
init_syntax_once ()
|
||||
{
|
||||
register int c;
|
||||
static int done = 0;
|
||||
|
||||
if (done)
|
||||
return;
|
||||
|
||||
bzero (re_syntax_table, sizeof re_syntax_table);
|
||||
|
||||
for (c = 'a'; c <= 'z'; c++)
|
||||
re_syntax_table[c] = Sword;
|
||||
|
||||
for (c = 'A'; c <= 'Z'; c++)
|
||||
re_syntax_table[c] = Sword;
|
||||
|
||||
for (c = '0'; c <= '9'; c++)
|
||||
re_syntax_table[c] = Sword;
|
||||
|
||||
re_syntax_table['_'] = Sword;
|
||||
|
||||
done = 1;
|
||||
}
|
||||
|
||||
# endif /* not SYNTAX_TABLE */
|
||||
|
||||
# define SYNTAX(c) re_syntax_table[c]
|
||||
|
||||
#endif /* not emacs */
|
||||
|
||||
/* Get the interface, including the syntax bits. */
|
||||
|
@ -270,6 +230,43 @@ init_syntax_once ()
|
|||
# define SIGN_EXTEND_CHAR(c) ((((unsigned char) (c)) ^ 128) - 128)
|
||||
#endif
|
||||
|
||||
#ifndef emacs
|
||||
/* How many characters in the character set. */
|
||||
#define CHAR_SET_SIZE 256
|
||||
|
||||
#ifdef SYNTAX_TABLE
|
||||
|
||||
extern char *re_syntax_table;
|
||||
|
||||
#else /* not SYNTAX_TABLE */
|
||||
|
||||
static char re_syntax_table[CHAR_SET_SIZE];
|
||||
|
||||
static void
|
||||
init_syntax_once ()
|
||||
{
|
||||
register int c;
|
||||
static int done = 0;
|
||||
|
||||
if (done)
|
||||
return;
|
||||
bzero (re_syntax_table, sizeof re_syntax_table);
|
||||
|
||||
for (c = 0; c < CHAR_SET_SIZE; c++)
|
||||
if (ISALNUM (c))
|
||||
re_syntax_table[c] = Sword;
|
||||
|
||||
re_syntax_table['_'] = Sword;
|
||||
|
||||
done = 1;
|
||||
}
|
||||
|
||||
#endif /* not SYNTAX_TABLE */
|
||||
|
||||
#define SYNTAX(c) re_syntax_table[((c) & 0xFF)]
|
||||
|
||||
#endif /* emacs */
|
||||
|
||||
/* Should we use malloc or alloca? If REGEX_MALLOC is not defined, we
|
||||
use `alloca' instead of `malloc'. This is because using malloc in
|
||||
re_search* or re_match* could cause memory leaks when C-g is used in
|
||||
|
@ -609,7 +606,7 @@ extract_number_and_incr (destination, source)
|
|||
/* It is useful to test things that ``must'' be true when debugging. */
|
||||
# include <assert.h>
|
||||
|
||||
static int debug = 0;
|
||||
static int debug;
|
||||
|
||||
# define DEBUG_STATEMENT(e) e
|
||||
# define DEBUG_PRINT1(x) if (debug) printf (x)
|
||||
|
@ -3842,7 +3839,7 @@ re_match_2_internal (bufp, string1, size1, string2, size2, pos, regs, stop)
|
|||
fail_stack_type fail_stack;
|
||||
#endif
|
||||
#ifdef DEBUG
|
||||
static unsigned failure_id = 0;
|
||||
static unsigned failure_id;
|
||||
unsigned nfailure_points_pushed = 0, nfailure_points_popped = 0;
|
||||
#endif
|
||||
|
||||
|
@ -4773,26 +4770,15 @@ re_match_2_internal (bufp, string1, size1, string2, size2, pos, regs, stop)
|
|||
}
|
||||
else if ((re_opcode_t) *p2 == charset)
|
||||
{
|
||||
#ifdef DEBUG
|
||||
register unsigned char c
|
||||
= *p2 == (unsigned char) endline ? '\n' : p2[2];
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
/* We win if the first character of the loop is not part
|
||||
of the charset. */
|
||||
if ((re_opcode_t) p1[3] == exactn
|
||||
&& ! ((int) p2[1] * BYTEWIDTH > (int) p1[5]
|
||||
&& (p2[2 + p1[5] / BYTEWIDTH]
|
||||
& (1 << (p1[5] % BYTEWIDTH)))))
|
||||
#else
|
||||
if ((re_opcode_t) p1[3] == exactn
|
||||
&& ! ((int) p2[1] * BYTEWIDTH > (int) p1[4]
|
||||
&& (p2[2 + p1[4] / BYTEWIDTH]
|
||||
& (1 << (p1[4] % BYTEWIDTH)))))
|
||||
#endif
|
||||
{
|
||||
p[-3] = (unsigned char) pop_failure_jump;
|
||||
DEBUG_PRINT3 (" %c != %c => pop_failure_jump.\n",
|
||||
c, p1[5]);
|
||||
DEBUG_PRINT1 (" No match => pop_failure_jump.\n");
|
||||
}
|
||||
|
||||
else if ((re_opcode_t) p1[3] == charset_not)
|
||||
|
|
|
@ -42,7 +42,6 @@ struct matcher matchers[] = {
|
|||
{ "default", Gcompile, EGexecute },
|
||||
{ "grep", Gcompile, EGexecute },
|
||||
{ "egrep", Ecompile, EGexecute },
|
||||
{ "posix-egrep", Ecompile, EGexecute },
|
||||
{ "awk", Ecompile, EGexecute },
|
||||
{ "fgrep", Fcompile, Fexecute },
|
||||
{ 0, 0, 0 },
|
||||
|
@ -55,7 +54,7 @@ struct matcher matchers[] = {
|
|||
static struct dfa dfa;
|
||||
|
||||
/* Regex compiled regexp. */
|
||||
static struct re_pattern_buffer regex;
|
||||
static struct re_pattern_buffer regexbuf;
|
||||
|
||||
/* KWset compiled pattern. For Ecompile and Gcompile, we compile
|
||||
a list of strings, at least one of which is known to occur in
|
||||
|
@ -134,9 +133,9 @@ Gcompile(pattern, size)
|
|||
const char *err;
|
||||
|
||||
re_set_syntax(RE_SYNTAX_GREP | RE_HAT_LISTS_NOT_NEWLINE);
|
||||
dfasyntax(RE_SYNTAX_GREP | RE_HAT_LISTS_NOT_NEWLINE, match_icase);
|
||||
dfasyntax(RE_SYNTAX_GREP | RE_HAT_LISTS_NOT_NEWLINE, match_icase, eolbyte);
|
||||
|
||||
if ((err = re_compile_pattern(pattern, size, ®ex)) != 0)
|
||||
if ((err = re_compile_pattern(pattern, size, ®exbuf)) != 0)
|
||||
fatal(err, 0);
|
||||
|
||||
/* In the match_words and match_lines cases, we use a different pattern
|
||||
|
@ -149,7 +148,8 @@ Gcompile(pattern, size)
|
|||
(^|[^A-Za-z_])(userpattern)([^A-Za-z_]|$).
|
||||
In the whole-line case, we use the pattern:
|
||||
^(userpattern)$.
|
||||
BUG: Using [A-Za-z_] is locale-dependent! */
|
||||
BUG: Using [A-Za-z_] is locale-dependent!
|
||||
So will use [:alnum:] */
|
||||
|
||||
char *n = malloc(size + 50);
|
||||
int i = 0;
|
||||
|
@ -159,14 +159,14 @@ Gcompile(pattern, size)
|
|||
if (match_lines)
|
||||
strcpy(n, "^\\(");
|
||||
if (match_words)
|
||||
strcpy(n, "\\(^\\|[^0-9A-Za-z_]\\)\\(");
|
||||
strcpy(n, "\\(^\\|[^[:alnum:]_]\\)\\(");
|
||||
|
||||
i = strlen(n);
|
||||
memcpy(n + i, pattern, size);
|
||||
i += size;
|
||||
|
||||
if (match_words)
|
||||
strcpy(n + i, "\\)\\([^0-9A-Za-z_]\\|$\\)");
|
||||
strcpy(n + i, "\\)\\([^[:alnum:]_]\\|$\\)");
|
||||
if (match_lines)
|
||||
strcpy(n + i, "\\)$");
|
||||
|
||||
|
@ -186,23 +186,18 @@ Ecompile(pattern, size)
|
|||
{
|
||||
const char *err;
|
||||
|
||||
if (strcmp(matcher, "posix-egrep") == 0)
|
||||
{
|
||||
re_set_syntax(RE_SYNTAX_POSIX_EGREP);
|
||||
dfasyntax(RE_SYNTAX_POSIX_EGREP, match_icase);
|
||||
}
|
||||
else if (strcmp(matcher, "awk") == 0)
|
||||
if (strcmp(matcher, "awk") == 0)
|
||||
{
|
||||
re_set_syntax(RE_SYNTAX_AWK);
|
||||
dfasyntax(RE_SYNTAX_AWK, match_icase);
|
||||
dfasyntax(RE_SYNTAX_AWK, match_icase, eolbyte);
|
||||
}
|
||||
else
|
||||
{
|
||||
re_set_syntax(RE_SYNTAX_EGREP);
|
||||
dfasyntax(RE_SYNTAX_EGREP, match_icase);
|
||||
re_set_syntax (RE_SYNTAX_POSIX_EGREP);
|
||||
dfasyntax (RE_SYNTAX_POSIX_EGREP, match_icase, eolbyte);
|
||||
}
|
||||
|
||||
if ((err = re_compile_pattern(pattern, size, ®ex)) != 0)
|
||||
if ((err = re_compile_pattern(pattern, size, ®exbuf)) != 0)
|
||||
fatal(err, 0);
|
||||
|
||||
/* In the match_words and match_lines cases, we use a different pattern
|
||||
|
@ -215,7 +210,8 @@ Ecompile(pattern, size)
|
|||
(^|[^A-Za-z_])(userpattern)([^A-Za-z_]|$).
|
||||
In the whole-line case, we use the pattern:
|
||||
^(userpattern)$.
|
||||
BUG: Using [A-Za-z_] is locale-dependent! */
|
||||
BUG: Using [A-Za-z_] is locale-dependent!
|
||||
so will use the char class */
|
||||
|
||||
char *n = malloc(size + 50);
|
||||
int i = 0;
|
||||
|
@ -225,14 +221,14 @@ Ecompile(pattern, size)
|
|||
if (match_lines)
|
||||
strcpy(n, "^(");
|
||||
if (match_words)
|
||||
strcpy(n, "(^|[^0-9A-Za-z_])(");
|
||||
strcpy(n, "(^|[^[:alnum:]_])(");
|
||||
|
||||
i = strlen(n);
|
||||
memcpy(n + i, pattern, size);
|
||||
i += size;
|
||||
|
||||
if (match_words)
|
||||
strcpy(n + i, ")([^0-9A-Za-z_]|$)");
|
||||
strcpy(n + i, ")([^[:alnum:]_]|$)");
|
||||
if (match_lines)
|
||||
strcpy(n + i, ")$");
|
||||
|
||||
|
@ -252,6 +248,7 @@ EGexecute(buf, size, endp)
|
|||
char **endp;
|
||||
{
|
||||
register char *buflim, *beg, *end, save;
|
||||
char eol = eolbyte;
|
||||
int backref, start, len;
|
||||
struct kwsmatch kwsm;
|
||||
static struct re_registers regs; /* This is static on account of a BRAIN-DEAD
|
||||
|
@ -269,10 +266,10 @@ EGexecute(buf, size, endp)
|
|||
goto failure;
|
||||
/* Narrow down to the line containing the candidate, and
|
||||
run it through DFA. */
|
||||
end = memchr(beg, '\n', buflim - beg);
|
||||
end = memchr(beg, eol, buflim - beg);
|
||||
if (!end)
|
||||
end = buflim;
|
||||
while (beg > buf && beg[-1] != '\n')
|
||||
while (beg > buf && beg[-1] != eol)
|
||||
--beg;
|
||||
save = *end;
|
||||
if (kwsm.index < lastexact)
|
||||
|
@ -296,10 +293,10 @@ EGexecute(buf, size, endp)
|
|||
if (!beg)
|
||||
goto failure;
|
||||
/* Narrow down to the line we've found. */
|
||||
end = memchr(beg, '\n', buflim - beg);
|
||||
end = memchr(beg, eol, buflim - beg);
|
||||
if (!end)
|
||||
end = buflim;
|
||||
while (beg > buf && beg[-1] != '\n')
|
||||
while (beg > buf && beg[-1] != eol)
|
||||
--beg;
|
||||
/* Successful, no backreferences encountered! */
|
||||
if (!backref)
|
||||
|
@ -307,8 +304,8 @@ EGexecute(buf, size, endp)
|
|||
}
|
||||
/* If we've made it to this point, this means DFA has seen
|
||||
a probable match, and we need to run it through Regex. */
|
||||
regex.not_eol = 0;
|
||||
if ((start = re_search(®ex, beg, end - beg, 0, end - beg, ®s)) >= 0)
|
||||
regexbuf.not_eol = 0;
|
||||
if ((start = re_search(®exbuf, beg, end - beg, 0, end - beg, ®s)) >= 0)
|
||||
{
|
||||
len = regs.end[0] - start;
|
||||
if ((!match_lines && !match_words)
|
||||
|
@ -331,8 +328,8 @@ EGexecute(buf, size, endp)
|
|||
{
|
||||
/* Try a shorter length anchored at the same place. */
|
||||
--len;
|
||||
regex.not_eol = 1;
|
||||
len = re_match(®ex, beg, start + len, start, ®s);
|
||||
regexbuf.not_eol = 1;
|
||||
len = re_match(®exbuf, beg, start + len, start, ®s);
|
||||
}
|
||||
if (len <= 0)
|
||||
{
|
||||
|
@ -340,8 +337,8 @@ EGexecute(buf, size, endp)
|
|||
if (start == end - beg)
|
||||
break;
|
||||
++start;
|
||||
regex.not_eol = 0;
|
||||
start = re_search(®ex, beg, end - beg,
|
||||
regexbuf.not_eol = 0;
|
||||
start = re_search(®exbuf, beg, end - beg,
|
||||
start, end - beg - start, ®s);
|
||||
len = regs.end[0] - start;
|
||||
}
|
||||
|
@ -390,6 +387,7 @@ Fexecute(buf, size, endp)
|
|||
{
|
||||
register char *beg, *try, *end;
|
||||
register size_t len;
|
||||
char eol = eolbyte;
|
||||
struct kwsmatch kwsmatch;
|
||||
|
||||
for (beg = buf; beg <= buf + size; ++beg)
|
||||
|
@ -399,9 +397,9 @@ Fexecute(buf, size, endp)
|
|||
len = kwsmatch.size[0];
|
||||
if (match_lines)
|
||||
{
|
||||
if (beg > buf && beg[-1] != '\n')
|
||||
if (beg > buf && beg[-1] != eol)
|
||||
continue;
|
||||
if (beg + len < buf + size && beg[len] != '\n')
|
||||
if (beg + len < buf + size && beg[len] != eol)
|
||||
continue;
|
||||
goto success;
|
||||
}
|
||||
|
@ -425,7 +423,7 @@ Fexecute(buf, size, endp)
|
|||
return 0;
|
||||
|
||||
success:
|
||||
if ((end = memchr(beg + len, '\n', (buf + size) - (beg + len))) != 0)
|
||||
if ((end = memchr(beg + len, eol, (buf + size) - (beg + len))) != 0)
|
||||
++end;
|
||||
else
|
||||
end = buf + size;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Portability cruft. Include after config.h and sys/types.h.
|
||||
Copyright (C) 1996, 1998 Free Software Foundation, Inc.
|
||||
Copyright (C) 1996, 1998, 1999 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -36,6 +36,8 @@
|
|||
# include <unistd.h>
|
||||
#else
|
||||
# define O_RDONLY 0
|
||||
# define SEEK_SET 0
|
||||
# define SEEK_CUR 1
|
||||
int open(), read(), close();
|
||||
#endif
|
||||
|
||||
|
@ -99,14 +101,19 @@ extern char *sys_errlist[];
|
|||
|
||||
#if STAT_MACROS_BROKEN
|
||||
# undef S_ISDIR
|
||||
# undef S_ISREG
|
||||
#endif
|
||||
#if !defined(S_ISDIR) && defined(S_IFDIR)
|
||||
# define S_ISDIR(Mode) (((Mode) & S_IFMT) == S_IFDIR)
|
||||
#endif
|
||||
#if !defined(S_ISREG) && defined(S_IFREG)
|
||||
# define S_ISREG(Mode) (((Mode) & S_IFMT) == S_IFREG)
|
||||
#endif
|
||||
|
||||
#ifdef STDC_HEADERS
|
||||
# include <stdlib.h>
|
||||
#else
|
||||
char *getenv ();
|
||||
ptr_t malloc(), realloc(), calloc();
|
||||
void free();
|
||||
#endif
|
||||
|
@ -139,11 +146,14 @@ void free();
|
|||
# undef strrchr
|
||||
# define strrchr rindex
|
||||
# undef memcpy
|
||||
# define memcpy(d, s, n) bcopy((s), (d), (n))
|
||||
# define memcpy(d, s, n) bcopy (s, d, n)
|
||||
#endif
|
||||
#ifndef HAVE_MEMCHR
|
||||
ptr_t memchr();
|
||||
#endif
|
||||
#if ! defined HAVE_MEMMOVE && ! defined memmove
|
||||
# define memmove(d, s, n) bcopy (s, d, n)
|
||||
#endif
|
||||
|
||||
#include <ctype.h>
|
||||
|
||||
|
|
|
@ -17,4 +17,4 @@ char fna_buffer[NAM$C_MAXRSS];
|
|||
char result_name[NAM$C_MAXRSS];
|
||||
char final_name[NAM$C_MAXRSS];
|
||||
int max_file_path_size = NAM$C_MAXRSS;
|
||||
char *arr_ptr[32767]:
|
||||
char *arr_ptr[32767];
|
||||
|
|
Loading…
Reference in New Issue