update to grep 2.5.1

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8245 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2004-06-30 20:42:57 +00:00
parent eb1086edb6
commit 4b74f60f86
95 changed files with 867 additions and 9910 deletions

View File

@ -1,3 +1,22 @@
2002-03-26 Bernhard Rosenkraenzer <bero@redhat.com>
* src/grep.c: Don't fail if we don't have an stdout fd and -q
is used (happens e.g. on calls from hotplug scripts)
* src/grep.c: Don't hang forever if fed with an empty string to
grep for and --color enabled
* src/grep.c: Fix infinite loop on
echo "1 one" | grep -E "[0-9]*" -o
echo "1 one" | grep -E "[0-9]*" --color
* po/*: Sync wiith translation project
* src/grep.c, src/Makefile.am, configure.in: Add patch from
Paul Eggert <eggert@twinsun.com> to comply with ridiculous
guidelines (don't act differently if invoked as egrep or fgrep)
* configure.in: Bump version number, require a recent autoconf
2002-03-14 Bernhard Rosenkraenzer <bero@redhat.com>
* src/Makefile.am, po/Makefile.in.in: Support DESTDIR properly
* tests/bre.tests: Add fix from
Peter Breitenlohner <peb@mppmu.mpg.de>
2002-03-13 Bernhard Rosenkraenzer <bero@redhat.com>
* configure.in, m4/regex.m4, m4/malloc.m4, m4/realloc.m4:
Don't set LIBOBJS directly, autoconf 2.53 doesn't like it

View File

@ -1,4 +1,11 @@
SubDir OBOS_TOP src apps bin grep-2.5 ;
# filter warnings we don't want here
local originalCCFlags = $(CCFLAGS) ;
CCFLAGS = [ Filter $(CCFLAGS) : -Wall -Wmissing-prototypes -Wsign-compare ] ;
SubInclude OBOS_TOP src apps bin grep-2.5 lib ;
SubInclude OBOS_TOP src apps bin grep-2.5 src ;
# restore CCFLAGS
CCFLAGS = $(originalCCFlags) ;

View File

@ -1,476 +0,0 @@
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
# Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
SHELL = /bin/sh
srcdir = .
top_srcdir = .
prefix = /usr/local
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin
sbindir = ${exec_prefix}/sbin
libexecdir = ${exec_prefix}/libexec
datadir = ${prefix}/share
sysconfdir = ${prefix}/etc
sharedstatedir = ${prefix}/com
localstatedir = ${prefix}/var
libdir = ${exec_prefix}/lib
infodir = ${prefix}/info
mandir = ${prefix}/man
includedir = ${prefix}/include
oldincludedir = /usr/include
pkgdatadir = $(datadir)/grep
pkglibdir = $(libdir)/grep
pkgincludedir = $(includedir)/grep
top_builddir = .
ACLOCAL = ${SHELL} /boot/home/Development/current/src/apps/bin/grep-2.5/missing --run aclocal
AUTOCONF = ${SHELL} /boot/home/Development/current/src/apps/bin/grep-2.5/missing --run autoconf
AUTOMAKE = ${SHELL} /boot/home/Development/current/src/apps/bin/grep-2.5/missing --run automake
AUTOHEADER = ${SHELL} /boot/home/Development/current/src/apps/bin/grep-2.5/missing --run autoheader
INSTALL = /bin/install -c
INSTALL_PROGRAM = ${INSTALL}
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_SCRIPT = ${INSTALL}
INSTALL_HEADER = $(INSTALL_DATA)
transform = s,x,x,
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias =
host_triplet = i586-pc-beos
AMTAR = ${SHELL} /boot/home/Development/current/src/apps/bin/grep-2.5/missing --run tar
AWK = gawk
BUILD_INCLUDED_LIBINTL = yes
CATALOGS = cs.gmo de.gmo el.gmo eo.gmo es.gmo et.gmo fr.gmo gl.gmo hr.gmo id.gmo it.gmo ja.gmo ko.gmo nl.gmo no.gmo pl.gmo pt_BR.gmo ru.gmo sl.gmo sv.gmo
CATOBJEXT = .gmo
CC = gcc
CPP = gcc -E
DATADIRNAME = share
DEPDIR = .deps
EXEEXT =
GENCAT = gencat
GETCONF =
GLIBC21 = no
GMOFILES = cs.gmo de.gmo el.gmo eo.gmo es.gmo et.gmo fr.gmo gl.gmo hr.gmo id.gmo it.gmo ja.gmo ko.gmo nl.gmo no.gmo pl.gmo pt_BR.gmo ru.gmo sl.gmo sv.gmo
GMSGFMT = :
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
INSTOBJEXT = .mo
INTLBISON = bison
INTLLIBS = $(top_builddir)/intl/libintl.a
INTLOBJS = $(GETTOBJS)
INTL_LIBTOOL_SUFFIX_PREFIX =
LIBICONV =
MKINSTALLDIRS = ./mkinstalldirs
MSGFMT = :
OBJEXT = o
PACKAGE = grep
POFILES = cs.po de.po el.po eo.po es.po et.po fr.po gl.po hr.po id.po it.po ja.po ko.po nl.po no.po pl.po pt_BR.po ru.po sl.po sv.po
POSUB = po
RANLIB = ranlib
SEP = :
SYMLINK = ln -s
SYMLINKFROM = grep
U =
USE_INCLUDED_LIBINTL = yes
USE_NLS = yes
VERSION = 2.5
am__include = include
am__quote =
install_sh = /boot/home/Development/current/src/apps/bin/grep-2.5/install-sh
AUTOMAKE_OPTIONS = no-dependencies
SUBDIRS = intl po lib doc src tests m4 vms bootstrap
EXTRA_DIST = TODO README README-alpha 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)/decl.m4 $(M4DIR)/djgpp.m4 $(M4DIR)/dosfile.m4 \
$(M4DIR)/envsep.m4 $(M4DIR)/error.m4 $(M4DIR)/gettext.m4 $(M4DIR)/glibc.m4 \
$(M4DIR)/header.m4 $(M4DIR)/init.m4 $(M4DIR)/install.m4 \
$(M4DIR)/inttypes_h.m4 $(M4DIR)/isc-posix.m4 $(M4DIR)/largefile.m4 \
$(M4DIR)/lcmessage.m4 $(M4DIR)/malloc.m4 $(M4DIR)/mbstate_t.m4 \
$(M4DIR)/missing.m4 $(M4DIR)/progtest.m4 $(M4DIR)/realloc.m4 \
$(M4DIR)/regex.m4 $(M4DIR)/sanity.m4 $(M4DIR)/strerror_r.m4 \
$(M4DIR)/uintmax_t.m4 $(M4DIR)/ulonglong.m4 $(M4DIR)/xstrtoumax.m4
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES = intl/Makefile
depcomp =
DIST_SOURCES =
RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
uninstall-info-recursive all-recursive install-data-recursive \
install-exec-recursive installdirs-recursive install-recursive \
uninstall-recursive check-recursive installcheck-recursive
DIST_COMMON = README ./stamp-h.in ABOUT-NLS AUTHORS COPYING ChangeLog \
INSTALL Makefile.am Makefile.in NEWS THANKS TODO aclocal.m4 \
config.guess config.hin config.sub configure configure.in \
install-sh missing mkinstalldirs
DIST_SUBDIRS = $(SUBDIRS)
all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
.SUFFIXES:
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) && \
CONFIG_HEADERS= CONFIG_LINKS= \
CONFIG_FILES=$@ $(SHELL) ./config.status
$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) ./config.status --recheck
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
cd $(srcdir) && $(AUTOCONF)
$(ACLOCAL_M4): configure.in
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
config.h: stamp-h
@if test ! -f $@; then \
rm -f stamp-h; \
$(MAKE) stamp-h; \
else :; fi
stamp-h: $(srcdir)/config.hin $(top_builddir)/config.status
@rm -f stamp-h stamp-hT
@echo timestamp > stamp-hT 2> /dev/null
cd $(top_builddir) \
&& CONFIG_FILES= CONFIG_HEADERS=config.h:config.hin \
$(SHELL) ./config.status
@mv stamp-hT stamp-h
$(srcdir)/config.hin: $(srcdir)/./stamp-h.in
@if test ! -f $@; then \
rm -f $(srcdir)/./stamp-h.in; \
$(MAKE) $(srcdir)/./stamp-h.in; \
else :; fi
$(srcdir)/./stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
@rm -f $(srcdir)/./stamp-h.in $(srcdir)/./stamp-h.inT
@echo timestamp > $(srcdir)/./stamp-h.inT 2> /dev/null
cd $(top_srcdir) && $(AUTOHEADER)
@mv $(srcdir)/./stamp-h.inT $(srcdir)/./stamp-h.in
distclean-hdr:
-rm -f config.h
intl/Makefile: $(top_builddir)/config.status $(top_srcdir)/intl/Makefile.in
cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
uninstall-info-am:
# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
# To change the values of `make' variables: instead of editing Makefiles,
# (1) if the variable is set in `config.status', edit `config.status'
# (which will cause the Makefiles to be regenerated when you run `make');
# (2) otherwise, pass the desired values on the `make' command line.
$(RECURSIVE_TARGETS):
@set fnord $(MAKEFLAGS); amf=$$2; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
list='$(SUBDIRS)'; for subdir in $$list; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
dot_seen=yes; \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done; \
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
mostlyclean-recursive clean-recursive distclean-recursive \
maintainer-clean-recursive:
@set fnord $(MAKEFLAGS); amf=$$2; \
dot_seen=no; \
case "$@" in \
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
*) list='$(SUBDIRS)' ;; \
esac; \
rev=''; for subdir in $$list; do \
if test "$$subdir" = "."; then :; else \
rev="$$subdir $$rev"; \
fi; \
done; \
rev="$$rev ."; \
target=`echo $@ | sed s/-recursive//`; \
for subdir in $$rev; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done && test -z "$$fail"
tags-recursive:
list='$(SUBDIRS)'; for subdir in $$list; do \
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
done
tags: TAGS
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
mkid -fID $$unique $(LISP)
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.hin $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
list='$(SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
fi; \
done; \
list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
test -z "$(ETAGS_ARGS)config.hin$$unique$(LISP)$$tags" \
|| etags $(ETAGS_ARGS) $$tags config.hin $$unique $(LISP)
GTAGS:
here=`CDPATH=: && cd $(top_builddir) && pwd` \
&& cd $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) $$here
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
top_distdir = .
# Avoid unsightly `./'.
distdir = $(PACKAGE)-$(VERSION)
GZIP_ENV = --best
distdir: $(DISTFILES)
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
mkdir $(distdir)
$(mkinstalldirs) $(distdir)/intl $(distdir)/po
@for file in $(DISTFILES); do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
$(mkinstalldirs) "$(distdir)/$$dir"; \
fi; \
if test -d $$d/$$file; then \
cp -pR $$d/$$file $(distdir) \
|| exit 1; \
else \
test -f $(distdir)/$$file \
|| cp -p $$d/$$file $(distdir)/$$file \
|| exit 1; \
fi; \
done
for subdir in $(SUBDIRS); do \
if test "$$subdir" = .; then :; else \
test -d $(distdir)/$$subdir \
|| mkdir $(distdir)/$$subdir \
|| exit 1; \
(cd $$subdir && \
$(MAKE) $(AM_MAKEFLAGS) \
top_distdir="$(top_distdir)" \
distdir=../$(distdir)/$$subdir \
distdir) \
|| exit 1; \
fi; \
done
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
|| chmod -R a+r $(distdir)
dist: distdir
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
# This target untars the dist file and tries a VPATH configuration. Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
distcheck: dist
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
chmod -R a-w $(distdir); chmod a+w $(distdir)
mkdir $(distdir)/=build
mkdir $(distdir)/=inst
chmod a-w $(distdir)
dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \
&& cd $(distdir)/=build \
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
--with-included-gettext \
&& $(MAKE) $(AM_MAKEFLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
&& $(MAKE) $(AM_MAKEFLAGS) check \
&& $(MAKE) $(AM_MAKEFLAGS) install \
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
&& (test `find $$dc_install_base -type f -print | wc -l` -le 1 \
|| (echo "Error: files left after uninstall" 1>&2; \
exit 1) ) \
&& $(MAKE) $(AM_MAKEFLAGS) dist \
&& $(MAKE) $(AM_MAKEFLAGS) distclean \
&& rm -f $(distdir).tar.gz \
&& (test `find . -type f -print | wc -l` -eq 0 \
|| (echo "Error: files left after distclean" 1>&2; \
exit 1) )
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
@echo "$(distdir).tar.gz is ready for distribution" | \
sed 'h;s/./=/g;p;x;p;x'
check-am: all-am
check: check-recursive
all-am: Makefile config.h
installdirs: installdirs-recursive
installdirs-am:
install: install-recursive
install-exec: install-exec-recursive
install-data: install-data-recursive
uninstall: uninstall-recursive
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-recursive
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
clean-generic:
distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-recursive
clean-am: clean-generic mostlyclean-am
dist-all: distdir
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
distclean: distclean-recursive
-rm -f config.status config.cache config.log
distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
dvi: dvi-recursive
dvi-am:
info: info-recursive
info-am:
install-data-am:
install-exec-am:
install-info: install-info-recursive
install-man:
installcheck-am:
maintainer-clean: maintainer-clean-recursive
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-recursive
mostlyclean-am: mostlyclean-generic
uninstall-am: uninstall-info-am
uninstall-info: uninstall-info-recursive
.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
clean-generic clean-recursive dist dist-all distcheck distclean \
distclean-generic distclean-hdr distclean-recursive \
distclean-tags distdir dvi dvi-am dvi-recursive info info-am \
info-recursive install install-am install-data install-data-am \
install-data-recursive install-exec install-exec-am \
install-exec-recursive install-info install-info-am \
install-info-recursive install-man install-recursive \
install-strip installcheck installcheck-am installdirs \
installdirs-am installdirs-recursive maintainer-clean \
maintainer-clean-generic maintainer-clean-recursive mostlyclean \
mostlyclean-generic mostlyclean-recursive tags tags-recursive \
uninstall uninstall-am uninstall-info-am \
uninstall-info-recursive uninstall-recursive
$(srcdir)/acinclude.m4 : $(ACINCLUDE_INPUTS)
cat $(ACINCLUDE_INPUTS) >$(srcdir)/acinclude.m4
# make cvs-clean blatantly stolen from KDE CVS ;)
cvs-clean:
@if test ! -d CVS; then \
echo "You don't have a toplevel CVS directory."; \
echo "You most certainly didn't use cvs to get these sources."; \
echo "But this function depends on cvs's information."; \
exit 1 ;\
fi;\
pwd=`pwd` ;\
dirs=`find . -type d | grep -v CVS | sed -e "s#^./##"` ;\
for i in $$dirs; do \
if test ! -d "$$pwd/$$i/CVS"; then \
echo "D $$i" ;\
rm -rf "$$pwd/$$i"; \
continue; \
fi ;\
cd $$pwd/$$i ;\
for f in * .*; do \
if test ! -d "$$f"; then \
if grep "^/$$f/" CVS/Entries > /dev/null; then \
a="b"; \
else \
echo "F $$i/$$f"; \
rm -f "$$pwd/$$i/$$f"; \
fi; \
fi ; \
done; \
done
# 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.
.NOEXPORT:

View File

@ -87,8 +87,6 @@ POFILES = @POFILES@
POSUB = @POSUB@
RANLIB = @RANLIB@
SEP = @SEP@
SYMLINK = @SYMLINK@
SYMLINKFROM = @SYMLINKFROM@
U = @U@
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
USE_NLS = @USE_NLS@

View File

@ -1,3 +1,6 @@
Version 2.5.1
- This is a bugfix release. No new features.
Version 2.5
- The new option --label allows to specify a different name for input
from stdin. See the man or info pages for details.

View File

@ -1,76 +1,76 @@
GREP DJGPP README
=================
To compile the Grep package with DJGPP tools, you will need the
following tools (the names of the archives on DJGPP ftp sites where
these tools are available are in parentheses):
- The basic DJGPP development environment, including the
GCC compiler and the libraries (v2gnu/gccNNNb.zip,
v2gnu/bnuNNNb.zip, v2/djdevNNN.zip).
- GNU Make revision 3.75 or later (v2gnu/makNNNb.zip).
- GNU Bash (v2gnu/bshNNNb.zip).
- GNU Sed (v2gnu/sedNNNb.zip).
- GNU M4 (v2gnu/m4-NNNb.zip).
- GNU Fileutils (v2gnu/filNNNb.zip), Textutils
(v2gnu/txtNNNb.zip) and Diffutils (v2gnu/difNNNb.zip).
- A (previous version of) GNU Grep (v2gnu/grepNNb.zip).
Running the tests ("make check" in the top-level directory)
additionally requires Gawk (v2gnu/gwkNNNb.zip). TAGS and ID targets
require `etags' (from the Emacs distribution) and `mkid' (from
ID-utils, v2gnu/iduNNb.zip), respectively.
All of these tools are available from the DJGPP archive sites.
To build Grep:
sh autogen.sh
sh configure
make
Source distributions on DJGPP sites usually come pre-configured, so
all you need to do in order to build the programs is to say "make".
However, source distributions on GNU ftp sites, like ftp.gnu.org,
need to be configured by running sh configure. You will also need
to run it if you need to configure Grep differently than for the
default configuration, for example if you want to install the programs
in a directory other than the bin subdirectory of your DJGPP
installation.
To test that the package works, say "make check". If you don't have a
file named sh.exe somewhere on your PATH, "make check" will refuse to
run, as it needs a Unix-like shell.
To install, either copy the executables and man pages to the
appropriate directories, or say "make install". To clean up, say
"make clean" or "make distclean".
Please note the -u and -U options that specifically target MS-DOS and
MS-Windows environments. They are described in the Grep man page in
this distribution.
National Language Support doesn't work in this port, so don't expect
the programs to talk to you in any language but English.
Please post any problems in the DOS version to the comp.os.msdos.djgpp
news group first, especially if they have something to do with the
DOS-specific aspects.
To create the files required for the documentation package
perform the following in the docs directory:
make grep.dvi
make grep.ps
makeinfo --html grep.texi -o grep.html
2.5f ported by Andrew Cottrell <anddjgpp@ihug.com.au>
Enjoy,
Eli Zaretskii <eliz@is.elta.co.il>
GREP DJGPP README
=================
To compile the Grep package with DJGPP tools, you will need the
following tools (the names of the archives on DJGPP ftp sites where
these tools are available are in parentheses):
- The basic DJGPP development environment, including the
GCC compiler and the libraries (v2gnu/gccNNNb.zip,
v2gnu/bnuNNNb.zip, v2/djdevNNN.zip).
- GNU Make revision 3.75 or later (v2gnu/makNNNb.zip).
- GNU Bash (v2gnu/bshNNNb.zip).
- GNU Sed (v2gnu/sedNNNb.zip).
- GNU M4 (v2gnu/m4-NNNb.zip).
- GNU Fileutils (v2gnu/filNNNb.zip), Textutils
(v2gnu/txtNNNb.zip) and Diffutils (v2gnu/difNNNb.zip).
- A (previous version of) GNU Grep (v2gnu/grepNNb.zip).
Running the tests ("make check" in the top-level directory)
additionally requires Gawk (v2gnu/gwkNNNb.zip). TAGS and ID targets
require `etags' (from the Emacs distribution) and `mkid' (from
ID-utils, v2gnu/iduNNb.zip), respectively.
All of these tools are available from the DJGPP archive sites.
To build Grep:
sh autogen.sh
sh configure
make
Source distributions on DJGPP sites usually come pre-configured, so
all you need to do in order to build the programs is to say "make".
However, source distributions on GNU ftp sites, like ftp.gnu.org,
need to be configured by running sh configure. You will also need
to run it if you need to configure Grep differently than for the
default configuration, for example if you want to install the programs
in a directory other than the bin subdirectory of your DJGPP
installation.
To test that the package works, say "make check". If you don't have a
file named sh.exe somewhere on your PATH, "make check" will refuse to
run, as it needs a Unix-like shell.
To install, either copy the executables and man pages to the
appropriate directories, or say "make install". To clean up, say
"make clean" or "make distclean".
Please note the -u and -U options that specifically target MS-DOS and
MS-Windows environments. They are described in the Grep man page in
this distribution.
National Language Support doesn't work in this port, so don't expect
the programs to talk to you in any language but English.
Please post any problems in the DOS version to the comp.os.msdos.djgpp
news group first, especially if they have something to do with the
DOS-specific aspects.
To create the files required for the documentation package
perform the following in the docs directory:
make grep.dvi
make grep.ps
makeinfo --html grep.texi -o grep.html
2.5f ported by Andrew Cottrell <anddjgpp@ihug.com.au>
Enjoy,
Eli Zaretskii <eliz@is.elta.co.il>

View File

@ -1,221 +0,0 @@
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
# Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
SHELL = /bin/sh
srcdir = .
top_srcdir = ..
prefix = /usr/local
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin
sbindir = ${exec_prefix}/sbin
libexecdir = ${exec_prefix}/libexec
datadir = ${prefix}/share
sysconfdir = ${prefix}/etc
sharedstatedir = ${prefix}/com
localstatedir = ${prefix}/var
libdir = ${exec_prefix}/lib
infodir = ${prefix}/info
mandir = ${prefix}/man
includedir = ${prefix}/include
oldincludedir = /usr/include
pkgdatadir = $(datadir)/grep
pkglibdir = $(libdir)/grep
pkgincludedir = $(includedir)/grep
top_builddir = ..
ACLOCAL = ${SHELL} /boot/home/Development/current/src/apps/bin/grep-2.5/missing --run aclocal
AUTOCONF = ${SHELL} /boot/home/Development/current/src/apps/bin/grep-2.5/missing --run autoconf
AUTOMAKE = ${SHELL} /boot/home/Development/current/src/apps/bin/grep-2.5/missing --run automake
AUTOHEADER = ${SHELL} /boot/home/Development/current/src/apps/bin/grep-2.5/missing --run autoheader
INSTALL = /bin/install -c
INSTALL_PROGRAM = ${INSTALL}
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_SCRIPT = ${INSTALL}
INSTALL_HEADER = $(INSTALL_DATA)
transform = s,x,x,
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias =
host_triplet = i586-pc-beos
AMTAR = ${SHELL} /boot/home/Development/current/src/apps/bin/grep-2.5/missing --run tar
AWK = gawk
BUILD_INCLUDED_LIBINTL = yes
CATALOGS = cs.gmo de.gmo el.gmo eo.gmo es.gmo et.gmo fr.gmo gl.gmo hr.gmo id.gmo it.gmo ja.gmo ko.gmo nl.gmo no.gmo pl.gmo pt_BR.gmo ru.gmo sl.gmo sv.gmo
CATOBJEXT = .gmo
CC = gcc
CPP = gcc -E
DATADIRNAME = share
DEPDIR = .deps
EXEEXT =
GENCAT = gencat
GETCONF =
GLIBC21 = no
GMOFILES = cs.gmo de.gmo el.gmo eo.gmo es.gmo et.gmo fr.gmo gl.gmo hr.gmo id.gmo it.gmo ja.gmo ko.gmo nl.gmo no.gmo pl.gmo pt_BR.gmo ru.gmo sl.gmo sv.gmo
GMSGFMT = :
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
INSTOBJEXT = .mo
INTLBISON = bison
INTLLIBS = $(top_builddir)/intl/libintl.a
INTLOBJS = $(GETTOBJS)
INTL_LIBTOOL_SUFFIX_PREFIX =
LIBICONV =
MKINSTALLDIRS = ./mkinstalldirs
MSGFMT = :
OBJEXT = o
PACKAGE = grep
POFILES = cs.po de.po el.po eo.po es.po et.po fr.po gl.po hr.po id.po it.po ja.po ko.po nl.po no.po pl.po pt_BR.po ru.po sl.po sv.po
POSUB = po
RANLIB = ranlib
SEP = :
SYMLINK = ln -s
SYMLINKFROM = grep
U =
USE_INCLUDED_LIBINTL = yes
USE_NLS = yes
VERSION = 2.5
am__include = include
am__quote =
install_sh = /boot/home/Development/current/src/apps/bin/grep-2.5/install-sh
AUTOMAKE_OPTIONS = no-dependencies
EXTRA_DIST = Makefile.try README
subdir = bootstrap
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
depcomp =
DIST_SOURCES =
DIST_COMMON = README Makefile.am Makefile.in
all: all-am
.SUFFIXES:
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu bootstrap/Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) && \
CONFIG_HEADERS= CONFIG_LINKS= \
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
uninstall-info-am:
tags: TAGS
TAGS:
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
top_distdir = ..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES)
@for file in $(DISTFILES); do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
$(mkinstalldirs) "$(distdir)/$$dir"; \
fi; \
if test -d $$d/$$file; then \
cp -pR $$d/$$file $(distdir) \
|| exit 1; \
else \
test -f $(distdir)/$$file \
|| cp -p $$d/$$file $(distdir)/$$file \
|| exit 1; \
fi; \
done
check-am: all-am
check: check-am
all-am: Makefile
installdirs:
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
clean-generic:
distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-am
clean-am: clean-generic mostlyclean-am
distclean: distclean-am
distclean-am: clean-am distclean-generic
dvi: dvi-am
dvi-am:
info: info-am
info-am:
install-data-am:
install-exec-am:
install-info: install-info-am
install-man:
installcheck-am:
maintainer-clean: maintainer-clean-am
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-generic
uninstall-am: uninstall-info-am
.PHONY: all all-am check check-am clean clean-generic distclean \
distclean-generic distdir dvi dvi-am info info-am install \
install-am install-data install-data-am install-exec \
install-exec-am install-info install-info-am install-man \
install-strip installcheck installcheck-am installdirs \
maintainer-clean maintainer-clean-generic mostlyclean \
mostlyclean-generic uninstall uninstall-am uninstall-info-am
# 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.
.NOEXPORT:

View File

@ -1,4 +0,0 @@
## Process this file with automake to create Makefile.in
AUTOMAKE_OPTIONS = no-dependencies
EXTRA_DIST = Makefile.try README

View File

@ -1,221 +0,0 @@
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
# Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
@SET_MAKE@
SHELL = @SHELL@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
datadir = @datadir@
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = ..
ACLOCAL = @ACLOCAL@
AUTOCONF = @AUTOCONF@
AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias = @host_alias@
host_triplet = @host@
AMTAR = @AMTAR@
AWK = @AWK@
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
CATALOGS = @CATALOGS@
CATOBJEXT = @CATOBJEXT@
CC = @CC@
CPP = @CPP@
DATADIRNAME = @DATADIRNAME@
DEPDIR = @DEPDIR@
EXEEXT = @EXEEXT@
GENCAT = @GENCAT@
GETCONF = @GETCONF@
GLIBC21 = @GLIBC21@
GMOFILES = @GMOFILES@
GMSGFMT = @GMSGFMT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTOBJEXT = @INSTOBJEXT@
INTLBISON = @INTLBISON@
INTLLIBS = @INTLLIBS@
INTLOBJS = @INTLOBJS@
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
LIBICONV = @LIBICONV@
MKINSTALLDIRS = @MKINSTALLDIRS@
MSGFMT = @MSGFMT@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
POFILES = @POFILES@
POSUB = @POSUB@
RANLIB = @RANLIB@
SEP = @SEP@
SYMLINK = @SYMLINK@
SYMLINKFROM = @SYMLINKFROM@
U = @U@
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
am__include = @am__include@
am__quote = @am__quote@
install_sh = @install_sh@
AUTOMAKE_OPTIONS = no-dependencies
EXTRA_DIST = Makefile.try README
subdir = bootstrap
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
depcomp =
DIST_SOURCES =
DIST_COMMON = README Makefile.am Makefile.in
all: all-am
.SUFFIXES:
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu bootstrap/Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) && \
CONFIG_HEADERS= CONFIG_LINKS= \
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
uninstall-info-am:
tags: TAGS
TAGS:
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
top_distdir = ..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES)
@for file in $(DISTFILES); do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
$(mkinstalldirs) "$(distdir)/$$dir"; \
fi; \
if test -d $$d/$$file; then \
cp -pR $$d/$$file $(distdir) \
|| exit 1; \
else \
test -f $(distdir)/$$file \
|| cp -p $$d/$$file $(distdir)/$$file \
|| exit 1; \
fi; \
done
check-am: all-am
check: check-am
all-am: Makefile
installdirs:
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
clean-generic:
distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-am
clean-am: clean-generic mostlyclean-am
distclean: distclean-am
distclean-am: clean-am distclean-generic
dvi: dvi-am
dvi-am:
info: info-am
info-am:
install-data-am:
install-exec-am:
install-info: install-info-am
install-man:
installcheck-am:
maintainer-clean: maintainer-clean-am
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-generic
uninstall-am: uninstall-info-am
.PHONY: all all-am check check-am clean clean-generic distclean \
distclean-generic distdir dvi dvi-am info info-am install \
install-am install-data install-data-am install-exec \
install-exec-am install-info install-info-am install-man \
install-strip installcheck installcheck-am installdirs \
maintainer-clean maintainer-clean-generic mostlyclean \
mostlyclean-generic uninstall uninstall-am uninstall-info-am
# 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.
.NOEXPORT:

View File

@ -1,135 +0,0 @@
#
# Define for DOS/WIN (not including DJGPP):
#OBJEXT = obj
#EXEEXT = .exe
EXEEXT =
OBJEXT = o
# Source of grep.
OBJS = \
dfa.$(OBJEXT) \
grep.$(OBJEXT) \
kwset.$(OBJEXT) \
search.$(OBJEXT)
# Supporting routines.
LIB_OBJS_core = \
$(libdir)/closeout.$(OBJEXT) \
$(libdir)/error.$(OBJEXT) \
$(libdir)/exclude.$(OBJEXT) \
$(libdir)/hard-locale.$(OBJEXT) \
$(libdir)/isdir.$(OBJEXT) \
$(libdir)/quotearg.$(OBJEXT) \
$(libdir)/regex.$(OBJEXT) \
$(libdir)/savedir.$(OBJEXT) \
$(libdir)/strtoumax.$(OBJEXT) \
$(libdir)/xmalloc.$(OBJEXT) \
$(libdir)/xstrtol.$(OBJEXT) \
$(libdir)/xstrtoumax.$(OBJEXT)
# Comment out functions already supported as needed.
#LIB_OBJ_atexit = $(libdir)/atexit.$(OBJEXT)
#LIB_OBJ_alloca = $(libdir)/alloca.$(OBJEXT)
#LIB_OBJ_fnmatch = $(libdir)/fnmatch.$(OBJEXT)
LIB_OBJ_getopt = $(libdir)/getopt.$(OBJEXT) $(libdir)/getopt1.$(OBJEXT)
#LIB_OBJ_memchr = $(libdir)/memchr.$(OBJEXT)
LIB_OBJ_obstack = $(libdir)/obstack.$(OBJEXT)
#LIB_OBJ_strtoul = $(libdir)/strtoul.$(OBJEXT)
LIB_OBJ_stpcpy = $(libdir)/stpcpy.$(OBJEXT)
LIB_OBJ_strtoull = $(libdir)/strtoull.$(OBJEXT)
LIB_OBJS = $(LIB_OBJS_core) $(LIB_OBJ_atexit) $(LIB_OBJ_alloca) \
$(LIB_OBJ_fnmatch) $(LIB_OBJ_getopt) $(LIB_OBJ_memchr) \
$(LIB_OBJ_obstack) $(LIB_OBJ_strtoul) $(LIB_OBJ_stpcpy) \
$(LIB_OBJ_strtoull)
# For Linux
#LIB_OBJS = $(LIB_OBJS_core)
# For QNX/Neutrino
#LIB_OBJS = $(LIB_OBJS_core) $(LIB_OBJ_getopt) $(LIB_OBJ_obstack) \
# $(LIB_OBJ_stpcpy) $(LIB_OBJ_strtoull)
# Where is DIR and opendir/readdir defined.
# or -DHAVE_DIRENT_H
# or -DHAVE_SYS_NDIR_H
# or -DHAVE_SYS_DIR_H
# or -DHAVE_NDIR_H
#
# undef HAVE_STRERROR if lacking strerror()
# undef HAVE_MEMCHR if lacking memchr()
#
# default dry run
DEFS_core = \
-DSTDC_HEADERS \
-DHAVE_MEMCHR \
-DHAVE_DIRENT_H \
-DHAVE_STRERROR \
-Dconst= \
-Dsize_t=unsigned \
-Duintmax_t=long
# SunOS-4.1.x k&r cc
#DEFS_sunos = -DSTDC_HEADERS -DHAVE_MEMCHR -DHAVE_DIRENT_H -Dconst=
# Solaris
#DEFS_solaris = -DSTDC_HEADERS -DHAVE_MEMCHR -DHAVE_DIRENT_H -DHAVE_STRERROR
# DOS/WIN (change also OBJEXT/EXEEXT, see above)
# DOS/DJGPP
DEFS_dos = -DSTDC_HEADERS -DHAVE_MEMCHR -DHAVE_STRERROR -DHAVE_DIRENT_H \
-DHAVE_DOS_FILE_CONTENTS \
-DHAVE_DOS_FILE_NAMES -DHAVE_UNISTD_H -DHAVE_SETMODE
# If support ANSI C prototypes
DEFS_ansi_c = -DPROTOTYPES
# No wchar support
# DEFS_wchar = -DUSE_WIDE_CHAR -DHAVE_WCHAR_H
DEFS_wchar = -Dwchar_t=int -Dmbstate_t=int
# Is strtol() and strtoul() declarared ?
#DEFS_strtol = -DHAVE_DECL_STRTOULL=0 -DHAVE_DECL_STRTOUL=0
DEFS_strtol = -DHAVE_DECL_STRTOULL=1 -DHAVE_DECL_STRTOUL=1
# Define if malloc(0)/realloc(0) works
#DEFS_alloc = -DHAVE_DONE_WORKING_MALLOC_CHECK=0 \
# -DHAVE_DONE_WORKING_REALLOC_CHECK=0
DEFS_alloc = -DHAVE_DONE_WORKING_MALLOC_CHECK=1 \
-DHAVE_DONE_WORKING_REALLOC_CHECK=1
DEFS = $(DEFS_core) $(DEFS_ansi_c) $(DEFS_wchar) $(DEFS_strtol) $(DEFS_alloc) \
-DHAVE_DECL_STRERROR_R=0 -DHAVE_VPRINTF -DCHAR_BIT=8
####
CFLAGS = $(DEFS) -I. -I.. -I$(libdir) -DVERSION=\"bootstrap\" -DPACKAGE=\"grep\"
libdir = ../lib
PROGS = grep$(EXEEXT) egrep$(EXEEXT) fgrep$(EXEEXT)
libgreputils_a = $(libdir)/libgreputils.a
all : $(libgreputils_a) $(PROGS)
grep$(EXEEXT) : $(OBJS) grepmat.$(OBJEXT) $(libgreputils_a)
$(CC) $(OBJS) grepmat.$(OBJEXT) -o grep $(libgreputils_a)
egrep$(EXEEXT) : $(OBJS) egrepmat.$(OBJEXT) $(libgreputils_a)
$(CC) $(OBJS) egrepmat.$(OBJEXT) -o egrep $(libgreputils_a)
fgrep$(EXEEXT) : $(OBJS) fgrepmat.$(OBJEXT) $(libgreputils_a)
$(CC) $(OBJS) fgrepmat.$(OBJEXT) -o fgrep $(libgreputils_a)
$(libgreputils_a) : $(LIB_OBJS)
$(AR) $(ARFLAGS) $(libgreputils_a) $(LIB_OBJS)
clean :
$(RM) grepmat.$(OBJEXT) egrepmat.$(OBJEXT) fgrepmat.$(OBJEXT)
$(RM) $(OBJS)
$(RM) $(PROGS)
$(RM) $(libgreputils_a) $(LIB_OBJS)

View File

@ -1,8 +0,0 @@
#
If your system is lacking the necessary tools to build the configuration,
Makefile.try is provided for bootstraping. Move Makefile.try to
../src/Makefile, edit the Makefile and type make. Good luck !
cp Makefile.try ../src/Makefile
make

View File

@ -158,7 +158,7 @@
#define HAVE_PUTENV 1
/* Define to 1 if you have the `setenv' function. */
/* #undef HAVE_SETENV */
#define HAVE_SETENV 1
/* Define to 1 if you have the `setlocale' function. */
#define HAVE_SETLOCALE 1
@ -297,7 +297,7 @@
#define STDC_HEADERS 1
/* Version number of package */
#define VERSION "2.5"
#define VERSION "2.5.1"
/* Number of bits in a file offset, on hosts where this is settable. */
/* #undef _FILE_OFFSET_BITS */

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1498,7 +1498,7 @@ fi
# Define the identity of the package.
PACKAGE=grep
VERSION=2.5
VERSION=2.5.1
cat >>confdefs.h <<_ACEOF
#define PACKAGE "$PACKAGE"
@ -8842,31 +8842,6 @@ fi
fi
echo "$as_me:$LINENO: checking How to create links" >&5
echo $ECHO_N "checking How to create links... $ECHO_C" >&6
rm -f test00 test01
touch test00
ln -s test00 test01 || :
SYMLINK=""
SYMLINKFROM="grep"
if test -L test01; then
SYMLINK="ln -s"
else
SYMLINKFROM="${bindir}/grep"
rm -f test01
ln test00 test01 || :
if test -e test01; then
SYMLINK="ln"
else
SYMLINK="cp"
fi
fi
echo "$as_me:$LINENO: result: $SYMLINK" >&5
echo "${ECHO_T}$SYMLINK" >&6
rm -f test00 test01
ac_config_files="$ac_config_files Makefile lib/Makefile lib/posix/Makefile src/Makefile tests/Makefile po/Makefile.in intl/Makefile doc/Makefile m4/Makefile vms/Makefile bootstrap/Makefile"
ac_config_commands="$ac_config_commands default"
cat >confcache <<\_ACEOF
@ -9517,8 +9492,6 @@ s,@GENCAT@,$GENCAT,;t t
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
s,@SEP@,$SEP,;t t
s,@SYMLINK@,$SYMLINK,;t t
s,@SYMLINKFROM@,$SYMLINKFROM,;t t
CEOF
_ACEOF

View File

@ -6,10 +6,10 @@
dnl Process this file with autoconf to produce a configure script
AC_INIT(src/grep.c)
AC_DEFINE(GREP, 1, [We are building grep])
AC_PREREQ(2.13)
AC_PREREQ(2.53)
dnl Automake stuff.
AM_INIT_AUTOMAKE(grep, 2.5)
AM_INIT_AUTOMAKE(grep, 2.5.1)
AM_CONFIG_HEADER(config.h:config.hin)
dnl Check for arguments
@ -141,28 +141,4 @@ if test x"$testpcre" = x"yes"; then
AC_CHECK_LIB(pcre, pcre_exec)
fi
dnl Check how to create the {e,f}grep links
AC_MSG_CHECKING([How to create links])
rm -f test00 test01
touch test00
ln -s test00 test01 || :
SYMLINK=""
SYMLINKFROM="grep"
if test -L test01; then
SYMLINK="ln -s"
else
SYMLINKFROM="${bindir}/grep"
rm -f test01
ln test00 test01 || :
if test -e test01; then
SYMLINK="ln"
else
SYMLINK="cp"
fi
fi
AC_MSG_RESULT($SYMLINK)
AC_SUBST(SYMLINK)
AC_SUBST(SYMLINKFROM)
rm -f test00 test01
AC_OUTPUT(Makefile lib/Makefile lib/posix/Makefile src/Makefile tests/Makefile po/Makefile.in intl/Makefile doc/Makefile m4/Makefile vms/Makefile bootstrap/Makefile, [sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile; echo timestamp > stamp-h])

View File

@ -1,402 +0,0 @@
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
# Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
SHELL = /bin/sh
srcdir = .
top_srcdir = ..
prefix = /usr/local
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin
sbindir = ${exec_prefix}/sbin
libexecdir = ${exec_prefix}/libexec
datadir = ${prefix}/share
sysconfdir = ${prefix}/etc
sharedstatedir = ${prefix}/com
localstatedir = ${prefix}/var
libdir = ${exec_prefix}/lib
infodir = ${prefix}/info
mandir = ${prefix}/man
includedir = ${prefix}/include
oldincludedir = /usr/include
pkgdatadir = $(datadir)/grep
pkglibdir = $(libdir)/grep
pkgincludedir = $(includedir)/grep
top_builddir = ..
ACLOCAL = ${SHELL} /boot/home/Development/current/src/apps/bin/grep-2.5/missing --run aclocal
AUTOCONF = ${SHELL} /boot/home/Development/current/src/apps/bin/grep-2.5/missing --run autoconf
AUTOMAKE = ${SHELL} /boot/home/Development/current/src/apps/bin/grep-2.5/missing --run automake
AUTOHEADER = ${SHELL} /boot/home/Development/current/src/apps/bin/grep-2.5/missing --run autoheader
INSTALL = /bin/install -c
INSTALL_PROGRAM = ${INSTALL}
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_SCRIPT = ${INSTALL}
INSTALL_HEADER = $(INSTALL_DATA)
transform = s,x,x,
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias =
host_triplet = i586-pc-beos
AMTAR = ${SHELL} /boot/home/Development/current/src/apps/bin/grep-2.5/missing --run tar
AWK = gawk
BUILD_INCLUDED_LIBINTL = yes
CATALOGS = cs.gmo de.gmo el.gmo eo.gmo es.gmo et.gmo fr.gmo gl.gmo hr.gmo id.gmo it.gmo ja.gmo ko.gmo nl.gmo no.gmo pl.gmo pt_BR.gmo ru.gmo sl.gmo sv.gmo
CATOBJEXT = .gmo
CC = gcc
CPP = gcc -E
DATADIRNAME = share
DEPDIR = .deps
EXEEXT =
GENCAT = gencat
GETCONF =
GLIBC21 = no
GMOFILES = cs.gmo de.gmo el.gmo eo.gmo es.gmo et.gmo fr.gmo gl.gmo hr.gmo id.gmo it.gmo ja.gmo ko.gmo nl.gmo no.gmo pl.gmo pt_BR.gmo ru.gmo sl.gmo sv.gmo
GMSGFMT = :
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
INSTOBJEXT = .mo
INTLBISON = bison
INTLLIBS = $(top_builddir)/intl/libintl.a
INTLOBJS = $(GETTOBJS)
INTL_LIBTOOL_SUFFIX_PREFIX =
LIBICONV =
MKINSTALLDIRS = ./mkinstalldirs
MSGFMT = :
OBJEXT = o
PACKAGE = grep
POFILES = cs.po de.po el.po eo.po es.po et.po fr.po gl.po hr.po id.po it.po ja.po ko.po nl.po no.po pl.po pt_BR.po ru.po sl.po sv.po
POSUB = po
RANLIB = ranlib
SEP = :
SYMLINK = ln -s
SYMLINKFROM = grep
U =
USE_INCLUDED_LIBINTL = yes
USE_NLS = yes
VERSION = 2.5
am__include = include
am__quote =
install_sh = /boot/home/Development/current/src/apps/bin/grep-2.5/install-sh
AUTOMAKE_OPTIONS = no-dependencies
info_TEXINFOS = grep.texi
man_MANS = grep.1 fgrep.1 egrep.1
EXTRA_DIST = grep.1 egrep.man fgrep.man
CLEANFILES = egrep.1 fgrep.1
subdir = doc
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
depcomp =
DIST_SOURCES =
INFO_DEPS = grep.info
DVIS = grep.dvi
TEXINFOS = grep.texi
NROFF = nroff
MANS = $(man_MANS)
DIST_COMMON = Makefile.am Makefile.in mdate-sh stamp-vti texinfo.tex \
version.texi
all: all-am
.SUFFIXES:
.SUFFIXES: .dvi .info .ps .texi
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu doc/Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) && \
CONFIG_HEADERS= CONFIG_LINKS= \
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
$(srcdir)/version.texi: $(srcdir)/stamp-vti
@:
$(srcdir)/stamp-vti: grep.texi $(top_srcdir)/configure.in
@(set `$(SHELL) $(srcdir)/mdate-sh $(srcdir)/grep.texi`; \
echo "@set UPDATED $$1 $$2 $$3"; \
echo "@set UPDATED-MONTH $$2 $$3"; \
echo "@set EDITION $(VERSION)"; \
echo "@set VERSION $(VERSION)") > vti.tmp
@cmp -s vti.tmp $(srcdir)/version.texi \
|| (echo "Updating $(srcdir)/version.texi"; \
cp vti.tmp $(srcdir)/version.texi)
-@rm -f vti.tmp
@cp $(srcdir)/version.texi $@
mostlyclean-vti:
-rm -f vti.tmp
maintainer-clean-vti:
-rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi
grep.info: grep.texi $(srcdir)/version.texi
grep.dvi: grep.texi $(srcdir)/version.texi
.texi.info:
@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
cd $(srcdir) \
&& $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
`echo $< | sed 's,.*/,,'`
.texi.dvi:
TEXINPUTS=$(srcdir):$$TEXINPUTS \
MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
$(TEXI2DVI) $<
.texi:
@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
cd $(srcdir) \
&& $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
`echo $< | sed 's,.*/,,'`
MAKEINFO = ${SHELL} /boot/home/Development/current/src/apps/bin/grep-2.5/missing --run makeinfo
TEXI2DVI = texi2dvi
DVIPS = dvips
.dvi.ps:
$(DVIPS) $< -o $@
uninstall-info-am:
$(PRE_UNINSTALL)
@if (install-info --version && \
install-info --version | fgrep -i -v debian) >/dev/null 2>&1; then \
list='$(INFO_DEPS)'; \
for file in $$list; do \
echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \
install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file; \
done; \
else :; fi
@$(NORMAL_UNINSTALL)
@list='$(INFO_DEPS)'; \
for file in $$list; do \
(if cd $(DESTDIR)$(infodir); then \
echo " rm -f $$file $$file-[0-9] $$file-[0-9][0-9])"; \
rm -f $$file $$file-[0-9] $$file-[0-9][0-9]; \
else :; fi); \
done
dist-info: $(INFO_DEPS)
list='$(INFO_DEPS)'; \
for base in $$list; do \
d=$(srcdir); \
for file in `CDPATH=: && cd $$d && eval echo $$base*`; do \
test -f $(distdir)/$$file \
|| cp -p $$d/$$file $(distdir)/$$file; \
done; \
done
mostlyclean-aminfo:
-rm -f grep.aux grep.cp grep.cps grep.dvi grep.fn grep.fns grep.ky grep.log \
grep.op grep.pg grep.ps grep.toc grep.tp grep.vr
maintainer-clean-aminfo:
cd $(srcdir) && \
for i in $(INFO_DEPS); do \
rm -f $$i; \
if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
rm -f $$i-[0-9]*; \
fi; \
done
man1dir = $(mandir)/man1
install-man1: $(man1_MANS) $(man_MANS)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(man1dir)
@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
for i in $$l2; do \
case "$$i" in \
*.1*) list="$$list $$i" ;; \
esac; \
done; \
for i in $$list; do \
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
else file=$$i; fi; \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
inst=`echo $$inst | sed -e 's/^.*\///'`; \
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
$(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
done
uninstall-man1:
@$(NORMAL_UNINSTALL)
@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
for i in $$l2; do \
case "$$i" in \
*.1*) list="$$list $$i" ;; \
esac; \
done; \
for i in $$list; do \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
inst=`echo $$inst | sed -e 's/^.*\///'`; \
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
rm -f $(DESTDIR)$(man1dir)/$$inst; \
done
tags: TAGS
TAGS:
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
top_distdir = ..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES)
@for file in $(DISTFILES); do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
$(mkinstalldirs) "$(distdir)/$$dir"; \
fi; \
if test -d $$d/$$file; then \
cp -pR $$d/$$file $(distdir) \
|| exit 1; \
else \
test -f $(distdir)/$$file \
|| cp -p $$d/$$file $(distdir)/$$file \
|| exit 1; \
fi; \
done
$(MAKE) $(AM_MAKEFLAGS) \
top_distdir="${top_distdir}" distdir="$(distdir)" \
dist-info
check-am: all-am
check: check-am
all-am: Makefile $(INFO_DEPS) $(MANS)
installdirs:
$(mkinstalldirs) $(DESTDIR)$(infodir) $(DESTDIR)$(man1dir)
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-am
clean-am: clean-generic mostlyclean-am
distclean: distclean-am
distclean-am: clean-am distclean-generic
dvi: dvi-am
dvi-am: $(DVIS)
info: info-am
info-am: $(INFO_DEPS)
install-data-am: install-info-am install-man
install-exec-am:
install-info: install-info-am
install-info-am: $(INFO_DEPS)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(infodir)
@list='$(INFO_DEPS)'; \
for file in $$list; do \
d=$(srcdir); \
for ifile in `CDPATH=: && cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
if test -f $$d/$$ifile; then \
echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
$(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
else : ; fi; \
done; \
done
@$(POST_INSTALL)
@if (install-info --version && \
install-info --version | fgrep -i -v debian) >/dev/null 2>&1; then \
list='$(INFO_DEPS)'; \
for file in $$list; do \
echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
done; \
else : ; fi
install-man: install-man1
installcheck-am:
maintainer-clean: maintainer-clean-am
maintainer-clean-am: distclean-am maintainer-clean-aminfo \
maintainer-clean-generic maintainer-clean-vti
mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-aminfo mostlyclean-generic mostlyclean-vti
uninstall-am: uninstall-info-am uninstall-man
uninstall-man: uninstall-man1
.PHONY: all all-am check check-am clean clean-generic dist-info \
distclean distclean-generic distdir dvi dvi-am info info-am \
install install-am install-data install-data-am install-exec \
install-exec-am install-info install-info-am install-man \
install-man1 install-strip installcheck installcheck-am \
installdirs maintainer-clean maintainer-clean-aminfo \
maintainer-clean-generic maintainer-clean-vti mostlyclean \
mostlyclean-aminfo mostlyclean-generic mostlyclean-vti \
uninstall uninstall-am uninstall-info-am uninstall-man \
uninstall-man1
fgrep.1: fgrep.man
inst=`echo "grep" | sed '$(transform)'`.1; \
sed -e "s%@grep@%$$inst%g" $(srcdir)/fgrep.man > $@
egrep.1: egrep.man
inst=`echo "grep" | sed '$(transform)'`.1; \
sed -e "s%@grep@%$$inst%g" $(srcdir)/egrep.man > $@
# 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.
.NOEXPORT:

View File

@ -87,8 +87,6 @@ POFILES = @POFILES@
POSUB = @POSUB@
RANLIB = @RANLIB@
SEP = @SEP@
SYMLINK = @SYMLINK@
SYMLINKFROM = @SYMLINKFROM@
U = @U@
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
USE_NLS = @USE_NLS@

View File

@ -1 +0,0 @@
.so man1/grep.1

View File

@ -1 +0,0 @@
.so man1/grep.1

View File

@ -12,7 +12,7 @@
.de Id
.ds Dt \\$4
..
.Id $Id: grep.1,v 1.1 2004/03/02 02:37:05 michaelphipps Exp $
.Id $Id: grep.1,v 1.2 2004/06/30 20:42:54 korli Exp $
.TH GREP 1 \*(Dt "GNU Project"
.SH NAME
grep, egrep, fgrep \- print lines matching a pattern

View File

@ -1,4 +1,4 @@
@set UPDATED 22 January 2002
@set UPDATED-MONTH January 2002
@set EDITION 2.5
@set VERSION 2.5
@set EDITION 2.5.1
@set VERSION 2.5.1

View File

@ -1,4 +1,4 @@
@set UPDATED 22 January 2002
@set UPDATED-MONTH January 2002
@set EDITION 2.5
@set VERSION 2.5
@set EDITION 2.5.1
@set VERSION 2.5.1

View File

@ -2,7 +2,7 @@
%define rel 1
Summary: The GNU versions of grep pattern matching utilities.
Name: grep
Version: 2.5
Version: 2.5.1
%if "%{beta}" != ""
Release: 0.%{beta}.%{rel}
%else
@ -70,6 +70,9 @@ fi
%{_mandir}/*/*
%changelog
* Tue Mar 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 2.5.1-1
- 2.5.1
* Wed Mar 13 2002 Bernhard Rosenkraenzer <bero@redhat.com> 2.5-1
- 2.5 final

View File

@ -1,337 +0,0 @@
# Makefile for directory with message catalog handling in GNU NLS Utilities.
# Copyright (C) 1995-1998, 2000-2002 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU Library General Public License as published
# by the Free Software Foundation; either version 2, 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
# Library General Public License for more details.
#
# You should have received a copy of the GNU Library 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.
PACKAGE = grep
VERSION = 2.5
SHELL = /bin/sh
srcdir = .
top_srcdir = ..
top_builddir = ..
prefix = /usr/local
exec_prefix = ${prefix}
transform = s,x,x,
libdir = ${exec_prefix}/lib
includedir = ${prefix}/include
datadir = ${prefix}/share
localedir = $(datadir)/locale
gettextsrcdir = $(datadir)/gettext/intl
aliaspath = $(localedir)
subdir = intl
INSTALL = /bin/install -c
INSTALL_DATA = ${INSTALL} -m 644
MKINSTALLDIRS = ./mkinstalldirs
mkinstalldirs = $(SHELL) `case "$(MKINSTALLDIRS)" in /*) echo "$(MKINSTALLDIRS)" ;; *) echo "$(top_builddir)/$(MKINSTALLDIRS)" ;; esac`
l =
AR = ar
CC = gcc
LIBTOOL = @LIBTOOL@
RANLIB = ranlib
YACC = bison -y -d
YFLAGS = --name-prefix=__gettext
DEFS = -DLOCALEDIR=\"$(localedir)\" -DLOCALE_ALIAS_PATH=\"$(aliaspath)\" \
-DLIBDIR=\"$(libdir)\" -DIN_LIBINTL -DHAVE_CONFIG_H
CPPFLAGS =
CFLAGS = -g -O2
LDFLAGS =
COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS)
HEADERS = $(COMHDRS) libgnuintl.h loadinfo.h
COMHDRS = gmo.h gettextP.h hash-string.h plural-exp.h eval-plural.h os2compat.h
SOURCES = $(COMSRCS) intl-compat.c
COMSRCS = bindtextdom.c dcgettext.c dgettext.c gettext.c \
finddomain.c loadmsgcat.c localealias.c textdomain.c l10nflist.c \
explodename.c dcigettext.c dcngettext.c dngettext.c ngettext.c plural.y \
plural-exp.c localcharset.c localename.c osdep.c os2compat.c
OBJECTS = $(GETTOBJS) bindtextdom.$lo dcgettext.$lo dgettext.$lo gettext.$lo \
finddomain.$lo loadmsgcat.$lo localealias.$lo textdomain.$lo l10nflist.$lo \
explodename.$lo dcigettext.$lo dcngettext.$lo dngettext.$lo ngettext.$lo \
plural.$lo plural-exp.$lo localcharset.$lo localename.$lo osdep.$lo
GETTOBJS = intl-compat.$lo
DISTFILES.common = Makefile.in \
config.charset locale.alias ref-add.sin ref-del.sin $(HEADERS) $(SOURCES)
DISTFILES.generated = plural.c
DISTFILES.normal = VERSION
DISTFILES.gettext = COPYING.LIB-2.0 COPYING.LIB-2.1 libintl.glibc
DISTFILES.obsolete = xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c \
COPYING.LIB-2 gettext.h libgettext.h plural-eval.c
# Libtool's library version information for libintl.
# Before making a gettext release, the gettext maintainer must change this
# according to the libtool documentation, section "Library interface versions".
# Maintainers of other packages that include the intl directory must *not*
# change these values.
LTV_CURRENT=2
LTV_REVISION=0
LTV_AGE=0
.SUFFIXES:
.SUFFIXES: .c .y .o .lo .sin .sed
.c.o:
$(COMPILE) $<
.c.lo:
$(LIBTOOL) --mode=compile $(COMPILE) $<
.y.c:
$(YACC) $(YFLAGS) --output $@ $<
rm -f $*.h
.sin.sed:
sed -e '/^#/d' -e 's/@''PACKAGE''@/grep/g' $< > t-$@
mv t-$@ $@
INCLUDES = -I.. -I. -I$(top_srcdir)/intl
all: all-yes
all-yes: libintl.$la libintl.h charset.alias ref-add.sed ref-del.sed
all-no: all-no-yes
all-no-yes: libgnuintl.$la
all-no-no:
libintl.a libgnuintl.a: $(OBJECTS)
rm -f $@
$(AR) cru $@ $(OBJECTS)
$(RANLIB) $@
libintl.la libgnuintl.la: $(OBJECTS)
$(LIBTOOL) --mode=link \
$(CC) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) $(LDFLAGS) -o $@ \
$(OBJECTS) @LTLIBICONV@ -lc \
-version-info $(LTV_CURRENT):$(LTV_REVISION):$(LTV_AGE) \
-rpath $(libdir) \
-no-undefined
libintl.h: libgnuintl.h
cp $(srcdir)/libgnuintl.h libintl.h
charset.alias: config.charset
$(SHELL) $(srcdir)/config.charset 'i586-pc-beos' > t-$@
mv t-$@ $@
check: all
# This installation goal is only used in GNU gettext. Packages which
# only use the library should use install instead.
# We must not install the libintl.h/libintl.a files if we are on a
# system which has the GNU gettext() function in its C library or in a
# separate library.
# If you want to use the one which comes with this version of the
# package, you have to use `configure --with-included-gettext'.
install: install-exec install-data
install-exec: all
if test "$(PACKAGE)" = "gettext" \
&& test '$(GETTOBJS)' = '$(GETTOBJS)'; then \
$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir); \
$(INSTALL_DATA) libintl.h $(DESTDIR)$(includedir)/libintl.h; \
$(LIBTOOL) --mode=install \
$(INSTALL_DATA) libintl.$la $(DESTDIR)$(libdir)/libintl.$la; \
else \
: ; \
fi
if test 'yes' = yes; then \
test no != no || $(mkinstalldirs) $(DESTDIR)$(libdir); \
temp=$(DESTDIR)$(libdir)/t-charset.alias; \
dest=$(DESTDIR)$(libdir)/charset.alias; \
if test -f $(DESTDIR)$(libdir)/charset.alias; then \
orig=$(DESTDIR)$(libdir)/charset.alias; \
sed -f ref-add.sed $$orig > $$temp; \
$(INSTALL_DATA) $$temp $$dest; \
rm -f $$temp; \
else \
if test no = no; then \
orig=charset.alias; \
sed -f ref-add.sed $$orig > $$temp; \
$(INSTALL_DATA) $$temp $$dest; \
rm -f $$temp; \
fi; \
fi; \
$(mkinstalldirs) $(DESTDIR)$(localedir); \
test -f $(DESTDIR)$(localedir)/locale.alias \
&& orig=$(DESTDIR)$(localedir)/locale.alias \
|| orig=$(srcdir)/locale.alias; \
temp=$(DESTDIR)$(localedir)/t-locale.alias; \
dest=$(DESTDIR)$(localedir)/locale.alias; \
sed -f ref-add.sed $$orig > $$temp; \
$(INSTALL_DATA) $$temp $$dest; \
rm -f $$temp; \
else \
: ; \
fi
install-data: all
if test "$(PACKAGE)" = "gettext"; then \
$(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \
$(INSTALL_DATA) VERSION $(DESTDIR)$(gettextsrcdir)/VERSION; \
$(INSTALL_DATA) ChangeLog.inst $(DESTDIR)$(gettextsrcdir)/ChangeLog; \
dists="COPYING.LIB-2.0 COPYING.LIB-2.1 $(DISTFILES.common)"; \
for file in $$dists; do \
$(INSTALL_DATA) $(srcdir)/$$file \
$(DESTDIR)$(gettextsrcdir)/$$file; \
done; \
chmod a+x $(DESTDIR)$(gettextsrcdir)/config.charset; \
dists="$(DISTFILES.generated)"; \
for file in $$dists; do \
if test -f $$file; then dir=.; else dir=$(srcdir); fi; \
$(INSTALL_DATA) $$dir/$$file \
$(DESTDIR)$(gettextsrcdir)/$$file; \
done; \
dists="$(DISTFILES.obsolete)"; \
for file in $$dists; do \
rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
done; \
else \
: ; \
fi
install-strip: install
installdirs:
if test "$(PACKAGE)" = "gettext" \
&& test '$(GETTOBJS)' = '$(GETTOBJS)'; then \
$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir); \
else \
: ; \
fi
if test 'yes' = yes; then \
test no != no || $(mkinstalldirs) $(DESTDIR)$(libdir); \
$(mkinstalldirs) $(DESTDIR)$(localedir); \
else \
: ; \
fi
if test "$(PACKAGE)" = "gettext"; then \
$(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \
else \
: ; \
fi
# Define this as empty until I found a useful application.
installcheck:
uninstall:
if test "$(PACKAGE)" = "gettext" \
&& test '$(GETTOBJS)' = '$(GETTOBJS)'; then \
rm -f $(DESTDIR)$(includedir)/libintl.h; \
$(LIBTOOL) --mode=uninstall \
rm -f $(DESTDIR)$(libdir)/libintl.$la; \
else \
: ; \
fi
if test 'yes' = yes; then \
if test -f $(DESTDIR)$(libdir)/charset.alias; then \
temp=$(DESTDIR)$(libdir)/t-charset.alias; \
dest=$(DESTDIR)$(libdir)/charset.alias; \
sed -f ref-del.sed $$dest > $$temp; \
if grep '^# Packages using this file: $$' $$temp > /dev/null; then \
rm -f $$dest; \
else \
$(INSTALL_DATA) $$temp $$dest; \
fi; \
rm -f $$temp; \
fi; \
if test -f $(DESTDIR)$(localedir)/locale.alias; then \
temp=$(DESTDIR)$(localedir)/t-locale.alias; \
dest=$(DESTDIR)$(localedir)/locale.alias; \
sed -f ref-del.sed $$dest > $$temp; \
if grep '^# Packages using this file: $$' $$temp > /dev/null; then \
rm -f $$dest; \
else \
$(INSTALL_DATA) $$temp $$dest; \
fi; \
rm -f $$temp; \
fi; \
else \
: ; \
fi
if test "$(PACKAGE)" = "gettext"; then \
for file in VERSION ChangeLog COPYING.LIB-2.0 COPYING.LIB-2.1 $(DISTFILES.common) $(DISTFILES.generated); do \
rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
done; \
else \
: ; \
fi
info dvi:
$(OBJECTS): ../config.h libgnuintl.h
bindtextdom.$lo dcgettext.$lo dcigettext.$lo dcngettext.$lo dgettext.$lo dngettext.$lo finddomain.$lo gettext.$lo intl-compat.$lo loadmsgcat.$lo localealias.$lo ngettext.$lo textdomain.$lo: gettextP.h gmo.h loadinfo.h
dcigettext.$lo: hash-string.h
explodename.$lo l10nflist.$lo: loadinfo.h
dcigettext.$lo loadmsgcat.$lo plural.$lo plural-exp.$lo: plural-exp.h
dcigettext.$lo: eval-plural.h
tags: TAGS
TAGS: $(HEADERS) $(SOURCES)
here=`pwd`; cd $(srcdir) && etags -o $$here/TAGS $(HEADERS) $(SOURCES)
id: ID
ID: $(HEADERS) $(SOURCES)
here=`pwd`; cd $(srcdir) && mkid -f$$here/ID $(HEADERS) $(SOURCES)
mostlyclean:
rm -f *.a *.la *.o *.lo core core.*
rm -f libintl.h charset.alias ref-add.sed ref-del.sed
rm -f -r .libs _libs
clean: mostlyclean
distclean: clean
rm -f Makefile ID TAGS
if test "$(PACKAGE)" = gettext; then \
rm -f ChangeLog.inst $(DISTFILES.normal); \
else \
: ; \
fi
maintainer-clean: distclean
@echo "This command is intended for maintainers to use;"
@echo "it deletes files that may require special tools to rebuild."
# GNU gettext needs not contain the file `VERSION' but contains some
# other files which should not be distributed in other packages.
distdir = ../$(PACKAGE)-$(VERSION)/$(subdir)
dist distdir: Makefile
if test "$(PACKAGE)" = gettext; then \
additional="$(DISTFILES.gettext)"; \
else \
additional="$(DISTFILES.normal)"; \
fi; \
$(MAKE) $(DISTFILES.common) $(DISTFILES.generated) $$additional; \
for file in ChangeLog $(DISTFILES.common) $(DISTFILES.generated) $$additional; do \
if test -f $$file; then dir=.; else dir=$(srcdir); fi; \
cp -p $$dir/$$file $(distdir); \
done
Makefile: Makefile.in ../config.status
cd .. \
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
# Tell versions [3.59,3.63) of GNU make not to export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

View File

@ -0,0 +1 @@
GNU gettext library from gettext-0.10.35

View File

@ -1,5 +0,0 @@
# This file contains a table of character encoding aliases,
# suitable for operating system 'beos'.
# It was automatically generated from config.charset.
# Packages using this file:
* UTF-8

View File

@ -1,137 +0,0 @@
/* Message catalogs for internationalization.
Copyright (C) 1995-1997, 2000, 2001 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published
by the Free Software Foundation; either version 2, 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
Library General Public License for more details.
You should have received a copy of the GNU Library 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. */
#ifndef _LIBINTL_H
#define _LIBINTL_H 1
#include <locale.h>
/* The LC_MESSAGES locale category is the category used by the functions
gettext() and dgettext(). It is specified in POSIX, but not in ANSI C.
On systems that don't define it, use an arbitrary value instead.
On Solaris, <locale.h> defines __LOCALE_H then includes <libintl.h> (i.e.
this file!) and then only defines LC_MESSAGES. To avoid a redefinition
warning, don't define LC_MESSAGES in this case. */
#if !defined LC_MESSAGES && !defined __LOCALE_H
# define LC_MESSAGES 1729
#endif
/* We define an additional symbol to signal that we use the GNU
implementation of gettext. */
#define __USE_GNU_GETTEXT 1
/* Resolve a platform specific conflict on DJGPP. GNU gettext takes
precedence over _conio_gettext. */
#ifdef __DJGPP__
# undef gettext
# define gettext gettext
#endif
/* Use _INTL_PARAMS, not PARAMS, in order to avoid clashes with identifiers
used by programs. Similarly, test __PROTOTYPES, not PROTOTYPES. */
#ifndef _INTL_PARAMS
# if __STDC__ || defined __GNUC__ || defined __SUNPRO_C || defined __cplusplus || __PROTOTYPES
# define _INTL_PARAMS(args) args
# else
# define _INTL_PARAMS(args) ()
# endif
#endif
#ifdef __cplusplus
extern "C" {
#endif
/* Look up MSGID in the current default message catalog for the current
LC_MESSAGES locale. If not found, returns MSGID itself (the default
text). */
extern char *gettext _INTL_PARAMS ((const char *__msgid));
/* Look up MSGID in the DOMAINNAME message catalog for the current
LC_MESSAGES locale. */
extern char *dgettext _INTL_PARAMS ((const char *__domainname,
const char *__msgid));
/* Look up MSGID in the DOMAINNAME message catalog for the current CATEGORY
locale. */
extern char *dcgettext _INTL_PARAMS ((const char *__domainname,
const char *__msgid,
int __category));
/* Similar to `gettext' but select the plural form corresponding to the
number N. */
extern char *ngettext _INTL_PARAMS ((const char *__msgid1,
const char *__msgid2,
unsigned long int __n));
/* Similar to `dgettext' but select the plural form corresponding to the
number N. */
extern char *dngettext _INTL_PARAMS ((const char *__domainname,
const char *__msgid1,
const char *__msgid2,
unsigned long int __n));
/* Similar to `dcgettext' but select the plural form corresponding to the
number N. */
extern char *dcngettext _INTL_PARAMS ((const char *__domainname,
const char *__msgid1,
const char *__msgid2,
unsigned long int __n,
int __category));
/* Set the current default message catalog to DOMAINNAME.
If DOMAINNAME is null, return the current default.
If DOMAINNAME is "", reset to the default of "messages". */
extern char *textdomain _INTL_PARAMS ((const char *__domainname));
/* Specify that the DOMAINNAME message catalog will be found
in DIRNAME rather than in the system locale data base. */
extern char *bindtextdomain _INTL_PARAMS ((const char *__domainname,
const char *__dirname));
/* Specify the character encoding in which the messages from the
DOMAINNAME message catalog will be returned. */
extern char *bind_textdomain_codeset _INTL_PARAMS ((const char *__domainname,
const char *__codeset));
/* Optimized version of the functions above. */
#if defined __OPTIMIZED
/* These are macros, but could also be inline functions. */
# define gettext(msgid) \
dgettext (NULL, msgid)
# define dgettext(domainname, msgid) \
dcgettext (domainname, msgid, LC_MESSAGES)
# define ngettext(msgid1, msgid2, n) \
dngettext (NULL, msgid1, msgid2, n)
# define dngettext(domainname, msgid1, msgid2, n) \
dcngettext (domainname, msgid1, msgid2, n, LC_MESSAGES)
#endif /* Optimizing. */
#ifdef __cplusplus
}
#endif
#endif /* libintl.h */

View File

@ -1,10 +0,0 @@
/^# Packages using this file: / {
s/# Packages using this file://
ta
:a
s/ grep / grep /
tb
s/ $/ grep /
:b
s/^/# Packages using this file:/
}

View File

@ -1,5 +0,0 @@
/^# Packages using this file: / {
s/# Packages using this file://
s/ grep / /
s/^/# Packages using this file:/
}

View File

@ -1,31 +1,18 @@
SubDir OBOS_TOP src apps bin grep-2.5 lib ;
SubDirCcFlags -DHAVE_CONFIG_H ;
SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) ] ;
StaticLibrary greputils :
# alloca.c
# atexit.c
StaticLibrary grep :
closeout.c
error.c
exclude.c
fnmatch.c
getopt.c
getopt1.c
hard-locale.c
isdir.c
malloc.c
memchr.c
obstack.c
quotearg.c
realloc.c
regex.c
savedir.c
stpcpy.c
strtol.c
strtoul.c
strtoull.c
strtoumax.c
xmalloc.c
xstrtol.c
xstrtoumax.c

View File

@ -1,516 +0,0 @@
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
# Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
#
SHELL = /bin/sh
srcdir = .
top_srcdir = ..
prefix = /usr/local
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin
sbindir = ${exec_prefix}/sbin
libexecdir = ${exec_prefix}/libexec
datadir = ${prefix}/share
sysconfdir = ${prefix}/etc
sharedstatedir = ${prefix}/com
localstatedir = ${prefix}/var
libdir = ${exec_prefix}/lib
infodir = ${prefix}/info
mandir = ${prefix}/man
includedir = ${prefix}/include
oldincludedir = /usr/include
pkgdatadir = $(datadir)/grep
pkglibdir = $(libdir)/grep
pkgincludedir = $(includedir)/grep
top_builddir = ..
ACLOCAL = ${SHELL} /boot/home/Development/current/src/apps/bin/grep-2.5/missing --run aclocal
AUTOCONF = ${SHELL} /boot/home/Development/current/src/apps/bin/grep-2.5/missing --run autoconf
AUTOMAKE = ${SHELL} /boot/home/Development/current/src/apps/bin/grep-2.5/missing --run automake
AUTOHEADER = ${SHELL} /boot/home/Development/current/src/apps/bin/grep-2.5/missing --run autoheader
INSTALL = /bin/install -c
INSTALL_PROGRAM = ${INSTALL}
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_SCRIPT = ${INSTALL}
INSTALL_HEADER = $(INSTALL_DATA)
transform = s,x,x,
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias =
host_triplet = i586-pc-beos
AMTAR = ${SHELL} /boot/home/Development/current/src/apps/bin/grep-2.5/missing --run tar
AWK = gawk
BUILD_INCLUDED_LIBINTL = yes
CATALOGS = cs.gmo de.gmo el.gmo eo.gmo es.gmo et.gmo fr.gmo gl.gmo hr.gmo id.gmo it.gmo ja.gmo ko.gmo nl.gmo no.gmo pl.gmo pt_BR.gmo ru.gmo sl.gmo sv.gmo
CATOBJEXT = .gmo
CC = gcc
CPP = gcc -E
DATADIRNAME = share
DEPDIR = .deps
EXEEXT =
GENCAT = gencat
GETCONF =
GLIBC21 = no
GMOFILES = cs.gmo de.gmo el.gmo eo.gmo es.gmo et.gmo fr.gmo gl.gmo hr.gmo id.gmo it.gmo ja.gmo ko.gmo nl.gmo no.gmo pl.gmo pt_BR.gmo ru.gmo sl.gmo sv.gmo
GMSGFMT = :
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
INSTOBJEXT = .mo
INTLBISON = bison
INTLLIBS = $(top_builddir)/intl/libintl.a
INTLOBJS = $(GETTOBJS)
INTL_LIBTOOL_SUFFIX_PREFIX =
LIBICONV =
MKINSTALLDIRS = ./mkinstalldirs
MSGFMT = :
OBJEXT = o
PACKAGE = grep
POFILES = cs.po de.po el.po eo.po es.po et.po fr.po gl.po hr.po id.po it.po ja.po ko.po nl.po no.po pl.po pt_BR.po ru.po sl.po sv.po
POSUB = po
RANLIB = ranlib
SEP = :
SYMLINK = ln -s
SYMLINKFROM = grep
U =
USE_INCLUDED_LIBINTL = yes
USE_NLS = yes
VERSION = 2.5
am__include = include
am__quote =
install_sh = /boot/home/Development/current/src/apps/bin/grep-2.5/install-sh
AUTOMAKE_OPTIONS = ../src/ansi2knr
SUBDIRS = posix
noinst_LIBRARIES = libgreputils.a
INCLUDES = -I.. -I$(srcdir) -I../intl
DEFS = -DLIBDIR=\"$(libdir)\" -DHAVE_CONFIG_H
libgreputils_a_SOURCES = \
closeout.c error.c exclude.c hard-locale.c \
isdir.c obstack.c quotearg.c savedir.c xmalloc.c xstrtol.c xstrtoumax.c
libgreputils_a_LIBADD =
noinst_HEADERS = \
closeout.h error.h exclude.h fnmatch.h getopt.h \
hard-locale.h obstack.h quotearg.h regex.h savedir.h xalloc.h xstrtol.h
EXTRA_DIST = strtol.c malloc.c realloc.c
subdir = lib
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
LIBRARIES = $(noinst_LIBRARIES)
libgreputils_a_AR = $(AR) cru
libgreputils_a_DEPENDENCIES =
am_libgreputils_a_OBJECTS = closeout$U.$(OBJEXT) error$U.$(OBJEXT) \
exclude$U.$(OBJEXT) hard-locale$U.$(OBJEXT) isdir$U.$(OBJEXT) \
obstack$U.$(OBJEXT) quotearg$U.$(OBJEXT) savedir$U.$(OBJEXT) \
xmalloc$U.$(OBJEXT) xstrtol$U.$(OBJEXT) xstrtoumax$U.$(OBJEXT)
libgreputils_a_OBJECTS = $(am_libgreputils_a_OBJECTS)
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
CPPFLAGS =
LDFLAGS =
LIBS =
depcomp = $(SHELL) $(top_srcdir)/depcomp
DEP_FILES = $(DEPDIR)/alloca.Po $(DEPDIR)/atexit.Po \
$(DEPDIR)/closeout$U.Po $(DEPDIR)/error$U.Po \
$(DEPDIR)/exclude$U.Po $(DEPDIR)/fnmatch.Po \
$(DEPDIR)/getopt.Po $(DEPDIR)/getopt1.Po \
$(DEPDIR)/hard-locale$U.Po $(DEPDIR)/isdir$U.Po \
$(DEPDIR)/malloc.Po $(DEPDIR)/memchr.Po \
$(DEPDIR)/obstack$U.Po $(DEPDIR)/quotearg$U.Po \
$(DEPDIR)/realloc.Po $(DEPDIR)/regex.Po \
$(DEPDIR)/savedir$U.Po $(DEPDIR)/stpcpy.Po \
$(DEPDIR)/strtoul.Po $(DEPDIR)/strtoull.Po \
$(DEPDIR)/strtoumax.Po $(DEPDIR)/xmalloc$U.Po \
$(DEPDIR)/xstrtol$U.Po $(DEPDIR)/xstrtoumax$U.Po
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
CFLAGS = -g -O2
DIST_SOURCES = $(libgreputils_a_SOURCES)
HEADERS = $(noinst_HEADERS)
RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
uninstall-info-recursive all-recursive install-data-recursive \
install-exec-recursive installdirs-recursive install-recursive \
uninstall-recursive check-recursive installcheck-recursive
DIST_COMMON = $(noinst_HEADERS) Makefile.am Makefile.in alloca.c \
atexit.c fnmatch.c getopt.c getopt1.c malloc.c memchr.c \
realloc.c regex.c stpcpy.c strtoul.c strtoull.c strtoumax.c
DIST_SUBDIRS = $(SUBDIRS)
SOURCES = $(libgreputils_a_SOURCES)
all: all-recursive
.SUFFIXES:
.SUFFIXES: .c .o .obj
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu lib/Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) && \
CONFIG_HEADERS= CONFIG_LINKS= \
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
AR = ar
clean-noinstLIBRARIES:
-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
libgreputils.a: $(libgreputils_a_OBJECTS) $(libgreputils_a_DEPENDENCIES)
-rm -f libgreputils.a
$(libgreputils_a_AR) libgreputils.a $(libgreputils_a_OBJECTS) $(libgreputils_a_LIBADD)
$(RANLIB) libgreputils.a
mostlyclean-compile:
-rm -f *.$(OBJEXT) core *.core
distclean-compile:
-rm -f *.tab.c
ANSI2KNR = ../src/ansi2knr
../src/ansi2knr:
cd ../src && $(MAKE) $(AM_MAKEFLAGS) ansi2knr
mostlyclean-kr:
-rm -f *_.c
include $(DEPDIR)/alloca.Po
include $(DEPDIR)/atexit.Po
include $(DEPDIR)/closeout$U.Po
include $(DEPDIR)/error$U.Po
include $(DEPDIR)/exclude$U.Po
include $(DEPDIR)/fnmatch.Po
include $(DEPDIR)/getopt.Po
include $(DEPDIR)/getopt1.Po
include $(DEPDIR)/hard-locale$U.Po
include $(DEPDIR)/isdir$U.Po
include $(DEPDIR)/malloc.Po
include $(DEPDIR)/memchr.Po
include $(DEPDIR)/obstack$U.Po
include $(DEPDIR)/quotearg$U.Po
include $(DEPDIR)/realloc.Po
include $(DEPDIR)/regex.Po
include $(DEPDIR)/savedir$U.Po
include $(DEPDIR)/stpcpy.Po
include $(DEPDIR)/strtoul.Po
include $(DEPDIR)/strtoull.Po
include $(DEPDIR)/strtoumax.Po
include $(DEPDIR)/xmalloc$U.Po
include $(DEPDIR)/xstrtol$U.Po
include $(DEPDIR)/xstrtoumax$U.Po
distclean-depend:
-rm -rf $(DEPDIR)
.c.o:
source='$<' object='$@' libtool=no \
depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \
$(CCDEPMODE) $(depcomp) \
$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
.c.obj:
source='$<' object='$@' libtool=no \
depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \
$(CCDEPMODE) $(depcomp) \
$(COMPILE) -c `cygpath -w $<`
CCDEPMODE = depmode=gcc
alloca_.c: alloca.c $(ANSI2KNR)
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/alloca.c; then echo $(srcdir)/alloca.c; else echo alloca.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > alloca_.c || rm -f alloca_.c
atexit_.c: atexit.c $(ANSI2KNR)
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/atexit.c; then echo $(srcdir)/atexit.c; else echo atexit.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > atexit_.c || rm -f atexit_.c
closeout_.c: closeout.c $(ANSI2KNR)
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/closeout.c; then echo $(srcdir)/closeout.c; else echo closeout.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > closeout_.c || rm -f closeout_.c
error_.c: error.c $(ANSI2KNR)
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/error.c; then echo $(srcdir)/error.c; else echo error.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > error_.c || rm -f error_.c
exclude_.c: exclude.c $(ANSI2KNR)
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/exclude.c; then echo $(srcdir)/exclude.c; else echo exclude.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > exclude_.c || rm -f exclude_.c
fnmatch_.c: fnmatch.c $(ANSI2KNR)
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/fnmatch.c; then echo $(srcdir)/fnmatch.c; else echo fnmatch.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > fnmatch_.c || rm -f fnmatch_.c
getopt_.c: getopt.c $(ANSI2KNR)
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/getopt.c; then echo $(srcdir)/getopt.c; else echo getopt.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > getopt_.c || rm -f getopt_.c
getopt1_.c: getopt1.c $(ANSI2KNR)
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/getopt1.c; then echo $(srcdir)/getopt1.c; else echo getopt1.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > getopt1_.c || rm -f getopt1_.c
hard-locale_.c: hard-locale.c $(ANSI2KNR)
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/hard-locale.c; then echo $(srcdir)/hard-locale.c; else echo hard-locale.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > hard-locale_.c || rm -f hard-locale_.c
isdir_.c: isdir.c $(ANSI2KNR)
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/isdir.c; then echo $(srcdir)/isdir.c; else echo isdir.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > isdir_.c || rm -f isdir_.c
malloc_.c: malloc.c $(ANSI2KNR)
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/malloc.c; then echo $(srcdir)/malloc.c; else echo malloc.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > malloc_.c || rm -f malloc_.c
memchr_.c: memchr.c $(ANSI2KNR)
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/memchr.c; then echo $(srcdir)/memchr.c; else echo memchr.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > memchr_.c || rm -f memchr_.c
obstack_.c: obstack.c $(ANSI2KNR)
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/obstack.c; then echo $(srcdir)/obstack.c; else echo obstack.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > obstack_.c || rm -f obstack_.c
quotearg_.c: quotearg.c $(ANSI2KNR)
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/quotearg.c; then echo $(srcdir)/quotearg.c; else echo quotearg.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > quotearg_.c || rm -f quotearg_.c
realloc_.c: realloc.c $(ANSI2KNR)
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/realloc.c; then echo $(srcdir)/realloc.c; else echo realloc.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > realloc_.c || rm -f realloc_.c
regex_.c: regex.c $(ANSI2KNR)
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/regex.c; then echo $(srcdir)/regex.c; else echo regex.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > regex_.c || rm -f regex_.c
savedir_.c: savedir.c $(ANSI2KNR)
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/savedir.c; then echo $(srcdir)/savedir.c; else echo savedir.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > savedir_.c || rm -f savedir_.c
stpcpy_.c: stpcpy.c $(ANSI2KNR)
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/stpcpy.c; then echo $(srcdir)/stpcpy.c; else echo stpcpy.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > stpcpy_.c || rm -f stpcpy_.c
strtoul_.c: strtoul.c $(ANSI2KNR)
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/strtoul.c; then echo $(srcdir)/strtoul.c; else echo strtoul.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > strtoul_.c || rm -f strtoul_.c
strtoull_.c: strtoull.c $(ANSI2KNR)
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/strtoull.c; then echo $(srcdir)/strtoull.c; else echo strtoull.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > strtoull_.c || rm -f strtoull_.c
strtoumax_.c: strtoumax.c $(ANSI2KNR)
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/strtoumax.c; then echo $(srcdir)/strtoumax.c; else echo strtoumax.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > strtoumax_.c || rm -f strtoumax_.c
xmalloc_.c: xmalloc.c $(ANSI2KNR)
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/xmalloc.c; then echo $(srcdir)/xmalloc.c; else echo xmalloc.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > xmalloc_.c || rm -f xmalloc_.c
xstrtol_.c: xstrtol.c $(ANSI2KNR)
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/xstrtol.c; then echo $(srcdir)/xstrtol.c; else echo xstrtol.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > xstrtol_.c || rm -f xstrtol_.c
xstrtoumax_.c: xstrtoumax.c $(ANSI2KNR)
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/xstrtoumax.c; then echo $(srcdir)/xstrtoumax.c; else echo xstrtoumax.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > xstrtoumax_.c || rm -f xstrtoumax_.c
alloca_.$(OBJEXT) atexit_.$(OBJEXT) closeout_.$(OBJEXT) \
error_.$(OBJEXT) exclude_.$(OBJEXT) fnmatch_.$(OBJEXT) \
getopt_.$(OBJEXT) getopt1_.$(OBJEXT) hard-locale_.$(OBJEXT) \
isdir_.$(OBJEXT) malloc_.$(OBJEXT) memchr_.$(OBJEXT) obstack_.$(OBJEXT) \
quotearg_.$(OBJEXT) realloc_.$(OBJEXT) regex_.$(OBJEXT) \
savedir_.$(OBJEXT) stpcpy_.$(OBJEXT) strtoul_.$(OBJEXT) \
strtoull_.$(OBJEXT) strtoumax_.$(OBJEXT) xmalloc_.$(OBJEXT) \
xstrtol_.$(OBJEXT) xstrtoumax_.$(OBJEXT) : $(ANSI2KNR)
uninstall-info-am:
# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
# To change the values of `make' variables: instead of editing Makefiles,
# (1) if the variable is set in `config.status', edit `config.status'
# (which will cause the Makefiles to be regenerated when you run `make');
# (2) otherwise, pass the desired values on the `make' command line.
$(RECURSIVE_TARGETS):
@set fnord $(MAKEFLAGS); amf=$$2; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
list='$(SUBDIRS)'; for subdir in $$list; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
dot_seen=yes; \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done; \
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
mostlyclean-recursive clean-recursive distclean-recursive \
maintainer-clean-recursive:
@set fnord $(MAKEFLAGS); amf=$$2; \
dot_seen=no; \
case "$@" in \
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
*) list='$(SUBDIRS)' ;; \
esac; \
rev=''; for subdir in $$list; do \
if test "$$subdir" = "."; then :; else \
rev="$$subdir $$rev"; \
fi; \
done; \
rev="$$rev ."; \
target=`echo $@ | sed s/-recursive//`; \
for subdir in $$rev; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done && test -z "$$fail"
tags-recursive:
list='$(SUBDIRS)'; for subdir in $$list; do \
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
done
tags: TAGS
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
mkid -fID $$unique $(LISP)
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
list='$(SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
fi; \
done; \
list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|| etags $(ETAGS_ARGS) $$tags $$unique $(LISP)
GTAGS:
here=`CDPATH=: && cd $(top_builddir) && pwd` \
&& cd $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) $$here
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
top_distdir = ..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES)
@for file in $(DISTFILES); do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
$(mkinstalldirs) "$(distdir)/$$dir"; \
fi; \
if test -d $$d/$$file; then \
cp -pR $$d/$$file $(distdir) \
|| exit 1; \
else \
test -f $(distdir)/$$file \
|| cp -p $$d/$$file $(distdir)/$$file \
|| exit 1; \
fi; \
done
for subdir in $(SUBDIRS); do \
if test "$$subdir" = .; then :; else \
test -d $(distdir)/$$subdir \
|| mkdir $(distdir)/$$subdir \
|| exit 1; \
(cd $$subdir && \
$(MAKE) $(AM_MAKEFLAGS) \
top_distdir="$(top_distdir)" \
distdir=../$(distdir)/$$subdir \
distdir) \
|| exit 1; \
fi; \
done
check-am: all-am
check: check-recursive
all-am: Makefile $(LIBRARIES) $(HEADERS)
installdirs: installdirs-recursive
installdirs-am:
install: install-recursive
install-exec: install-exec-recursive
install-data: install-data-recursive
uninstall: uninstall-recursive
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-recursive
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
clean-generic:
distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-recursive
clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am
distclean: distclean-recursive
distclean-am: clean-am distclean-compile distclean-depend \
distclean-generic distclean-tags
dvi: dvi-recursive
dvi-am:
info: info-recursive
info-am:
install-data-am:
install-exec-am:
install-info: install-info-recursive
install-man:
installcheck-am:
maintainer-clean: maintainer-clean-recursive
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-recursive
mostlyclean-am: mostlyclean-compile mostlyclean-generic mostlyclean-kr
uninstall-am: uninstall-info-am
uninstall-info: uninstall-info-recursive
.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
clean-generic clean-noinstLIBRARIES clean-recursive distclean \
distclean-compile distclean-depend distclean-generic \
distclean-recursive distclean-tags distdir dvi dvi-am \
dvi-recursive info info-am info-recursive install install-am \
install-data install-data-am install-data-recursive \
install-exec install-exec-am install-exec-recursive \
install-info install-info-am install-info-recursive install-man \
install-recursive install-strip installcheck installcheck-am \
installdirs installdirs-am installdirs-recursive \
maintainer-clean maintainer-clean-generic \
maintainer-clean-recursive mostlyclean mostlyclean-compile \
mostlyclean-generic mostlyclean-kr mostlyclean-recursive tags \
tags-recursive uninstall uninstall-am uninstall-info-am \
uninstall-info-recursive uninstall-recursive
# 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.
.NOEXPORT:

View File

@ -89,8 +89,6 @@ POFILES = @POFILES@
POSUB = @POSUB@
RANLIB = @RANLIB@
SEP = @SEP@
SYMLINK = @SYMLINK@
SYMLINKFROM = @SYMLINKFROM@
U = @U@
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
USE_NLS = @USE_NLS@

View File

@ -1,246 +0,0 @@
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
# Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
SHELL = /bin/sh
srcdir = .
top_srcdir = ..
prefix = /usr/local
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin
sbindir = ${exec_prefix}/sbin
libexecdir = ${exec_prefix}/libexec
datadir = ${prefix}/share
sysconfdir = ${prefix}/etc
sharedstatedir = ${prefix}/com
localstatedir = ${prefix}/var
libdir = ${exec_prefix}/lib
infodir = ${prefix}/info
mandir = ${prefix}/man
includedir = ${prefix}/include
oldincludedir = /usr/include
pkgdatadir = $(datadir)/grep
pkglibdir = $(libdir)/grep
pkgincludedir = $(includedir)/grep
top_builddir = ..
ACLOCAL = ${SHELL} /boot/home/Development/current/src/apps/bin/grep-2.5/missing --run aclocal
AUTOCONF = ${SHELL} /boot/home/Development/current/src/apps/bin/grep-2.5/missing --run autoconf
AUTOMAKE = ${SHELL} /boot/home/Development/current/src/apps/bin/grep-2.5/missing --run automake
AUTOHEADER = ${SHELL} /boot/home/Development/current/src/apps/bin/grep-2.5/missing --run autoheader
INSTALL = /bin/install -c
INSTALL_PROGRAM = ${INSTALL}
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_SCRIPT = ${INSTALL}
INSTALL_HEADER = $(INSTALL_DATA)
transform = s,x,x,
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias =
host_triplet = i586-pc-beos
AMTAR = ${SHELL} /boot/home/Development/current/src/apps/bin/grep-2.5/missing --run tar
AWK = gawk
BUILD_INCLUDED_LIBINTL = yes
CATALOGS = cs.gmo de.gmo el.gmo eo.gmo es.gmo et.gmo fr.gmo gl.gmo hr.gmo id.gmo it.gmo ja.gmo ko.gmo nl.gmo no.gmo pl.gmo pt_BR.gmo ru.gmo sl.gmo sv.gmo
CATOBJEXT = .gmo
CC = gcc
CPP = gcc -E
DATADIRNAME = share
DEPDIR = .deps
EXEEXT =
GENCAT = gencat
GETCONF =
GLIBC21 = no
GMOFILES = cs.gmo de.gmo el.gmo eo.gmo es.gmo et.gmo fr.gmo gl.gmo hr.gmo id.gmo it.gmo ja.gmo ko.gmo nl.gmo no.gmo pl.gmo pt_BR.gmo ru.gmo sl.gmo sv.gmo
GMSGFMT = :
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
INSTOBJEXT = .mo
INTLBISON = bison
INTLLIBS = $(top_builddir)/intl/libintl.a
INTLOBJS = $(GETTOBJS)
INTL_LIBTOOL_SUFFIX_PREFIX =
LIBICONV =
MKINSTALLDIRS = ./mkinstalldirs
MSGFMT = :
OBJEXT = o
PACKAGE = grep
POFILES = cs.po de.po el.po eo.po es.po et.po fr.po gl.po hr.po id.po it.po ja.po ko.po nl.po no.po pl.po pt_BR.po ru.po sl.po sv.po
POSUB = po
RANLIB = ranlib
SEP = :
SYMLINK = ln -s
SYMLINKFROM = grep
U =
USE_INCLUDED_LIBINTL = yes
USE_NLS = yes
VERSION = 2.5
am__include = include
am__quote =
install_sh = /boot/home/Development/current/src/apps/bin/grep-2.5/install-sh
AUTOMAKE_OPTIONS = no-dependencies
EXTRA_DIST = decl.m4 \
djgpp.m4 \
dosfile.m4 \
envsep.m4 \
error.m4 \
gettext.m4 \
glibc.m4 \
header.m4 \
init.m4 \
install.m4 \
inttypes_h.m4 \
isc-posix.m4 \
largefile.m4 \
lcmessage.m4 \
malloc.m4 \
mbstate_t.m4 \
missing.m4 \
progtest.m4 \
realloc.m4 \
regex.m4 \
sanity.m4 \
strerror_r.m4 \
uintmax_t.m4 \
ulonglong.m4 \
xstrtoumax.m4
subdir = m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
depcomp =
DIST_SOURCES =
DIST_COMMON = Makefile.am Makefile.in
all: all-am
.SUFFIXES:
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu m4/Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) && \
CONFIG_HEADERS= CONFIG_LINKS= \
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
uninstall-info-am:
tags: TAGS
TAGS:
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
top_distdir = ..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES)
@for file in $(DISTFILES); do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
$(mkinstalldirs) "$(distdir)/$$dir"; \
fi; \
if test -d $$d/$$file; then \
cp -pR $$d/$$file $(distdir) \
|| exit 1; \
else \
test -f $(distdir)/$$file \
|| cp -p $$d/$$file $(distdir)/$$file \
|| exit 1; \
fi; \
done
check-am: all-am
check: check-am
all-am: Makefile
installdirs:
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
clean-generic:
distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-am
clean-am: clean-generic mostlyclean-am
distclean: distclean-am
distclean-am: clean-am distclean-generic
dvi: dvi-am
dvi-am:
info: info-am
info-am:
install-data-am:
install-exec-am:
install-info: install-info-am
install-man:
installcheck-am:
maintainer-clean: maintainer-clean-am
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-generic
uninstall-am: uninstall-info-am
.PHONY: all all-am check check-am clean clean-generic distclean \
distclean-generic distdir dvi dvi-am info info-am install \
install-am install-data install-data-am install-exec \
install-exec-am install-info install-info-am install-man \
install-strip installcheck installcheck-am installdirs \
maintainer-clean maintainer-clean-generic mostlyclean \
mostlyclean-generic uninstall uninstall-am uninstall-info-am
# 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.
.NOEXPORT:

View File

@ -1,28 +0,0 @@
## Process this file with automake to create Makefile.in
AUTOMAKE_OPTIONS = no-dependencies
EXTRA_DIST = decl.m4 \
djgpp.m4 \
dosfile.m4 \
envsep.m4 \
error.m4 \
gettext.m4 \
glibc.m4 \
header.m4 \
init.m4 \
install.m4 \
inttypes_h.m4 \
isc-posix.m4 \
largefile.m4 \
lcmessage.m4 \
malloc.m4 \
mbstate_t.m4 \
missing.m4 \
progtest.m4 \
realloc.m4 \
regex.m4 \
sanity.m4 \
strerror_r.m4 \
uintmax_t.m4 \
ulonglong.m4 \
xstrtoumax.m4

View File

@ -1,246 +0,0 @@
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
# Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
@SET_MAKE@
SHELL = @SHELL@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
datadir = @datadir@
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = ..
ACLOCAL = @ACLOCAL@
AUTOCONF = @AUTOCONF@
AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias = @host_alias@
host_triplet = @host@
AMTAR = @AMTAR@
AWK = @AWK@
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
CATALOGS = @CATALOGS@
CATOBJEXT = @CATOBJEXT@
CC = @CC@
CPP = @CPP@
DATADIRNAME = @DATADIRNAME@
DEPDIR = @DEPDIR@
EXEEXT = @EXEEXT@
GENCAT = @GENCAT@
GETCONF = @GETCONF@
GLIBC21 = @GLIBC21@
GMOFILES = @GMOFILES@
GMSGFMT = @GMSGFMT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTOBJEXT = @INSTOBJEXT@
INTLBISON = @INTLBISON@
INTLLIBS = @INTLLIBS@
INTLOBJS = @INTLOBJS@
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
LIBICONV = @LIBICONV@
MKINSTALLDIRS = @MKINSTALLDIRS@
MSGFMT = @MSGFMT@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
POFILES = @POFILES@
POSUB = @POSUB@
RANLIB = @RANLIB@
SEP = @SEP@
SYMLINK = @SYMLINK@
SYMLINKFROM = @SYMLINKFROM@
U = @U@
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
am__include = @am__include@
am__quote = @am__quote@
install_sh = @install_sh@
AUTOMAKE_OPTIONS = no-dependencies
EXTRA_DIST = decl.m4 \
djgpp.m4 \
dosfile.m4 \
envsep.m4 \
error.m4 \
gettext.m4 \
glibc.m4 \
header.m4 \
init.m4 \
install.m4 \
inttypes_h.m4 \
isc-posix.m4 \
largefile.m4 \
lcmessage.m4 \
malloc.m4 \
mbstate_t.m4 \
missing.m4 \
progtest.m4 \
realloc.m4 \
regex.m4 \
sanity.m4 \
strerror_r.m4 \
uintmax_t.m4 \
ulonglong.m4 \
xstrtoumax.m4
subdir = m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
depcomp =
DIST_SOURCES =
DIST_COMMON = Makefile.am Makefile.in
all: all-am
.SUFFIXES:
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu m4/Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) && \
CONFIG_HEADERS= CONFIG_LINKS= \
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
uninstall-info-am:
tags: TAGS
TAGS:
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
top_distdir = ..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES)
@for file in $(DISTFILES); do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
$(mkinstalldirs) "$(distdir)/$$dir"; \
fi; \
if test -d $$d/$$file; then \
cp -pR $$d/$$file $(distdir) \
|| exit 1; \
else \
test -f $(distdir)/$$file \
|| cp -p $$d/$$file $(distdir)/$$file \
|| exit 1; \
fi; \
done
check-am: all-am
check: check-am
all-am: Makefile
installdirs:
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
clean-generic:
distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-am
clean-am: clean-generic mostlyclean-am
distclean: distclean-am
distclean-am: clean-am distclean-generic
dvi: dvi-am
dvi-am:
info: info-am
info-am:
install-data-am:
install-exec-am:
install-info: install-info-am
install-man:
installcheck-am:
maintainer-clean: maintainer-clean-am
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-generic
uninstall-am: uninstall-info-am
.PHONY: all all-am check check-am clean clean-generic distclean \
distclean-generic distdir dvi dvi-am info info-am install \
install-am install-data install-data-am install-exec \
install-exec-am install-info install-info-am install-man \
install-strip installcheck installcheck-am installdirs \
maintainer-clean maintainer-clean-generic mostlyclean \
mostlyclean-generic uninstall uninstall-am uninstall-info-am
# 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.
.NOEXPORT:

View File

@ -1,17 +0,0 @@
#serial AM1
dnl From Bruno Haible.
AC_DEFUN([AM_LANGINFO_CODESET],
[
AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset,
[AC_TRY_LINK([#include <langinfo.h>],
[char* cs = nl_langinfo(CODESET);],
am_cv_langinfo_codeset=yes,
am_cv_langinfo_codeset=no)
])
if test $am_cv_langinfo_codeset = yes; then
AC_DEFINE(HAVE_LANGINFO_CODESET, 1,
[Define if you have <langinfo.h> and nl_langinfo(CODESET).])
fi
])

View File

@ -1,37 +0,0 @@
#serial 5
AC_DEFUN(jm_CHECK_DECLARATION,
[
AC_MSG_CHECKING([whether $1 is declared])
AC_CACHE_VAL(jm_cv_func_decl_$1,
[AC_TRY_COMPILE([$2],
[
#ifndef $1
char *(*pfn) = (char *(*)) $1
#endif
],
eval "jm_cv_func_decl_$1=yes",
eval "jm_cv_func_decl_$1=no")])
if eval "test \"`echo '$jm_cv_func_decl_'$1`\" = yes"; then
AC_MSG_RESULT(yes)
ifelse([$3], , :, [$3])
else
AC_MSG_RESULT(no)
ifelse([$4], , , [$4
])dnl
fi
])dnl
dnl jm_CHECK_DECLARATIONS(INCLUDES, FUNCTION... [, ACTION-IF-DECLARED
dnl [, ACTION-IF-NOT-DECLARED]])
AC_DEFUN(jm_CHECK_DECLARATIONS,
[
for jm_func in $2
do
jm_CHECK_DECLARATION($jm_func, [$1],
[
jm_tr_func=HAVE_DECL_`echo $jm_func | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`
AC_DEFINE_UNQUOTED($jm_tr_func, 1, [Define if your system declares $1]) $3], [$4])dnl
done
])

View File

@ -1,9 +0,0 @@
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])

View File

@ -1,21 +0,0 @@
# Check to see if we use dir\file name conventtion
# If so, set macro HAVE_DOS_FILE_NAMES
# Also set the macro HAVE_DOS_FILE_CONTENTS for now,
# since don't know of a good way to independently check this.
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
else
ac_cv_dosfile=no
fi
])
if test $ac_cv_dosfile = yes; then
AC_DEFINE(HAVE_DOS_FILE_NAMES, 1, [Define if your OS uses backslashes as directory separators])
AC_DEFINE(HAVE_DOS_FILE_CONTENTS, 1,
[Define if text file lines end in CRLF.])
fi
])

View File

@ -1,20 +0,0 @@
# 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)])

View File

@ -1,11 +0,0 @@
#serial 1
dnl FIXME: put these prerequisite-only *.m4 files in a separate
dnl directory -- otherwise, they'll conflict with existing files.
dnl These are the prerequisite macros for GNU's error.c file.
AC_DEFUN(jm_PREREQ_ERROR,
[
AC_CHECK_FUNCS(strerror strerror_r vprintf doprnt)
AC_HEADER_STDC
])

View File

@ -1,370 +0,0 @@
# 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 General Public
# License or the GNU Library General Public License but which still want
# to provide support for the GNU gettext functionality.
# Please note that the actual code of the GNU gettext library is covered
# by the GNU Library General Public License, and the rest of the GNU
# gettext package package is covered by the GNU General Public License.
# They are *not* in the public domain.
# serial 10
dnl Usage: AM_WITH_NLS([TOOLSYMBOL], [NEEDSYMBOL], [LIBDIR]).
dnl If TOOLSYMBOL is specified and is 'use-libtool', then a libtool library
dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static,
dnl depending on --{enable,disable}-{shared,static} and on the presence of
dnl AM-DISABLE-SHARED). Otherwise, a static library
dnl $(top_builddir)/intl/libintl.a will be created.
dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext
dnl implementations (in libc or libintl) without the ngettext() function
dnl will be ignored.
dnl LIBDIR is used to find the intl libraries. If empty,
dnl the value `$(top_builddir)/intl/' is used.
dnl
dnl The result of the configuration is one of three cases:
dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled
dnl and used.
dnl Catalog format: GNU --> install in $(datadir)
dnl Catalog extension: .mo after installation, .gmo in source tree
dnl 2) GNU gettext has been found in the system's C library.
dnl Catalog format: GNU --> install in $(datadir)
dnl Catalog extension: .mo after installation, .gmo in source tree
dnl 3) No internationalization, always use English msgid.
dnl Catalog format: none
dnl Catalog extension: none
dnl The use of .gmo is historical (it was needed to avoid overwriting the
dnl GNU format catalogs when building on a platform with an X/Open gettext),
dnl but we keep it in order not to force irrelevant filename changes on the
dnl maintainers.
dnl
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)
BUILD_INCLUDED_LIBINTL=no
USE_INCLUDED_LIBINTL=no
INTLLIBS=
dnl If we use NLS figure out what method
if test "$USE_NLS" = "yes"; then
AC_DEFINE(ENABLE_NLS, 1,
[Define to 1 if translation of program messages to the user's native language
is requested.])
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 GNU gettext is available we use this. Else we have
dnl to fall back to GNU NLS library.
CATOBJEXT=NONE
dnl Add a version number to the cache macros.
define(gt_cv_func_gnugettext_libc, [gt_cv_func_gnugettext]ifelse([$2], need-ngettext, 2, 1)[_libc])
define(gt_cv_func_gnugettext_libintl, [gt_cv_func_gnugettext]ifelse([$2], need-ngettext, 2, 1)[_libintl])
AC_CHECK_HEADER(libintl.h,
[AC_CACHE_CHECK([for GNU gettext in libc], gt_cv_func_gnugettext_libc,
[AC_TRY_LINK([#include <libintl.h>
extern int _nl_msg_cat_cntr;],
[bindtextdomain ("", "");
return (int) gettext ("")]ifelse([$2], need-ngettext, [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr],
gt_cv_func_gnugettext_libc=yes,
gt_cv_func_gnugettext_libc=no)])
if test "$gt_cv_func_gnugettext_libc" != "yes"; then
AC_CACHE_CHECK([for GNU gettext in libintl],
gt_cv_func_gnugettext_libintl,
[gt_save_LIBS="$LIBS"
LIBS="$LIBS -lintl $LIBICONV"
AC_TRY_LINK([#include <libintl.h>
extern int _nl_msg_cat_cntr;],
[bindtextdomain ("", "");
return (int) gettext ("")]ifelse([$2], need-ngettext, [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr],
gt_cv_func_gnugettext_libintl=yes,
gt_cv_func_gnugettext_libintl=no)
LIBS="$gt_save_LIBS"])
fi
dnl If an already present or preinstalled GNU gettext() is found,
dnl use it. But if this macro is used in GNU gettext, and GNU
dnl gettext is already preinstalled in libintl, we update this
dnl libintl. (Cf. the install rule in intl/Makefile.in.)
if test "$gt_cv_func_gnugettext_libc" = "yes" \
|| { test "$gt_cv_func_gnugettext_libintl" = "yes" \
&& test "$PACKAGE" != gettext; }; then
AC_DEFINE(HAVE_GETTEXT, 1,
[Define if the GNU gettext() function is already present or preinstalled.])
if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
dnl If iconv() is in a separate libiconv library, then anyone
dnl linking with libintl{.a,.so} also needs to link with
dnl libiconv.
INTLLIBS="-lintl $LIBICONV"
fi
gt_save_LIBS="$LIBS"
LIBS="$LIBS $INTLLIBS"
AC_CHECK_FUNCS(dcgettext)
LIBS="$gt_save_LIBS"
dnl Search for GNU msgfmt in the PATH.
AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
[$ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1], :)
AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
dnl Search for GNU xgettext in the PATH.
AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
[$ac_dir/$ac_word --omit-header /dev/null >/dev/null 2>&1], :)
CATOBJEXT=.gmo
fi
])
if test "$CATOBJEXT" = "NONE"; then
dnl GNU gettext is not found 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,
[$ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1], :)
AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
[$ac_dir/$ac_word --omit-header /dev/null >/dev/null 2>&1], :)
AC_SUBST(MSGFMT)
BUILD_INCLUDED_LIBINTL=yes
USE_INCLUDED_LIBINTL=yes
CATOBJEXT=.gmo
INTLLIBS="ifelse([$3],[],\$(top_builddir)/intl,[$3])/libintl.ifelse([$1], use-libtool, [l], [])a $LIBICONV"
LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
fi
dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
dnl Test whether we really found GNU msgfmt.
if test "$GMSGFMT" != ":"; then
dnl If it is no GNU msgfmt we define it as : so that the
dnl Makefiles still can work.
if $GMSGFMT --statistics /dev/null >/dev/null 2>&1; then
: ;
else
AC_MSG_RESULT(
[found msgfmt program is not GNU msgfmt; ignore it])
GMSGFMT=":"
fi
fi
dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
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 >/dev/null 2>&1; then
: ;
else
AC_MSG_RESULT(
[found xgettext program is not GNU xgettext; ignore it])
XGETTEXT=":"
fi
fi
dnl We need to process the po/ directory.
POSUB=po
fi
AC_OUTPUT_COMMANDS(
[for ac_file in $CONFIG_FILES; do
# Support "outfile[:infile[:infile...]]"
case "$ac_file" in
*:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
esac
# PO directories have a Makefile.in generated from Makefile.in.in.
case "$ac_file" in */Makefile.in)
# Adjust a relative srcdir.
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
# In autoconf-2.13 it is called $ac_given_srcdir.
# In autoconf-2.50 it is called $srcdir.
test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
case "$ac_given_srcdir" in
.) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
/*) top_srcdir="$ac_given_srcdir" ;;
*) top_srcdir="$ac_dots$ac_given_srcdir" ;;
esac
if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
rm -f "$ac_dir/POTFILES"
test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," -e "\$s/\(.*\) \\\\/\1/" < "$ac_given_srcdir/$ac_dir/POTFILES.in" > "$ac_dir/POTFILES"
test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
sed -e "/POTFILES =/r $ac_dir/POTFILES" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
fi
;;
esac
done])
dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL
dnl to 'yes' because some of the testsuite requires it.
if test "$PACKAGE" = gettext; then
BUILD_INCLUDED_LIBINTL=yes
fi
dnl intl/plural.c is generated from intl/plural.y. It requires bison,
dnl because plural.y uses bison specific features. It requires at least
dnl bison-1.26 because earlier versions generate a plural.c that doesn't
dnl compile.
dnl bison is only needed for the maintainer (who touches plural.y). But in
dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put
dnl the rule in general Makefile. Now, some people carelessly touch the
dnl files or have a broken "make" program, hence the plural.c rule will
dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not
dnl present or too old.
AC_CHECK_PROGS([INTLBISON], [bison])
if test -z "$INTLBISON"; then
ac_verc_fail=yes
else
dnl Found it, now check the version.
AC_MSG_CHECKING([version of bison])
changequote(<<,>>)dnl
ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
case $ac_prog_version in
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
changequote([,])dnl
ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
esac
AC_MSG_RESULT([$ac_prog_version])
fi
if test $ac_verc_fail = yes; then
INTLBISON=:
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(BUILD_INCLUDED_LIBINTL)
AC_SUBST(USE_INCLUDED_LIBINTL)
AC_SUBST(CATALOGS)
AC_SUBST(CATOBJEXT)
AC_SUBST(GMOFILES)
AC_SUBST(INTLLIBS)
AC_SUBST(INTLOBJS)
AC_SUBST(POFILES)
AC_SUBST(POSUB)
dnl For backward compatibility. Some configure.ins may be using this.
nls_cv_header_intl=
nls_cv_header_libgt=
dnl For backward compatibility. Some Makefiles may be using this.
DATADIRNAME=share
AC_SUBST(DATADIRNAME)
dnl For backward compatibility. Some Makefiles may be using this.
INSTOBJEXT=.mo
AC_SUBST(INSTOBJEXT)
dnl For backward compatibility. Some Makefiles may be using this.
GENCAT=gencat
AC_SUBST(GENCAT)
])
dnl Usage: Just like AM_WITH_NLS, which see.
AC_DEFUN([AM_GNU_GETTEXT],
[AC_REQUIRE([AC_PROG_MAKE_SET])dnl
AC_REQUIRE([AC_PROG_CC])dnl
AC_REQUIRE([AC_CANONICAL_HOST])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_REQUIRE([jm_GLIBC21])dnl
AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
stdlib.h string.h unistd.h sys/param.h])
AC_CHECK_FUNCS([feof_unlocked fgets_unlocked getcwd getegid geteuid \
getgid getuid mempcpy munmap putenv setenv setlocale stpcpy strchr strcasecmp \
strdup strtoul tsearch __argz_count __argz_stringify __argz_next])
AM_ICONV
AM_LANGINFO_CODESET
AM_LC_MESSAGES
AM_WITH_NLS([$1],[$2],[$3])
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 presentlang in $ALL_LINGUAS; do
useit=no
for desiredlang in ${LINGUAS-$ALL_LINGUAS}; do
# Use the presentlang catalog if desiredlang is
# a. equal to presentlang, or
# b. a variant of presentlang (because in this case,
# presentlang can be used as a fallback for messages
# which are not translated in the desiredlang catalog).
case "$desiredlang" in
"$presentlang"*) useit=yes;;
esac
done
if test $useit = yes; then
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
fi
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 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 Enable libtool support if the surrounding package wishes it.
INTL_LIBTOOL_SUFFIX_PREFIX=ifelse([$1], use-libtool, [l], [])
AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX)
])

View File

@ -1,33 +0,0 @@
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)
]
)
]
)

View File

@ -1,26 +0,0 @@
#serial 2
# Test for the GNU C Library, version 2.1 or newer.
# From Bruno Haible.
AC_DEFUN([jm_GLIBC21],
[
AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer,
ac_cv_gnu_library_2_1,
[AC_EGREP_CPP([Lucky GNU user],
[
#include <features.h>
#ifdef __GNU_LIBRARY__
#if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
Lucky GNU user
#endif
#endif
],
ac_cv_gnu_library_2_1=yes,
ac_cv_gnu_library_2_1=no)
]
)
AC_SUBST(GLIBC21)
GLIBC21="$ac_cv_gnu_library_2_1"
]
)

View File

@ -1,66 +0,0 @@
# Like AC_CONFIG_HEADER, but automatically create stamp file.
# serial 3
# When config.status generates a header, we must update the stamp-h file.
# This file resides in the same directory as the config header
# that is generated. We must strip everything past the first ":",
# and everything past the last "/".
AC_PREREQ([2.12])
AC_DEFUN([AM_CONFIG_HEADER],
[ifdef([AC_FOREACH],dnl
[dnl init our file count if it isn't already
m4_ifndef([_AM_Config_Header_Index], m4_define([_AM_Config_Header_Index], [0]))
dnl prepare to store our destination file list for use in config.status
AC_FOREACH([_AM_File], [$1],
[m4_pushdef([_AM_Dest], m4_patsubst(_AM_File, [:.*]))
m4_define([_AM_Config_Header_Index], m4_incr(_AM_Config_Header_Index))
dnl and add it to the list of files AC keeps track of, along
dnl with our hook
AC_CONFIG_HEADERS(_AM_File,
dnl COMMANDS, [, INIT-CMDS]
[# update the timestamp
echo timestamp >"AS_ESCAPE(_AM_DIRNAME(]_AM_Dest[))/stamp-h]_AM_Config_Header_Index["
][$2]m4_ifval([$3], [, [$3]]))dnl AC_CONFIG_HEADERS
m4_popdef([_AM_Dest])])],dnl
[AC_CONFIG_HEADER([$1])
AC_OUTPUT_COMMANDS(
ifelse(patsubst([$1], [[^ ]], []),
[],
[test -z "$CONFIG_HEADERS" || echo timestamp >dnl
patsubst([$1], [^\([^:]*/\)?.*], [\1])stamp-h]),dnl
[am_indx=1
for am_file in $1; do
case " \$CONFIG_HEADERS " in
*" \$am_file "*)
am_dir=\`echo \$am_file |sed 's%:.*%%;s%[^/]*\$%%'\`
if test -n "\$am_dir"; then
am_tmpdir=\`echo \$am_dir |sed 's%^\(/*\).*\$%\1%'\`
for am_subdir in \`echo \$am_dir |sed 's%/% %'\`; do
am_tmpdir=\$am_tmpdir\$am_subdir/
if test ! -d \$am_tmpdir; then
mkdir \$am_tmpdir
fi
done
fi
echo timestamp > "\$am_dir"stamp-h\$am_indx
;;
esac
am_indx=\`expr \$am_indx + 1\`
done])
])]) # AM_CONFIG_HEADER
# _AM_DIRNAME(PATH)
# -----------------
# Like AS_DIRNAME, only do it during macro expansion
AC_DEFUN([_AM_DIRNAME],
[m4_if(m4_regexp([$1], [^.*[^/]//*[^/][^/]*/*$]), -1,
m4_if(m4_regexp([$1], [^//\([^/]\|$\)]), -1,
m4_if(m4_regexp([$1], [^/.*]), -1,
[.],
m4_patsubst([$1], [^\(/\).*], [\1])),
m4_patsubst([$1], [^\(//\)\([^/].*\|$\)], [\1])),
m4_patsubst([$1], [^\(.*[^/]\)//*[^/][^/]*/*$], [\1]))[]dnl
]) # _AM_DIRNAME

View File

@ -1,69 +0,0 @@
#serial AM2
dnl From Bruno Haible.
AC_DEFUN([AM_ICONV],
[
dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
dnl those with the standalone portable GNU libiconv installed).
AC_ARG_WITH([libiconv-prefix],
[ --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib], [
for dir in `echo "$withval" | tr : ' '`; do
if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
done
])
AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [
am_cv_func_iconv="no, consider installing GNU libiconv"
am_cv_lib_iconv=no
AC_TRY_LINK([#include <stdlib.h>
#include <iconv.h>],
[iconv_t cd = iconv_open("","");
iconv(cd,NULL,NULL,NULL,NULL);
iconv_close(cd);],
am_cv_func_iconv=yes)
if test "$am_cv_func_iconv" != yes; then
am_save_LIBS="$LIBS"
LIBS="$LIBS -liconv"
AC_TRY_LINK([#include <stdlib.h>
#include <iconv.h>],
[iconv_t cd = iconv_open("","");
iconv(cd,NULL,NULL,NULL,NULL);
iconv_close(cd);],
am_cv_lib_iconv=yes
am_cv_func_iconv=yes)
LIBS="$am_save_LIBS"
fi
])
if test "$am_cv_func_iconv" = yes; then
AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
AC_MSG_CHECKING([for iconv declaration])
AC_CACHE_VAL(am_cv_proto_iconv, [
AC_TRY_COMPILE([
#include <stdlib.h>
#include <iconv.h>
extern
#ifdef __cplusplus
"C"
#endif
#if defined(__STDC__) || defined(__cplusplus)
size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
#else
size_t iconv();
#endif
], [], am_cv_proto_iconv_arg1="", am_cv_proto_iconv_arg1="const")
am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"])
am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
AC_MSG_RESULT([$]{ac_t:-
}[$]am_cv_proto_iconv)
AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1,
[Define as const if the declaration of iconv() needs const.])
fi
LIBICONV=
if test "$am_cv_lib_iconv" = yes; then
LIBICONV="-liconv"
fi
AC_SUBST(LIBICONV)
])

View File

@ -1,89 +0,0 @@
# 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 5
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
# written in clear, in which case automake, when reading aclocal.m4,
# will think it sees a *use*, and therefore will trigger all it's
# C support machinery. Also note that it means that autoscan, seeing
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
# We require 2.13 because we rely on SHELL being computed by configure.
AC_PREREQ([2.13])
# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
# -----------------------------------------------------------
# If MACRO-NAME is provided do IF-PROVIDED, else IF-NOT-PROVIDED.
# The purpose of this macro is to provide the user with a means to
# check macros which are provided without letting her know how the
# information is coded.
# If this macro is not defined by Autoconf, define it here.
ifdef([AC_PROVIDE_IFELSE],
[],
[define([AC_PROVIDE_IFELSE],
[ifdef([AC_PROVIDE_$1],
[$2], [$3])])])
# AM_INIT_AUTOMAKE(PACKAGE,VERSION, [NO-DEFINE])
# ----------------------------------------------
AC_DEFUN([AM_INIT_AUTOMAKE],
[AC_REQUIRE([AC_PROG_INSTALL])dnl
# test to see if srcdir already configured
if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
test -f $srcdir/config.status; then
AC_MSG_ERROR([source directory already configured; run \"make distclean\" there first])
fi
# Define the identity of the package.
PACKAGE=$1
AC_SUBST(PACKAGE)dnl
VERSION=$2
AC_SUBST(VERSION)dnl
ifelse([$3],,
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
# the ones we care about.
ifdef([m4_pattern_allow],
[m4_pattern_allow([^AM_[A-Z]+FLAGS])])dnl
# Autoconf 2.50 always computes EXEEXT. However we need to be
# compatible with 2.13, for now. So we always define EXEEXT, but we
# don't compute it.
AC_SUBST(EXEEXT)
# Similar for OBJEXT -- only we only use OBJEXT if the user actually
# requests that it be used. This is a bit dumb.
: ${OBJEXT=o}
AC_SUBST(OBJEXT)
# Some tools Automake needs.
AC_REQUIRE([AM_SANITY_CHECK])dnl
AC_REQUIRE([AC_ARG_PROGRAM])dnl
AM_MISSING_PROG(ACLOCAL, aclocal)
AM_MISSING_PROG(AUTOCONF, autoconf)
AM_MISSING_PROG(AUTOMAKE, automake)
AM_MISSING_PROG(AUTOHEADER, autoheader)
AM_MISSING_PROG(MAKEINFO, makeinfo)
AM_MISSING_PROG(AMTAR, tar)
AM_PROG_INSTALL_SH
AM_PROG_INSTALL_STRIP
# We need awk for the "check" target. The system "awk" is bad on
# some platforms.
AC_REQUIRE([AC_PROG_AWK])dnl
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
AC_REQUIRE([AM_DEP_TRACK])dnl
AC_REQUIRE([AM_SET_DEPDIR])dnl
AC_PROVIDE_IFELSE([AC_PROG_][CC],
[_AM_DEPENDENCIES(CC)],
[define([AC_PROG_][CC],
defn([AC_PROG_][CC])[_AM_DEPENDENCIES(CC)])])dnl
AC_PROVIDE_IFELSE([AC_PROG_][CXX],
[_AM_DEPENDENCIES(CXX)],
[define([AC_PROG_][CXX],
defn([AC_PROG_][CXX])[_AM_DEPENDENCIES(CXX)])])dnl
])

View File

@ -1,13 +0,0 @@
## --------------------------------------------------------- ##
## 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
])

View File

@ -1,22 +0,0 @@
#serial 3
dnl From Paul Eggert.
# Define HAVE_INTTYPES_H if <inttypes.h> exists,
# doesn't clash with <sys/types.h>, and declares uintmax_t.
AC_DEFUN(jm_AC_HEADER_INTTYPES_H,
[
AC_CACHE_CHECK([for inttypes.h], jm_ac_cv_header_inttypes_h,
[AC_TRY_COMPILE(
[#include <sys/types.h>
#include <inttypes.h>],
[uintmax_t i = (uintmax_t) -1;],
jm_ac_cv_header_inttypes_h=yes,
jm_ac_cv_header_inttypes_h=no)])
if test $jm_ac_cv_header_inttypes_h = yes; then
AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H, 1,
[Define if <inttypes.h> exists, doesn't clash with <sys/types.h>,
and declares uintmax_t. ])
fi
])

View File

@ -1,17 +0,0 @@
#serial 1
# This test replaces the one in autoconf.
# Currently this macro should have the same name as the autoconf macro
# because gettext's gettext.m4 (distributed in the automake package)
# still uses it. Otherwise, the use in gettext.m4 makes autoheader
# give these diagnostics:
# configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX
# 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.
AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"])
]
)

View File

@ -1,129 +0,0 @@
#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
])

View File

@ -1,24 +0,0 @@
# 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 General Public
# License or the GNU Library General Public License but which still want
# to provide support for the GNU gettext functionality.
# Please note that the actual code of the GNU gettext library is covered
# by the GNU Library General Public License, and the rest of the GNU
# gettext package package is covered by the GNU General Public License.
# They are *not* in the public domain.
# serial 2
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, 1,
[Define if your <locale.h> file defines LC_MESSAGES.])
fi
fi])

View File

@ -1,34 +0,0 @@
#serial 3
dnl From Jim Meyering.
dnl Determine whether malloc accepts 0 as its argument.
dnl If it doesn't, arrange to use the replacement function.
dnl
AC_DEFUN(jm_FUNC_MALLOC,
[
dnl xmalloc.c requires that this symbol be defined so it doesn't
dnl mistakenly use a broken malloc -- as it might if this test were omitted.
AC_DEFINE_UNQUOTED(HAVE_DONE_WORKING_MALLOC_CHECK, 1,
[Define if the malloc check has been performed. ])
AC_CACHE_CHECK([for working malloc], jm_cv_func_working_malloc,
[AC_TRY_RUN([
char *malloc ();
int
main ()
{
exit (malloc (0) ? 0 : 1);
}
],
jm_cv_func_working_malloc=yes,
jm_cv_func_working_malloc=no,
dnl When crosscompiling, assume malloc is broken.
jm_cv_func_working_malloc=no)
])
if test $jm_cv_func_working_malloc = no; then
AC_LIBOBJ(malloc)
AC_DEFINE_UNQUOTED(malloc, rpl_malloc,
[Define to rpl_malloc if the replacement function should be used.])
fi
])

View File

@ -1,29 +0,0 @@
# serial 8
# From Paul Eggert.
# BeOS 5 has <wchar.h> but does not define mbstate_t,
# so you can't declare an object of that type.
# Check for this incompatibility with Standard C.
# Include stdlib.h first, because otherwise this test would fail on Linux
# (at least glibc-2.1.3) because the "_XOPEN_SOURCE 500" definition elicits
# a syntax error in wchar.h due to the use of undefined __int32_t.
AC_DEFUN(AC_MBSTATE_T,
[
AC_CHECK_HEADERS(stdlib.h)
AC_CACHE_CHECK([for mbstate_t], ac_cv_type_mbstate_t,
[AC_TRY_COMPILE([
#if HAVE_STDLIB_H
# include <stdlib.h>
#endif
#include <wchar.h>],
[mbstate_t x; return sizeof x;],
ac_cv_type_mbstate_t=yes,
ac_cv_type_mbstate_t=no)])
if test $ac_cv_type_mbstate_t = no; then
AC_DEFINE(mbstate_t, int,
[Define to a type if <wchar.h> does not define.])
fi])

View File

@ -1,30 +0,0 @@
## --------------------------------------------------------- ##
## Fake the existence of programs that GNU maintainers use. ##
## --------------------------------------------------------- ##
# serial 2
# AM_MISSING_PROG(NAME, PROGRAM)
# ------------------------------
AC_DEFUN([AM_MISSING_PROG],
[AC_REQUIRE([AM_MISSING_HAS_RUN])
$1=${$1-"${am_missing_run}$2"}
AC_SUBST($1)])
# AM_MISSING_HAS_RUN
# ------------------
# Define MISSING if not defined so far and test if it supports --run.
# If it does, set am_missing_run to use it, otherwise, to nothing.
AC_DEFUN([AM_MISSING_HAS_RUN],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
# Use eval to expand $SHELL
if eval "$MISSING --run true"; then
am_missing_run="$MISSING --run "
else
am_missing_run=
am_backtick='`'
AC_MSG_WARN([${am_backtick}missing' script is too old or missing])
fi
])

View File

@ -1,51 +0,0 @@
# Search path for a program which passes the given test.
# Ulrich Drepper <drepper@cygnus.com>, 1996.
#
# This file can be copied and used freely without restrictions. It can
# be used in projects which are not available under the GNU General Public
# License or the GNU Library General Public License but which still want
# to provide support for the GNU gettext functionality.
# Please note that the actual code of the GNU gettext library is covered
# by the GNU Library General Public License, and the rest of the GNU
# gettext package package is covered by the GNU General Public License.
# They are *not* in the public domain.
# serial 2
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
/*)
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 -f $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 ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
AC_MSG_RESULT([$]$1)
else
AC_MSG_RESULT(no)
fi
AC_SUBST($1)dnl
])

View File

@ -1,34 +0,0 @@
#serial 3
dnl From Jim Meyering.
dnl Determine whether realloc works when both arguments are 0.
dnl If it doesn't, arrange to use the replacement function.
dnl
AC_DEFUN(jm_FUNC_REALLOC,
[
dnl xmalloc.c requires that this symbol be defined so it doesn't
dnl mistakenly use a broken realloc -- as it might if this test were omitted.
AC_DEFINE_UNQUOTED(HAVE_DONE_WORKING_REALLOC_CHECK, 1,
[Define if the realloc check has been performed. ])
AC_CACHE_CHECK([for working realloc], jm_cv_func_working_realloc,
[AC_TRY_RUN([
char *realloc ();
int
main ()
{
exit (realloc (0, 0) ? 0 : 1);
}
],
jm_cv_func_working_realloc=yes,
jm_cv_func_working_realloc=no,
dnl When crosscompiling, assume realloc is broken.
jm_cv_func_working_realloc=no)
])
if test $jm_cv_func_working_realloc = no; then
AC_LIBOBJ(realloc)
AC_DEFINE_UNQUOTED(realloc, rpl_realloc,
[Define to rpl_realloc if the replacement function should be used.])
fi
])

View File

@ -1,74 +0,0 @@
#serial 5001
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 first 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, &regex);
/* This should fail with _Invalid character class name_ error. */
if (!s)
exit (1);
/* This should succeed, but doesn't for e.g. glibc-2.1.3. */
s = re_compile_pattern ("{1", 2, &regex);
exit (s ? 1 : 0);
}
>>,
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_LIBOBJ(regex)
fi
],
)
]
)

View File

@ -1,46 +0,0 @@
#
# Check to make sure that the build environment is sane.
#
# serial 3
# AM_SANITY_CHECK
# ---------------
AC_DEFUN([AM_SANITY_CHECK],
[AC_MSG_CHECKING([whether build environment is sane])
# Just in case
sleep 1
echo timestamp > conftest.file
# 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 conftest.file 2> /dev/null`
if test "$[*]" = "X"; then
# -L didn't work.
set X `ls -t $srcdir/configure conftest.file`
fi
rm -f conftest.file
if test "$[*]" != "X $srcdir/configure conftest.file" \
&& test "$[*]" != "X conftest.file $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]" = conftest.file
)
then
# Ok.
:
else
AC_MSG_ERROR([newly created file is older than distributed files!
Check your system clock])
fi
AC_MSG_RESULT(yes)])

View File

@ -1,69 +0,0 @@
#serial 1002, but ported to autoconf 2.13 by eggert
# Experimental replacement for the function in the latest CVS autoconf.
# If the compile-test says strerror_r doesn't work, then resort to a
# `run'-test that works on BeOS and segfaults on DEC Unix.
# Use with the error.c file in ../lib.
undefine([AC_FUNC_STRERROR_R])
# AC_FUNC_STRERROR_R
# ------------------
AC_DEFUN([AC_FUNC_STRERROR_R],
[jm_CHECK_DECLARATION(strerror_r, [#include <string.h>])
test $jm_cv_func_decl_strerror_r != yes
AC_DEFINE_UNQUOTED(HAVE_DECL_STRERROR_R, $?,
[Define to 1 if strerror_r is declared.])
AC_CHECK_FUNCS([strerror_r])
if test $ac_cv_func_strerror_r = yes; then
AC_CHECK_HEADERS(string.h)
AC_CACHE_CHECK([for working strerror_r],
ac_cv_func_strerror_r_works,
[
AC_TRY_COMPILE(
[
# include <stdio.h>
# if HAVE_STRING_H
# include <string.h>
# endif
],
[
char buf[100];
char x = *strerror_r (0, buf, sizeof buf);
],
ac_cv_func_strerror_r_works=yes,
ac_cv_func_strerror_r_works=no
)
if test $ac_cv_func_strerror_r_works = no; then
# strerror_r seems not to work, but now we have to choose between
# systems that have relatively inaccessible declarations for the
# function. BeOS and DEC UNIX 4.0 fall in this category, but the
# former has a strerror_r that returns char*, while the latter
# has a strerror_r that returns int.
# This test should segfault on the DEC system.
AC_TRY_RUN(
[
# include <stdio.h>
# include <string.h>
# include <ctype.h>
extern char *strerror_r ();
int
main ()
{
char buf[100];
char x = *strerror_r (0, buf, sizeof buf);
exit (!isalpha (x));
}
],
ac_cv_func_strerror_r_works=yes,
ac_cv_func_strerror_r_works=no,
ac_cv_func_strerror_r_works=no)
fi
])
if test $ac_cv_func_strerror_r_works = yes; then
AC_DEFINE_UNQUOTED(HAVE_WORKING_STRERROR_R, 1,
[Define to 1 if strerror_r returns a string.])
fi
fi
])# AC_FUNC_STRERROR_R

View File

@ -1,22 +0,0 @@
#serial 5
dnl From Paul Eggert.
AC_PREREQ(2.13)
# Define uintmax_t to `unsigned long' or `unsigned long long'
# if <inttypes.h> does not exist.
AC_DEFUN(jm_AC_TYPE_UINTMAX_T,
[
AC_REQUIRE([jm_AC_HEADER_INTTYPES_H])
if test $jm_ac_cv_header_inttypes_h = no; then
AC_REQUIRE([jm_AC_TYPE_UNSIGNED_LONG_LONG])
test $ac_cv_type_unsigned_long_long = yes \
&& ac_type='unsigned long long' \
|| ac_type='unsigned long'
AC_DEFINE_UNQUOTED(uintmax_t, $ac_type,
[ Define to unsigned long or unsigned long long
if <inttypes.h> doesn't define.])
fi
])

View File

@ -1,17 +0,0 @@
#serial 2
dnl From Paul Eggert.
AC_DEFUN(jm_AC_TYPE_UNSIGNED_LONG_LONG,
[
AC_CACHE_CHECK([for unsigned long long], ac_cv_type_unsigned_long_long,
[AC_TRY_LINK([unsigned long long ull = 1; int i = 63;],
[unsigned long long ullmax = (unsigned long long) -1;
return ull << i | ull >> i | ullmax / ull | ullmax % ull;],
ac_cv_type_unsigned_long_long=yes,
ac_cv_type_unsigned_long_long=no)])
if test $ac_cv_type_unsigned_long_long = yes; then
AC_DEFINE(HAVE_UNSIGNED_LONG_LONG, 1,
[Define if you have the unsigned long long type.])
fi
])

View File

@ -1,34 +0,0 @@
#serial 2
# autoconf tests required for use of xstrtoumax.c
AC_DEFUN(jm_AC_PREREQ_XSTRTOUMAX,
[
AC_REQUIRE([jm_AC_HEADER_INTTYPES_H])
AC_REQUIRE([jm_AC_TYPE_UNSIGNED_LONG_LONG])
AC_CHECK_HEADERS(stdlib.h)
AC_CACHE_CHECK([whether <inttypes.h> defines strtoumax as a macro],
jm_cv_func_strtoumax_macro,
AC_EGREP_CPP([inttypes_h_defines_strtoumax], [#include <inttypes.h>
#ifdef strtoumax
inttypes_h_defines_strtoumax
#endif],
jm_cv_func_strtoumax_macro=yes,
jm_cv_func_strtoumax_macro=no))
if test "$jm_cv_func_strtoumax_macro" != yes; then
AC_REPLACE_FUNCS(strtoumax)
fi
dnl We don't need (and can't compile) the replacement strtoull
dnl unless the type `unsigned long long' exists.
dnl Also, only the replacement strtoumax invokes strtoull,
dnl so we need the replacement strtoull only if strtoumax does not exist.
case "$ac_cv_type_unsigned_long_long,$jm_cv_func_strtoumax_macro,$ac_cv_func_strtoumax" in
yes,no,no)
AC_REPLACE_FUNCS(strtoull)
;;
esac
])

View File

@ -4,7 +4,7 @@
# Created: 1993-05-16
# Public domain
# $Id: mkinstalldirs,v 1.1 2004/03/02 02:37:04 michaelphipps Exp $
# $Id: mkinstalldirs,v 1.2 2004/06/30 20:42:55 korli Exp $
errstatus=0

View File

@ -7,7 +7,7 @@
# Please note that the actual code is *not* freely available.
PACKAGE = grep
VERSION = 2.5
VERSION = 2.5.1
SHELL = /bin/sh
@ -120,9 +120,9 @@ install-data: install-data-yes
install-data-no: all
install-data-yes: all
if test -r "$(MKINSTALLDIRS)"; then \
$(MKINSTALLDIRS) $(datadir); \
$(MKINSTALLDIRS) $(DESTDIR)/$(datadir); \
else \
$(SHELL) $(top_srcdir)/mkinstalldirs $(datadir); \
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)/$(datadir); \
fi
@catalogs='$(CATALOGS)'; \
for cat in $$catalogs; do \
@ -134,27 +134,27 @@ install-data-yes: all
lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
dir=$$destdir/$$lang/LC_MESSAGES; \
if test -r "$(MKINSTALLDIRS)"; then \
$(MKINSTALLDIRS) $$dir; \
$(MKINSTALLDIRS) $(DESTDIR)/$$dir; \
else \
$(SHELL) $(top_srcdir)/mkinstalldirs $$dir; \
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)/$$dir; \
fi; \
if test -r $$cat; then \
$(INSTALL_DATA) $$cat $$dir/$(PACKAGE)$(INSTOBJEXT); \
echo "installing $$cat as $$dir/$(PACKAGE)$(INSTOBJEXT)"; \
$(INSTALL_DATA) $$cat $(DESTDIR)/$$dir/$(PACKAGE)$(INSTOBJEXT); \
echo "installing $$cat as $(DESTDIR)/$$dir/$(PACKAGE)$(INSTOBJEXT)"; \
else \
$(INSTALL_DATA) $(srcdir)/$$cat $$dir/$(PACKAGE)$(INSTOBJEXT); \
$(INSTALL_DATA) $(srcdir)/$$cat $(DESTDIR)/$$dir/$(PACKAGE)$(INSTOBJEXT); \
echo "installing $(srcdir)/$$cat as" \
"$$dir/$(PACKAGE)$(INSTOBJEXT)"; \
fi; \
if test -r $$cat.m; then \
$(INSTALL_DATA) $$cat.m $$dir/$(PACKAGE)$(INSTOBJEXT).m; \
echo "installing $$cat.m as $$dir/$(PACKAGE)$(INSTOBJEXT).m"; \
$(INSTALL_DATA) $$cat.m $(DESTDIR)/$$dir/$(PACKAGE)$(INSTOBJEXT).m; \
echo "installing $$cat.m as $(DESTDIR)/$$dir/$(PACKAGE)$(INSTOBJEXT).m"; \
else \
if test -r $(srcdir)/$$cat.m ; then \
$(INSTALL_DATA) $(srcdir)/$$cat.m \
$$dir/$(PACKAGE)$(INSTOBJEXT).m; \
$(DESTDIR)/$$dir/$(PACKAGE)$(INSTOBJEXT).m; \
echo "installing $(srcdir)/$$cat as" \
"$$dir/$(PACKAGE)$(INSTOBJEXT).m"; \
"$(DESTDIR)/$$dir/$(PACKAGE)$(INSTOBJEXT).m"; \
else \
true; \
fi; \
@ -162,12 +162,12 @@ install-data-yes: all
done
if test "$(PACKAGE)" = "gettext"; then \
if test -r "$(MKINSTALLDIRS)"; then \
$(MKINSTALLDIRS) $(gettextsrcdir); \
$(MKINSTALLDIRS) $(DESTDIR)/$(gettextsrcdir); \
else \
$(SHELL) $(top_srcdir)/mkinstalldirs $(gettextsrcdir); \
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)/$(gettextsrcdir); \
fi; \
$(INSTALL_DATA) $(srcdir)/Makefile.in.in \
$(gettextsrcdir)/Makefile.in.in; \
$(DESTDIR)/$(gettextsrcdir)/Makefile.in.in; \
else \
: ; \
fi

View File

@ -7,7 +7,7 @@
# Please note that the actual code is *not* freely available.
PACKAGE = grep
VERSION = 2.5
VERSION = 2.5.1
SHELL = /bin/sh
@ -111,9 +111,9 @@ install-data: install-data-yes
install-data-no: all
install-data-yes: all
if test -r "$(MKINSTALLDIRS)"; then \
$(MKINSTALLDIRS) $(datadir); \
$(MKINSTALLDIRS) $(DESTDIR)/$(datadir); \
else \
$(SHELL) $(top_srcdir)/mkinstalldirs $(datadir); \
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)/$(datadir); \
fi
@catalogs='$(CATALOGS)'; \
for cat in $$catalogs; do \
@ -125,27 +125,27 @@ install-data-yes: all
lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
dir=$$destdir/$$lang/LC_MESSAGES; \
if test -r "$(MKINSTALLDIRS)"; then \
$(MKINSTALLDIRS) $$dir; \
$(MKINSTALLDIRS) $(DESTDIR)/$$dir; \
else \
$(SHELL) $(top_srcdir)/mkinstalldirs $$dir; \
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)/$$dir; \
fi; \
if test -r $$cat; then \
$(INSTALL_DATA) $$cat $$dir/$(PACKAGE)$(INSTOBJEXT); \
echo "installing $$cat as $$dir/$(PACKAGE)$(INSTOBJEXT)"; \
$(INSTALL_DATA) $$cat $(DESTDIR)/$$dir/$(PACKAGE)$(INSTOBJEXT); \
echo "installing $$cat as $(DESTDIR)/$$dir/$(PACKAGE)$(INSTOBJEXT)"; \
else \
$(INSTALL_DATA) $(srcdir)/$$cat $$dir/$(PACKAGE)$(INSTOBJEXT); \
$(INSTALL_DATA) $(srcdir)/$$cat $(DESTDIR)/$$dir/$(PACKAGE)$(INSTOBJEXT); \
echo "installing $(srcdir)/$$cat as" \
"$$dir/$(PACKAGE)$(INSTOBJEXT)"; \
fi; \
if test -r $$cat.m; then \
$(INSTALL_DATA) $$cat.m $$dir/$(PACKAGE)$(INSTOBJEXT).m; \
echo "installing $$cat.m as $$dir/$(PACKAGE)$(INSTOBJEXT).m"; \
$(INSTALL_DATA) $$cat.m $(DESTDIR)/$$dir/$(PACKAGE)$(INSTOBJEXT).m; \
echo "installing $$cat.m as $(DESTDIR)/$$dir/$(PACKAGE)$(INSTOBJEXT).m"; \
else \
if test -r $(srcdir)/$$cat.m ; then \
$(INSTALL_DATA) $(srcdir)/$$cat.m \
$$dir/$(PACKAGE)$(INSTOBJEXT).m; \
$(DESTDIR)/$$dir/$(PACKAGE)$(INSTOBJEXT).m; \
echo "installing $(srcdir)/$$cat as" \
"$$dir/$(PACKAGE)$(INSTOBJEXT).m"; \
"$(DESTDIR)/$$dir/$(PACKAGE)$(INSTOBJEXT).m"; \
else \
true; \
fi; \
@ -153,12 +153,12 @@ install-data-yes: all
done
if test "$(PACKAGE)" = "gettext"; then \
if test -r "$(MKINSTALLDIRS)"; then \
$(MKINSTALLDIRS) $(gettextsrcdir); \
$(MKINSTALLDIRS) $(DESTDIR)/$(gettextsrcdir); \
else \
$(SHELL) $(top_srcdir)/mkinstalldirs $(gettextsrcdir); \
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)/$(gettextsrcdir); \
fi; \
$(INSTALL_DATA) $(srcdir)/Makefile.in.in \
$(gettextsrcdir)/Makefile.in.in; \
$(DESTDIR)/$(gettextsrcdir)/Makefile.in.in; \
else \
: ; \
fi

View File

@ -111,9 +111,9 @@ install-data: install-data-@USE_NLS@
install-data-no: all
install-data-yes: all
if test -r "$(MKINSTALLDIRS)"; then \
$(MKINSTALLDIRS) $(datadir); \
$(MKINSTALLDIRS) $(DESTDIR)/$(datadir); \
else \
$(SHELL) $(top_srcdir)/mkinstalldirs $(datadir); \
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)/$(datadir); \
fi
@catalogs='$(CATALOGS)'; \
for cat in $$catalogs; do \
@ -125,27 +125,27 @@ install-data-yes: all
lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
dir=$$destdir/$$lang/LC_MESSAGES; \
if test -r "$(MKINSTALLDIRS)"; then \
$(MKINSTALLDIRS) $$dir; \
$(MKINSTALLDIRS) $(DESTDIR)/$$dir; \
else \
$(SHELL) $(top_srcdir)/mkinstalldirs $$dir; \
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)/$$dir; \
fi; \
if test -r $$cat; then \
$(INSTALL_DATA) $$cat $$dir/$(PACKAGE)$(INSTOBJEXT); \
echo "installing $$cat as $$dir/$(PACKAGE)$(INSTOBJEXT)"; \
$(INSTALL_DATA) $$cat $(DESTDIR)/$$dir/$(PACKAGE)$(INSTOBJEXT); \
echo "installing $$cat as $(DESTDIR)/$$dir/$(PACKAGE)$(INSTOBJEXT)"; \
else \
$(INSTALL_DATA) $(srcdir)/$$cat $$dir/$(PACKAGE)$(INSTOBJEXT); \
$(INSTALL_DATA) $(srcdir)/$$cat $(DESTDIR)/$$dir/$(PACKAGE)$(INSTOBJEXT); \
echo "installing $(srcdir)/$$cat as" \
"$$dir/$(PACKAGE)$(INSTOBJEXT)"; \
fi; \
if test -r $$cat.m; then \
$(INSTALL_DATA) $$cat.m $$dir/$(PACKAGE)$(INSTOBJEXT).m; \
echo "installing $$cat.m as $$dir/$(PACKAGE)$(INSTOBJEXT).m"; \
$(INSTALL_DATA) $$cat.m $(DESTDIR)/$$dir/$(PACKAGE)$(INSTOBJEXT).m; \
echo "installing $$cat.m as $(DESTDIR)/$$dir/$(PACKAGE)$(INSTOBJEXT).m"; \
else \
if test -r $(srcdir)/$$cat.m ; then \
$(INSTALL_DATA) $(srcdir)/$$cat.m \
$$dir/$(PACKAGE)$(INSTOBJEXT).m; \
$(DESTDIR)/$$dir/$(PACKAGE)$(INSTOBJEXT).m; \
echo "installing $(srcdir)/$$cat as" \
"$$dir/$(PACKAGE)$(INSTOBJEXT).m"; \
"$(DESTDIR)/$$dir/$(PACKAGE)$(INSTOBJEXT).m"; \
else \
true; \
fi; \
@ -153,12 +153,12 @@ install-data-yes: all
done
if test "$(PACKAGE)" = "gettext"; then \
if test -r "$(MKINSTALLDIRS)"; then \
$(MKINSTALLDIRS) $(gettextsrcdir); \
$(MKINSTALLDIRS) $(DESTDIR)/$(gettextsrcdir); \
else \
$(SHELL) $(top_srcdir)/mkinstalldirs $(gettextsrcdir); \
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)/$(gettextsrcdir); \
fi; \
$(INSTALL_DATA) $(srcdir)/Makefile.in.in \
$(gettextsrcdir)/Makefile.in.in; \
$(DESTDIR)/$(gettextsrcdir)/Makefile.in.in; \
else \
: ; \
fi

View File

@ -1,13 +1,13 @@
# German messages for GNU grep
# Copyright (C) 1997-99, 2000, 2001, 2002 Free Software Foundation, Inc.
# Martin von Löwis <martin@mira.isdn.cs.tu-berlin.de>, 1997-99, 2000, 2001, 2002
# Martin von Löwis <martin@mira.isdn.cs.tu-berlin.de>, 1997-99, 2000, 2001, 2002
#
msgid ""
msgstr ""
"Project-Id-Version: GNU grep 2.5g\n"
"POT-Creation-Date: 2002-01-22 14:39+0100\n"
"PO-Revision-Date: 2002-03-09 01:27+0100\n"
"Last-Translator: Martin von Löwis <martin@v.loewis.de>\n"
"Last-Translator: Martin von Löwis <martin@v.loewis.de>\n"
"Language-Team: German <de@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ISO-8859-1\n"
@ -15,13 +15,13 @@ msgstr ""
#: src/dfa.c:136 src/dfa.c:147 src/dfa.c:158 src/search.c:689
msgid "Memory exhausted"
msgstr "Virtueller Speicher erschöpft."
msgstr "Virtueller Speicher erschöpft."
# Is this message used only for [ without matching ],
# or for ] without [ as well?
#: src/dfa.c:489 src/dfa.c:492 src/dfa.c:510 src/dfa.c:521 src/dfa.c:545 src/dfa.c:604 src/dfa.c:609 src/dfa.c:622 src/dfa.c:623 src/dfa.c:1001 src/dfa.c:1004 src/dfa.c:1028 src/dfa.c:1032 src/dfa.c:1033 src/dfa.c:1036 src/dfa.c:1048 src/dfa.c:1049
msgid "Unbalanced ["
msgstr "Öffnende [ ohne schließende."
msgstr "Öffnende [ ohne schließende."
#: src/dfa.c:741
msgid "Unfinished \\ escape"
@ -33,15 +33,15 @@ msgstr "Unbeendete \\-Escape-Sequenz."
#. {M,N} - M through N
#: src/dfa.c:874 src/dfa.c:880 src/dfa.c:890 src/dfa.c:898 src/dfa.c:913
msgid "unfinished repeat count"
msgstr "Unbeendeter Wiederholungszähler."
msgstr "Unbeendeter Wiederholungszähler."
#: src/dfa.c:887 src/dfa.c:904 src/dfa.c:912 src/dfa.c:916
msgid "malformed repeat count"
msgstr "Unförmiger Wiederholungszähler."
msgstr "Unförmiger Wiederholungszähler."
#: src/dfa.c:1253
msgid "Unbalanced ("
msgstr "Öffnende ( ohne schließende."
msgstr "Öffnende ( ohne schließende."
#: src/dfa.c:1378
msgid "No syntax specified"
@ -49,7 +49,7 @@ msgstr "Keine Syntax angegeben."
#: src/dfa.c:1386
msgid "Unbalanced )"
msgstr "Schließende ) ohne öffnende."
msgstr "Schließende ) ohne öffnende."
#: src/dfa.c:2956
msgid "out of memory"
@ -57,15 +57,15 @@ msgstr "Speicher ist alle."
#: lib/obstack.c:471 src/kwset.c:171 src/kwset.c:177 src/search.c:103 src/search.c:209 src/search.c:293
msgid "memory exhausted"
msgstr "Virtueller Speicher erschöpft."
msgstr "Virtueller Speicher erschöpft."
#: src/grep.c:205
msgid "invalid context length argument"
msgstr "Ungültige Kontextlänge."
msgstr "Ungültige Kontextlänge."
#: src/grep.c:475
msgid "input is too large to count"
msgstr "Eingabe ist zu groß, um gezählt zu werden."
msgstr "Eingabe ist zu groß, um gezählt zu werden."
#: src/grep.c:597
msgid "writing output"
@ -74,7 +74,7 @@ msgstr "Politik, "
#: src/grep.c:870
#, c-format
msgid "Binary file %s matches\n"
msgstr "Übereinstimmungen in Binärdatei %s.\n"
msgstr "Übereinstimmungen in Binärdatei %s.\n"
#: src/grep.c:884
msgid "(standard input)"
@ -97,7 +97,7 @@ msgstr "Aufruf: %s [OPTION]... MUSTER [DATEI]...\n"
#: src/grep.c:1040
#, c-format
msgid "Try `%s --help' for more information.\n"
msgstr "»%s --help« gibt Ihnen mehr Informationen.\n"
msgstr "»%s --help« gibt Ihnen mehr Informationen.\n"
#: src/grep.c:1045
#, c-format
@ -115,7 +115,7 @@ msgstr ""
"Suche nach MUSTER in jeder DATEI oder der Standardeingabe.\n"
"Beispiel: %s -i 'Hallo Welt' menu.h main.c\n"
"\n"
"Auswahl und Interpretation regulärer Ausdrücke:\n"
"Auswahl und Interpretation regulärer Ausdrücke:\n"
#: src/grep.c:1051
msgid ""
@ -124,11 +124,11 @@ msgid ""
" -G, --basic-regexp PATTERN is a basic regular expression\n"
" -P, --perl-regexp PATTERN is a Perl regular expression\n"
msgstr ""
" -E, --extended-regexp MUSTER ist ein erweiterter regulärer Ausdruck.\n"
" -E, --extended-regexp MUSTER ist ein erweiterter regulärer Ausdruck.\n"
" -F, --fixed-strings MUSTER ist eine Menge Newline-getrennter \n"
" Zeichenketten.\n"
" -G, --basic-regexp MUSTER ist ein regulärer Standardausdruck.\n"
" -P, --perl-regexp MUSTER ist ein regulärer Ausdruck, \n"
" -G, --basic-regexp MUSTER ist ein regulärer Standardausdruck.\n"
" -P, --perl-regexp MUSTER ist ein regulärer Ausdruck, \n"
" wie Perl ihn akzeptiert.\n"
#: src/grep.c:1056
@ -140,12 +140,12 @@ msgid ""
" -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=MUSTER MUSTER als regulären Ausdruck verwenden.\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"
" -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"
" -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:1063
@ -160,11 +160,11 @@ msgid ""
msgstr ""
"\n"
"Verschiedenes:\n"
" -s, --no-messages Fehlermeldungen unterdrücken.\n"
" -s, --no-messages Fehlermeldungen unterdrücken.\n"
" -v, --revert-match Nicht-passende Zeilen anzeigen.\n"
" -V, --version Versionsnummer ausgeben und beenden.\n"
" --help Diese Hilfe ausgeben und beenden.\n"
" --mmap Wenn möglich, Eingabe in den Speicher mappen.\n"
" --mmap Wenn möglich, Eingabe in den Speicher mappen.\n"
#: src/grep.c:1071
msgid ""
@ -198,32 +198,32 @@ msgid ""
msgstr ""
"\n"
"Ausgabekontrolle:\n"
" -m, --max-count=ZAHL Nach ZAHL Übereinstimmungen abbrechen.\n"
" -m, --max-count=ZAHL Nach ZAHL Übereinstimmungen abbrechen.\n"
" -b, --byte-offset Byte-Offset anzeigen.\n"
" -n, --line-number Zeilennummer anzeigen.\n"
" --line-buffered Jede Zeile einzeln (ungepuffert) ausgeben.\n"
" -H, --with-filename Dateinamen bei jeder Übereinstimmung anzeigen.\n"
" -H, --with-filename Dateinamen bei jeder Übereinstimmung anzeigen.\n"
" -h, --no-filename Dateinamen nicht anzeigen.\n"
" --label=TEXT TEXT als Dateiname für Standardeingabe ausgeben.\n"
" --label=TEXT TEXT als Dateiname für Standardeingabe ausgeben.\n"
" -o, --only-matching Nur den Teil der Zeile anzeigen, die mit MUSTER\n"
" übereinstimmt.\n"
" -q, --quiet, --silent Alle normalen Ausgaben unterdrücken.\n"
" --binary-files=TYP Binärdateien als TYP annehmen. TYP kann \n"
" »binary«, »text« oder »without-match« sein.\n"
" übereinstimmt.\n"
" -q, --quiet, --silent Alle normalen Ausgaben unterdrücken.\n"
" --binary-files=TYP Binärdateien als TYP annehmen. TYP kann \n"
" »binary«, »text« oder »without-match« sein.\n"
" -a, --text Entspricht --binary-files=text.\n"
" -I Entspricht --binary-files=without-match.\n"
" -d, --directories=AKTION Verarbeitung von Verzeichnissen festlegen.\n"
" AKTION ist 'read', 'recurse', oder 'skip'.\n"
" -D, --devices=AKTION Verarbeitung von Gerätedateien, FIFOs und\n"
" Sockets festlegt. AKTION ist »read« oder »write«.\n"
" -R, -r, --recursive Äquivalent zu --directories=recurse.\n"
" -D, --devices=AKTION Verarbeitung von Gerätedateien, FIFOs und\n"
" Sockets festlegt. AKTION ist »read« oder »write«.\n"
" -R, -r, --recursive Äquivalent zu --directories=recurse.\n"
" --include=MUSTER Dateien untersuchen, die auf MUSTER passen.\n"
" --exclude=MUSTER Dateien überspringen, die auf MUSTER passen.\n"
" --exclude-from=DATEI Dateien überspringen, die auf ein Muster \n"
" --exclude=MUSTER Dateien überspringen, die auf MUSTER passen.\n"
" --exclude-from=DATEI Dateien überspringen, die auf ein Muster \n"
" in DATEI passen.\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"
" Ü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"
@ -254,14 +254,14 @@ msgstr ""
" -ZAHL Wie --context=ZAHL.\n"
" --color[=WENN], \n"
" --colour=[WENN] Passende Textfragmente markieren.\n"
" WENN kann »always«, »never« oder »auto« sein.\n"
" WENN kann »always«, »never« oder »auto« sein.\n"
" -U, --binary CR-Zeichen am Zeilenende belassen (MSDOS).\n"
" -u, --unix-byte-offsets Offsets ausgeben, als fehlten CR-Zeichen (MSDOS).\n"
"\n"
"»egrep« bedeutet »grep -E«. »fgrep« bedeutet »grep -F«.\n"
"Wenn DATEI fehlt oder »-« ist, wird die Standardeingabe gelesen.\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 Problemen.\n"
"Übereinstimmungen, 1 ohne, 2 bei Problemen.\n"
#: src/grep.c:1116
msgid ""
@ -277,19 +277,19 @@ msgstr "Festgelegte Vergleicher widersprechen einander."
#: src/grep.c:1363
msgid "unknown devices method"
msgstr "Unbekannte Methode für Gerätedateien."
msgstr "Unbekannte Methode für Gerätedateien."
#: src/grep.c:1430
msgid "unknown directories method"
msgstr "Unbekannte Methode für Verzeichnisse."
msgstr "Unbekannte Methode für Verzeichnisse."
#: src/grep.c:1497
msgid "invalid max count"
msgstr "Unbeendeter Maximalzähler."
msgstr "Unbeendeter Maximalzähler."
#: src/grep.c:1551
msgid "unknown binary-files type"
msgstr "Unbekannter Typ für »--binary-files«."
msgstr "Unbekannter Typ für »--binary-files«."
#: src/grep.c:1646
#, c-format
@ -306,16 +306,16 @@ msgid ""
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
msgstr ""
"Dies ist freie Software; in den Quellen befinden sich die Lizenzbedingungen.\n"
"Es gibt KEINERLEI Garantie; nicht einmal für die TAUGLICHKEIT oder\n"
"VERWENDBARKEIT FÜR EINEN BESTIMMTEN ZWECK.\n"
"Es gibt KEINERLEI Garantie; nicht einmal für die TAUGLICHKEIT oder\n"
"VERWENDBARKEIT FÜR EINEN BESTIMMTEN ZWECK.\n"
#: src/search.c:606
msgid "The -P option is not supported"
msgstr "Die Option -P ist nicht unterstützt."
msgstr "Die Option -P ist nicht unterstützt."
#: src/search.c:619
msgid "The -P and -z options cannot be combined"
msgstr "Die Optionen -P und -z können nicht kombiniert werden."
msgstr "Die Optionen -P und -z können nicht kombiniert werden."
#: lib/error.c:117
msgid "Unknown system error"
@ -324,45 +324,45 @@ msgstr "Unbekannter Systemfehler."
#: lib/getopt.c:675
#, c-format
msgid "%s: option `%s' is ambiguous\n"
msgstr "%s: Die Option »%s« ist mehrdeutig.\n"
msgstr "%s: Die Option »%s« ist mehrdeutig.\n"
#: lib/getopt.c:700
#, c-format
msgid "%s: option `--%s' doesn't allow an argument\n"
msgstr "%s: Die Option »%s« erlaubt keinen Parameter.\n"
msgstr "%s: Die Option »%s« erlaubt keinen Parameter.\n"
#: lib/getopt.c:705
#, c-format
msgid "%s: option `%c%s' doesn't allow an argument\n"
msgstr "%s: Die Option »%c%s« erlaubt keinen Parameter.\n"
msgstr "%s: Die Option »%c%s« erlaubt keinen Parameter.\n"
#: lib/getopt.c:723 lib/getopt.c:896
#, c-format
msgid "%s: option `%s' requires an argument\n"
msgstr "%s: Die Option »%s« verlangt einen Parameter.\n"
msgstr "%s: Die Option »%s« verlangt einen Parameter.\n"
#. --option
#: lib/getopt.c:752
#, c-format
msgid "%s: unrecognized option `--%s'\n"
msgstr "%s: Nicht erkannte Option »--%s«\n"
msgstr "%s: Nicht erkannte Option »--%s«\n"
#. +option or -option
#: lib/getopt.c:756
#, c-format
msgid "%s: unrecognized option `%c%s'\n"
msgstr "%s: Nicht erkannte Option »%c%s«.\n"
msgstr "%s: Nicht erkannte Option »%c%s«.\n"
#. 1003.2 specifies the format of this message.
#: lib/getopt.c:782
#, c-format
msgid "%s: illegal option -- %c\n"
msgstr "%s: Ungültige Option -- %c.\n"
msgstr "%s: Ungültige Option -- %c.\n"
#: lib/getopt.c:785
#, c-format
msgid "%s: invalid option -- %c\n"
msgstr "%s: Ungültige Option -- %c.\n"
msgstr "%s: Ungültige Option -- %c.\n"
#. 1003.2 specifies the format of this message.
#: lib/getopt.c:815 lib/getopt.c:945
@ -373,12 +373,12 @@ msgstr "%s: Option verlangt einen Parameter -- %c.\n"
#: lib/getopt.c:862
#, c-format
msgid "%s: option `-W %s' is ambiguous\n"
msgstr "%s: Option »-W %s« ist zweideutig.\n"
msgstr "%s: Option »-W %s« ist zweideutig.\n"
#: lib/getopt.c:880
#, c-format
msgid "%s: option `-W %s' doesn't allow an argument\n"
msgstr "%s: Option »-W %s« erlaubt keinen Parameter.\n"
msgstr "%s: Option »-W %s« erlaubt keinen Parameter.\n"
#. Get translations for open and closing quotation marks.
#.
@ -396,8 +396,8 @@ msgstr "%s: Option »-W %s« erlaubt keinen Parameter.\n"
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
#: lib/quotearg.c:259
msgid "`"
msgstr "»"
msgstr "»"
#: lib/quotearg.c:260
msgid "'"
msgstr "«"
msgstr "«"

View File

@ -1,13 +1,13 @@
# Greek messages for GNU grep-2.5e.
# Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
# Simos Xenitellis <S.Xenitellis@rhbnc.ac.uk>, 1998, 1999, 2000, 2001.
# Greek messages for GNU grep-2.5g.
# Copyright (C) 1998, 2002 Free Software Foundation, Inc.
# Simos Xenitellis <simos@hellug.gr>, 1998, 2002.
#
msgid ""
msgstr ""
"Project-Id-Version: GNU grep 2.5e\n"
"POT-Creation-Date: 2001-03-07 00:02-0500\n"
"PO-Revision-Date: 2001-05-07 00:02+0000\n"
"Last-Translator: Simos Xenitellis <S.Xenitellis@rhbnc.ac.uk>\n"
"Project-Id-Version: GNU grep 2.5g\n"
"POT-Creation-Date: 2002-01-22 14:39+0100\n"
"PO-Revision-Date: 2002-03-11 12:00+0000\n"
"Last-Translator: Simos Xenitellis <simos@hellug.gr>\n"
"Language-Team: Greek <nls@tux.hellug.gr>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ISO-8859-7\n"
@ -15,7 +15,7 @@ msgstr ""
# 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:136 src/dfa.c:147 src/dfa.c:158 src/grep.c:944 src/search.c:706
#: src/dfa.c:136 src/dfa.c:147 src/dfa.c:158 src/search.c:689
msgid "Memory exhausted"
msgstr "Ç ìíÞìç åîáíôëÞèçêå"
@ -23,16 +23,13 @@ msgstr "
# 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:486 src/dfa.c:489 src/dfa.c:507 src/dfa.c:518 src/dfa.c:542
#: src/dfa.c:601 src/dfa.c:606 src/dfa.c:619 src/dfa.c:620 src/dfa.c:998
#: src/dfa.c:1001 src/dfa.c:1025 src/dfa.c:1029 src/dfa.c:1030 src/dfa.c:1033
#: src/dfa.c:1045 src/dfa.c:1046
#: src/dfa.c:489 src/dfa.c:492 src/dfa.c:510 src/dfa.c:521 src/dfa.c:545 src/dfa.c:604 src/dfa.c:609 src/dfa.c:622 src/dfa.c:623 src/dfa.c:1001 src/dfa.c:1004 src/dfa.c:1028 src/dfa.c:1032 src/dfa.c:1033 src/dfa.c:1036 src/dfa.c:1048 src/dfa.c:1049
msgid "Unbalanced ["
msgstr "Μη ισσοροπημένο ["
msgstr "Μη ισορροπημένο ["
# src/dfa.c:444
# src/dfa.c:452
#: src/dfa.c:738
#: src/dfa.c:741
msgid "Unfinished \\ escape"
msgstr "Ìç ôåñìáôéóìÝíïò ÷áñáêôÞñáò äéáöõãÞò \\"
@ -42,111 +39,110 @@ msgstr "
#. {M} - exact count
#. {M,} - minimum count, maximum is infinity
#. {M,N} - M through N
#: src/dfa.c:871 src/dfa.c:877 src/dfa.c:887 src/dfa.c:895 src/dfa.c:910
#: src/dfa.c:874 src/dfa.c:880 src/dfa.c:890 src/dfa.c:898 src/dfa.c:913
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:884 src/dfa.c:901 src/dfa.c:909 src/dfa.c:913
#: src/dfa.c:887 src/dfa.c:904 src/dfa.c:912 src/dfa.c:916
msgid "malformed repeat count"
msgstr "êáêïó÷çìáôéóìÝíïò ìåôñçôÞò åðáíÜëçøçò"
# src/dfa.c:841
# src/dfa.c:849
#: src/dfa.c:1232
#: src/dfa.c:1253
msgid "Unbalanced ("
msgstr "Ìç éóïññïðçìÝíï ("
# src/dfa.c:962
# src/dfa.c:970
#: src/dfa.c:1357
#: src/dfa.c:1378
msgid "No syntax specified"
msgstr "Äåí ïñßóôçêå óõíôáêôéêü"
# src/dfa.c:970
# src/dfa.c:978
#: src/dfa.c:1365
#: src/dfa.c:1386
msgid "Unbalanced )"
msgstr "Ìç éóïññïðçìÝíï )"
# src/dfa.c:1990
# src/dfa.c:1998
#: src/dfa.c:2933
#: src/dfa.c:2956
msgid "out of memory"
msgstr "εξαντλήθηκε η μνήμη"
msgstr "η μνήμη εξαντλήθηκε"
# 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
#: lib/obstack.c:471 src/grep.c:343 src/kwset.c:171 src/kwset.c:177
#: src/search.c:103 src/search.c:223 src/search.c:307
#: lib/obstack.c:471 src/kwset.c:171 src/kwset.c:177 src/search.c:103 src/search.c:209 src/search.c:293
msgid "memory exhausted"
msgstr "ç ìíÞìç åîáíôëÞèçêå"
# src/grep.c:785 src/grep.c:792
# src/grep.c:1060 src/grep.c:1067 src/grep.c:1076
#: src/grep.c:191
#: src/grep.c:205
msgid "invalid context length argument"
msgstr "ìç Ýãêõñï üñéóìá ìÞêïõò ðåñéå÷ïìÝíïõ"
#: src/grep.c:466
#: src/grep.c:475
msgid "input is too large to count"
msgstr ""
msgstr "η είσοδος είναι πολύ μεγάλη για να μετρηθεί"
# src/grep.c:392 src/grep.c:1034
# src/grep.c:487 src/grep.c:1284
#: src/grep.c:539
#: src/grep.c:597
msgid "writing output"
msgstr "åããñáöÞ áðïôåëÝóìáôïò"
# src/grep.c:715
#: src/grep.c:812
#: src/grep.c:870
#, c-format
msgid "Binary file %s matches\n"
msgstr "Δυαδικό αρχείο %s ταιριάσματα\n"
msgstr "Το δυαδικό αρχείο %s ταιριάζει\n"
# src/grep.c:964 src/grep.c:1015
# src/grep.c:730
#: src/grep.c:826
#: src/grep.c:884
msgid "(standard input)"
msgstr "(στάνταρτ είσοδος)"
msgstr "(κανονική είσοδος)"
# src/grep.c:293
# src/grep.c:366
#: src/grep.c:931
#, fuzzy, c-format
#: src/grep.c:989
#, c-format
msgid "warning: %s: %s\n"
msgstr "%s: προειδοποίηση: %s: %s\n"
msgstr "προειδοποίηση: %s: %s\n"
# src/grep.c:844
#: src/grep.c:932
#: src/grep.c:990
msgid "recursive directory loop"
msgstr "áíáäñïìéêÞ áëëçëïäéáäï÷Þ êáôáëüãùí"
# src/grep.c:597
# src/grep.c:862
#: src/grep.c:980
#: src/grep.c:1038
#, c-format
msgid "Usage: %s [OPTION]... PATTERN [FILE]...\n"
msgstr "Χρήση: %s [ΕΠΙΛΟΓΗ]... ΣΧΗΜΑΤΙΣΜΟΣ [ΑΡΧΕΙΟ]...\n"
msgstr "Χρήση: %s [ΕΠΙΛΟΓΗ]... ΥΠΟΔΕΙΓΜΑ [ΑΡΧΕΙΟ]...\n"
# src/grep.c:598
# src/grep.c:863
#: src/grep.c:982
#: src/grep.c:1040
#, 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:987
#: src/grep.c:1045
#, c-format
msgid "Usage: %s [OPTION]... PATTERN [FILE] ...\n"
msgstr "Χρήση: %s [ΕΠΙΛΟΓΗ]... ΣΧΗΜΑΤΙΣΜΟΣ [ΑΡΧΕΙΟ] ...\n"
msgstr "Χρήση: %s [ΕΠΙΛΟΓΗ]... ΥΠΟΔΕΙΓΜΑ [ΑΡΧΕΙΟ] ...\n"
#: src/grep.c:988
#: src/grep.c:1046
#, c-format
msgid ""
"Search for PATTERN in each FILE or standard input.\n"
@ -154,19 +150,27 @@ msgid ""
"\n"
"Regexp selection and interpretation:\n"
msgstr ""
"Εύρεση του ΥΠΟΔΕΙΓΜΑτος σε κάθε ΑΡΧΕΙΟ ή την κανονική είσοδο.\n"
"Παράδειγμα: %s -i 'hello world' menu.h main.c\n"
"\n"
"Επιλογή κανονικής έκφρασης και ερμηνεία:\n"
#: src/grep.c:993
#: src/grep.c:1051
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"
" -P, --perl-regexp PATTERN is a Perl regular expression\n"
msgstr ""
" -E, --extended-regexp ΥΠΟΔΕΙΓΜΑ είναι μια εκτεταμένη κανονική έκφραση\n"
" -F, --fixed-regexp ΥΠΟΔΕΙΓΜΑ είναι στατικό αλφαριθμητικό διαχωρι-\n"
" ζόμενο με χαρακτήρες αλλαγής γραμμής\n"
" -G, --basic-regexp ΥΠΟΔΕΙΓΜΑ είναι απλή κανονική έκφραση\n"
" -P, --perl-regexp ΥΠΟΔΕΙΓΜΑ είναι κανονική έκφραση Perl\n"
# src/grep.c:603
# src/grep.c:868
#: src/grep.c:998
#, fuzzy
#: src/grep.c:1056
msgid ""
" -e, --regexp=PATTERN use PATTERN as a regular expression\n"
" -f, --file=FILE obtain PATTERN from FILE\n"
@ -175,25 +179,19 @@ msgid ""
" -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"
" ζόμενο με χαρακτήρες αλλαγής γραμμής\n"
" -G, --basic-regexp ΣΧΗΜΑΤΙΣΜΟΣ είναι απλή κανονική έκφραση\n"
" -e, --regexp=ΣΧΗΜΑΤΙΣΜΟΣ χρήση ΣΧΗΜΑΤΙΣΜΟΥ για κανονική έκφραση\n"
" -f, --file=ΑΡΧΕΙΟ λήψη ΣΧΗΜΑΤΙΣΜΟΥ από το αρχείο ΑΡΧΕΙΟ\n"
" -e, --regexp=ΥΠΟΔΕΙΓΜΑ χρήση ΥΠΟΔΕΙΓΜΑτος για κανονική έκφραση\n"
" -f, --file=ΑΡΧΕΙΟ λήψη ΥΠΟΔΕΙΓΜΑτος από το αρχείο ΑΡΧΕΙΟ\n"
" -i, --ignore-case áãíüçóå äéáöïñÝò ðåæþí/êåöáëáßùí\n"
" -w, --word-regexp επιβολή του ΣΧΗΜΑΤΙΣΜΟΥ να ταιριάζει μόνο\n"
" -w, --word-regexp επιβολή του ΥΠΟΔΕΙΓΜΑτος να ταιριάζει μόνο\n"
" ïëüêëçñåò ëÝîåéò\n"
" -x, --line-regexp επιβολή του ΣΧΗΜΑΤΙΣΜΟΥ να ταιριάζει μόνο\n"
" -x, --line-regexp επιβολή του ΥΠΟΔΕΙΓΜΑτος να ταιριάζει μόνο\n"
" ïëüêëçñåò ãñáììÝò\n"
" -z, --null-data η γραμμή δεδομένων τερματίζεται με byte 0\n"
" και όχι με χαρακτήρα αλλαγής γραμμής\n"
# src/grep.c:615
# src/grep.c:880
#: src/grep.c:1005
#, fuzzy
#: src/grep.c:1063
msgid ""
"\n"
"Miscellaneous:\n"
@ -205,15 +203,16 @@ msgid ""
msgstr ""
"\n"
"ËïéðÜ:\n"
" -s, --no-messages αποφυγή εμφάνισης μυνημάτων σφαλμάτων\n"
" -s, --no-messages αποφυγή εμφάνισης μηνυμάτων σφαλμάτων\n"
" -v, --revert-match åðéëïãÞ ãñáììþí ðïõ äåí ôáéñéÜæïõí\n"
" -V, --version åìöÜíéóçò ðëçñïöïñéþí Ýêäïóçò êáé Ýîïäïò\n"
" --help åìöÜíéóçò áõôÞò ôçò âïÞèåéáò êáé Ýîïäïò\n"
" --mmap χρήση εισόδου απεικονισμένη-στη-μνήμη αν\n"
" υπάρχει τέτοια δυνατότητα\n"
# src/grep.c:622
# src/grep.c:887
#: src/grep.c:1013
#, fuzzy
#: src/grep.c:1071
msgid ""
"\n"
"Output control:\n"
@ -223,6 +222,8 @@ msgid ""
" --line-buffered flush output on every line\n"
" -H, --with-filename print the filename for each match\n"
" -h, --no-filename suppress the prefixing filename on output\n"
" --label=LABEL print LABEL as filename for standard input\n"
" -o, --only-matching show only the part of a line matching PATTERN\n"
" -q, --quiet, --silent suppress all normal output\n"
" --binary-files=TYPE assume that binary files are TYPE\n"
" TYPE is 'binary', 'text', or 'without-match'\n"
@ -230,10 +231,12 @@ msgid ""
" -I equivalent to --binary-files=without-match\n"
" -d, --directories=ACTION how to handle directories\n"
" ACTION is 'read', 'recurse', or 'skip'\n"
" -D, --devices=ACTION how to handle devices, FIFOs and sockets\n"
" ACTION is 'read' or 'skip'\n"
" -R, -r, --recursive equivalent to --directories=recurse\n"
" --include=PATTERN files that match PATTERN will be examine\n"
" --exclude=PATTERN files that match PATTERN will be skip.\n"
" --exclude-from=FILE files that match PATTERN in FILE will be skip.\n"
" --include=PATTERN files that match PATTERN will be examined\n"
" --exclude=PATTERN files that match PATTERN will be skipped.\n"
" --exclude-from=FILE files that match PATTERN in FILE will be skipped.\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"
@ -241,28 +244,41 @@ msgid ""
msgstr ""
"\n"
"¸ëåã÷ïò åîüäïõ:\n"
" -m, --max-count=ΑΡΙΘΜΟΣ σταμάτημα μετά από ΑΡΙΘΜΟ ταιριάσματα\n"
" -b, --byte-offset åìöÜíéóç ó÷åôéêÞò èÝóçò ôïõ byte ìå ôéò ãñáììÝò\n"
" åîüäïõ\n"
" -n, --line-number åìöÜíéóç áñéèìþí ãñáììÞò ìå ôéò ãñáììÝò åîüäïõ\n"
" -H, --with-filename åìöÜíéóç ïíüìáôïò áñ÷åßïõ ìå êÜèå ôáßñéáóìá\n"
" -h, --no-filename áðïöõãÞ åìöÜíéóçò ôïõ ïíüìáôïò ôïõ áñ÷åßïõ óôçí\n"
" áñ÷Þ ôçò åîüäïõ\n"
" --label=LABEL print LABEL as filename for standard input\n"
" -o, --only-matching show only the part of a line matching PATTERN\n"
" -q, --quiet, --silent áðïöõãÞ åìöÜíéóçò üëçò ôçò êáíïíéêÞò åîüäïõ\n"
" --binary-files=TYPE assume that binary files are TYPE\n"
" TYPE is 'binary', 'text', or 'without-match'\n"
" -a, --text íá ìçí áðïöåõ÷èåß ç Ýîïäïò äõáäéêþí äåäïìÝíùí\n"
" -I equivalent to --binary-files=without-match\n"
" -d, --directories=ÅÍÅÑÃÅÉÁ ôñüðïò ÷ñÞóçò ôùí êáôáëüãùí\n"
" Ç ÅÍÅÑÃÅÉÁ åßíáé 'read', 'recurse' Þ 'skip'.\n"
" (Ãéá áíÜãíùóç, áíáäñïìÞ êáé ðáñÜêáìøç áíôßóôïé÷á).\n"
" -r, --recursive ισοδύναμο με --directories=recurse.\n"
" -D, --devices=ΕΝΕΡΓΕΙΑ τρόπος χρήσης των συσκευών, FIFO και socket\n"
" Η ΕΝΕΡΓΕΙΑ είναι 'read' ή 'skip'.\n"
" (Για ανάγνωση και παράκαμψη αντίστοιχα).\n"
" -R, -r, --recursive ισοδύναμο με --directories=recurse.\n"
" --include=ΥΠΟΔΕΙΓΜΑ θα ελεγχθούν αρχεία που ταιριάζουν στο ΥΠΟΔΕΙΓΜΑ.\n"
" --exclude=ΥΠΟΔΕΙΓΜΑ θα παρακαμφθούν αρχεία που ταιριάζουν στο ΥΠΟΔΕΙΓΜΑ\n"
" --exclude-from=ΑΡΧΕΙΟ θα παρακαμφθούν τα αρχεία που ταιριάζουν στα\n"
" ΥΠΟΔΕΙΓΜΑτα που περιέχονται μέσα στο ΑΡΧΕΙΟ.\n"
" -L, --files-without-match åìöÜíéóç ìüíï ôá ïíüìáôá ÁÑ×ÅÉÙÍ ðïõ äåí\n"
" ðåñéÝ÷ïõí ôáéñéÜóìáôá\n"
" -l, --files-with-matches åìöÜíéóç ìüíï ôá ïíüìáôá ÁÑ×ÅÉÙÍ ìå ôáéñéÜóìáôá\n"
" -c, --count åìöÜíéóç ìüíï ôïí áñéèìü ôùí ãñáììþí ìå\n"
" ôáéñéÜóìáôá ãéá êÜèå ÁÑ×ÅÉÏ\n"
" -Z, --null εγγραφή ενός μηδενικού byte μετά το όνομα ΑΡΧΕΙΟΥ\n"
# src/grep.c:633
# src/grep.c:902
#: src/grep.c:1037
#, fuzzy
#: src/grep.c:1099
msgid ""
"\n"
"Context control:\n"
@ -270,7 +286,9 @@ msgid ""
" -A, --after-context=NUM print NUM lines of trailing context\n"
" -C, --context=NUM print NUM lines of output context\n"
" -NUM same as --context=NUM\n"
" --color, --colour use markers to distinguish the matching string\n"
" --color[=WHEN],\n"
" --colour[=WHEN] use markers to distinguish the matching string\n"
" WHEN may be `always', `never' or `auto'.\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"
@ -280,90 +298,101 @@ msgid ""
"and 2 if trouble.\n"
msgstr ""
"\n"
"Έλεγχος βάση του περιεχομένου:\n"
" -B, --before-context=ΑΡΙΘΜΟΣ εμφάνιση ΑΡΙΘΜΟΣ γραμμών με ακολουθούμενο\n"
"Έλεγχος βάσει του περιεχομένου:\n"
" -B, --before-context=ΑΡΙΘΜΟΣ εμφάνιση ΑΡΙΘΜΟΣ γραμμών με ακολουθούμενο\n"
" ðåñéå÷üìåíï\n"
" -A, --after-context=ÁÑÉÈÌÏÓ åìöÜíéóç ÁÑÉÈÌÏÓ ãñáììþí ìå ðñïðïñåõüìåíï\n"
" ðåñéå÷üìåíï\n"
" -C, --context[=ΑΡΙΘΜΟΣ] εμφάνιση ΑΡΙΘΜΟΣ (εξ ορισμού 2) γραμμών με\n"
" -C, --context=ΑΡΙΘΜΟΣ εμφάνιση ΑΡΙΘΜΟΣ (εξ ορισμού 2) γραμμών με\n"
" ðåñéå÷üìåíï åîüäïõ\n"
" εκτός κι αν αναιρεθεί με -A ή -B\n"
" εκτός κι αν αναιρεθεί με -A ή -B\n"
" -NUM ôï ßäéï ìå --context=ÁÑÉÈÌÏÓ\n"
" --color[=WHEN],\n"
" --colour[=WHEN] use markers to distinguish the matching string\n"
" WHEN may be `always', `never' or `auto'.\n"
" -U, --binary íá ìçí áðáëåßöïíôáé ÷áñáêôÞñåò CR óôï EOL (MSDOS)\n"
" -u, --unix-byte-offsets áíáöïñÜ ó÷åôéêþí èÝóåùí óá íá ìçí õðÞñ÷áí\n"
" ÷áñáêôÞñåò CR (MSDOS)\n"
"\n"
"Αν δεν υπάρχει -[GEF], τότε η `egrep' θεωρεί -E, η `fgrep' -F αλλιώς -G.\n"
"Χωρίς ΑΡΧΕΙΟ ή όταν το ΑΡΧΕΙΟ είναι -, ανάγνωση από στάνταρτ είσοδο.\n"
"Αν δίνονται λιγότερα από δύο ΑΡΧΕΙΑ, θεώρησε ότι δίνεται -h. Έξοδος με 0\n"
"όταν υπάρχει ταίριασμα, διαφορετικά με 1. Έξοδος με 2 στην περίπτωση\n"
"συντακτικών σφαλμάτων ή σφαλμάτων συστήματος.\n"
"To `egrep' είναι ισοδύναμο του `grep -E'. Το `fgrep' είναι ισοδύναμο του\n"
"`grep -F'.\n"
"With no FILE, or when FILE is -, read standard input. If less than\n"
"Χωρία ΑΡΧΕΙΟ, ή όταν το ΑΡΧΕΙΟ είναι -, διαβάζεται η κανονική είσοδος.\n"
"Αν στα ορίσματα υπάρχουν λιγότερα από δύο ΑΡΧΕΙΑ, τότε υποτίθεται ότι έχει\n"
"δοθεί η επιλογή -h. Η κατάσταση εξόδου του προγράμματος είναι 0 αν βρέθηκε\n"
"το ΥΠΟΔΕΙΓΜΑ, 1 αν δεν βρέθηκε και 2 αν προέκυψε κάποιο πρόβλημα.\n"
# src/grep.c:647
# src/grep.c:917
#: src/grep.c:1052
msgid "\nReport bugs to <bug-gnu-utils@gnu.org>.\n"
msgstr "\nΣτείλτε αναφορές σφαλμάτων στο <bug-gnu-utils@gnu.org>.\n"
#: src/grep.c:1116
msgid ""
"\n"
"Report bugs to <bug-gnu-utils@gnu.org>.\n"
msgstr ""
"\n"
"Στείλτε αναφορές σφαλμάτων στο <bug-gnu-utils@gnu.org>.\n"
# src/grep.c:829
# src/grep.c:1112
#: src/grep.c:1062
#, fuzzy
#: src/grep.c:1126
msgid "conflicting matchers specified"
msgstr "το στοιχείο που πρόκειται να αναζητηθεί, έχει ήδη οριστεί"
msgstr "ορίστηκαν αντικρουόμενα στοιχεία αναζήτησης"
# src/grep.c:1133
#: src/grep.c:1355
#: src/grep.c:1363
msgid "unknown devices method"
msgstr "άγνωστη μέθοδος συσκευών"
# src/grep.c:1133
#: src/grep.c:1430
msgid "unknown directories method"
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
#: src/grep.c:1422
#, fuzzy
#: src/grep.c:1497
msgid "invalid max count"
msgstr "μη τερματισμένος μετρητής επανάληψης"
msgstr "μη έγκυρος μέγιστος μετρητής"
#: src/grep.c:1472
#: src/grep.c:1551
msgid "unknown binary-files type"
msgstr ""
msgstr "άγνωστο είδος δυαδικών αρχείων"
# src/grep.c:915
# src/grep.c:1219
#: src/grep.c:1543
#, fuzzy, c-format
#: src/grep.c:1646
#, c-format
msgid "%s (GNU grep) %s\n"
msgstr "grep (GNU grep) %s\n"
msgstr "%s (GNU grep) %s\n"
# src/grep.c:917
# src/grep.c:1221
#: src/grep.c:1545
#, fuzzy
#: src/grep.c:1648
msgid "Copyright 1988, 1992-1999, 2000, 2001 Free Software Foundation, Inc.\n"
msgstr "Copyright (C) 1988, 1992-1997, Free Software Foundation, Inc.\n"
msgstr "Δικαίωμα αντιγραφής 1988, 1992-1999, 2000, 2001 Ίδρυμα Ελεύθερου Λογισμικού\n"
# src/grep.c:919
# src/grep.c:1223
#: src/grep.c:1547
#: src/grep.c:1650
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 ""
"Αυτό είναι ελεύθερο λογισμικό, δείτε το πηγαίο κώδικα για τους κανόνες\n"
"Αυτό είναι ελεύθερο λογισμικό, δείτε τον πηγαίο κώδικα για τους κανόνες\n"
"áíôéãñáöÞò. ÄÅÍ õðÜñ÷åé åããýçóç, ïýôå áêüìá ãéá ×ÑÇÓÉÌÏÔÇÔÁ Þ ÊÁÔÁËËÇËÏÔÇÔÁ\n"
"ÃÉÁ ÅÍÁ ÓÕÃÊÅÊÑÉÌÅÍÏ ÓÊÏÐÏ.\n"
#: src/search.c:623
#: src/search.c:606
msgid "The -P option is not supported"
msgstr ""
msgstr "Η επιλογή -P δεν υποστηρίζεται"
#: src/search.c:636
#: src/search.c:619
msgid "The -P and -z options cannot be combined"
msgstr ""
msgstr "Οι επιλογές -P και -z δεν μπορούν να συνδυαστούν"
#: lib/error.c:117
msgid "Unknown system error"
msgstr ""
msgstr "Άγνωστο λάθος συστήματος"
# src/getopt.c:628
# src/getopt.c:628
@ -460,74 +489,74 @@ msgstr "%s:
#. MARK). A British English Unicode locale should instead
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
#: lib/quotearg.c:265
#: lib/quotearg.c:259
msgid "`"
msgstr ""
msgstr "`"
#: lib/quotearg.c:266
#: lib/quotearg.c:260
msgid "'"
msgstr ""
msgstr "'"
#~ # src/getopt1.c:132
#~ # src/getopt1.c:132
# src/getopt1.c:132
# src/getopt1.c:132
#~ msgid "option %s"
#~ msgstr "åðéëïãÞ %s"
#~ # src/getopt1.c:134
#~ # src/getopt1.c:134
# src/getopt1.c:134
# src/getopt1.c:134
#~ msgid " with arg %s"
#~ msgstr " ìå üñéóìá %s"
#~ # src/getopt1.c:149
#~ # 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
# src/getopt1.c:151
#~ msgid "option %c\n"
#~ msgstr "åðéëïãÞ %c\n"
#~ # src/getopt1.c:155
#~ # 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
# src/getopt1.c:159
#~ msgid "option b\n"
#~ msgstr "åðéëïãÞ â\n"
#~ # src/getopt1.c:163
#~ # src/getopt1.c:163
# src/getopt1.c:163
# src/getopt1.c:163
#~ msgid "option c with value `%s'\n"
#~ msgstr "åðéëïãÞ ã ìå ôéìÞ `%s'\n"
#~ # src/getopt1.c:167
#~ # src/getopt1.c:167
# src/getopt1.c:167
# src/getopt1.c:167
#~ msgid "option d with value `%s'\n"
#~ msgstr "åðéëïãÞ ä ìå ôéìÞ `%s'\n"
#~ # src/getopt1.c:174
#~ # src/getopt1.c:174
# src/getopt1.c:174
# src/getopt1.c:174
#~ 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
# src/getopt1.c:180
#~ msgid "non-option ARGV-elements: "
#~ msgstr "ARGV-óôïé÷åßá ðïõ äåí åßíáé åðéëïãÝò: "
#~ # 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: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/obstack.c:467
#~ # src/obstack.c:467
# src/obstack.c:467
# src/obstack.c:467
#~ msgid "memory exhausted\n"
#~ msgstr "ç ìíÞìç åîáíôëÞèçêå\n"
#~ # src/grep.c:1027 src/grep.c:1030
# src/grep.c:1027 src/grep.c:1030
#~ msgid "(standard input)\n"
#~ msgstr "(êáíïíéêÞ åßóïäïò)\n"

View File

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GNU grep 2.5g\n"
"POT-Creation-Date: 2002-01-22 14:39+0100\n"
"PO-Revision-Date: 2002-03-10 08:00-0500\n"
"PO-Revision-Date: 2002-03-17 20:00-0500\n"
"Last-Translator: Michel Robitaille <robitail@IRO.UMontreal.CA>\n"
"Language-Team: French <traduc@traduc.org>\n"
"MIME-Version: 1.0\n"
@ -95,7 +95,7 @@ msgstr "Usage: %s [OPTION]... PATRON [FICHIER]...\n"
#: src/grep.c:1040
#, c-format
msgid "Try `%s --help' for more information.\n"
msgstr "Pour en savoir davantage, faites: «%s --help».\n"
msgstr "Pour en savoir davantage, faites: « %s --help ».\n"
#: src/grep.c:1045
#, c-format
@ -209,12 +209,12 @@ msgstr ""
" -o, --only-matching afficher la partie d'une ligne concordant avec le PATRON\n"
" -q, --quiet, --silent supprimer tout affichage en sortie\n"
" --binary-files=TYPE assumer que les fichiers binaires sont de\n"
" TYPE soit «binary», «text», ou «without-match»,\n"
" TYPE soit « binary », « text », ou « without-match »,\n"
" -a, --text ne pas supprimer la sortie binaire\n"
" -I équivalent à --binary-files=without-match\n"
" -d, --directories=ACTION traiter les répertoires selon l'ACTION\n"
" «read» (lecture), «recurse» (récursivité),\n"
" ou «skip» (escamotage).\n"
" « read » (lecture), « recurse » (récursivité),\n"
" ou « skip » (escamotage).\n"
" -R, -r, --recursive équivalent à --directories=recurse\n"
" --include=PATRON fichiers concordant au PATRON seront examinés\n"
" --exclude=PATRON fichiers concordant au PATRON ne seront pas examinés\n"
@ -261,7 +261,7 @@ 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"
egrep » est équivalent à « grep -E ». « fgrep » est équivalent à « grep -F ».\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"
@ -330,34 +330,34 @@ msgstr "Erreur syst
#: lib/getopt.c:675
#, c-format
msgid "%s: option `%s' is ambiguous\n"
msgstr "%s: l'option «%s» est ambiguë.\n"
msgstr "%s: l'option « %s » est ambiguë.\n"
#: lib/getopt.c:700
#, c-format
msgid "%s: option `--%s' doesn't allow an argument\n"
msgstr "%s: l'option «--%s» ne permet pas de paramètre.\n"
msgstr "%s: l'option « --%s » ne permet pas de paramètre.\n"
#: lib/getopt.c:705
#, c-format
msgid "%s: option `%c%s' doesn't allow an argument\n"
msgstr "%s: l'option «%c%s» ne permet pas de paramètre.\n"
msgstr "%s: l'option « %c%s » ne permet pas de paramètre.\n"
#: lib/getopt.c:723 lib/getopt.c:896
#, c-format
msgid "%s: option `%s' requires an argument\n"
msgstr "%s: l'option «%s» requiert un paramètre.\n"
msgstr "%s: l'option « %s » requiert un paramètre.\n"
#. --option
#: lib/getopt.c:752
#, c-format
msgid "%s: unrecognized option `--%s'\n"
msgstr "%s: l'option «--%s» n'est pas reconnue.\n"
msgstr "%s: l'option « --%s » n'est pas reconnue.\n"
#. +option or -option
#: lib/getopt.c:756
#, c-format
msgid "%s: unrecognized option `%c%s'\n"
msgstr "%s: l'option «%c%s» n'est pas reconnue.\n"
msgstr "%s: l'option « %c%s » n'est pas reconnue.\n"
#. 1003.2 specifies the format of this message.
#: lib/getopt.c:782
@ -379,12 +379,12 @@ msgstr "%s: l'option -- %c requiert un param
#: lib/getopt.c:862
#, c-format
msgid "%s: option `-W %s' is ambiguous\n"
msgstr "%s: l'option «-W %s» est ambiguë.\n"
msgstr "%s: l'option « -W %s » est ambiguë.\n"
#: lib/getopt.c:880
#, c-format
msgid "%s: option `-W %s' doesn't allow an argument\n"
msgstr "%s: l'option «-W %s» ne permet pas de paramètre.\n"
msgstr "%s: l'option « -W %s » ne permet pas de paramètre.\n"
#. Get translations for open and closing quotation marks.
#.

View File

@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2002-03-13 15:14+0100\n"
"POT-Creation-Date: 2002-03-26 16:38+0100\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"
@ -71,44 +71,44 @@ msgstr ""
msgid "input is too large to count"
msgstr ""
#: src/grep.c:601
#: src/grep.c:605
msgid "writing output"
msgstr ""
#: src/grep.c:874
#: src/grep.c:878
#, c-format
msgid "Binary file %s matches\n"
msgstr ""
#: src/grep.c:888
#: src/grep.c:892
msgid "(standard input)"
msgstr ""
#: src/grep.c:993
#: src/grep.c:997
#, c-format
msgid "warning: %s: %s\n"
msgstr ""
#: src/grep.c:994
#: src/grep.c:998
msgid "recursive directory loop"
msgstr ""
#: src/grep.c:1042
#: src/grep.c:1046
#, c-format
msgid "Usage: %s [OPTION]... PATTERN [FILE]...\n"
msgstr ""
#: src/grep.c:1044
#: src/grep.c:1048
#, c-format
msgid "Try `%s --help' for more information.\n"
msgstr ""
#: src/grep.c:1049
#: src/grep.c:1053
#, c-format
msgid "Usage: %s [OPTION]... PATTERN [FILE] ...\n"
msgstr ""
#: src/grep.c:1050
#: src/grep.c:1054
#, c-format
msgid ""
"Search for PATTERN in each FILE or standard input.\n"
@ -117,7 +117,7 @@ msgid ""
"Regexp selection and interpretation:\n"
msgstr ""
#: src/grep.c:1055
#: src/grep.c:1059
msgid ""
" -E, --extended-regexp PATTERN is an extended regular expression\n"
" -F, --fixed-strings PATTERN is a set of newline-separated strings\n"
@ -125,7 +125,7 @@ msgid ""
" -P, --perl-regexp PATTERN is a Perl regular expression\n"
msgstr ""
#: src/grep.c:1060
#: src/grep.c:1064
msgid ""
" -e, --regexp=PATTERN use PATTERN as a regular expression\n"
" -f, --file=FILE obtain PATTERN from FILE\n"
@ -135,7 +135,7 @@ msgid ""
" -z, --null-data a data line ends in 0 byte, not newline\n"
msgstr ""
#: src/grep.c:1067
#: src/grep.c:1071
msgid ""
"\n"
"Miscellaneous:\n"
@ -146,7 +146,7 @@ msgid ""
" --mmap use memory-mapped input if possible\n"
msgstr ""
#: src/grep.c:1075
#: src/grep.c:1079
msgid ""
"\n"
"Output control:\n"
@ -178,7 +178,7 @@ msgid ""
" -Z, --null print 0 byte after FILE name\n"
msgstr ""
#: src/grep.c:1103
#: src/grep.c:1107
msgid ""
"\n"
"Context control:\n"
@ -198,42 +198,42 @@ msgid ""
"and 2 if trouble.\n"
msgstr ""
#: src/grep.c:1120
#: src/grep.c:1124
msgid ""
"\n"
"Report bugs to <bug-gnu-utils@gnu.org>.\n"
msgstr ""
#: src/grep.c:1130
#: src/grep.c:1134
msgid "conflicting matchers specified"
msgstr ""
#: src/grep.c:1367
#: src/grep.c:1376
msgid "unknown devices method"
msgstr ""
#: src/grep.c:1434
#: src/grep.c:1443
msgid "unknown directories method"
msgstr ""
#: src/grep.c:1501
#: src/grep.c:1510
msgid "invalid max count"
msgstr ""
#: src/grep.c:1555
#: src/grep.c:1565
msgid "unknown binary-files type"
msgstr ""
#: src/grep.c:1650
#: src/grep.c:1660
#, c-format
msgid "%s (GNU grep) %s\n"
msgstr ""
#: src/grep.c:1652
#: src/grep.c:1662
msgid "Copyright 1988, 1992-1999, 2000, 2001 Free Software Foundation, Inc.\n"
msgstr ""
#: src/grep.c:1654
#: src/grep.c:1664
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"

View File

@ -1,23 +1,28 @@
# grep-2.3f (Indonesian).
# Copyright (C) 1999 Free Software Foundation, Inc.
# Tedi Heriyanto <tedi-h@usa.net>, 1999.
# grep-2.5g (Indonesian).
# Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
# Tedi Heriyanto <tedi_h@gmx.net>, 1999, 2000, 2001, 2002
#
msgid ""
msgstr ""
"Project-Id-Version: grep 2.3f.id.po\n"
"POT-Creation-Date: 1999-10-05 22:33-0400\n"
"PO-Revision-Date: 1999-10-29 16:04+07:00\n"
"Last-Translator: Tedi Heriyanto <tedi-h@usa.net>\n"
"Language-Team: Indonesian <id@li.org>\n"
"Project-Id-Version: grep 2.5g.id.po\n"
"POT-Creation-Date: 2002-01-22 14:39+0100\n"
"PO-Revision-Date: 2002-03-08 16:34GMT+0700\n"
"Last-Translator: Tedi Heriyanto <tedi_h@gmx.net>\n"
"Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=iso-8859-1\n"
"Content-Type: text/plain; charset=ISO-8859-1\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 0.9.5\n"
#: src/dfa.c:155 src/dfa.c:167 src/dfa.c:180 src/grep.c:898
#: src/dfa.c:136 src/dfa.c:147 src/dfa.c:158 src/search.c:689
msgid "Memory exhausted"
msgstr "Memori habis"
#: src/dfa.c:457
#: src/dfa.c:489 src/dfa.c:492 src/dfa.c:510 src/dfa.c:521 src/dfa.c:545 src/dfa.c:604 src/dfa.c:609 src/dfa.c:622 src/dfa.c:623 src/dfa.c:1001 src/dfa.c:1004 src/dfa.c:1028 src/dfa.c:1032 src/dfa.c:1033 src/dfa.c:1036 src/dfa.c:1048 src/dfa.c:1049
msgid "Unbalanced ["
msgstr "[ tidak seimbang"
#: src/dfa.c:741
msgid "Unfinished \\ escape"
msgstr "escape \\\\ tidak selesai"
@ -25,203 +30,105 @@ msgstr "escape \\\\ tidak selesai"
#. {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
#: src/dfa.c:874 src/dfa.c:880 src/dfa.c:890 src/dfa.c:898 src/dfa.c:913
msgid "unfinished repeat count"
msgstr "perulangan count tidak selesai"
#: src/dfa.c:603 src/dfa.c:620 src/dfa.c:628 src/dfa.c:632
#: src/dfa.c:887 src/dfa.c:904 src/dfa.c:912 src/dfa.c:916
msgid "malformed repeat count"
msgstr "perulangan count salah bentuk"
#: 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 "[ tidak seimbang"
#: src/dfa.c:886
#: src/dfa.c:1253
msgid "Unbalanced ("
msgstr "( tidak seimbang"
#: src/dfa.c:1007
#: src/dfa.c:1378
msgid "No syntax specified"
msgstr "Tidak ada syntax dispesifikasikan"
#: src/dfa.c:1015
#: src/dfa.c:1386
msgid "Unbalanced )"
msgstr ") tidak seimbang"
#: src/dfa.c:2036
#: src/dfa.c:2956
msgid "out of memory"
msgstr "memori habis"
#: src/getopt.c:628
#, c-format
msgid "%s: option `%s' is ambiguous\n"
msgstr "%s: opsi `%s' rancu\n"
#: src/getopt.c:652
#, c-format
msgid "%s: option `--%s' doesn't allow an argument\n"
msgstr "%s: opsi `--%s' tidak mengijinkan argumen\n"
#: src/getopt.c:657
#, c-format
msgid "%s: option `%c%s' doesn't allow an argument\n"
msgstr "%s: opsi `%c%s' tidak mengijinkan argumen\n"
#: src/getopt.c:674 src/getopt.c:847
#, c-format
msgid "%s: option `%s' requires an argument\n"
msgstr "%s: opsi `%s' membutuhkan sebuah argumen\n"
#. --option
#: src/getopt.c:703
#, c-format
msgid "%s: unrecognized option `--%s'\n"
msgstr "%s: opsi tidak dikenal `--%s'\n"
#. +option or -option
#: src/getopt.c:707
#, c-format
msgid "%s: unrecognized option `%c%s'\n"
msgstr "%s: opsi tidak dikenal `%c%s'\n"
#. 1003.2 specifies the format of this message.
#: src/getopt.c:733
#, c-format
msgid "%s: illegal option -- %c\n"
msgstr "%s: opsi ilegal -- %c\n"
#: src/getopt.c:736
#, c-format
msgid "%s: invalid option -- %c\n"
msgstr "%s: opsi tidak valid -- %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: opsi membutuhkan sebuah argumen -- %c\n"
#: src/getopt.c:813
#, c-format
msgid "%s: option `-W %s' is ambiguous\n"
msgstr "%s: opsi `-W %s' rancu\n"
#: src/getopt.c:831
#, c-format
msgid "%s: option `-W %s' doesn't allow an argument\n"
msgstr "%s: opsi `-W %s' tidak mengijinkan sebuah argumen\n"
#: src/getopt1.c:132
#, c-format
msgid "option %s"
msgstr "opsi %s"
#: src/getopt1.c:134
#, c-format
msgid " with arg %s"
msgstr " dengan arg %s"
#: src/getopt1.c:149
msgid "digits occur in two different argv-elements.\n"
msgstr "digit muncul dalam dua argv-elemen yang berbeda.\n"
#: src/getopt1.c:151
#, c-format
msgid "option %c\n"
msgstr "opsi %c\n"
#: src/getopt1.c:155
msgid "option a\n"
msgstr "opsi a\n"
#: src/getopt1.c:159
msgid "option b\n"
msgstr "opsi b\n"
#: src/getopt1.c:163
#, c-format
msgid "option c with value `%s'\n"
msgstr "opsi c dengan nilai `%s'\n"
#: src/getopt1.c:167
#, c-format
msgid "option d with value `%s'\n"
msgstr "opsi d dengan nilai `%s'\n"
#: src/getopt1.c:174
#, c-format
msgid "?? getopt returned character code 0%o ??\n"
msgstr "?? getopt mengembalikan kode karakter 0%o ??\n"
#: src/getopt1.c:180
msgid "non-option ARGV-elements: "
msgstr "elemen-ARGV bukan opsi: "
#: src/grep.c:179 src/grep.c:196 src/grep.c:292 src/grep.c:387 src/kwset.c:184
#: src/kwset.c:190
#: lib/obstack.c:471 src/kwset.c:171 src/kwset.c:177 src/search.c:103 src/search.c:209 src/search.c:293
msgid "memory exhausted"
msgstr "memori habis"
#: src/grep.c:418 src/grep.c:883
#, c-format
msgid "%s: warning: %s: %s\n"
msgstr "%s: peringatan: %s: %s\n"
#: src/grep.c:205
msgid "invalid context length argument"
msgstr "argumen panjang konteks tidak valid"
#: src/grep.c:543 src/grep.c:1429
#: src/grep.c:475
msgid "input is too large to count"
msgstr "input terlalu besar untuk dihitung"
#: src/grep.c:597
msgid "writing output"
msgstr "menulis output"
#: src/grep.c:775
#: src/grep.c:870
#, c-format
msgid "Binary file %s matches\n"
msgstr "File biner %s cocok\n"
#: src/grep.c:791
#: src/grep.c:884
msgid "(standard input)"
msgstr "(input standar)"
#: src/grep.c:884
#: src/grep.c:989
#, c-format
msgid "warning: %s: %s\n"
msgstr "peringatan: %s: %s\n"
#: src/grep.c:990
msgid "recursive directory loop"
msgstr "perulangan direktori rekursif"
#: src/grep.c:935
#: src/grep.c:1038
#, c-format
msgid "Usage: %s [OPTION]... PATTERN [FILE]...\n"
msgstr "Pemakaian: %s [OPSI]... POLA [FILE]...\n"
#: src/grep.c:936
#: src/grep.c:1040
#, c-format
msgid "Try `%s --help' for more information.\n"
msgstr "Coba `%s --help' untuk informasi lebih lanjut.\n"
#: src/grep.c:940
#: src/grep.c:1045
#, c-format
msgid "Usage: %s [OPTION]... PATTERN [FILE] ...\n"
msgstr "Pemakaian: %s [OPSI]... POLA [FILE] ...\n"
#: src/grep.c:941
#: src/grep.c:1046
#, 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 ""
"Mencari POLA dalams setiap FILE atau input standar.\n"
"Mencari POLA dalam setiap FILE atau input standar.\n"
"Contoh: %s -i 'hello world' menu.h main.c\n"
"\n"
"Seleksi dan interpretasi regexp:\n"
#: src/grep.c:945
#: src/grep.c:1051
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"
" -P, --perl-regexp PATTERN is a Perl regular expression\n"
msgstr ""
" -E, --extended-regexp POLA adalah ekspresi reguler ekstended\n"
" -F, --fixed-regexp POLA adalah string tetap yang dipisah oleh newline\n"
" -G, --basic-regexp POLA adalah ekspresi reguler dasar\n"
" -P, --perl-regexp POLA adalah sebuah ekspresi reguler Perl\n"
#: src/grep.c:949
#: src/grep.c:1056
msgid ""
" -e, --regexp=PATTERN use PATTERN as a regular expression\n"
" -f, --file=FILE obtain PATTERN from FILE\n"
@ -238,7 +145,7 @@ msgstr ""
" -z, --null-data baris data berakhir dalam 0 byte, bukan newline\n"
"\n"
#: src/grep.c:956
#: src/grep.c:1063
msgid ""
"\n"
"Miscellaneous:\n"
@ -246,6 +153,7 @@ msgid ""
" -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"
"Lain-lain:\n"
@ -253,20 +161,33 @@ msgstr ""
" -v, --invert-match pilih baris-baris yang tidak sesuai\n"
" -V, --version tampilkan informasi versi dan keluar\n"
" --help tampilkan bantuan ini dan keluar\n"
" --mmap gunakan input memory-mapped bila memungkinkan\n"
#: src/grep.c:963
#: src/grep.c:1071
msgid ""
"\n"
"Output control:\n"
" -m, --max-count=NUM stop after NUM matches\n"
" -b, --byte-offset print the byte offset with output lines\n"
" -n, --line-number print line number with output lines\n"
" --line-buffered flush output on every line\n"
" -H, --with-filename print the filename for each match\n"
" -h, --no-filename suppress the prefixing filename on output\n"
" --label=LABEL print LABEL as filename for standard input\n"
" -o, --only-matching show only the part of a line matching PATTERN\n"
" -q, --quiet, --silent suppress all normal output\n"
" -a, --text do not suppress binary output\n"
" --binary-files=TYPE assume that binary files are TYPE\n"
" TYPE is 'binary', 'text', or 'without-match'\n"
" -a, --text equivalent to --binary-files=text\n"
" -I equivalent to --binary-files=without-match\n"
" -d, --directories=ACTION how to handle directories\n"
" ACTION is 'read', 'recurse', or 'skip'.\n"
" -r, --recursive equivalent to --directories=recurse.\n"
" ACTION is 'read', 'recurse', or 'skip'\n"
" -D, --devices=ACTION how to handle devices, FIFOs and sockets\n"
" ACTION is 'read' or 'skip'\n"
" -R, -r, --recursive equivalent to --directories=recurse\n"
" --include=PATTERN files that match PATTERN will be examined\n"
" --exclude=PATTERN files that match PATTERN will be skipped.\n"
" --exclude-from=FILE files that match PATTERN in FILE will be skipped.\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"
@ -274,78 +195,105 @@ msgid ""
msgstr ""
"\n"
"Kendali output:\n"
" -m, --max-count=NUM berhenti setelah cocok sejumlah NUM\n"
" -b, --byte-offset cetak offset byte dengan baris output\n"
" -n, --line-number cetak nomor baris dengan baris output\n"
" --line-buffered flush output setiap baris\n"
" -H, --with-filename cetak namafile untuk setiap kecocokan\n"
" -h, --no-filename tiadakan namafile di output\n"
" --label=LABEL cetak LABEL sebagai nama file input standar\n"
" -q, --quiet, --silent tiadakan seluruh output normal\n"
" -a, --text jangan tiadakan output biner\n"
" --binary-files=TYPE asumsikan bahwa file biner bertipe TYPE\n"
" TYPE adalah 'binary', 'text', atau 'without match'\n"
" -a, --text ekivalen dengan --binary-files=text\n"
" -l ekivalen dengan --binary-files=without-match\n"
" -d, --directories=AKSI bagaimana menangani direktori\n"
" AKSI adalah 'read', 'recurse', atau 'skip'.\n"
" -r, --recursive ekivalen dengan --directories=recurse.\n"
" -D, --devices=AKSI bagaimana menangani device, FIFO dan soket\n"
" AKSI adalah 'read' atau 'skip'\n"
" -R, -r, --recursive ekivalen dengan --directories=recurse.\n"
" --include=POLA file yang cocok dengan POLA akan diperiksa\n"
" --exclude=POLA file yang cocok dengan POLA akan dilewati\n"
" --exclude-from=FILE file yang cocok dengan POLA dalam FILE akan dilewati\n"
" -L, --files-without-match hanya mencetak nama FILE yang tidak ada kecocokan\n"
" -l, --files-with-match hanya mencetak nama FILE yang ada kecocokan\n"
" -c, --count hanya mencetak jumlah baris yang cocok per FILE\n"
" -Z, --null mencetak byte 0 setelah nama FILE\n"
#: src/grep.c:979
#: src/grep.c:1099
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"
" -C, --context=NUM print NUM lines of output context\n"
" -NUM same as --context=NUM\n"
" --color[=WHEN],\n"
" --colour[=WHEN] use markers to distinguish the matching string\n"
" WHEN may be `always', `never' or `auto'.\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 with 0 if matches, with 1 if none.\n"
"Exit with 2 if syntax errors or system errors.\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"
"Kendali Konteks:\n"
" -B, --before-context=NUM mencetak NUM baris leading context\n"
" -A, --after-context=NUM mencetak NUM baris trailing context\n"
" -C, --context[=NUM] mencetak NUM (baku 2) baris konteks output \n"
" kecuali di-override dengan -A atau -B\n"
" -C, --context=NUM mencetak NUM baris konteks output \n"
" -NUM sama seperti --context=NUM\n"
" --color[=WHEN],\n"
" --colour[=WHEN] gunakan penanda untuk membedakan string yang cocok\n"
" WHEN dapat berupa 'always', 'never', atau 'auto'\n"
" -U, --binary jangan hapus karakter CR di EOL (MSDOS)\n"
" -u, --unix-byte-offsets laporkan offset seperti bila CR tidak ada (MSDOS)\n"
"\n"
"`egrep' berarti `grep -E'. `fgrep' berarti `grep -F'.\n"
"Dengan tanpa FILE, atau ketika FILE adalah -, baca input standar. Jika diberi \n"
"kurang dari dua file, asumsikan -h. Keluar dengan 0 jika cocok, dengan 1 jika\n"
"tidak. Keluar dengan 2 jika terjadi syntax atau system error.\n"
"tidak. 2 jika terjadi masalah.\n"
#: src/grep.c:994
msgid "\nReport bugs to <bug-gnu-utils@gnu.org>.\n"
msgstr "\nLaporkan kesalahan ke <bug-gnu-utils@gnu.org>.\n"
#: src/grep.c:1116
msgid ""
"\n"
"Report bugs to <bug-gnu-utils@gnu.org>.\n"
msgstr ""
"\n"
"Laporkan kesalahan ke <bug-gnu-utils@gnu.org>.\n"
#: src/grep.c:1005
#: src/grep.c:1126
msgid "conflicting matchers specified"
msgstr "dispesifikasikan matcher yang konflik"
#: src/grep.c:1204 src/grep.c:1211 src/grep.c:1220
msgid "invalid context length argument"
msgstr "argumen panjang konteks tidak valid"
#: src/grep.c:1363
msgid "unknown devices method"
msgstr "metode device tidak dikenal"
#: src/grep.c:1271
#: src/grep.c:1430
msgid "unknown directories method"
msgstr "metode direktori tidak dikenal"
#: src/grep.c:1366
#: src/grep.c:1497
msgid "invalid max count"
msgstr "jumlah max tidak valid"
#: src/grep.c:1551
msgid "unknown binary-files type"
msgstr "tipe file biner tidak dikenal"
#: src/grep.c:1646
#, c-format
msgid "%s (GNU grep) %s\n"
msgstr "%s (GNU grep) %s\n"
#: src/grep.c:1368
msgid "Copyright (C) 1988, 1992-1998, 1999 Free Software Foundation, Inc.\n"
msgstr "Hak Cipta (C) 1988, 1992-1998, 1999 Free Software Foundation, Inc.\n"
#: src/grep.c:1648
msgid "Copyright 1988, 1992-1999, 2000, 2001 Free Software Foundation, Inc.\n"
msgstr "Hak Cipta (C) 1988, 1992-1999, 2000, 2001 Free Software Foundation, Inc.\n"
#: src/grep.c:1370
#: src/grep.c:1650
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"
@ -353,6 +301,95 @@ msgstr ""
"Ini adalah free software; lihat sumber untuk syarat penyalinan. Tidak ada\n"
"jaminan; sekalipun untuk PENJUALAN atau KESESUAIAN UNTUK TUJUAN TERTENTU.\n"
#: src/obstack.c:467
msgid "memory exhausted\n"
msgstr "memori habis\n"
#: src/search.c:606
msgid "The -P option is not supported"
msgstr "Option -P tidak didukung"
#: src/search.c:619
msgid "The -P and -z options cannot be combined"
msgstr "Option -P dan -z tidak dapat digabungkan"
#: lib/error.c:117
msgid "Unknown system error"
msgstr "Kesalahan sistem tidak dikenal"
#: lib/getopt.c:675
#, c-format
msgid "%s: option `%s' is ambiguous\n"
msgstr "%s: opsi `%s' rancu\n"
#: lib/getopt.c:700
#, c-format
msgid "%s: option `--%s' doesn't allow an argument\n"
msgstr "%s: opsi `--%s' tidak mengijinkan argumen\n"
#: lib/getopt.c:705
#, c-format
msgid "%s: option `%c%s' doesn't allow an argument\n"
msgstr "%s: opsi `%c%s' tidak mengijinkan argumen\n"
#: lib/getopt.c:723 lib/getopt.c:896
#, c-format
msgid "%s: option `%s' requires an argument\n"
msgstr "%s: opsi `%s' membutuhkan sebuah argumen\n"
#. --option
#: lib/getopt.c:752
#, c-format
msgid "%s: unrecognized option `--%s'\n"
msgstr "%s: opsi tidak dikenal `--%s'\n"
#. +option or -option
#: lib/getopt.c:756
#, c-format
msgid "%s: unrecognized option `%c%s'\n"
msgstr "%s: opsi tidak dikenal `%c%s'\n"
#. 1003.2 specifies the format of this message.
#: lib/getopt.c:782
#, c-format
msgid "%s: illegal option -- %c\n"
msgstr "%s: opsi ilegal -- %c\n"
#: lib/getopt.c:785
#, c-format
msgid "%s: invalid option -- %c\n"
msgstr "%s: opsi tidak valid -- %c\n"
#. 1003.2 specifies the format of this message.
#: lib/getopt.c:815 lib/getopt.c:945
#, c-format
msgid "%s: option requires an argument -- %c\n"
msgstr "%s: opsi membutuhkan sebuah argumen -- %c\n"
#: lib/getopt.c:862
#, c-format
msgid "%s: option `-W %s' is ambiguous\n"
msgstr "%s: opsi `-W %s' rancu\n"
#: lib/getopt.c:880
#, c-format
msgid "%s: option `-W %s' doesn't allow an argument\n"
msgstr "%s: opsi `-W %s' tidak mengijinkan sebuah argumen\n"
#. Get translations for open and closing quotation marks.
#.
#. The message catalog should translate "`" to a left
#. quotation mark suitable for the locale, and similarly for
#. "'". If the catalog has no translation,
#. locale_quoting_style quotes `like this', and
#. clocale_quoting_style quotes "like this".
#.
#. For example, an American English Unicode locale should
#. translate "`" to U+201C (LEFT DOUBLE QUOTATION MARK), and
#. should translate "'" to U+201D (RIGHT DOUBLE QUOTATION
#. MARK). A British English Unicode locale should instead
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
#: lib/quotearg.c:259
msgid "`"
msgstr "`"
#: lib/quotearg.c:260
msgid "'"
msgstr "'"

View File

@ -1,6 +1,6 @@
# Japanese messages for GNU grep
# Copyright (C) 1996, 1997, 2001 Free Software Foundation, Inc.
# IIDA Yosiaki <iida@gnu.org>, 1999, 2000, 2001.
# Copyright (C) 1996, 1997, 2001, 2002 Free Software Foundation, Inc.
# IIDA Yosiaki <iida@gnu.org>, 1999, 2000, 2001, 2002.
# This file is distributed under the same license as the GNU grep package.
# Contributed by
# Yasuyuki Furukawa <yasu@on.cs.keio.ac.jp>, 1997
@ -10,28 +10,25 @@
#
msgid ""
msgstr ""
"Project-Id-Version: GNU grep 2.5e\n"
"POT-Creation-Date: 2001-03-07 00:02-0500\n"
"PO-Revision-Date: 2002-02-08 22:15+0900\n"
"Project-Id-Version: GNU grep 2.5\n"
"POT-Creation-Date: 2002-03-13 15:14+0100\n"
"PO-Revision-Date: 2002-03-14 16:09+0000\n"
"Last-Translator: IIDA Yosiaki <iida@gnu.org>\n"
"Language-Team: Japanese <ja@li.org>\n"
"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=EUC-JP\n"
"Content-Transfer-Encoding: 8bit\n"
"Comments: This file is part of GNU grep.\n"
#: src/dfa.c:136 src/dfa.c:147 src/dfa.c:158 src/grep.c:944 src/search.c:706
#: src/dfa.c:136 src/dfa.c:147 src/dfa.c:158 src/search.c:689
msgid "Memory exhausted"
msgstr "メモリーが足りません"
#: src/dfa.c:486 src/dfa.c:489 src/dfa.c:507 src/dfa.c:518 src/dfa.c:542
#: src/dfa.c:601 src/dfa.c:606 src/dfa.c:619 src/dfa.c:620 src/dfa.c:998
#: src/dfa.c:1001 src/dfa.c:1025 src/dfa.c:1029 src/dfa.c:1030 src/dfa.c:1033
#: src/dfa.c:1045 src/dfa.c:1046
#: src/dfa.c:489 src/dfa.c:492 src/dfa.c:510 src/dfa.c:521 src/dfa.c:545 src/dfa.c:604 src/dfa.c:609 src/dfa.c:622 src/dfa.c:623 src/dfa.c:1001 src/dfa.c:1004 src/dfa.c:1028 src/dfa.c:1032 src/dfa.c:1033 src/dfa.c:1036 src/dfa.c:1048 src/dfa.c:1049
msgid "Unbalanced ["
msgstr "[ が釣り合いません"
#: src/dfa.c:738
#: src/dfa.c:741
msgid "Unfinished \\ escape"
msgstr "\\ エスケープが終了していません"
@ -39,81 +36,80 @@ msgstr "\\
#. {M} - exact count
#. {M,} - minimum count, maximum is infinity
#. {M,N} - M through N
#: src/dfa.c:871 src/dfa.c:877 src/dfa.c:887 src/dfa.c:895 src/dfa.c:910
#: src/dfa.c:874 src/dfa.c:880 src/dfa.c:890 src/dfa.c:898 src/dfa.c:913
msgid "unfinished repeat count"
msgstr "繰返しカウントが終了しません"
#: src/dfa.c:884 src/dfa.c:901 src/dfa.c:909 src/dfa.c:913
#: src/dfa.c:887 src/dfa.c:904 src/dfa.c:912 src/dfa.c:916
msgid "malformed repeat count"
msgstr "繰返しカウントが異常です"
#: src/dfa.c:1232
#: src/dfa.c:1253
msgid "Unbalanced ("
msgstr "( が釣り合いません"
#: src/dfa.c:1357
#: src/dfa.c:1378
msgid "No syntax specified"
msgstr "構文が特定されていません"
#: src/dfa.c:1365
#: src/dfa.c:1386
msgid "Unbalanced )"
msgstr ") が釣り合いません"
#: src/dfa.c:2933
#: src/dfa.c:2956
msgid "out of memory"
msgstr "メモリーがなくなりました"
#: lib/obstack.c:471 src/grep.c:343 src/kwset.c:171 src/kwset.c:177
#: src/search.c:103 src/search.c:223 src/search.c:307
#: src/kwset.c:171 src/kwset.c:177 src/search.c:103 src/search.c:209 src/search.c:293 lib/obstack.c:471
msgid "memory exhausted"
msgstr "メモリーが足りません"
#: src/grep.c:191
#: src/grep.c:205
msgid "invalid context length argument"
msgstr "行数の指定が間違っています"
#: src/grep.c:466
#: src/grep.c:479
msgid "input is too large to count"
msgstr "入力が大きすぎて数えられません"
#: src/grep.c:539
#: src/grep.c:601
msgid "writing output"
msgstr "出力の書込み"
#: src/grep.c:812
#: src/grep.c:874
#, c-format
msgid "Binary file %s matches\n"
msgstr "バイナリー・ファイル%sは一致しました\n"
#: src/grep.c:826
#: src/grep.c:888
msgid "(standard input)"
msgstr "(標準入力)"
#: src/grep.c:931
#: src/grep.c:993
#, c-format
msgid "warning: %s: %s\n"
msgstr "警告: %s: %s\n"
#: src/grep.c:932
#: src/grep.c:994
msgid "recursive directory loop"
msgstr "ディレクトリーが再帰的ループをしています"
#: src/grep.c:980
#: src/grep.c:1042
#, c-format
msgid "Usage: %s [OPTION]... PATTERN [FILE]...\n"
msgstr "使用法: %s [オプション]‥‥ 文字列パターン [ファイル]‥‥\n"
#: src/grep.c:982
#: src/grep.c:1044
#, c-format
msgid "Try `%s --help' for more information.\n"
msgstr "詳しくは`%s --help'を実行してください。\n"
#: src/grep.c:987
#: src/grep.c:1049
#, c-format
msgid "Usage: %s [OPTION]... PATTERN [FILE] ...\n"
msgstr "使用法: %s [オプション]‥‥ パターン [ファイル] ‥‥\n"
#: src/grep.c:988
#: src/grep.c:1050
#, c-format
msgid ""
"Search for PATTERN in each FILE or standard input.\n"
@ -126,7 +122,7 @@ msgstr ""
"\n"
"正規表現の選択と解釈方法:\n"
#: src/grep.c:993
#: src/grep.c:1055
msgid ""
" -E, --extended-regexp PATTERN is an extended regular expression\n"
" -F, --fixed-strings PATTERN is a set of newline-separated strings\n"
@ -138,7 +134,7 @@ msgstr ""
" -G, --basic-regexp 「パターン」を基本的な正規表現とする\n"
" -P, --perl-regexp 「パターン」をPerlの正規表現とする\n"
#: src/grep.c:998
#: src/grep.c:1060
msgid ""
" -e, --regexp=PATTERN use PATTERN as a regular expression\n"
" -f, --file=FILE obtain PATTERN from FILE\n"
@ -154,7 +150,7 @@ msgstr ""
" -x, --line-regexp 「パターン」一致を行全体(行単位)で行なう\n"
" -z, --null-data 出力を改行でなく、ヌル値のバイトで区切る\n"
#: src/grep.c:1005
#: src/grep.c:1067
msgid ""
"\n"
"Miscellaneous:\n"
@ -172,7 +168,7 @@ msgstr ""
" --help 使い方を標準出力に表示する\n"
" --mmap もし可能なら、入力をメモリー・マップする\n"
#: src/grep.c:1013
#: src/grep.c:1075
msgid ""
"\n"
"Output control:\n"
@ -182,6 +178,8 @@ msgid ""
" --line-buffered flush output on every line\n"
" -H, --with-filename print the filename for each match\n"
" -h, --no-filename suppress the prefixing filename on output\n"
" --label=LABEL print LABEL as filename for standard input\n"
" -o, --only-matching show only the part of a line matching PATTERN\n"
" -q, --quiet, --silent suppress all normal output\n"
" --binary-files=TYPE assume that binary files are TYPE\n"
" TYPE is 'binary', 'text', or 'without-match'\n"
@ -189,10 +187,12 @@ msgid ""
" -I equivalent to --binary-files=without-match\n"
" -d, --directories=ACTION how to handle directories\n"
" ACTION is 'read', 'recurse', or 'skip'\n"
" -D, --devices=ACTION how to handle devices, FIFOs and sockets\n"
" ACTION is 'read' or 'skip'\n"
" -R, -r, --recursive equivalent to --directories=recurse\n"
" --include=PATTERN files that match PATTERN will be examine\n"
" --exclude=PATTERN files that match PATTERN will be skip.\n"
" --exclude-from=FILE files that match PATTERN in FILE will be skip.\n"
" --include=PATTERN files that match PATTERN will be examined\n"
" --exclude=PATTERN files that match PATTERN will be skipped.\n"
" --exclude-from=FILE files that match PATTERN in FILE will be skipped.\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"
@ -201,29 +201,34 @@ msgstr ""
"\n"
"出力制御:\n"
" -m, --max-count=回数 指定した一致回数の後、終了する\n"
" -b, --byte-offset 各一致に対してそのバイト・オフセットも表示する\n"
" -n, --line-number 各一致に対してその行数も表示する\n"
" -b, --byte-offset 出力行にバイト・オフセットも表示する\n"
" -n, --line-number 出力行に行数も表示する\n"
" --line-buffered 行ごとに出力を掃き出す\n"
" -H, --with-filename 各一致に対してそのファイル名も表示する\n"
" -h, --no-filename ファイル名を表示しない\n"
" -H, --with-filename 各一致にたいしてそのファイル名も表示する\n"
" -h, --no-filename 前のファイル名を出力から抑止する\n"
" --label=ラベル ラベルをファイル名として標準出力に表示する\n"
" -o, --only-matching パターンと一致する行の部分だけを示す\n"
" -q, --quiet, --silent 通常の出力をすべて抑止する\n"
" --binary-files=型 バイナリー・ファイルの「型」。「binary」\n"
" 「text」「without-match」を指定\n"
" --binary-files=型 バイナリー・ファイルの型。「binary」\n"
" 「text」「without-match」を指定\n"
" -a, --text --binary-files=textと同じ\n"
" -I --binary-files=without-matchと同じ\n"
" -d, --directories=操作 ディレクトリーへの操作。「read」(読込み)、\n"
" 「recurse」(再帰)、「skip」(省略)を指定\n"
" -d, --directories=操作 ディレクトリーへの操作\n"
" 「read」(読込み)、「recurse」(再帰)、\n"
" 「skip」(省略) のいずれかを指定\n"
" -D, --devices=操作 デバイス、FIFO、ソケットへの操作\n"
" 「read」か「skip」を指定\n"
" -R, -r, --recursive --directories=recurseと同じ\n"
" --include=パターン パターンと一致するファイルを検査する\n"
" --exclude=パターン パターンと一致するファイルを省略する。\n"
" --exclude-from=ファイル 指定したファイル内のパターンと\n"
" --exclude-from=ファイル 指定したファイル内のパターンと\n"
" 一致するファイルを省略する。\n"
" -L, --files-without-match 一致のなかったファイル名のみを表示する\n"
" -l, --files-with-matches 一致したファイル名のみを表示する\n"
" -c, --count ファイルごとに一致した行数のみを表示する\n"
" -Z, --null ファイル名の後に、ヌル値のバイトを表示\n"
#: src/grep.c:1037
#: src/grep.c:1103
msgid ""
"\n"
"Context control:\n"
@ -231,7 +236,9 @@ msgid ""
" -A, --after-context=NUM print NUM lines of trailing context\n"
" -C, --context=NUM print NUM lines of output context\n"
" -NUM same as --context=NUM\n"
" --color, --colour use markers to distinguish the matching string\n"
" --color[=WHEN],\n"
" --colour[=WHEN] use markers to distinguish the matching string\n"
" WHEN may be `always', `never' or `auto'.\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"
@ -246,7 +253,9 @@ msgstr ""
" -A, --after-context=数 一致後の「数」行も出力する\n"
" -C, --context=行数 一致前後の指定行数の内容も出力する\n"
" -行数 --context=行数 と同じ\n"
" --color, --colour use markers to distinguish the matching string\n"
" --color[=場合]\n"
" --colour[=場合] 一致する文字列を目立たせるマーカーを使う\n"
" 「場合」には、「always」「never」「auto」を指定。\n"
" -U, --binary EOLでのCR文字を取り省かない(MS-DOS)\n"
" -u, --unix-byte-offsets CR文字がないものとしてオフセットを\n"
" 出力する(MS-DOS)\n"
@ -256,36 +265,44 @@ msgstr ""
"標準入力から読み込みます。「ファイル」の個数が1以下の場合、-hと仮定します。\n"
"もし一致があると0で、ないと1で、障害があると2で、終了します。\n"
#: src/grep.c:1052
msgid "\nReport bugs to <bug-gnu-utils@gnu.org>.\n"
msgstr "\nバグは <bug-gnu-utils@gnu.org> へ報告してください。\n"
#: src/grep.c:1120
msgid ""
"\n"
"Report bugs to <bug-gnu-utils@gnu.org>.\n"
msgstr ""
"\n"
"バグは <bug-gnu-utils@gnu.org> へ報告してください。\n"
#: src/grep.c:1062
#: src/grep.c:1130
msgid "conflicting matchers specified"
msgstr "指定した照合子が衝突しています"
#: src/grep.c:1355
#: src/grep.c:1367
msgid "unknown devices method"
msgstr "未知のデバイス操作です"
#: src/grep.c:1434
msgid "unknown directories method"
msgstr "未知のディレクトリー操作です"
#: src/grep.c:1422
#: src/grep.c:1501
msgid "invalid max count"
msgstr "一致回数が間違っています"
#: src/grep.c:1472
#: src/grep.c:1555
msgid "unknown binary-files type"
msgstr "未知のバイナリー・ファイルの型です"
#: src/grep.c:1543
#: src/grep.c:1650
#, c-format
msgid "%s (GNU grep) %s\n"
msgstr "%s (GNU grep) %s\n"
#: src/grep.c:1545
#: src/grep.c:1652
msgid "Copyright 1988, 1992-1999, 2000, 2001 Free Software Foundation, Inc.\n"
msgstr "Copyright 1988, 1992-1999, 2000, 2001 Free Software Foundation, Inc.\n"
#: src/grep.c:1547
#: src/grep.c:1654
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"
@ -293,11 +310,11 @@ msgstr ""
"これはフリー・ソフトウェアです。複製に関する条件はソースをご覧ください。\n"
"これは無保証です。営利目的やある特定の目的にむけた適正のものでもありません。\n"
#: src/search.c:623
#: src/search.c:606
msgid "The -P option is not supported"
msgstr "-Pオプションはサポートしていません"
#: src/search.c:636
#: src/search.c:619
msgid "The -P and -z options cannot be combined"
msgstr "-Pと-zのオプションの組合せはできません"
@ -378,10 +395,10 @@ msgstr "%s:
#. MARK). A British English Unicode locale should instead
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
#: lib/quotearg.c:265
#: lib/quotearg.c:259
msgid "`"
msgstr "“"
#: lib/quotearg.c:266
#: lib/quotearg.c:260
msgid "'"
msgstr "”"

View File

@ -2,7 +2,7 @@
# Copyright (C) 1996, 1999, 2000 Free Software Foundation, Inc.
# Primo¾ Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 1996, 1999, 2000.
#
# $Id: sl.po,v 1.1 2004/03/02 02:37:05 michaelphipps Exp $
# $Id: sl.po,v 1.2 2004/06/30 20:42:54 korli Exp $
#
msgid ""
msgstr ""

View File

@ -2,7 +2,7 @@
# Copyright (C) 2001 Free Software Foundation, Inc.
# Thomas Olsson <cid95tho@student1.lu.se>, 1996.
# Daniel Resare <daniel@resare.com>, 1998, 1999, 2000, 2001
# $Id: sv.po,v 1.1 2004/03/02 02:37:05 michaelphipps Exp $
# $Id: sv.po,v 1.2 2004/06/30 20:42:54 korli Exp $
#
msgid ""
msgstr ""

View File

@ -1,15 +1,16 @@
SubDir OBOS_TOP src apps bin grep-2.5 src ;
SubDirCcFlags -DHAVE_CONFIG_H -DLOCALEDIR=\'\"/share/locale\"\' ;
SubDirCcFlags -DHAVE_CONFIG_H -DLOCALEDIR='\"/boot/beos/share/locale\"' ;
SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) lib ] ;
SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) ] ;
BinCommand grep :
dfa.c
grep.c
grepmat.c
kwset.c
search.c
: libgreputils.a
BinCommand grep :
grep.c
dfa.c
kwset.c
search.c
grepmat.c
: libgrep.a
: grep.rdef ;

View File

@ -37,10 +37,10 @@ pkglibdir = $(libdir)/grep
pkgincludedir = $(includedir)/grep
top_builddir = ..
ACLOCAL = ${SHELL} /boot/home/Development/current/src/apps/bin/grep-2.5/missing --run aclocal
AUTOCONF = ${SHELL} /boot/home/Development/current/src/apps/bin/grep-2.5/missing --run autoconf
AUTOMAKE = ${SHELL} /boot/home/Development/current/src/apps/bin/grep-2.5/missing --run automake
AUTOHEADER = ${SHELL} /boot/home/Development/current/src/apps/bin/grep-2.5/missing --run autoheader
ACLOCAL = ${SHELL} /boot/home/obosf/current/src/apps/bin/grep-2.5/missing --run aclocal
AUTOCONF = ${SHELL} /boot/home/obosf/current/src/apps/bin/grep-2.5/missing --run autoconf
AUTOMAKE = ${SHELL} /boot/home/obosf/current/src/apps/bin/grep-2.5/missing --run automake
AUTOHEADER = ${SHELL} /boot/home/obosf/current/src/apps/bin/grep-2.5/missing --run autoheader
INSTALL = /bin/install -c
INSTALL_PROGRAM = ${INSTALL}
@ -56,7 +56,7 @@ PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias =
host_triplet = i586-pc-beos
AMTAR = ${SHELL} /boot/home/Development/current/src/apps/bin/grep-2.5/missing --run tar
AMTAR = ${SHELL} /boot/home/obosf/current/src/apps/bin/grep-2.5/missing --run tar
AWK = gawk
BUILD_INCLUDED_LIBINTL = yes
CATALOGS = cs.gmo de.gmo el.gmo eo.gmo es.gmo et.gmo fr.gmo gl.gmo hr.gmo id.gmo it.gmo ja.gmo ko.gmo nl.gmo no.gmo pl.gmo pt_BR.gmo ru.gmo sl.gmo sv.gmo
@ -86,15 +86,13 @@ POFILES = cs.po de.po el.po eo.po es.po et.po fr.po gl.po hr.po id.po it.po ja.
POSUB = po
RANLIB = ranlib
SEP = :
SYMLINK = ln -s
SYMLINKFROM = grep
U =
USE_INCLUDED_LIBINTL = yes
USE_NLS = yes
VERSION = 2.5
VERSION = 2.5.1
am__include = include
am__quote =
install_sh = /boot/home/Development/current/src/apps/bin/grep-2.5/install-sh
install_sh = /boot/home/obosf/current/src/apps/bin/grep-2.5/install-sh
datadir = $(prefix)/share
AUTOMAKE_OPTIONS = ansi2knr no-dependencies
@ -102,6 +100,7 @@ AUTOMAKE_OPTIONS = ansi2knr no-dependencies
LN = ln
bin_PROGRAMS = grep
bin_SCRIPTS = egrep fgrep
grep_SOURCES = grep.c dfa.c kwset.c search.c \
grepmat.c
@ -128,6 +127,8 @@ grep_OBJECTS = $(am_grep_OBJECTS)
grep_LDADD = $(LDADD)
grep_DEPENDENCIES = ../lib/libgreputils.a
grep_LDFLAGS =
SCRIPTS = $(bin_SCRIPTS)
DEFS = -DHAVE_CONFIG_H
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
@ -184,6 +185,27 @@ clean-binPROGRAMS:
grep$(EXEEXT): $(grep_OBJECTS) $(grep_DEPENDENCIES)
@rm -f grep$(EXEEXT)
$(LINK) $(grep_LDFLAGS) $(grep_OBJECTS) $(grep_LDADD) $(LIBS)
install-binSCRIPTS: $(bin_SCRIPTS)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(bindir)
@list='$(bin_SCRIPTS)'; for p in $$list; do \
f="`echo $$p|sed '$(transform)'`"; \
if test -f $$p; then \
echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f"; \
$(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f; \
elif test -f $(srcdir)/$$p; then \
echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f"; \
$(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f; \
else :; fi; \
done
uninstall-binSCRIPTS:
@$(NORMAL_UNINSTALL)
@list='$(bin_SCRIPTS)'; for p in $$list; do \
f="`echo $$p|sed '$(transform)'`"; \
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
rm -f $(DESTDIR)$(bindir)/$$f; \
done
mostlyclean-compile:
-rm -f *.$(OBJEXT) core *.core
@ -276,10 +298,10 @@ distdir: $(DISTFILES)
done
check-am: all-am
check: check-am
all-am: Makefile $(ANSI2KNR) $(PROGRAMS) $(HEADERS)
all-am: Makefile $(ANSI2KNR) $(PROGRAMS) $(SCRIPTS) $(HEADERS)
installdirs:
$(mkinstalldirs) $(DESTDIR)$(bindir)
$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(bindir)
install: install-am
install-exec: install-exec-am
@ -323,7 +345,7 @@ info-am:
install-data-am:
install-exec-am: install-binPROGRAMS install-exec-local
install-exec-am: install-binPROGRAMS install-binSCRIPTS
install-info: install-info-am
@ -339,23 +361,31 @@ mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-compile mostlyclean-generic mostlyclean-kr
uninstall-am: uninstall-binPROGRAMS uninstall-info-am
uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \
uninstall-info-am
.PHONY: GTAGS all all-am check check-am clean clean-binPROGRAMS \
clean-generic clean-krextra distclean distclean-compile \
distclean-generic distclean-tags distdir dvi dvi-am info \
info-am install install-am install-binPROGRAMS install-data \
install-data-am install-exec install-exec-am install-exec-local \
install-info install-info-am install-man install-strip \
installcheck installcheck-am installdirs maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-compile \
mostlyclean-generic mostlyclean-kr tags uninstall uninstall-am \
uninstall-binPROGRAMS uninstall-info-am
info-am install install-am install-binPROGRAMS \
install-binSCRIPTS install-data install-data-am install-exec \
install-exec-am install-info install-info-am install-man \
install-strip installcheck installcheck-am installdirs \
maintainer-clean maintainer-clean-generic mostlyclean \
mostlyclean-compile mostlyclean-generic mostlyclean-kr tags \
uninstall uninstall-am uninstall-binPROGRAMS \
uninstall-binSCRIPTS uninstall-info-am
install-exec-local:
ln -s grep $(bindir)/egrep
ln -s grep $(bindir)/fgrep
egrep:
echo '#!/bin/sh' >$@
echo 'exec grep -E $${1+"$$@"}' >>$@
chmod a+x $@
fgrep:
echo '#!/bin/sh' >$@
echo 'exec grep -F $${1+"$$@"}' >>$@
chmod a+x $@
# 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.
.NOEXPORT:

View File

@ -4,6 +4,7 @@ AUTOMAKE_OPTIONS = ansi2knr no-dependencies
LN = ln
bin_PROGRAMS = grep
bin_SCRIPTS = egrep fgrep
grep_SOURCES = grep.c dfa.c kwset.c search.c \
grepmat.c
noinst_HEADERS = grep.h dfa.h kwset.h getpagesize.h system.h
@ -17,6 +18,13 @@ EXTRA_DIST = \
dosbuf.c \
vms_fab.c vms_fab.h
install-exec-local:
@SYMLINK@ @SYMLINKFROM@ $(bindir)/egrep
@SYMLINK@ @SYMLINKFROM@ $(bindir)/fgrep
egrep:
echo '#!/bin/sh' >$@
echo 'exec grep -E $${1+"$$@"}' >>$@
chmod a+x $@
fgrep:
echo '#!/bin/sh' >$@
echo 'exec grep -F $${1+"$$@"}' >>$@
chmod a+x $@

View File

@ -86,8 +86,6 @@ POFILES = @POFILES@
POSUB = @POSUB@
RANLIB = @RANLIB@
SEP = @SEP@
SYMLINK = @SYMLINK@
SYMLINKFROM = @SYMLINKFROM@
U = @U@
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
USE_NLS = @USE_NLS@
@ -102,6 +100,7 @@ AUTOMAKE_OPTIONS = ansi2knr no-dependencies
LN = ln
bin_PROGRAMS = grep
bin_SCRIPTS = egrep fgrep
grep_SOURCES = grep.c dfa.c kwset.c search.c \
grepmat.c
@ -128,6 +127,8 @@ grep_OBJECTS = $(am_grep_OBJECTS)
grep_LDADD = $(LDADD)
grep_DEPENDENCIES = ../lib/libgreputils.a
grep_LDFLAGS =
SCRIPTS = $(bin_SCRIPTS)
DEFS = @DEFS@
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
@ -184,6 +185,27 @@ clean-binPROGRAMS:
grep$(EXEEXT): $(grep_OBJECTS) $(grep_DEPENDENCIES)
@rm -f grep$(EXEEXT)
$(LINK) $(grep_LDFLAGS) $(grep_OBJECTS) $(grep_LDADD) $(LIBS)
install-binSCRIPTS: $(bin_SCRIPTS)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(bindir)
@list='$(bin_SCRIPTS)'; for p in $$list; do \
f="`echo $$p|sed '$(transform)'`"; \
if test -f $$p; then \
echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f"; \
$(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f; \
elif test -f $(srcdir)/$$p; then \
echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f"; \
$(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f; \
else :; fi; \
done
uninstall-binSCRIPTS:
@$(NORMAL_UNINSTALL)
@list='$(bin_SCRIPTS)'; for p in $$list; do \
f="`echo $$p|sed '$(transform)'`"; \
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
rm -f $(DESTDIR)$(bindir)/$$f; \
done
mostlyclean-compile:
-rm -f *.$(OBJEXT) core *.core
@ -276,10 +298,10 @@ distdir: $(DISTFILES)
done
check-am: all-am
check: check-am
all-am: Makefile $(ANSI2KNR) $(PROGRAMS) $(HEADERS)
all-am: Makefile $(ANSI2KNR) $(PROGRAMS) $(SCRIPTS) $(HEADERS)
installdirs:
$(mkinstalldirs) $(DESTDIR)$(bindir)
$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(bindir)
install: install-am
install-exec: install-exec-am
@ -323,7 +345,7 @@ info-am:
install-data-am:
install-exec-am: install-binPROGRAMS install-exec-local
install-exec-am: install-binPROGRAMS install-binSCRIPTS
install-info: install-info-am
@ -339,23 +361,31 @@ mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-compile mostlyclean-generic mostlyclean-kr
uninstall-am: uninstall-binPROGRAMS uninstall-info-am
uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \
uninstall-info-am
.PHONY: GTAGS all all-am check check-am clean clean-binPROGRAMS \
clean-generic clean-krextra distclean distclean-compile \
distclean-generic distclean-tags distdir dvi dvi-am info \
info-am install install-am install-binPROGRAMS install-data \
install-data-am install-exec install-exec-am install-exec-local \
install-info install-info-am install-man install-strip \
installcheck installcheck-am installdirs maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-compile \
mostlyclean-generic mostlyclean-kr tags uninstall uninstall-am \
uninstall-binPROGRAMS uninstall-info-am
info-am install install-am install-binPROGRAMS \
install-binSCRIPTS install-data install-data-am install-exec \
install-exec-am install-info install-info-am install-man \
install-strip installcheck installcheck-am installdirs \
maintainer-clean maintainer-clean-generic mostlyclean \
mostlyclean-compile mostlyclean-generic mostlyclean-kr tags \
uninstall uninstall-am uninstall-binPROGRAMS \
uninstall-binSCRIPTS uninstall-info-am
install-exec-local:
@SYMLINK@ @SYMLINKFROM@ $(bindir)/egrep
@SYMLINK@ @SYMLINKFROM@ $(bindir)/fgrep
egrep:
echo '#!/bin/sh' >$@
echo 'exec grep -E $${1+"$$@"}' >>$@
chmod a+x $@
fgrep:
echo '#!/bin/sh' >$@
echo 'exec grep -F $${1+"$$@"}' >>$@
chmod a+x $@
# 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.
.NOEXPORT:

View File

@ -1,6 +1,6 @@
/* Copyright (C) 1989, 1997, 1998, 1999 Aladdin Enterprises. All rights reserved. */
/*$Id: ansi2knr.c,v 1.1 2004/03/02 02:37:05 michaelphipps Exp $*/
/*$Id: ansi2knr.c,v 1.2 2004/06/30 20:42:53 korli Exp $*/
/* Convert ANSI C function definitions to K&R ("traditional C") syntax */
/*

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec grep -E ${1+"$@"}

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec grep -F ${1+"$@"}

View File

@ -262,10 +262,10 @@ reset (int fd, char const *file, struct stats *stats)
}
if (directories == SKIP_DIRECTORIES && S_ISDIR (stats->stat.st_mode))
return 0;
#if defined (DJGPP) || defined (__BEOS__)
if (devices == SKIP_DEVICES && (S_ISCHR(stats->stat.st_mode) || S_ISBLK(stats->stat.st_mode)))
#ifndef DJGPP
if (devices == SKIP_DEVICES && (S_ISCHR(stats->stat.st_mode) || S_ISBLK(stats->stat.st_mode) /*|| S_ISSOCK(stats->stat.st_mode)*/))
#else
if (devices == SKIP_DEVICES && (S_ISCHR(stats->stat.st_mode) || S_ISBLK(stats->stat.st_mode) || S_ISSOCK(stats->stat.st_mode)))
if (devices == SKIP_DEVICES && (S_ISCHR(stats->stat.st_mode) || S_ISBLK(stats->stat.st_mode)))
#endif
return 0;
if (S_ISREG (stats->stat.st_mode))
@ -539,6 +539,8 @@ prline (char const *beg, char const *lim, int sep)
char const *b = beg + match_offset;
if (b == lim)
break;
if (match_size == 0)
break;
if(color_option)
printf("\33[%sm", grep_color);
fwrite(b, sizeof (char), match_size, stdout);
@ -583,13 +585,16 @@ prline (char const *beg, char const *lim, int sep)
lastout = lim;
return;
}
while ((match_offset = (*execute) (beg, lim - beg, &match_size, 1))
while (lim-beg && (match_offset = (*execute) (beg, lim - beg, &match_size, 1))
!= (size_t) -1)
{
char const *b = beg + match_offset;
/* Avoid matching the empty line at the end of the buffer. */
if (b == lim)
break;
/* Avoid hanging on grep --color "" foo */
if (match_size == 0)
break;
fwrite (beg, sizeof (char), match_offset, stdout);
printf ("\33[%sm", grep_color);
fwrite (b, sizeof (char), match_size, stdout);
@ -1519,6 +1524,7 @@ main (int argc, char **argv)
case 'q':
exit_on_match = 1;
close_stdout_set_status(0);
break;
case 'R':

View File

@ -2,10 +2,10 @@ resource app_version
{
major = 2,
middle = 5,
minor = 0,
minor = 1,
variety = 5,
internal = 0,
short_info = "2.5",
long_info = "2.5 ©2004 The Free Software Foundation"
short_info = "2.5.1",
long_info = "2.5.1 ©2004 The Free Software Foundation"
};

View File

@ -1 +0,0 @@
timestamp

View File

@ -1 +0,0 @@
timestamp

View File

@ -38,10 +38,10 @@ pkglibdir = $(libdir)/grep
pkgincludedir = $(includedir)/grep
top_builddir = ..
ACLOCAL = ${SHELL} /boot/home/Development/current/src/apps/bin/grep-2.5/missing --run aclocal
AUTOCONF = ${SHELL} /boot/home/Development/current/src/apps/bin/grep-2.5/missing --run autoconf
AUTOMAKE = ${SHELL} /boot/home/Development/current/src/apps/bin/grep-2.5/missing --run automake
AUTOHEADER = ${SHELL} /boot/home/Development/current/src/apps/bin/grep-2.5/missing --run autoheader
ACLOCAL = ${SHELL} /boot/home/obosf/current/src/apps/bin/grep-2.5/missing --run aclocal
AUTOCONF = ${SHELL} /boot/home/obosf/current/src/apps/bin/grep-2.5/missing --run autoconf
AUTOMAKE = ${SHELL} /boot/home/obosf/current/src/apps/bin/grep-2.5/missing --run automake
AUTOHEADER = ${SHELL} /boot/home/obosf/current/src/apps/bin/grep-2.5/missing --run autoheader
INSTALL = /bin/install -c
INSTALL_PROGRAM = ${INSTALL}
@ -57,7 +57,7 @@ PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias =
host_triplet = i586-pc-beos
AMTAR = ${SHELL} /boot/home/Development/current/src/apps/bin/grep-2.5/missing --run tar
AMTAR = ${SHELL} /boot/home/obosf/current/src/apps/bin/grep-2.5/missing --run tar
BUILD_INCLUDED_LIBINTL = yes
CATALOGS = cs.gmo de.gmo el.gmo eo.gmo es.gmo et.gmo fr.gmo gl.gmo hr.gmo id.gmo it.gmo ja.gmo ko.gmo nl.gmo no.gmo pl.gmo pt_BR.gmo ru.gmo sl.gmo sv.gmo
CATOBJEXT = .gmo
@ -86,15 +86,13 @@ POFILES = cs.po de.po el.po eo.po es.po et.po fr.po gl.po hr.po id.po it.po ja.
POSUB = po
RANLIB = ranlib
SEP = :
SYMLINK = ln -s
SYMLINKFROM = grep
U =
USE_INCLUDED_LIBINTL = yes
USE_NLS = yes
VERSION = 2.5
VERSION = 2.5.1
am__include = include
am__quote =
install_sh = /boot/home/Development/current/src/apps/bin/grep-2.5/install-sh
install_sh = /boot/home/obosf/current/src/apps/bin/grep-2.5/install-sh
AWK = gawk

View File

@ -86,8 +86,6 @@ POFILES = @POFILES@
POSUB = @POSUB@
RANLIB = @RANLIB@
SEP = @SEP@
SYMLINK = @SYMLINK@
SYMLINKFROM = @SYMLINKFROM@
U = @U@
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
USE_NLS = @USE_NLS@

View File

@ -1,263 +0,0 @@
# Generated Spencer BRE Test
failures=0
status=`echo 'abc' | { ${GREP} -e 'a\(b\)c' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 0 ; then
echo Spencer bre test \#1 failed
failures=1
fi
status=`echo 'a(' | { ${GREP} -e 'a(' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 0 ; then
echo Spencer bre test \#2 failed
failures=1
fi
status=`echo 'EPAREN' | { ${GREP} -e 'a\(' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 2 ; then
echo Spencer bre test \#3 failed
failures=1
fi
status=`echo 'EPAREN' | { ${GREP} -e 'a\(b' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 2 ; then
echo Spencer bre test \#4 failed
failures=1
fi
status=`echo 'a(b' | { ${GREP} -e 'a(b' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 0 ; then
echo Spencer bre test \#5 failed
failures=1
fi
status=`echo 'a)' | { ${GREP} -e 'a)' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 0 ; then
echo Spencer bre test \#6 failed
failures=1
fi
status=`echo 'EPAREN' | { ${GREP} -e 'a\)' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 2 ; then
echo Spencer bre test \#7 failed
failures=1
fi
status=`echo 'EPAREN' | { ${GREP} -e '\)' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 2 ; then
echo Spencer bre test \#8 failed
failures=1
fi
status=`echo 'ab' | { ${GREP} -e 'a\(\)b' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 0 ; then
echo Spencer bre test \#9 failed
failures=1
fi
status=`echo 'a$b' | { ${GREP} -e 'a$b' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 0 ; then
echo Spencer bre test \#10 failed
failures=1
fi
status=`echo 'b' | { ${GREP} -e 'a*\(^b$\)c*' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 0 ; then
echo Spencer bre test \#11 failed
failures=1
fi
status=`echo '|' | { ${GREP} -e '|' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 0 ; then
echo Spencer bre test \#12 failed
failures=1
fi
status=`echo '*' | { ${GREP} -e '*' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 0 ; then
echo Spencer bre test \#13 failed
failures=1
fi
status=`echo 'abc' | { ${GREP} -e '\(\)' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 0 ; then
echo Spencer bre test \#14 failed
failures=1
fi
status=`echo '*' | { ${GREP} -e '^*' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 0 ; then
echo Spencer bre test \#15 failed
failures=1
fi
status=`echo '{' | { ${GREP} -e '\{' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 0 ; then
echo Spencer bre test \#16 failed
failures=1
fi
status=`echo 'abbcbd' | { ${GREP} -e 'a\(b*\)c\1d' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 1 ; then
echo Spencer bre test \#17 failed
failures=1
fi
status=`echo 'abbcbbbd' | { ${GREP} -e 'a\(b*\)c\1d' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 1 ; then
echo Spencer bre test \#18 failed
failures=1
fi
status=`echo 'abc' | { ${GREP} -e '^\(.\)\1' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 1 ; then
echo Spencer bre test \#19 failed
failures=1
fi
status=`echo 'abbccd' | { ${GREP} -e 'a\(\([bc]\)\2\)*d' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 0 ; then
echo Spencer bre test \#20 failed
failures=1
fi
status=`echo 'abbcbd' | { ${GREP} -e 'a\(\([bc]\)\2\)*d' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 1 ; then
echo Spencer bre test \#21 failed
failures=1
fi
status=`echo 'abbbd' | { ${GREP} -e 'a\(\(b\)*\2\)*d' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 0 ; then
echo Spencer bre test \#22 failed
failures=1
fi
status=`echo 'aabcd' | { ${GREP} -e '\(a\)\1bcd' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 0 ; then
echo Spencer bre test \#23 failed
failures=1
fi
status=`echo 'aabcd' | { ${GREP} -e '\(a\)\1bc*d' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 0 ; then
echo Spencer bre test \#24 failed
failures=1
fi
status=`echo 'aabd' | { ${GREP} -e '\(a\)\1bc*d' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 0 ; then
echo Spencer bre test \#25 failed
failures=1
fi
status=`echo 'aabcccd' | { ${GREP} -e '\(a\)\1bc*d' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 0 ; then
echo Spencer bre test \#26 failed
failures=1
fi
status=`echo 'aabcccd' | { ${GREP} -e '^\(a\)\1b\(c\)*cd$' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 0 ; then
echo Spencer bre test \#27 failed
failures=1
fi
status=`echo 'a*b' | { ${GREP} -e 'a\(*\)b' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 0 ; then
echo Spencer bre test \#28 failed
failures=1
fi
status=`echo 'ab' | { ${GREP} -e 'a\(**\)b' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 0 ; then
echo Spencer bre test \#29 failed
failures=1
fi
status=`echo '*a' | { ${GREP} -e '*a' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 0 ; then
echo Spencer bre test \#30 failed
failures=1
fi
status=`echo 'a' | { ${GREP} -e '**a' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 0 ; then
echo Spencer bre test \#31 failed
failures=1
fi
status=`echo 'ab' | { ${GREP} -e 'a\{1\}b' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 0 ; then
echo Spencer bre test \#32 failed
failures=1
fi
status=`echo 'ab' | { ${GREP} -e 'a\{1,\}b' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 0 ; then
echo Spencer bre test \#33 failed
failures=1
fi
status=`echo 'aab' | { ${GREP} -e 'a\{1,2\}b' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 0 ; then
echo Spencer bre test \#34 failed
failures=1
fi
status=`echo 'EBRACE' | { ${GREP} -e 'a\{1' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 2 ; then
echo Spencer bre test \#35 failed
failures=1
fi
status=`echo 'EBRACE' | { ${GREP} -e 'a\{1a' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 2 ; then
echo Spencer bre test \#36 failed
failures=1
fi
status=`echo 'BADBR' | { ${GREP} -e 'a\{1a\}' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 2 ; then
echo Spencer bre test \#37 failed
failures=1
fi
status=`echo 'BADBR' | { ${GREP} -e 'a\{,2\}' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 2 ; then
echo Spencer bre test \#38 failed
failures=1
fi
status=`echo 'BADBR' | { ${GREP} -e 'a\{,\}' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 2 ; then
echo Spencer bre test \#39 failed
failures=1
fi
status=`echo 'BADBR' | { ${GREP} -e 'a\{1,x\}' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 2 ; then
echo Spencer bre test \#40 failed
failures=1
fi
status=`echo 'EBRACE' | { ${GREP} -e 'a\{1,x' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 2 ; then
echo Spencer bre test \#41 failed
failures=1
fi
status=`echo 'BADBR' | { ${GREP} -e 'a\{32768\}' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 2 ; then
echo Spencer bre test \#42 failed
failures=1
fi
status=`echo 'BADBR' | { ${GREP} -e 'a\{1,0\}' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 2 ; then
echo Spencer bre test \#43 failed
failures=1
fi
status=`echo 'abcac' | { ${GREP} -e 'ab\{0,0\}c' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 0 ; then
echo Spencer bre test \#44 failed
failures=1
fi
status=`echo 'abcac' | { ${GREP} -e 'ab\{0,1\}c' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 0 ; then
echo Spencer bre test \#45 failed
failures=1
fi
status=`echo 'abbcac' | { ${GREP} -e 'ab\{0,3\}c' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 0 ; then
echo Spencer bre test \#46 failed
failures=1
fi
status=`echo 'acabc' | { ${GREP} -e 'ab\{1,1\}c' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 0 ; then
echo Spencer bre test \#47 failed
failures=1
fi
status=`echo 'acabc' | { ${GREP} -e 'ab\{1,3\}c' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 0 ; then
echo Spencer bre test \#48 failed
failures=1
fi
status=`echo 'abcabbc' | { ${GREP} -e 'ab\{2,2\}c' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 0 ; then
echo Spencer bre test \#49 failed
failures=1
fi
status=`echo 'abcabbc' | { ${GREP} -e 'ab\{2,4\}c' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 0 ; then
echo Spencer bre test \#50 failed
failures=1
fi
status=`echo 'acd' | { ${GREP} -e 'a\(b\)?c\1d' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 1 ; then
echo Spencer bre test \#51 failed
failures=1
fi
status=`echo '-5' | { ${GREP} -e '-\{0,1\}[0-9]*$' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 0 ; then
echo Spencer bre test \#52 failed
failures=1
fi
exit $failures

View File

@ -17,7 +17,7 @@
2@\(\{1\}a\)@BADRPT@TO CORRECT
0@^*@*
2@^\{1\}@BADRPT@TO CORRECT
0@\{@{
0@{@{
1@a\(b*\)c\1d@abbcbd
1@a\(b*\)c\1d@abbcbbbd
1@^\(.\)\1@abc

View File

@ -1,618 +0,0 @@
# Generated Spencer ERE Test
failures=0
status=`echo 'a' | { ${GREP} -E -e 'a' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#1 failed
failures=1
fi
status=`echo 'abc' | { ${GREP} -E -e 'abc' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#2 failed
failures=1
fi
status=`echo 'abc' | { ${GREP} -E -e 'abc|de' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#3 failed
failures=1
fi
status=`echo 'abc' | { ${GREP} -E -e 'a|b|c' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#4 failed
failures=1
fi
status=`echo 'abc' | { ${GREP} -E -e 'a(b)c' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#5 failed
failures=1
fi
status=`echo 'EPAREN' | { ${GREP} -E -e 'a(' > /dev/null 2>&1; echo $?; }`
if test $status -ne 2 ; then
echo Spencer ere test \#6 failed
failures=1
fi
status=`echo 'a(' | { ${GREP} -E -e 'a\(' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#7 failed
failures=1
fi
status=`echo 'EPAREN' | { ${GREP} -E -e 'a(b' > /dev/null 2>&1; echo $?; }`
if test $status -ne 2 ; then
echo Spencer ere test \#8 failed
failures=1
fi
status=`echo 'ab' | { ${GREP} -E -e 'a()b' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#9 failed
failures=1
fi
status=`echo 'abc' | { ${GREP} -E -e '^abc$' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#10 failed
failures=1
fi
status=`echo 'a^b' | { ${GREP} -E -e 'a^b' > /dev/null 2>&1; echo $?; }`
if test $status -ne 1 ; then
echo Spencer ere test \#11 failed
failures=1
fi
status=`echo 'a$b' | { ${GREP} -E -e 'a$b' > /dev/null 2>&1; echo $?; }`
if test $status -ne 1 ; then
echo Spencer ere test \#12 failed
failures=1
fi
status=`echo 'abc' | { ${GREP} -E -e '^' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#13 failed
failures=1
fi
status=`echo 'abc' | { ${GREP} -E -e '$' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#14 failed
failures=1
fi
status=`echo 'b' | { ${GREP} -E -e 'a*(^b$)c*' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#15 failed
failures=1
fi
status=`echo 'PASS' | { ${GREP} -E -e '&C' > /dev/null 2>&1; echo $?; }`
if test $status -ne 1 ; then
echo Spencer ere test \#16 failed
failures=1
fi
status=`echo 'abc' | { ${GREP} -E -e '()' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#17 failed
failures=1
fi
status=`echo 'abc' | { ${GREP} -E -e 'a.c' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#18 failed
failures=1
fi
status=`echo 'abd' | { ${GREP} -E -e 'a[bc]d' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#19 failed
failures=1
fi
status=`echo 'a*c' | { ${GREP} -E -e 'a\*c' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#20 failed
failures=1
fi
status=`echo 'a[b' | { ${GREP} -E -e 'a\[b' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#21 failed
failures=1
fi
status=`echo 'EBRACK' | { ${GREP} -E -e 'a[b' > /dev/null 2>&1; echo $?; }`
if test $status -ne 2 ; then
echo Spencer ere test \#22 failed
failures=1
fi
status=`echo 'a' | { ${GREP} -E -e 'a$' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#23 failed
failures=1
fi
status=`echo 'a$' | { ${GREP} -E -e 'a$' > /dev/null 2>&1; echo $?; }`
if test $status -ne 1 ; then
echo Spencer ere test \#24 failed
failures=1
fi
status=`echo 'a' | { ${GREP} -E -e 'a\\$' > /dev/null 2>&1; echo $?; }`
if test $status -ne 1 ; then
echo Spencer ere test \#25 failed
failures=1
fi
status=`echo 'abc' | { ${GREP} -E -e 'ab*c' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#26 failed
failures=1
fi
status=`echo 'abc' | { ${GREP} -E -e 'ab+c' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#27 failed
failures=1
fi
status=`echo 'abc' | { ${GREP} -E -e 'ab?c' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#28 failed
failures=1
fi
status=`echo '{1' | { ${GREP} -E -e '{1' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#29 failed
failures=1
fi
status=`echo 'ab' | { ${GREP} -E -e 'a{1}b' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#30 failed
failures=1
fi
status=`echo 'ab' | { ${GREP} -E -e 'a{1,}b' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#31 failed
failures=1
fi
status=`echo 'aab' | { ${GREP} -E -e 'a{1,2}b' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#32 failed
failures=1
fi
status=`echo 'a{1' | { ${GREP} -E -e 'a{1' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#33 failed
failures=1
fi
status=`echo 'aa' | { ${GREP} -E -e 'a{1a' > /dev/null 2>&1; echo $?; }`
if test $status -ne 1 ; then
echo Spencer ere test \#34 failed
failures=1
fi
status=`echo 'a{1a}' | { ${GREP} -E -e 'a{1a}' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#35 failed
failures=1
fi
status=`echo 'a{,2}' | { ${GREP} -E -e 'a{,2}' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#36 failed
failures=1
fi
status=`echo 'a{,}' | { ${GREP} -E -e 'a{,}' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#37 failed
failures=1
fi
status=`echo 'a{1,,,}' | { ${GREP} -E -e 'a{1,*}' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#38 failed
failures=1
fi
status=`echo 'abcac' | { ${GREP} -E -e 'ab{0,0}c' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#39 failed
failures=1
fi
status=`echo 'abcac' | { ${GREP} -E -e 'ab{0,1}c' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#40 failed
failures=1
fi
status=`echo 'abbcac' | { ${GREP} -E -e 'ab{0,3}c' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#41 failed
failures=1
fi
status=`echo 'acabc' | { ${GREP} -E -e 'ab{1,1}c' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#42 failed
failures=1
fi
status=`echo 'acabc' | { ${GREP} -E -e 'ab{1,3}c' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#43 failed
failures=1
fi
status=`echo 'abcabbc' | { ${GREP} -E -e 'ab{2,2}c' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#44 failed
failures=1
fi
status=`echo 'abcabbc' | { ${GREP} -E -e 'ab{2,4}c' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#45 failed
failures=1
fi
status=`echo 'abc' | { ${GREP} -E -e 'a[b]c' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#46 failed
failures=1
fi
status=`echo 'abc' | { ${GREP} -E -e 'a[ab]c' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#47 failed
failures=1
fi
status=`echo 'adc' | { ${GREP} -E -e 'a[^ab]c' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#48 failed
failures=1
fi
status=`echo 'a]c' | { ${GREP} -E -e 'a[]b]c' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#49 failed
failures=1
fi
status=`echo 'a[c' | { ${GREP} -E -e 'a[[b]c' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#50 failed
failures=1
fi
status=`echo 'a-c' | { ${GREP} -E -e 'a[-b]c' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#51 failed
failures=1
fi
status=`echo 'adc' | { ${GREP} -E -e 'a[^]b]c' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#52 failed
failures=1
fi
status=`echo 'adc' | { ${GREP} -E -e 'a[^-b]c' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#53 failed
failures=1
fi
status=`echo 'a-c' | { ${GREP} -E -e 'a[b-]c' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#54 failed
failures=1
fi
status=`echo 'EBRACK' | { ${GREP} -E -e 'a[b' > /dev/null 2>&1; echo $?; }`
if test $status -ne 2 ; then
echo Spencer ere test \#55 failed
failures=1
fi
status=`echo 'EBRACK' | { ${GREP} -E -e 'a[]' > /dev/null 2>&1; echo $?; }`
if test $status -ne 2 ; then
echo Spencer ere test \#56 failed
failures=1
fi
status=`echo 'a2c' | { ${GREP} -E -e 'a[1-3]c' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#57 failed
failures=1
fi
status=`echo 'ERANGE' | { ${GREP} -E -e 'a[1-' > /dev/null 2>&1; echo $?; }`
if test $status -ne 2 ; then
echo Spencer ere test \#58 failed
failures=1
fi
status=`echo 'EBRACK' | { ${GREP} -E -e 'a[[.' > /dev/null 2>&1; echo $?; }`
if test $status -ne 2 ; then
echo Spencer ere test \#59 failed
failures=1
fi
status=`echo 'EBRACK' | { ${GREP} -E -e 'a[[.x' > /dev/null 2>&1; echo $?; }`
if test $status -ne 2 ; then
echo Spencer ere test \#60 failed
failures=1
fi
status=`echo 'EBRACK' | { ${GREP} -E -e 'a[[.x.' > /dev/null 2>&1; echo $?; }`
if test $status -ne 2 ; then
echo Spencer ere test \#61 failed
failures=1
fi
status=`echo 'abc' | { ${GREP} -E -e 'a[[:alpha:]]c' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#62 failed
failures=1
fi
status=`echo 'ECTYPE' | { ${GREP} -E -e 'a[[:notdef:]]c' > /dev/null 2>&1; echo $?; }`
if test $status -ne 2 ; then
echo Spencer ere test \#63 failed
failures=1
fi
status=`echo 'EBRACK' | { ${GREP} -E -e 'a[[:' > /dev/null 2>&1; echo $?; }`
if test $status -ne 2 ; then
echo Spencer ere test \#64 failed
failures=1
fi
status=`echo 'EBRACK' | { ${GREP} -E -e 'a[[:alpha' > /dev/null 2>&1; echo $?; }`
if test $status -ne 2 ; then
echo Spencer ere test \#65 failed
failures=1
fi
status=`echo 'EBRACK' | { ${GREP} -E -e 'a[[:alpha:]' > /dev/null 2>&1; echo $?; }`
if test $status -ne 2 ; then
echo Spencer ere test \#66 failed
failures=1
fi
status=`echo 'ECTYPE' | { ${GREP} -E -e 'a[[:alpha,:]' > /dev/null 2>&1; echo $?; }`
if test $status -ne 2 ; then
echo Spencer ere test \#67 failed
failures=1
fi
status=`echo 'ECTYPE' | { ${GREP} -E -e 'a[[:]:]]b' > /dev/null 2>&1; echo $?; }`
if test $status -ne 2 ; then
echo Spencer ere test \#68 failed
failures=1
fi
status=`echo 'ECTYPE' | { ${GREP} -E -e 'a[[:-:]]b' > /dev/null 2>&1; echo $?; }`
if test $status -ne 2 ; then
echo Spencer ere test \#69 failed
failures=1
fi
status=`echo 'ECTYPE' | { ${GREP} -E -e 'a[[:alph:]]' > /dev/null 2>&1; echo $?; }`
if test $status -ne 2 ; then
echo Spencer ere test \#70 failed
failures=1
fi
status=`echo 'ECTYPE' | { ${GREP} -E -e 'a[[:alphabet:]]' > /dev/null 2>&1; echo $?; }`
if test $status -ne 2 ; then
echo Spencer ere test \#71 failed
failures=1
fi
status=`echo 'a019b' | { ${GREP} -E -e '[[:digit:]]+' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#72 failed
failures=1
fi
status=`echo 'AabC' | { ${GREP} -E -e '[[:lower:]]+' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#73 failed
failures=1
fi
status=`echo 'aBCd' | { ${GREP} -E -e '[[:upper:]]+' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#74 failed
failures=1
fi
status=`echo 'p0f3Cq' | { ${GREP} -E -e '[[:xdigit:]]+' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#75 failed
failures=1
fi
status=`echo 'EBRACK' | { ${GREP} -E -e 'a[[=' > /dev/null 2>&1; echo $?; }`
if test $status -ne 2 ; then
echo Spencer ere test \#76 failed
failures=1
fi
status=`echo 'EBRACK' | { ${GREP} -E -e 'a[[=b' > /dev/null 2>&1; echo $?; }`
if test $status -ne 2 ; then
echo Spencer ere test \#77 failed
failures=1
fi
status=`echo 'EBRACK' | { ${GREP} -E -e 'a[[=b=' > /dev/null 2>&1; echo $?; }`
if test $status -ne 2 ; then
echo Spencer ere test \#78 failed
failures=1
fi
status=`echo 'abc' | { ${GREP} -E -e 'a(((b)))c' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#79 failed
failures=1
fi
status=`echo 'abd' | { ${GREP} -E -e 'a(b|(c))d' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#80 failed
failures=1
fi
status=`echo 'abbd' | { ${GREP} -E -e 'a(b*|c)d' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#81 failed
failures=1
fi
status=`echo 'aaaaabaaaabaaaabaaaab' | { ${GREP} -E -e 'a[ab]{20}' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#82 failed
failures=1
fi
status=`echo 'aaaaabaaaabaaaabaaaab' | { ${GREP} -E -e 'a[ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab]' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#83 failed
failures=1
fi
status=`echo 'aaaaabaaaabaaaabaaaabweeknights' | { ${GREP} -E -e 'a[ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab](wee|week)(knights|night)' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#84 failed
failures=1
fi
status=`echo 'a12345678901234567890123456789b' | { ${GREP} -E -e '12345678901234567890123456789' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#85 failed
failures=1
fi
status=`echo 'a123456789012345678901234567890b' | { ${GREP} -E -e '123456789012345678901234567890' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#86 failed
failures=1
fi
status=`echo 'a1234567890123456789012345678901b' | { ${GREP} -E -e '1234567890123456789012345678901' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#87 failed
failures=1
fi
status=`echo 'a12345678901234567890123456789012b' | { ${GREP} -E -e '12345678901234567890123456789012' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#88 failed
failures=1
fi
status=`echo 'a123456789012345678901234567890123b' | { ${GREP} -E -e '123456789012345678901234567890123' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#89 failed
failures=1
fi
status=`echo 'a1234567890123456789012345678901234567890123456789012345678901234567890b' | { ${GREP} -E -e '1234567890123456789012345678901234567890123456789012345678901234567890' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#90 failed
failures=1
fi
status=`echo 'xacegikmoq' | { ${GREP} -E -e '[ab][cd][ef][gh][ij][kl][mn]' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#91 failed
failures=1
fi
status=`echo 'xacegikmoq' | { ${GREP} -E -e '[ab][cd][ef][gh][ij][kl][mn][op]' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#92 failed
failures=1
fi
status=`echo 'xacegikmoqy' | { ${GREP} -E -e '[ab][cd][ef][gh][ij][kl][mn][op][qr]' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#93 failed
failures=1
fi
status=`echo 'xacegikmoqy' | { ${GREP} -E -e '[ab][cd][ef][gh][ij][kl][mn][op][q]' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#94 failed
failures=1
fi
status=`echo 'xabcy' | { ${GREP} -E -e 'abc' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#95 failed
failures=1
fi
status=`echo 'abc' | { ${GREP} -E -e 'a[^b]c' > /dev/null 2>&1; echo $?; }`
if test $status -ne 1 ; then
echo Spencer ere test \#96 failed
failures=1
fi
status=`echo 'adc' | { ${GREP} -E -e 'a[^b]c' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#97 failed
failures=1
fi
status=`echo 'abc' | { ${GREP} -E -e '[a]b[c]' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#98 failed
failures=1
fi
status=`echo 'aba' | { ${GREP} -E -e '[a]b[a]' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#99 failed
failures=1
fi
status=`echo 'abc' | { ${GREP} -E -e '[abc]b[abc]' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#100 failed
failures=1
fi
status=`echo 'abd' | { ${GREP} -E -e '[abc]b[abd]' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#101 failed
failures=1
fi
status=`echo 'accd' | { ${GREP} -E -e 'a(b?c)+d' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#102 failed
failures=1
fi
status=`echo 'weeknights' | { ${GREP} -E -e '(wee|week)(knights|night)' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#103 failed
failures=1
fi
status=`echo 'weeknights' | { ${GREP} -E -e '(we|wee|week|frob)(knights|night|day)' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#104 failed
failures=1
fi
status=`echo 'xyzaaabcaababdacd' | { ${GREP} -E -e 'a[bc]d' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#105 failed
failures=1
fi
status=`echo 'aaabc' | { ${GREP} -E -e 'a[ab]c' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#106 failed
failures=1
fi
status=`echo 'b' | { ${GREP} -E -e 'a*' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#107 failed
failures=1
fi
status=`echo '/*x*/' | { ${GREP} -E -e '/\*.*\*/' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#108 failed
failures=1
fi
status=`echo '/*x*/y/*z*/' | { ${GREP} -E -e '/\*.*\*/' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#109 failed
failures=1
fi
status=`echo '/*x*/' | { ${GREP} -E -e '/\*([^*]|\*[^/])*\*/' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#110 failed
failures=1
fi
status=`echo '/*x*/y/*z*/' | { ${GREP} -E -e '/\*([^*]|\*[^/])*\*/' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#111 failed
failures=1
fi
status=`echo '/*x**/y/*z*/' | { ${GREP} -E -e '/\*([^*]|\*[^/])*\*/' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#112 failed
failures=1
fi
status=`echo '/*x*/' | { ${GREP} -E -e '/\*([^*]|\*+[^*/])*\*+/' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#113 failed
failures=1
fi
status=`echo '/*x*/y/*z*/' | { ${GREP} -E -e '/\*([^*]|\*+[^*/])*\*+/' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#114 failed
failures=1
fi
status=`echo '/*x**/y/*z*/' | { ${GREP} -E -e '/\*([^*]|\*+[^*/])*\*+/' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#115 failed
failures=1
fi
status=`echo '/*x****/y/*z*/' | { ${GREP} -E -e '/\*([^*]|\*+[^*/])*\*+/' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#116 failed
failures=1
fi
status=`echo '/*x**x*/y/*z*/' | { ${GREP} -E -e '/\*([^*]|\*+[^*/])*\*+/' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#117 failed
failures=1
fi
status=`echo '/*x***x/y/*z*/' | { ${GREP} -E -e '/\*([^*]|\*+[^*/])*\*+/' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#118 failed
failures=1
fi
status=`echo 'A1' | { ${GREP} -E -e '(A[1])|(A[2])|(A[3])|(A[4])|(A[5])|(A[6])|(A[7])|(A[8])|(A[9])|(A[A])' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#119 failed
failures=1
fi
status=`echo 'abcdefghijklmnop' | { ${GREP} -E -e 'abcdefghijklmnop' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#120 failed
failures=1
fi
status=`echo 'abcdefghijklmnopqrstuv' | { ${GREP} -E -e 'abcdefghijklmnopqrstuv' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#121 failed
failures=1
fi
status=`echo 'CC11' | { ${GREP} -E -e 'CC[13]1|a{21}[23][EO][123][Es][12]a{15}aa[34][EW]aaaaaaa[X]a' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#122 failed
failures=1
fi
status=`echo 'ab' | { ${GREP} -E -e 'a?b' > /dev/null 2>&1; echo $?; }`
if test $status -ne 0 ; then
echo Spencer ere test \#123 failed
failures=1
fi
exit $failures

View File

@ -1,32 +0,0 @@
1) Muammar Qaddafi
2) Mo'ammar Gadhafi
3) Muammar Kaddafi
4) Muammar Qadhafi
5) Moammar El Kadhafi
6) Muammar Gadafi
7) Mu'ammar al-Qadafi
8) Moamer El Kazzafi
9) Moamar al-Gaddafi
10) Mu'ammar Al Qathafi
11) Muammar Al Qathafi
12) Mo'ammar el-Gadhafi
13) Moamar El Kadhafi
14) Muammar al-Qadhafi
15) Mu'ammar al-Qadhdhafi
16) Mu'ammar Qadafi
17) Moamar Gaddafi
18) Mu'ammar Qadhdhafi
19) Muammar Khaddafi
20) Muammar al-Khaddafi
21) Mu'amar al-Kadafi
22) Muammar Ghaddafy
23) Muammar Ghadafi
24) Muammar Ghaddafi
25) Muamar Kaddafi
26) Muammar Quathafi
27) Muammar Gheddafi
28) Muamar Al-Kaddafi
29) Moammar Khadafy
30) Moammar Qudhafi
31) Mu'ammar al-Qaddafi
32) Mulazim Awwal Mu'ammar Muhammad Abu Minyar al-Qadhafi

View File

@ -1,612 +0,0 @@
failures=0
status=`echo 'abc'| { ${GREP} -E -e 'abc' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#1 failed
failures=1
fi
status=`echo 'xbc'| { ${GREP} -E -e 'abc' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 1 ; then
echo Spencer test \#2 failed
failures=1
fi
status=`echo 'axc'| { ${GREP} -E -e 'abc' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 1 ; then
echo Spencer test \#3 failed
failures=1
fi
status=`echo 'abx'| { ${GREP} -E -e 'abc' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 1 ; then
echo Spencer test \#4 failed
failures=1
fi
status=`echo 'xabcy'| { ${GREP} -E -e 'abc' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#5 failed
failures=1
fi
status=`echo 'ababc'| { ${GREP} -E -e 'abc' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#6 failed
failures=1
fi
status=`echo 'abc'| { ${GREP} -E -e 'ab*c' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#7 failed
failures=1
fi
status=`echo 'abc'| { ${GREP} -E -e 'ab*bc' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#8 failed
failures=1
fi
status=`echo 'abbc'| { ${GREP} -E -e 'ab*bc' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#9 failed
failures=1
fi
status=`echo 'abbbbc'| { ${GREP} -E -e 'ab*bc' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#10 failed
failures=1
fi
status=`echo 'abbc'| { ${GREP} -E -e 'ab+bc' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#11 failed
failures=1
fi
status=`echo 'abc'| { ${GREP} -E -e 'ab+bc' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 1 ; then
echo Spencer test \#12 failed
failures=1
fi
status=`echo 'abq'| { ${GREP} -E -e 'ab+bc' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 1 ; then
echo Spencer test \#13 failed
failures=1
fi
status=`echo 'abbbbc'| { ${GREP} -E -e 'ab+bc' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#14 failed
failures=1
fi
status=`echo 'abbc'| { ${GREP} -E -e 'ab?bc' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#15 failed
failures=1
fi
status=`echo 'abc'| { ${GREP} -E -e 'ab?bc' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#16 failed
failures=1
fi
status=`echo 'abbbbc'| { ${GREP} -E -e 'ab?bc' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 1 ; then
echo Spencer test \#17 failed
failures=1
fi
status=`echo 'abc'| { ${GREP} -E -e 'ab?c' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#18 failed
failures=1
fi
status=`echo 'abc'| { ${GREP} -E -e '^abc$' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#19 failed
failures=1
fi
status=`echo 'abcc'| { ${GREP} -E -e '^abc$' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 1 ; then
echo Spencer test \#20 failed
failures=1
fi
status=`echo 'abcc'| { ${GREP} -E -e '^abc' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#21 failed
failures=1
fi
status=`echo 'aabc'| { ${GREP} -E -e '^abc$' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 1 ; then
echo Spencer test \#22 failed
failures=1
fi
status=`echo 'aabc'| { ${GREP} -E -e 'abc$' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#23 failed
failures=1
fi
status=`echo 'abc'| { ${GREP} -E -e '^' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#24 failed
failures=1
fi
status=`echo 'abc'| { ${GREP} -E -e '$' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#25 failed
failures=1
fi
status=`echo 'abc'| { ${GREP} -E -e 'a.c' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#26 failed
failures=1
fi
status=`echo 'axc'| { ${GREP} -E -e 'a.c' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#27 failed
failures=1
fi
status=`echo 'axyzc'| { ${GREP} -E -e 'a.*c' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#28 failed
failures=1
fi
status=`echo 'axyzd'| { ${GREP} -E -e 'a.*c' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 1 ; then
echo Spencer test \#29 failed
failures=1
fi
status=`echo 'abc'| { ${GREP} -E -e 'a[bc]d' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 1 ; then
echo Spencer test \#30 failed
failures=1
fi
status=`echo 'abd'| { ${GREP} -E -e 'a[bc]d' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#31 failed
failures=1
fi
status=`echo 'abd'| { ${GREP} -E -e 'a[b-d]e' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 1 ; then
echo Spencer test \#32 failed
failures=1
fi
status=`echo 'ace'| { ${GREP} -E -e 'a[b-d]e' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#33 failed
failures=1
fi
status=`echo 'aac'| { ${GREP} -E -e 'a[b-d]' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#34 failed
failures=1
fi
status=`echo 'a-'| { ${GREP} -E -e 'a[-b]' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#35 failed
failures=1
fi
status=`echo 'a-'| { ${GREP} -E -e 'a[b-]' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#36 failed
failures=1
fi
status=`echo '-'| { ${GREP} -E -e 'a[b-a]' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 1 ; then
echo Spencer test \#37 failed
failures=1
fi
status=`echo '-'| { ${GREP} -E -e 'a[]b' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 2 ; then
echo Spencer test \#38 failed
failures=1
fi
status=`echo '-'| { ${GREP} -E -e 'a[' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 2 ; then
echo Spencer test \#39 failed
failures=1
fi
status=`echo 'a]'| { ${GREP} -E -e 'a]' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#40 failed
failures=1
fi
status=`echo 'a]b'| { ${GREP} -E -e 'a[]]b' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#41 failed
failures=1
fi
status=`echo 'aed'| { ${GREP} -E -e 'a[^bc]d' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#42 failed
failures=1
fi
status=`echo 'abd'| { ${GREP} -E -e 'a[^bc]d' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 1 ; then
echo Spencer test \#43 failed
failures=1
fi
status=`echo 'adc'| { ${GREP} -E -e 'a[^-b]c' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#44 failed
failures=1
fi
status=`echo 'a-c'| { ${GREP} -E -e 'a[^-b]c' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 1 ; then
echo Spencer test \#45 failed
failures=1
fi
status=`echo 'a]c'| { ${GREP} -E -e 'a[^]b]c' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 1 ; then
echo Spencer test \#46 failed
failures=1
fi
status=`echo 'adc'| { ${GREP} -E -e 'a[^]b]c' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#47 failed
failures=1
fi
status=`echo 'abc'| { ${GREP} -E -e 'ab|cd' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#48 failed
failures=1
fi
status=`echo 'abcd'| { ${GREP} -E -e 'ab|cd' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#49 failed
failures=1
fi
status=`echo 'def'| { ${GREP} -E -e '()ef' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#50 failed
failures=1
fi
status=`echo '-'| { ${GREP} -E -e '()*' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#51 failed
failures=1
fi
status=`echo '-'| { ${GREP} -E -e '*a' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 1 ; then
echo Spencer test \#52 failed
failures=1
fi
status=`echo '-'| { ${GREP} -E -e '^*' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#53 failed
failures=1
fi
status=`echo '-'| { ${GREP} -E -e '$*' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#54 failed
failures=1
fi
status=`echo '-'| { ${GREP} -E -e '(*)b' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 1 ; then
echo Spencer test \#55 failed
failures=1
fi
status=`echo 'b'| { ${GREP} -E -e '$b' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 1 ; then
echo Spencer test \#56 failed
failures=1
fi
status=`echo '-'| { ${GREP} -E -e 'a\' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 2 ; then
echo Spencer test \#57 failed
failures=1
fi
status=`echo 'a(b'| { ${GREP} -E -e 'a\(b' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#58 failed
failures=1
fi
status=`echo 'ab'| { ${GREP} -E -e 'a\(*b' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#59 failed
failures=1
fi
status=`echo 'a((b'| { ${GREP} -E -e 'a\(*b' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#60 failed
failures=1
fi
status=`echo 'a\x'| { ${GREP} -E -e 'a\x' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 1 ; then
echo Spencer test \#61 failed
failures=1
fi
status=`echo '-'| { ${GREP} -E -e 'abc)' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 2 ; then
echo Spencer test \#62 failed
failures=1
fi
status=`echo '-'| { ${GREP} -E -e '(abc' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 2 ; then
echo Spencer test \#63 failed
failures=1
fi
status=`echo 'abc'| { ${GREP} -E -e '((a))' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#64 failed
failures=1
fi
status=`echo 'abc'| { ${GREP} -E -e '(a)b(c)' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#65 failed
failures=1
fi
status=`echo 'aabbabc'| { ${GREP} -E -e 'a+b+c' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#66 failed
failures=1
fi
status=`echo '-'| { ${GREP} -E -e 'a**' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#67 failed
failures=1
fi
status=`echo '-'| { ${GREP} -E -e 'a*?' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#68 failed
failures=1
fi
status=`echo '-'| { ${GREP} -E -e '(a*)*' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#69 failed
failures=1
fi
status=`echo '-'| { ${GREP} -E -e '(a*)+' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#70 failed
failures=1
fi
status=`echo '-'| { ${GREP} -E -e '(a|)*' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#71 failed
failures=1
fi
status=`echo '-'| { ${GREP} -E -e '(a*|b)*' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#72 failed
failures=1
fi
status=`echo 'ab'| { ${GREP} -E -e '(a+|b)*' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#73 failed
failures=1
fi
status=`echo 'ab'| { ${GREP} -E -e '(a+|b)+' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#74 failed
failures=1
fi
status=`echo 'ab'| { ${GREP} -E -e '(a+|b)?' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#75 failed
failures=1
fi
status=`echo 'cde'| { ${GREP} -E -e '[^ab]*' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#76 failed
failures=1
fi
status=`echo '-'| { ${GREP} -E -e '(^)*' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#77 failed
failures=1
fi
status=`echo '-'| { ${GREP} -E -e '(ab|)*' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#78 failed
failures=1
fi
status=`echo '-'| { ${GREP} -E -e ')(' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 2 ; then
echo Spencer test \#79 failed
failures=1
fi
status=`echo ''| { ${GREP} -E -e 'abc' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 1 ; then
echo Spencer test \#80 failed
failures=1
fi
status=`echo ''| { ${GREP} -E -e 'abc' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 1 ; then
echo Spencer test \#81 failed
failures=1
fi
status=`echo ''| { ${GREP} -E -e 'a*' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#82 failed
failures=1
fi
status=`echo 'abbbcd'| { ${GREP} -E -e '([abc])*d' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#83 failed
failures=1
fi
status=`echo 'abcd'| { ${GREP} -E -e '([abc])*bcd' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#84 failed
failures=1
fi
status=`echo 'e'| { ${GREP} -E -e 'a|b|c|d|e' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#85 failed
failures=1
fi
status=`echo 'ef'| { ${GREP} -E -e '(a|b|c|d|e)f' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#86 failed
failures=1
fi
status=`echo '-'| { ${GREP} -E -e '((a*|b))*' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#87 failed
failures=1
fi
status=`echo 'abcdefg'| { ${GREP} -E -e 'abcd*efg' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#88 failed
failures=1
fi
status=`echo 'xabyabbbz'| { ${GREP} -E -e 'ab*' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#89 failed
failures=1
fi
status=`echo 'xayabbbz'| { ${GREP} -E -e 'ab*' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#90 failed
failures=1
fi
status=`echo 'abcde'| { ${GREP} -E -e '(ab|cd)e' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#91 failed
failures=1
fi
status=`echo 'hij'| { ${GREP} -E -e '[abhgefdc]ij' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#92 failed
failures=1
fi
status=`echo 'abcde'| { ${GREP} -E -e '^(ab|cd)e' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 1 ; then
echo Spencer test \#93 failed
failures=1
fi
status=`echo 'abcdef'| { ${GREP} -E -e '(abc|)ef' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#94 failed
failures=1
fi
status=`echo 'abcd'| { ${GREP} -E -e '(a|b)c*d' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#95 failed
failures=1
fi
status=`echo 'abc'| { ${GREP} -E -e '(ab|ab*)bc' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#96 failed
failures=1
fi
status=`echo 'abc'| { ${GREP} -E -e 'a([bc]*)c*' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#97 failed
failures=1
fi
status=`echo 'abcd'| { ${GREP} -E -e 'a([bc]*)(c*d)' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#98 failed
failures=1
fi
status=`echo 'abcd'| { ${GREP} -E -e 'a([bc]+)(c*d)' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#99 failed
failures=1
fi
status=`echo 'abcd'| { ${GREP} -E -e 'a([bc]*)(c+d)' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#100 failed
failures=1
fi
status=`echo 'adcdcde'| { ${GREP} -E -e 'a[bcd]*dcdcde' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#101 failed
failures=1
fi
status=`echo 'adcdcde'| { ${GREP} -E -e 'a[bcd]+dcdcde' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 1 ; then
echo Spencer test \#102 failed
failures=1
fi
status=`echo 'abc'| { ${GREP} -E -e '(ab|a)b*c' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#103 failed
failures=1
fi
status=`echo 'abcd'| { ${GREP} -E -e '((a)(b)c)(d)' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#104 failed
failures=1
fi
status=`echo 'alpha'| { ${GREP} -E -e '[A-Za-z_][A-Za-z0-9_]*' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#105 failed
failures=1
fi
status=`echo 'abh'| { ${GREP} -E -e '^a(bc+|b[eh])g|.h$' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#106 failed
failures=1
fi
status=`echo 'effgz'| { ${GREP} -E -e '(bc+d$|ef*g.|h?i(j|k))' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#107 failed
failures=1
fi
status=`echo 'ij'| { ${GREP} -E -e '(bc+d$|ef*g.|h?i(j|k))' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#108 failed
failures=1
fi
status=`echo 'effg'| { ${GREP} -E -e '(bc+d$|ef*g.|h?i(j|k))' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 1 ; then
echo Spencer test \#109 failed
failures=1
fi
status=`echo 'bcdd'| { ${GREP} -E -e '(bc+d$|ef*g.|h?i(j|k))' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 1 ; then
echo Spencer test \#110 failed
failures=1
fi
status=`echo 'reffgz'| { ${GREP} -E -e '(bc+d$|ef*g.|h?i(j|k))' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#111 failed
failures=1
fi
status=`echo '-'| { ${GREP} -E -e '((((((((((a))))))))))' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 1 ; then
echo Spencer test \#112 failed
failures=1
fi
status=`echo 'a'| { ${GREP} -E -e '(((((((((a)))))))))' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#113 failed
failures=1
fi
status=`echo 'uh-uh'| { ${GREP} -E -e 'multiple words of text' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 1 ; then
echo Spencer test \#114 failed
failures=1
fi
status=`echo 'multiple words, yeah'| { ${GREP} -E -e 'multiple words' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#115 failed
failures=1
fi
status=`echo 'abcde'| { ${GREP} -E -e '(.*)c(.*)' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#116 failed
failures=1
fi
status=`echo '(.*)\)'| { ${GREP} -E -e '\((.*),' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 1 ; then
echo Spencer test \#117 failed
failures=1
fi
status=`echo 'ab'| { ${GREP} -E -e '[k]' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 1 ; then
echo Spencer test \#118 failed
failures=1
fi
status=`echo 'abcd'| { ${GREP} -E -e 'abcd' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#119 failed
failures=1
fi
status=`echo 'abcd'| { ${GREP} -E -e 'a(bc)d' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#120 failed
failures=1
fi
status=`echo 'ac'| { ${GREP} -E -e 'a[-]?c' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#121 failed
failures=1
fi
status=`echo 'beriberi'| { ${GREP} -E -e '(....).*\1' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 0 ; then
echo Spencer test \#122 failed
failures=1
fi
exit $failures