#! /bin/sh # # This is patch #8 to gawk 3.1. cd to gawk-3.1.7 and sh this file. # Then remove all the .orig files and rename the directory gawk-3.1.8 # Changes to files that are automatically recreated have been omitted. # They will be recreated the first time you run make. # This includes all the extracted example files in awklib. # First, slight rearranging rm -fr libsigsegv rm README_d/README.cygwin rm configure rm dfa.c rm dfa.h rm ltmain.sh (cd m4 ; rm libtool.m4 ltoptions.m4 ltsugar.m4 ltversion.m4 lt~obsolete.m4) rm missing_d/snprintf.c.save # Now, apply the patch patch -p1 << \EOF diff -urN gawk-3.1.7/ChangeLog gawk-3.1.8/ChangeLog --- gawk-3.1.7/ChangeLog 2009-07-21 22:30:29.000000000 +0300 +++ gawk-3.1.8/ChangeLog 2010-05-06 20:56:59.000000000 +0300 @@ -1,3 +1,345 @@ +Thu May 6 20:55:14 2010 Arnold D. Robbins + + * Release 3.1.8: Release tar file made. + +Fri Apr 30 11:37:54 2010 Arnold D. Robbins + + * configure.ac: Remove check for libsnprintf. + +Tue Apr 27 22:23:26 2010 Andreas Schwab + + * builtin.c (do_mktime): Make lint check more sane. + Fix overflow check. Removes GCC warning that Arnold + incorrectly didn't like. + +Mon Apr 26 20:16:07 2010 Arnold D. Robbins + + * ltmain.sh: Removed. + * builtin.c (do_mktime): Restored old code to match the + documentation. We now have a warning that we just have to + live with. Sigh. Stupid GCC. Added a lint warning though. + (format_tree): More code so that %'d acts like %d on systems + without . + * main.c (main): Add `&& #if defined(HAVE_LOCALE_H)' for + call to setlocale. + +Wed Apr 21 23:35:43 2010 Arnold D. Robbins + + * Makefile.am: Change quoting of -Dargs so that even tcsh + users will be happy. + * regex_internal.c (MAX): Add `#undef MAX', just in case. + * configure.ac: Don't look for libsigsegv on OSF/1, gives + us severe headaches. + +Tue Apr 20 12:01:01 2010 Arnold D. Robbins + + * dfa.h, dfa.c: Sync with GNU grep. The long-standing x{0} bug + is now gone. Matching UTF-8 with "." is now much faster. + * re.c (avoid_dfa): Remove call to dfabroken() which is now gone. + * builtin.c (do_mktime): Simply check of values passed in to be + more readable and to avoid a weird compiler warning from GCC. + +Fri Apr 16 15:02:26 2010 Arnold D. Robbins + + * array.c (assoc_lookup): Add cast in error message to turn + off compiler warning. + * dfa.c (is_blank): New function. Use it everywhere instead of + ctype.h `isblank' macro which isn't available universally. + +Tue Apr 13 22:36:31 2010 Arnold D. Robbins + + * array.c, awkgram.y, builtin.c, dfa.c, eval.c, ext.c, main.c, + node.c, re.c: Remove old ISxxx and TOxxx macros in favor of + standard versions. ``We're two wild and crazy guys!'' + +Tue Apr 13 22:07:18 2010 Arnold D. Robbins + + * getopt.c, getopt.h, getopt1.c, getopt_int.h, regcomp.c, regex.c, + regex.h, regex_internal.c, regex_internal.h, regexec.c: Sync with + glibc. What the heck. + +Thu Apr 8 21:33:09 2010 Arnold D. Robbins + + * dfa.h, dfa.c: All leading indentation is now spaces only. Yet + another sync with grep. + +Thu Apr 8 20:45:25 2010 Arnold D. Robbins + + Move dfa internals into dfa.c and sync with grep. Avoids VMS and + z/OS compile problems in order to avoid cygwin issue when used + with ligsigsegv. ("Portability? We don't need no stinkin' + portability!") + + * dfa.h: Move all the internals into dfa.c. + (dfaalloc, dfamusts, dfabroken): Add declarations. + * dfa.c: Accept all the internals. + (dfaalloc, dfamusts, dfabroken): New functions. + * awk.h (Regexp): Use a `struct dfa *'. + * re.c (make_regexp): Call dfaalloc. Adjust uses of dfareg + in other routines. + (refree): Free the dfa struct too. + +Tue Apr 6 23:06:55 2010 Arnold D. Robbins + + * dfa.h, dfa.c: Further sync with GNU grep for enum change + and other misc changes. + +Tue Apr 6 20:13:45 2010 Michal Jaegermann + + * main.c: Wrap declarations and bodies of `catchsegv' and + `catchstackoverflow' in #ifdef HAVE_LIBSIGSEGV to avoid + "not used" warnings. + +Tue Apr 6 20:11:47 2010 Arnold D. Robbins + + * dfa.h: Move definition of token enum to dfa.c to avoid conflict + with Windows WCHAR introduced by libsigsegv. Thanks to Corinna + Vinschen. + * dfa.c: Enum body here. + (in_coll_range): z/OS fix: Initialize array to all zeros and assign + values instead of putting them into the initializer. Thanks to Dave + Pitts for reporting the problem. + +Fri Apr 2 12:32:40 2010 Arnold D. Robbins + + * dfa.c: Sync with grep 2.6.3. + +Wed Mar 31 15:50:34 2010 Arnold D. Robbins + + * dfa.c (dfaexec): Move decl of `saved_end' up to top of function. + Fixes compilation on C89 compilers. + +Mon Mar 29 08:40:29 2010 Arnold D. Robbins + + Remove local copy of libsigsegv. Use an external copy if available. + + * Makefile.am: Remove SEGVSUBDIR and SEGVINCLUDE. + * configure.ac: Remove previous code that handled the library and use + gl_LIBSIGSEGV library. + * custom.h: Remove code for HAVE_SIGSEGV_H. + * main.c: Move to HAVE_LIBSIGSEGV. + * libsigegv/ : Removed. + +Mon Mar 29 05:41:35 2010 Corinna Vinschen + + * dfa.c: Include hard-locale.h after xalloc.h because it needs + xmalloc. + * hard-locale.h (xmalloc): Remove declaration. + (hard_locale): Cast xmalloc to correct target type. + +Mon Mar 29 05:38:47 2010 Arnold D. Robbins + + * io.c: (two_way_open): In counting down retries, test for > 0 + instead of >= 0 since retries is unsigned. Thanks to Pat Rankin + for noticing. + * configure.ac: Remove use of -export-dynamic on cygwin. + +Thu Mar 25 21:48:13 2010 Arnold D. Robbins + + * dfa.c: Sync to grep 2.6.1. That's probably enough for now. + +Wed Mar 24 19:48:01 2010 Arnold D. Robbins + + * dfa.c: More sync with grep. + +Tue Mar 23 19:42:48 2010 Jeff Chua + + * io.c (two_way_open): Bug fix in management of timeout value. + +Tue Mar 23 19:40:04 2010 Arnold D. Robbins + + * dfa.h, dfa.c: Synced with released grep 2.6. Oh Frabjous Day! + Callou! Callay! + +Mon Mar 22 22:49:44 2010 Arnold D. Robbins + + * awkgram.c: Regenerated using bison 2.4.2. + +Fri Mar 19 10:19:20 2010 Arnold D. Robbins + + * dfa.c: Minor edits for compat with grep. + +Fri Mar 19 09:19:56 2010 Arnold D. Robbins + + * io.c (two_way_open): Cleanup new code for socket opens. + * replace.c: Include missing_d/usleep.c based HAVE_USLEEP. + * configure.ac: Add usleep to list of functions to look for. + +Thu Mar 18 23:30:33 2010 Arnold D. Robbins + + * dfa.h, dfa.c: Imported from GNU grep and merged. Passes "make test". + * xalloc.h: New file, needed by dfa.c. + * Makefile.am (base_sources ): Added xalloc.h. + +Thu Mar 18 07:29:45 2010 Jeff Chua + + * io.c (two_way_open): Make failure to open a socket a non-fatal error. + Allow the amount of time to sleep during socket retries to come from an + undocumented env variable giving time in milliseconds. + +Mon Mar 8 20:58:05 2010 Paolo Bonzini + + More fixes from GNU grep. + + * dfa.c (dfaexec): Remove register keywords. + (FETCH): Use do..while(0) idiom. + (parse_bracket_exp_mb): Return MBCSET. + (in_coll_range): New. + (lex): Assign return value of parse_bracket_exp_mb to lasttok, + return it. Use in_coll_range instead of regcomp/regexec. + +Mon Mar 8 20:36:35 2010 Jim Meyering + + Fixes from GNU grep development version: + + build: avoid shadowing warnings + * dfa.c (match_mb_charset): Rename parameter: s/index/idx/. + (check_matching_with_multibyte_ops, match_anychar): Likewise. + + build: avoid shadowing warning for unused "rs" + * dfa.c (transit_state): Remove dead stores; + Ignore transit_state_consume_1char return value. + + syntax: remove trailing blanks + * dfa.c: Remove trailing blanks, to ease synchronization with grep. + + clean-up: limit visibility of an internal function + * dfa.c (match_mb_charset): Declare static. + + build: rename local to avoid shadowing global, dfa + * dfa.c (dfamust): Rename parameter: s/dfa/d/. + +Thu Feb 18 22:44:01 2010 Arnold D. Robbins 0 + + * eval.c (push_args): Clear the stack to NULL pointers after mallocing + it. Fixes yesterday's problem when called from a rule. + See test/fcall_exit2.awk. Thanks to Seb . + +Wed Feb 17 23:19:32 2010 Arnold D. Robbins + + * eval.c (pop_fcall): Check that argument on stack is not NULL before + attempting to clear it; add comment explaining it. + (push_args): Set nodes to zero for argument to make sure that values + are NULL for testing later in pop_fcall. See test/fcall_exit.awk. + Thanks to Seb . + +Sun Jan 31 22:46:49 2010 Arnold D. Robbins + + * profile.c (prec_level): Add Node_regex to the switch so that + `! /xxx/' works. Thanks to Hermann Peifer for + reporting the bug. + +Thu Jan 28 17:40:14 2010 Arnold D. Robbins + + * configure, Makefile.am: Updated to Autoconf 2.65 and Automake 1.11.1, + libsigsegv 2.8. + +Thu Jan 21 23:24:56 2010 Arnold D. Robbins + + * profile.c (pprint): Separate out code for Node_switch_body and only + print the lnode; avoids printing the default case twice. Thanks to + Hermann Peifer for reporting the bug. + +Sun Jan 3 21:03:01 2010 Arnold D. Robbins + + * dfa.c: Added casts as needed to silence warnings about + signedness of pointers from GCC 4.x. + +Fri Jan 1 11:41:50 2010 Arnold D. Robbins + + * builtin.c (format_tree): At pr_tail, remember to take the precision + into account when determining how many characters to copy out. + Thanks to tczy for the bug report. + +Tue Dec 8 12:29:30 2009 Arnold D. Robbins + + * configure.ac, awk.h: Remove use of header file. + +Mon Dec 7 15:25:02 2009 Arnold D. Robbins + + * node.c (format_val): Use <= and >= in the comparisons with + LONG_xxx instead of < and > so that things work correctly on systems + with 64 bit integers. Thanks to Stephen Davies for pointing out + the problem. + +Sat Nov 21 23:14:59 2009 Arnold D. Robbins + + * builtin.c (format_tree): If there is not an actual thousands + separator character, don't let `quote_flag' have an effect. Fixes + test failure on Solaris 10, which bizarrely says to use the + thousands separator character every three digits, but then doesn't + actually supply one. Thanks to Nelson Beebe for the initial + report. + +Mon Nov 16 22:27:44 2009 Arnold D. Robbins + + * awk.h (getnode): If MPROF wrap body in parentheses; remove + incorrect trailing semicolon. + * bisonfix.awk: Convert "y.tab.c" to "awkgram.c" for those rare + instances where we need to use a debugger on the parser so + that gdb will find the right source file. + +2009-10-26 Andreas Schwab + + * io.c (iop_open): Set errno when rejecting a directory. + +Tue Oct 20 22:48:14 2009 Arnold D. Robbins + + * awkgram.y (constant_fold): Fix check for two strings to look + at `right->flags'. Fix division code to check for division by + zero first. Thanks to Stephen Davies + for both. + +Fri Oct 16 08:41:29 2009 Arnold D. Robbins + + * io.c (redirect): Do the close-on-exec setting before + attempt to get a FILE *. Thanks to Andreas Schwab. + +Wed Oct 14 23:25:47 2009 Arnold D. Robbins + + * io.c (redirect): When opening a file, set the close-on-exec flag. + Thanks to Chris Pearson for the bug report. + +Tue Oct 6 21:07:23 2009 Arnold D. Robbins + + * main.c (main): When an option requires an argument and we print a + message, call `usage' and exit. + + Fix all calls to `usage' to use EXIT_FAILURE and EXIT_SUCCESS + instead of 1 and 0. + +Sun Oct 4 21:46:11 2009 Arnold D. Robbins + + * main.c (main): Don't reset argv[0] to myname. In call + to `init_args', pass argv[0] if do_posix. Based on + Fedora bug report. + +Sun Oct 4 18:45:06 2009 Arnold D. Robbins + + * array.c (assoc_lookup): In lint warning, don't clobber + the character at the end of the subscript; instead use the + length to limit the number of characters printed. Thanks to + Nick Hobson . + +Sun Aug 30 22:40:12 2009 Arnold D. Robbins + + * builtin.c (do_length): Handle the case where Node_var_new + was passed in as a parameter via a function call parameter. + Thanks to Greg Johnson for reporting + the bug. + +Tue Aug 11 19:23:51 2009 Arnold D. Robbins + + * profile.c (parenthesize_expr): New function. + (tree_eval): Use it for Node_and and Node_or. Thanks to + Hermann Peifer for reporting the bug. + +Tue Aug 4 06:04:23 2009 Arnold D. Robbins + + * builtin.c (format_tree): zero_flag does not apply to + %c and %s conversions. Thanks to Mike Brennan and Thomas Dickey + for the bug report. + Tue Jul 21 22:28:56 2009 Arnold D. Robbins * Release 3.1.7: Release tar file made. @@ -60,7 +402,7 @@ Wed Jun 24 23:00:10 2009 Arnold D. Robbins - * bootstrap.h: Revised. Now works again. We think. (CVS-only file) + * bootstrap.sh: Revised. Now works again. We think. (CVS-only file) Wed Jun 24 21:57:30 2009 Arnold D. Robbins @@ -214,7 +556,7 @@ * builtin.c (format_tree): For '%s', don't count the multibyte characters if we are just copying all the characters. Gives - big speedup. Thanks to Hirofumi Saito + big speedup. Thanks to Hirofumi Saito for reporting the problem. Thu Jan 29 21:14:30 2009 Arnold D. Robbins @@ -328,7 +670,7 @@ Sun Aug 31 22:03:55 2008 Arnold D. Robbins - * eval.c (set_BINMODE): Tighten up the code to even more so + * eval.c (set_BINMODE): Tighten up the code even more so that it matches the documentation. Mon Aug 25 22:41:47 2008 Arnold D. Robbins diff -urN gawk-3.1.7/FUTURES gawk-3.1.8/FUTURES --- gawk-3.1.7/FUTURES 2007-01-23 20:30:21.000000000 +0200 +++ gawk-3.1.8/FUTURES 2010-05-04 21:17:00.000000000 +0300 @@ -1,4 +1,4 @@ - Copyright (C) 2005, 2006 Free Software Foundation, Inc. + Copyright (C) 2005, 2006, 2010 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright @@ -40,47 +40,84 @@ DONE: Multibyte support for index, length, substr, match. -For 3.2 +For 3.1.8 + bytecode +==================== + Performance fixes / improvements + + Change @sourcefile to @include per awk.info poll and document it + + Update copyrights + + Document dgawk + +For 4.0 ======= - Enable \s, \S in regexes (regcomp.c and dfa.c) and document them. + Add a single letter option for all long options & document them. - Make POSIX 2001 behavior the default for sub/gsub. + Remove support for all unsupported systems. - Add IPv6 support. + Remove all old README* files. + + Enable \s, \S in regexes (regcomp.c and dfa.c) and document them. - Add an optional base to strtonum, allowing 2-36. + Integrate byte code changes and dgawk + Indirect functions + BEGINFILE, ENDFILE Simplify awk.h. Consider moving var_value info into Node_var itself to reduce memory usage. - Look at ISO C 99 printf features. + Consider removing use of and/or need for the protos.h file. - Consider integrating Fred Fish's DBUG library into gawk. + Make POSIX 2001 behavior the default for sub/gsub. + + Add IPv6 support. - Move the loadable modules interface to libtool. + Gnulib? + + Move to git? + + Additional manual features: + Remove all page breaks + Review internal notes about reorganization + Full front to back read through + +For 4.1 +======= + Implement designed API for loadable modules Redo the loadable modules interface from the awk level. + ? Move the loadable modules interface to libtool. + Rework management of array index storage. (Partially DONE.) - A RECLEN variable for fixed-length record input. PROCINFO["RS"] + DBM storage of awk arrays. Try to allow multiple dbm packages. + + ? Add an optional base to strtonum, allowing 2-36. + + ? Optional third argument for index indicating where to start the + search. + + ?? A RECLEN variable for fixed-length record input. PROCINFO["RS"] would be "RS" or "RECLEN" depending upon what's in use. - Use a new or improved dfa and/or regex library. + ?? Use a new or improved dfa and/or regex library. - DBM storage of awk arrays. Try to allow multiple dbm packages. +For 4.x: +======== + Look at ISO C 99 printf features. - Consider removing use of and/or need for the protos.h file. +Probably never: +=============== + Do an optimization pass over parse tree? - Additional manual features: - ? Add exercises - Document use of dbm arrays - ? Add an error messages section to the manual + Consider integrating Fred Fish's DBUG library into gawk. + + Make awk '/foo/' files... run at egrep speeds (how?) -For 3.3 -======= ? Have strftime() pay attention to the value of ENVIRON["TZ"] Add a lint check if the return value of a function is used but @@ -91,14 +128,3 @@ regex i/o sun fp conversions - -For 3.4 -======= - Do an optimization pass over parse tree? - - Make awk '/foo/' files... run at egrep speeds (how?) - -For 4.x: -======== - -Provide awk debugging. diff -urN gawk-3.1.7/Makefile.am gawk-3.1.8/Makefile.am --- gawk-3.1.7/Makefile.am 2009-07-04 21:51:42.000000000 +0300 +++ gawk-3.1.8/Makefile.am 2010-04-22 21:28:32.000000000 +0300 @@ -1,7 +1,7 @@ # # Makefile.am --- automake input file for gawk # -# Copyright (C) 2000-2007 the Free Software Foundation, Inc. +# Copyright (C) 2000-2010 the Free Software Foundation, Inc. # # This file is part of GAWK, the GNU implementation of the # AWK Programming Language. @@ -68,7 +68,6 @@ # Build explicitly in "." in order to build gawk first, so # that `make check' without a prior `make' works. SUBDIRS = \ - $(SEGVSUBDIR) \ . \ awklib \ doc \ @@ -110,7 +109,8 @@ regex.c \ regex.h \ replace.c \ - version.c + version.c \ + xalloc.h gawk_SOURCES = $(base_sources) eval.c profile.c pgawk_SOURCES = $(base_sources) eval_p.c profile_p.c @@ -122,11 +122,9 @@ pkgdatadir = $(datadir)/awk # stuff for compiling gawk/pgawk -DEFPATH="\".$(PATH_SEPARATOR)$(pkgdatadir)\"" +DEFPATH='".$(PATH_SEPARATOR)$(pkgdatadir)"' -DEFS= -DDEFPATH=$(DEFPATH) -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR="\"$(datadir)/locale\"" - -AM_CPPFLAGS = $(SEGVINCLUDE) +DEFS= -DDEFPATH=$(DEFPATH) -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR='"$(datadir)/locale"' # Get rid of core files when cleaning CLEANFILES = core core.* @@ -162,7 +160,6 @@ check-local: gawk$(EXEEXT) pgawk$(EXEEXT) # A little extra clean up when making distributions. -# FIXME: most of this rule should go away upon switching to libtool. dist-hook: cd $(distdir)/extension ; rm -f *.o *.so cd $(distdir) ; find . -type d -name CVS | xargs rm -fr diff -urN gawk-3.1.7/Makefile.in gawk-3.1.8/Makefile.in --- gawk-3.1.7/Makefile.in 2009-07-21 22:29:59.000000000 +0300 +++ gawk-3.1.8/Makefile.in 2010-05-06 20:55:45.000000000 +0300 @@ -1,4 +1,4 @@ -# Makefile.in generated by automake 1.11 from Makefile.am. +# Makefile.in generated by automake 1.11.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, @@ -18,7 +18,7 @@ # # Makefile.am --- automake input file for gawk # -# Copyright (C) 2000-2007 the Free Software Foundation, Inc. +# Copyright (C) 2000-2010 the Free Software Foundation, Inc. # # This file is part of GAWK, the GNU implementation of the # AWK Programming Language. @@ -62,7 +62,7 @@ $(srcdir)/Makefile.in $(srcdir)/configh.in \ $(top_srcdir)/configure ABOUT-NLS AUTHORS COPYING ChangeLog \ INSTALL NEWS awkgram.c config.guess config.rpath config.sub \ - depcomp install-sh ltmain.sh missing mkinstalldirs ylwrap + depcomp install-sh missing mkinstalldirs ylwrap ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/arch.m4 \ $(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/gettext.m4 \ @@ -70,9 +70,7 @@ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/isc-posix.m4 \ $(top_srcdir)/m4/lcmessage.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ - $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/longlong.m4 \ - $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ - $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/m4/libsigsegv.m4 $(top_srcdir)/m4/longlong.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/socket.m4 \ $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/uintmax_t.m4 \ @@ -111,16 +109,9 @@ am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) -LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ - $(LDFLAGS) -o $@ +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS) -LTYACCCOMPILE = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=compile $(YACC) $(YFLAGS) $(AM_YFLAGS) YLWRAP = $(top_srcdir)/ylwrap SOURCES = $(gawk_SOURCES) $(pgawk_SOURCES) DIST_SOURCES = $(gawk_SOURCES) $(pgawk_SOURCES) @@ -180,7 +171,6 @@ pkgdatadir = $(datadir)/awk ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ -AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ @@ -191,20 +181,18 @@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ -DEFS = -DDEFPATH=$(DEFPATH) -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR="\"$(datadir)/locale\"" +DEFS = -DDEFPATH=$(DEFPATH) -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR='"$(datadir)/locale"' DEPDIR = @DEPDIR@ -DSYMUTIL = @DSYMUTIL@ -DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ -FGREP = @FGREP@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ +HAVE_LIBSIGSEGV = @HAVE_LIBSIGSEGV@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ @@ -212,42 +200,33 @@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ -LD = @LD@ LDFLAGS = @LDFLAGS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSIGSEGV = @LIBSIGSEGV@ -LIBTOOL = @LIBTOOL@ -LIPO = @LIPO@ +LIBSIGSEGV_PREFIX = @LIBSIGSEGV_PREFIX@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ +LTLIBSIGSEGV = @LTLIBSIGSEGV@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ POSUB = @POSUB@ -RANLIB = @RANLIB@ -SED = @SED@ -SEGVINCLUDE = @SEGVINCLUDE@ -SEGVSUBDIR = @SEGVSUBDIR@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SOCKET_LIBS = @SOCKET_LIBS@ @@ -265,7 +244,6 @@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ @@ -296,7 +274,6 @@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ @@ -307,7 +284,6 @@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ -subdirs = @subdirs@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ @@ -360,7 +336,6 @@ # Build explicitly in "." in order to build gawk first, so # that `make check' without a prior `make' works. SUBDIRS = \ - $(SEGVSUBDIR) \ . \ awklib \ doc \ @@ -400,7 +375,8 @@ regex.c \ regex.h \ replace.c \ - version.c + version.c \ + xalloc.h gawk_SOURCES = $(base_sources) eval.c profile.c pgawk_SOURCES = $(base_sources) eval_p.c profile_p.c @@ -409,8 +385,7 @@ LDADD = $(LIBSIGSEGV) $(LIBINTL) $(SOCKET_LIBS) # stuff for compiling gawk/pgawk -DEFPATH = "\".$(PATH_SEPARATOR)$(pkgdatadir)\"" -AM_CPPFLAGS = $(SEGVINCLUDE) +DEFPATH = '".$(PATH_SEPARATOR)$(pkgdatadir)"' # Get rid of core files when cleaning CLEANFILES = core core.* @@ -422,7 +397,7 @@ $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: -.SUFFIXES: .c .lo .o .obj .y +.SUFFIXES: .c .o .obj .y am--refresh: @: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @@ -480,7 +455,7 @@ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ for p in $$list; do echo "$$p $$p"; done | \ sed 's/$(EXEEXT)$$//' | \ - while read p p1; do if test -f $$p || test -f $$p1; \ + while read p p1; do if test -f $$p; \ then echo "$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ @@ -494,8 +469,8 @@ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ + echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ + $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done @@ -510,13 +485,7 @@ cd "$(DESTDIR)$(bindir)" && rm -f $$files clean-binPROGRAMS: - @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \ - echo " rm -f" $$list; \ - rm -f $$list || exit $$?; \ - test -n "$(EXEEXT)" || exit 0; \ - list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ - echo " rm -f" $$list; \ - rm -f $$list + -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) gawk$(EXEEXT): $(gawk_OBJECTS) $(gawk_DEPENDENCIES) @rm -f gawk$(EXEEXT) $(LINK) $(gawk_OBJECTS) $(gawk_LDADD) $(LIBS) @@ -568,25 +537,9 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` -.c.lo: -@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< - .y.c: $(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h y.output $*.output -- $(YACCCOMPILE) -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -distclean-libtool: - -rm -f libtool config.lt - # 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, @@ -594,7 +547,7 @@ # (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): - @failcom='exit 1'; \ + @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ @@ -619,7 +572,7 @@ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): - @failcom='exit 1'; \ + @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ @@ -786,7 +739,8 @@ top_distdir="$(top_distdir)" distdir="$(distdir)" \ dist-hook -test -n "$(am__skip_mode_fix)" \ - || find "$(distdir)" -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ + || find "$(distdir)" -type d ! -perm -755 \ + -exec chmod u+rwx,go+rx {} \; -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 $(install_sh) -c -m a+r {} {} \; \ @@ -830,17 +784,17 @@ distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ - GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ + GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ - bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lzma*) \ - unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\ + lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ *.tar.xz*) \ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ - GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ + GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac @@ -938,14 +892,14 @@ -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) clean: clean-recursive -clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am +clean-am: clean-binPROGRAMS clean-generic mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ - distclean-hdr distclean-libtool distclean-tags + distclean-hdr distclean-tags dvi: dvi-recursive @@ -997,8 +951,7 @@ mostlyclean: mostlyclean-recursive -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool +mostlyclean-am: mostlyclean-compile mostlyclean-generic pdf: pdf-recursive @@ -1016,22 +969,21 @@ .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am am--refresh check check-am check-local clean \ - clean-binPROGRAMS clean-generic clean-libtool ctags \ - ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-hook \ - dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \ - distclean distclean-compile distclean-generic distclean-hdr \ - distclean-libtool distclean-tags distcleancheck distdir \ - distuninstallcheck dvi dvi-am html html-am info info-am \ - install install-am install-binPROGRAMS install-data \ - install-data-am install-dvi install-dvi-am install-exec \ - install-exec-am install-exec-hook install-html install-html-am \ - install-info install-info-am install-man install-pdf \ - install-pdf-am install-ps install-ps-am install-strip \ - installcheck installcheck-am installdirs installdirs-am \ - maintainer-clean maintainer-clean-generic mostlyclean \ - mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ - pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ - uninstall-binPROGRAMS + clean-binPROGRAMS clean-generic ctags ctags-recursive dist \ + dist-all dist-bzip2 dist-gzip dist-hook dist-lzma dist-shar \ + dist-tarZ dist-xz dist-zip distcheck distclean \ + distclean-compile distclean-generic distclean-hdr \ + distclean-tags distcleancheck distdir distuninstallcheck dvi \ + dvi-am html html-am info info-am install install-am \ + install-binPROGRAMS install-data install-data-am install-dvi \ + install-dvi-am install-exec install-exec-am install-exec-hook \ + install-html install-html-am install-info install-info-am \ + install-man install-pdf install-pdf-am install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs installdirs-am maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic pdf pdf-am ps ps-am tags tags-recursive \ + uninstall uninstall-am uninstall-binPROGRAMS # First, add a link from gawk to gawk-X.Y.Z. @@ -1060,7 +1012,6 @@ check-local: gawk$(EXEEXT) pgawk$(EXEEXT) # A little extra clean up when making distributions. -# FIXME: most of this rule should go away upon switching to libtool. dist-hook: cd $(distdir)/extension ; rm -f *.o *.so cd $(distdir) ; find . -type d -name CVS | xargs rm -fr diff -urN gawk-3.1.7/NEWS gawk-3.1.8/NEWS --- gawk-3.1.7/NEWS 2009-07-17 08:37:23.000000000 +0300 +++ gawk-3.1.8/NEWS 2010-05-02 21:06:21.000000000 +0300 @@ -1,10 +1,31 @@ Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, - 2005, 2006, 2007, 2009 Free Software Foundation, Inc. + 2005, 2006, 2007, 2009, 2010 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. +Changes from 3.1.7 to 3.1.8 +--------------------------- +1. The zero flag no longer applies to %c and %s; apparently the standards + changed at some point. + +2. Updated to latest infrastructure: Autoconf 2.65, Automake 1.11.1, + libtool 2.2.6b, Bison 2.4.2. + +3. Failure to open a socket is no longer a fatal error. + +4. dfa.h and dfa.c are now more-or-less in sync with GNU grep, for the first + time in many years. + +5. Gawk no longer includes its own copy of libsigsegv but it will use it if + installed on the build system. The --disable-libsigsegv configure option + is now gone. + +6. The ' flag (%'d) is now just ignored on systems that can't support it. + +7. Lots of bug fixes, see the ChangeLog. + Changes from 3.1.6 to 3.1.7 --------------------------- 1. Gawk now has support for z/OS (IBM S/390 architecture). diff -urN gawk-3.1.7/README gawk-3.1.8/README --- gawk-3.1.7/README 2009-07-09 22:38:49.000000000 +0300 +++ gawk-3.1.8/README 2010-04-20 11:25:57.000000000 +0300 @@ -1,4 +1,4 @@ - Copyright (C) 2005, 2006, 2007, 2009 Free Software Foundation, Inc. + Copyright (C) 2005, 2006, 2007, 2009, 2010 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright @@ -6,7 +6,7 @@ README: -This is GNU Awk 3.1.7. It is upwardly compatible with the Bell Labs +This is GNU Awk 3.1.8. It is upwardly compatible with the Bell Labs research version of awk. It is almost completely compliant with the 2004 POSIX 1003.1 standard for awk. (See the note below about POSIX.) diff -urN gawk-3.1.7/README_d/README.solaris gawk-3.1.8/README_d/README.solaris --- gawk-3.1.7/README_d/README.solaris 2007-06-11 05:39:28.000000000 +0300 +++ gawk-3.1.8/README_d/README.solaris 2010-04-20 11:34:29.000000000 +0300 @@ -1,3 +1,12 @@ +Tue Apr 20 11:33:20 IDT 2010 +============================ +The lc_num1 test fails on Solaris 10 systems. This is a bug with Solaris, +not gawk. + +Arnold Robbins +arnold@skeeve.com + +------ Stuff below here is probably only of historical interest ---------- Solaris Problem #1: =================== From: carson@lehman.com diff -urN gawk-3.1.7/aclocal.m4 gawk-3.1.8/aclocal.m4 --- gawk-3.1.7/aclocal.m4 2009-07-21 22:29:55.000000000 +0300 +++ gawk-3.1.8/aclocal.m4 2010-05-06 20:55:42.000000000 +0300 @@ -1,4 +1,4 @@ -# generated automatically by aclocal 1.11 -*- Autoconf -*- +# generated automatically by aclocal 1.11.1 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. @@ -13,8 +13,8 @@ m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl -m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],, -[m4_warning([this file was generated for autoconf 2.63. +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],, +[m4_warning([this file was generated for autoconf 2.65. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'.])]) @@ -86,7 +86,7 @@ [am__api_version='1.11' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. -m4_if([$1], [1.11], [], +m4_if([$1], [1.11.1], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) @@ -102,7 +102,7 @@ # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], -[AM_AUTOMAKE_VERSION([1.11])dnl +[AM_AUTOMAKE_VERSION([1.11.1])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) @@ -1038,12 +1038,8 @@ m4_include([m4/lib-ld.m4]) m4_include([m4/lib-link.m4]) m4_include([m4/lib-prefix.m4]) -m4_include([m4/libtool.m4]) +m4_include([m4/libsigsegv.m4]) m4_include([m4/longlong.m4]) -m4_include([m4/ltoptions.m4]) -m4_include([m4/ltsugar.m4]) -m4_include([m4/ltversion.m4]) -m4_include([m4/lt~obsolete.m4]) m4_include([m4/nls.m4]) m4_include([m4/po.m4]) m4_include([m4/progtest.m4]) diff -urN gawk-3.1.7/array.c gawk-3.1.8/array.c --- gawk-3.1.7/array.c 2009-07-09 22:31:20.000000000 +0300 +++ gawk-3.1.8/array.c 2010-04-15 18:37:48.000000000 +0300 @@ -3,7 +3,7 @@ */ /* - * Copyright (C) 1986, 1988, 1989, 1991-2009 the Free Software Foundation, Inc. + * Copyright (C) 1986, 1988, 1989, 1991-2010 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. @@ -59,8 +59,8 @@ const char *val; int newval; - if ((val = getenv("AVG_CHAIN_MAX")) != NULL && ISDIGIT(*val)) { - for (newval = 0; *val && ISDIGIT(*val); val++) + if ((val = getenv("AVG_CHAIN_MAX")) != NULL && isdigit(*val)) { + for (newval = 0; *val && isdigit(*val); val++) newval = (newval * 10) + *val - '0'; AVG_CHAIN_MAX = newval; @@ -510,9 +510,8 @@ } if (do_lint && reference) { - subs->stptr[subs->stlen] = '\0'; - lintwarn(_("reference to uninitialized element `%s[\"%s\"]'"), - array_vname(symbol), subs->stptr); + lintwarn(_("reference to uninitialized element `%s[\"%.*s\"]'"), + array_vname(symbol), (int)subs->stlen, subs->stptr); } /* It's not there, install it. */ diff -urN gawk-3.1.7/awk.h gawk-3.1.8/awk.h --- gawk-3.1.7/awk.h 2009-07-09 22:29:25.000000000 +0300 +++ gawk-3.1.8/awk.h 2010-04-21 23:32:19.000000000 +0300 @@ -3,7 +3,7 @@ */ /* - * Copyright (C) 1986, 1988, 1989, 1991-2009 the Free Software Foundation, Inc. + * Copyright (C) 1986, 1988, 1989, 1991-2010 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. @@ -75,9 +75,6 @@ #if ! defined(errno) && ! defined(MSDOS) && ! defined(OS2) extern int errno; #endif -#ifdef HAVE_SIGNUM_H -#include -#endif #ifndef NO_MBSUPPORT #include "mbsupport.h" /* defines MBS_SUPPORT */ @@ -114,42 +111,6 @@ /* This section is the messiest one in the file, not a lot that can be done */ -/* First, get the ctype stuff right; from Jim Meyering */ -#if defined(STDC_HEADERS) || (!defined(isascii) && !defined(HAVE_ISASCII)) -#define IN_CTYPE_DOMAIN(c) 1 -#else -#define IN_CTYPE_DOMAIN(c) isascii((unsigned char) c) -#endif - -#ifdef isblank -#define ISBLANK(c) (IN_CTYPE_DOMAIN(c) && isblank((unsigned char) c)) -#else -#define ISBLANK(c) ((c) == ' ' || (c) == '\t') -#endif -#ifdef isgraph -#define ISGRAPH(c) (IN_CTYPE_DOMAIN(c) && isgraph((unsigned char) c)) -#else -#define ISGRAPH(c) (IN_CTYPE_DOMAIN(c) && isprint((unsigned char) c) && !isspace((unsigned char) c)) -#endif - -#define ISPRINT(c) (IN_CTYPE_DOMAIN (c) && isprint ((unsigned char) c)) -#define ISDIGIT(c) (IN_CTYPE_DOMAIN (c) && isdigit ((unsigned char) c)) -#define ISALNUM(c) (IN_CTYPE_DOMAIN (c) && isalnum ((unsigned char) c)) -#define ISALPHA(c) (IN_CTYPE_DOMAIN (c) && isalpha ((unsigned char) c)) -#define ISCNTRL(c) (IN_CTYPE_DOMAIN (c) && iscntrl ((unsigned char) c)) -#define ISLOWER(c) (IN_CTYPE_DOMAIN (c) && islower ((unsigned char) c)) -#define ISPUNCT(c) (IN_CTYPE_DOMAIN (c) && ispunct (unsigned char) (c)) -#define ISSPACE(c) (IN_CTYPE_DOMAIN (c) && isspace ((unsigned char) c)) -#define ISUPPER(c) (IN_CTYPE_DOMAIN (c) && isupper ((unsigned char) c)) -#define ISXDIGIT(c) (IN_CTYPE_DOMAIN (c) && isxdigit ((unsigned char) c)) - -#ifndef TOUPPER -#define TOUPPER(c) toupper((unsigned char) c) -#endif -#ifndef TOLOWER -#define TOLOWER(c) tolower((unsigned char) c) -#endif - #ifdef __STDC__ #define P(s) s #define MALLOC_ARG_T size_t @@ -234,8 +195,12 @@ #endif /* HAVE_VPRINTF */ #ifndef HAVE_SNPRINTF +#if defined(HAVE_STDARG_H) && defined(__STDC__) && __STDC__ /* will use replacement version */ extern int snprintf P((char *restrict buf, size_t len, const char *restrict fmt, ...)); +#else +extern int snprintf (); +#endif #endif #ifndef HAVE_SETLOCALE @@ -253,7 +218,7 @@ typedef struct Regexp { struct re_pattern_buffer pat; struct re_registers regs; - struct dfa dfareg; + struct dfa *dfareg; short dfa; short has_anchor; /* speed up of avoid_dfa kludge, temporary */ } Regexp; @@ -812,7 +777,7 @@ #define var_uninitialized(n) ((n)->var_value == Nnull_string) #ifdef MPROF -#define getnode(n) emalloc((n), NODE *, sizeof(NODE), "getnode"), (n)->flags = 0, (n)->exec_count = 0; +#define getnode(n) (emalloc((n), NODE *, sizeof(NODE), "getnode"), (n)->flags = 0, (n)->exec_count = 0) #define freenode(n) free(n) #else /* not MPROF */ #define getnode(n) if (nextfree) n = nextfree, nextfree = nextfree->nextp;\ diff -urN gawk-3.1.7/awkgram.y gawk-3.1.8/awkgram.y --- gawk-3.1.7/awkgram.y 2009-07-21 22:41:00.000000000 +0300 +++ gawk-3.1.8/awkgram.y 2010-04-13 22:24:32.000000000 +0300 @@ -3,7 +3,7 @@ */ /* - * Copyright (C) 1986, 1988, 1989, 1991-2009 the Free Software Foundation, Inc. + * Copyright (C) 1986, 1988, 1989, 1991-2010 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. @@ -1697,7 +1697,7 @@ } if (c == '\n') sourceline++; - if (! ISSPACE(c)) { + if (! isspace(c)) { pushback(); break; } @@ -2133,7 +2133,7 @@ case '.': c = nextc(); pushback(); - if (! ISDIGIT(c)) + if (! isdigit(c)) return lasttok = '.'; else c = '.'; @@ -2161,7 +2161,7 @@ if (tok == tokstart + 2) { int peek = nextc(); - if (ISXDIGIT(peek)) { + if (isxdigit(peek)) { inhex = TRUE; pushback(); /* following digit */ } else { @@ -2190,7 +2190,7 @@ if ((c = nextc()) == '-' || c == '+') { int c2 = nextc(); - if (ISDIGIT(c2)) { + if (isdigit(c2)) { tokadd(c); tokadd(c2); } else { @@ -2198,7 +2198,7 @@ pushback(); /* + or - */ pushback(); /* e or E */ } - } else if (! ISDIGIT(c)) { + } else if (! isdigit(c)) { pushback(); /* character after e or E */ pushback(); /* e or E */ } else { @@ -2246,7 +2246,7 @@ tokadd('\0'); if (! do_traditional && isnondecimal(tokstart, FALSE)) { if (do_lint) { - if (ISDIGIT(tokstart[1])) /* not an 'x' or 'X' */ + if (isdigit(tokstart[1])) /* not an 'x' or 'X' */ lintwarn("numeric constant `%.*s' treated as octal", (int) strlen(tokstart)-1, tokstart); else if (tokstart[1] == 'x' || tokstart[1] == 'X') @@ -2287,7 +2287,7 @@ } } - if (c != '_' && ! ISALPHA(c)) { + if (c != '_' && ! isalpha(c)) { yyerror(_("invalid char '%c' in expression"), c); exit(EXIT_FAILURE); } @@ -3606,7 +3606,7 @@ return node(left, op, right); } - /* String concatentation of two string cnstants */ + /* String concatentation of two string constants */ if (op == Node_concat && left->type == Node_val && (left->flags & (STRCUR|STRING)) != 0 @@ -3630,7 +3630,7 @@ if (left->type != Node_val || (left->flags & (STRCUR|STRING)) != 0 || right->type != Node_val - || (left->flags & (STRCUR|STRING)) != 0) { + || (right->flags & (STRCUR|STRING)) != 0) { return node(left, op, right); } @@ -3660,6 +3660,8 @@ result *= right->numbr; break; case Node_quotient: + if (right->numbr == 0) + fatal(_("division by zero attempted in `/'")); result /= right->numbr; break; case Node_mod: diff -urN gawk-3.1.7/awklib/ChangeLog gawk-3.1.8/awklib/ChangeLog --- gawk-3.1.7/awklib/ChangeLog 2009-07-21 22:30:25.000000000 +0300 +++ gawk-3.1.8/awklib/ChangeLog 2010-05-06 20:56:49.000000000 +0300 @@ -1,3 +1,7 @@ +Thu May 6 20:55:14 2010 Arnold D. Robbins + + * Release 3.1.8: Release tar file made. + Tue Jul 21 22:28:56 2009 Arnold D. Robbins * Release 3.1.7: Release tar file made. diff -urN gawk-3.1.7/awklib/Makefile.in gawk-3.1.8/awklib/Makefile.in --- gawk-3.1.7/awklib/Makefile.in 2009-07-21 22:29:59.000000000 +0300 +++ gawk-3.1.8/awklib/Makefile.in 2010-05-06 20:55:44.000000000 +0300 @@ -1,4 +1,4 @@ -# Makefile.in generated by automake 1.11 from Makefile.am. +# Makefile.in generated by automake 1.11.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, @@ -66,9 +66,7 @@ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/isc-posix.m4 \ $(top_srcdir)/m4/lcmessage.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ - $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/longlong.m4 \ - $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ - $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/m4/libsigsegv.m4 $(top_srcdir)/m4/longlong.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/socket.m4 \ $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/uintmax_t.m4 \ @@ -115,13 +113,8 @@ am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) -LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ - $(LDFLAGS) -o $@ +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = $(nodist_grcat_SOURCES) $(nodist_pwcat_SOURCES) DIST_SOURCES = ETAGS = etags @@ -131,7 +124,6 @@ pkglibexecdir = $(libexecdir)/awk ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ -AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ @@ -144,18 +136,16 @@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ -DSYMUTIL = @DSYMUTIL@ -DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ -FGREP = @FGREP@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ +HAVE_LIBSIGSEGV = @HAVE_LIBSIGSEGV@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ @@ -163,42 +153,33 @@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ -LD = @LD@ LDFLAGS = @LDFLAGS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSIGSEGV = @LIBSIGSEGV@ -LIBTOOL = @LIBTOOL@ -LIPO = @LIPO@ +LIBSIGSEGV_PREFIX = @LIBSIGSEGV_PREFIX@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ +LTLIBSIGSEGV = @LTLIBSIGSEGV@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ POSUB = @POSUB@ -RANLIB = @RANLIB@ -SED = @SED@ -SEGVINCLUDE = @SEGVINCLUDE@ -SEGVSUBDIR = @SEGVSUBDIR@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SOCKET_LIBS = @SOCKET_LIBS@ @@ -216,7 +197,6 @@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ @@ -247,7 +227,6 @@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ @@ -258,7 +237,6 @@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ -subdirs = @subdirs@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ @@ -278,7 +256,7 @@ all: all-am .SUFFIXES: -.SUFFIXES: .c .lo .o .obj +.SUFFIXES: .c .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ @@ -315,7 +293,7 @@ @list='$(pkglibexec_PROGRAMS)'; test -n "$(pkglibexecdir)" || list=; \ for p in $$list; do echo "$$p $$p"; done | \ sed 's/$(EXEEXT)$$//' | \ - while read p p1; do if test -f $$p || test -f $$p1; \ + while read p p1; do if test -f $$p; \ then echo "$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ @@ -329,8 +307,8 @@ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(pkglibexecdir)$$dir'"; \ - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(pkglibexecdir)$$dir" || exit $$?; \ + echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(pkglibexecdir)$$dir'"; \ + $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(pkglibexecdir)$$dir" || exit $$?; \ } \ ; done @@ -345,13 +323,7 @@ cd "$(DESTDIR)$(pkglibexecdir)" && rm -f $$files clean-pkglibexecPROGRAMS: - @list='$(pkglibexec_PROGRAMS)'; test -n "$$list" || exit 0; \ - echo " rm -f" $$list; \ - rm -f $$list || exit $$?; \ - test -n "$(EXEEXT)" || exit 0; \ - list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ - echo " rm -f" $$list; \ - rm -f $$list + -test -z "$(pkglibexec_PROGRAMS)" || rm -f $(pkglibexec_PROGRAMS) install-binSCRIPTS: $(bin_SCRIPTS) @$(NORMAL_INSTALL) test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" @@ -410,19 +382,6 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` -.c.lo: -@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ @@ -539,8 +498,8 @@ @echo "it deletes files that may require special tools to rebuild." clean: clean-am -clean-am: clean-generic clean-libtool clean-local \ - clean-pkglibexecPROGRAMS mostlyclean-am +clean-am: clean-generic clean-local clean-pkglibexecPROGRAMS \ + mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) @@ -596,8 +555,7 @@ mostlyclean: mostlyclean-am -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool +mostlyclean-am: mostlyclean-compile mostlyclean-generic pdf: pdf-am @@ -613,18 +571,17 @@ .MAKE: install-am install-exec-am install-strip .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ - clean-libtool clean-local clean-pkglibexecPROGRAMS ctags \ - distclean distclean-compile distclean-generic \ - distclean-libtool distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-binSCRIPTS \ - install-data install-data-am install-dvi install-dvi-am \ - install-exec install-exec-am install-exec-hook install-html \ - install-html-am install-info install-info-am install-man \ - install-pdf install-pdf-am install-pkglibexecPROGRAMS \ - install-ps install-ps-am install-strip installcheck \ - installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-compile \ - mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + clean-local clean-pkglibexecPROGRAMS ctags distclean \ + distclean-compile distclean-generic distclean-tags distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-binSCRIPTS install-data install-data-am install-dvi \ + install-dvi-am install-exec install-exec-am install-exec-hook \ + install-html install-html-am install-info install-info-am \ + install-man install-pdf install-pdf-am \ + install-pkglibexecPROGRAMS install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \ tags uninstall uninstall-am uninstall-binSCRIPTS \ uninstall-local uninstall-pkglibexecPROGRAMS diff -urN gawk-3.1.7/bisonfix.awk gawk-3.1.8/bisonfix.awk --- gawk-3.1.7/bisonfix.awk 2007-08-11 22:39:48.000000000 +0300 +++ gawk-3.1.8/bisonfix.awk 2010-01-03 21:02:37.000000000 +0200 @@ -1,6 +1,6 @@ # bisonfix.awk --- tweak awkgram.c for stupid compilers. -# Copyright (C) 2005 the Free Software Foundation, Inc. +# Copyright (C) 2005, 2009 the Free Software Foundation, Inc. # # This file is part of GAWK, the GNU implementation of the # AWK Programming Language. @@ -31,4 +31,6 @@ next } +/^#line.*y\.tab\.c/ { sub(/y.tab.c/, "awkgram.c") } + { print } diff -urN gawk-3.1.7/builtin.c gawk-3.1.8/builtin.c --- gawk-3.1.7/builtin.c 2009-07-09 22:31:27.000000000 +0300 +++ gawk-3.1.8/builtin.c 2010-04-27 22:24:36.000000000 +0300 @@ -3,7 +3,7 @@ */ /* - * Copyright (C) 1986, 1988, 1989, 1991-2009 the Free Software Foundation, Inc. + * Copyright (C) 1986, 1988, 1989, 1991-2010 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. @@ -466,6 +466,13 @@ if (do_posix) goto normal; /* will die as fatal error */ + if (array_var->type == Node_var_new) { + if (do_lint) + lintwarn(_("length: untyped parameter argument will be forced to scalar")); + + return tmp_number(0.0); + } + return tmp_number((AWKNUM) array_var->table_size); } else { normal: @@ -850,10 +857,10 @@ case '*': if (cur == NULL) break; - if (! do_traditional && ISDIGIT(*s1)) { + if (! do_traditional && isdigit(*s1)) { int val = 0; - for (; n0 > 0 && *s1 && ISDIGIT(*s1); s1++, n0--) { + for (; n0 > 0 && *s1 && isdigit(*s1); s1++, n0--) { val *= 10; val += *s1 - '0'; } @@ -912,10 +919,14 @@ case '#': alt = TRUE; goto check_pos; -#if defined(HAVE_LOCALE_H) case '\'': - quote_flag = TRUE; +#if defined(HAVE_LOCALE_H) + /* allow quote_flag if there is a thousands separator. */ + if (loc.thousands_sep[0] != '\0') + quote_flag = TRUE; goto check_pos; +#else + goto retry; #endif case 'l': if (big) @@ -964,8 +975,6 @@ goto retry; case 'c': need_format = FALSE; - if (zero_flag && ! lj) - fill = zero_string; parse_next_arg(); /* user input that looks numeric is numeric */ if ((arg->flags & (MAYBE_NUM|NUMBER)) == MAYBE_NUM) @@ -997,8 +1006,6 @@ goto pr_tail; case 's': need_format = FALSE; - if (zero_flag && ! lj) - fill = zero_string; parse_next_arg(); arg = force_string(arg); if (fw == 0 && ! have_prec) @@ -1218,9 +1225,18 @@ if (fw == 0 && ! have_prec) ; else if (gawk_mb_cur_max > 1 && (cs1 == 's' || cs1 == 'c')) { + int nchars_needed = 0; + assert(cp == arg->stptr || cp == cpbuf); - copy_count = mbc_byte_count(arg->stptr, - cs1 == 's' ? arg->stlen : 1); + + if (cs1 == 'c') + nchars_needed = 1; + else if (have_prec) + nchars_needed = prec; + else + nchars_needed = arg->stlen; + + copy_count = mbc_byte_count(arg->stptr, nchars_needed); } bchunk(cp, copy_count); while (fw > prec) { @@ -1312,7 +1328,7 @@ s0 = s1; break; default: - if (do_lint && ISALPHA(cs1)) + if (do_lint && isalpha(cs1)) lintwarn(_("ignoring unknown format specifier character `%c': no argument converted"), cs1); break; } @@ -1721,12 +1737,21 @@ & hour, & minute, & second, & dst); + if (do_lint /* Ready? Set! Go: */ + && ( (second < 0 || second > 60) + || (minute < 0 || minute > 60) + || (hour < 0 || hour > 23) + || (day < 1 || day > 31) + || (month < 1 || month > 12) )) + lintwarn(_("mktime: at least one of the values is out of the default range")); + t1->stptr[t1->stlen] = save; free_temp(t1); if (count < 6 - || month < month - 1 - || year < year - 1900 || year - 1900 != (int) (year - 1900)) + || month == INT_MIN + || year < INT_MIN + 1900 + || year - 1900 > INT_MAX) return tmp_number((AWKNUM) -1); memset(& then, '\0', sizeof(then)); @@ -1995,8 +2020,8 @@ t2 = tmp_string(t1->stptr, t1->stlen); for (cp = (unsigned char *)t2->stptr, cpe = (unsigned char *)(t2->stptr + t2->stlen); cp < cpe; cp++) - if (ISUPPER(*cp)) - *cp = TOLOWER(*cp); + if (isupper(*cp)) + *cp = tolower(*cp); } free_temp(t1); return t2; @@ -2025,8 +2050,8 @@ t2 = tmp_string(t1->stptr, t1->stlen); for (cp = (unsigned char *)t2->stptr, cpe = (unsigned char *)(t2->stptr + t2->stlen); cp < cpe; cp++) - if (ISLOWER(*cp)) - *cp = TOUPPER(*cp); + if (islower(*cp)) + *cp = toupper(*cp); } free_temp(t1); return t2; @@ -2452,7 +2477,7 @@ ampersands++; } else if (*scan == '\\') { if (backdigs) { /* gensub, behave sanely */ - if (ISDIGIT(scan[1])) { + if (isdigit(scan[1])) { ampersands++; scan++; } else { /* \q for any q --> q */ @@ -2544,7 +2569,7 @@ || (repllen > 0 && mb_indices[scan - repl] == 1)) ) { if (backdigs) { /* gensub, behave sanely */ - if (ISDIGIT(scan[1])) { + if (isdigit(scan[1])) { int dig = scan[1] - '0'; if (dig < NUMSUBPATS(rp, t->stptr) && SUBPATSTART(rp, tp->stptr, dig) != -1) { char *start, *end; @@ -3112,7 +3137,7 @@ } } else if (*str == '0') { for (; len > 0; len--) { - if (! ISDIGIT(*str)) + if (! isdigit(*str)) goto done; else if (*str == '8' || *str == '9') { str = start; diff -urN gawk-3.1.7/configh.in gawk-3.1.8/configh.in --- gawk-3.1.7/configh.in 2009-07-21 22:30:16.000000000 +0300 +++ gawk-3.1.8/configh.in 2010-05-06 20:56:02.000000000 +0300 @@ -45,9 +45,6 @@ */ #undef HAVE_DECL_TZNAME -/* Define to 1 if you have the header file. */ -#undef HAVE_DLFCN_H - /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ #undef HAVE_DOPRNT @@ -109,6 +106,9 @@ /* Define to 1 if you have the `m' library (-lm). */ #undef HAVE_LIBM +/* Define if you have the sigsegv library. */ +#undef HAVE_LIBSIGSEGV + /* Define to 1 if you have the header file. */ #undef HAVE_LIMITS_H @@ -169,9 +169,6 @@ /* Define to 1 if you have the `setlocale' function. */ #undef HAVE_SETLOCALE -/* Define to 1 if you have the header file. */ -#undef HAVE_SIGNUM_H - /* Define to 1 if you have the `snprintf' function. */ #undef HAVE_SNPRINTF @@ -227,10 +224,10 @@ /* Define to 1 if you have the `strtoul' function. */ #undef HAVE_STRTOUL -/* Define to 1 if `st_blksize' is member of `struct stat'. */ +/* Define to 1 if `st_blksize' is a member of `struct stat'. */ #undef HAVE_STRUCT_STAT_ST_BLKSIZE -/* Define to 1 if `tm_zone' is member of `struct tm'. */ +/* Define to 1 if `tm_zone' is a member of `struct tm'. */ #undef HAVE_STRUCT_TM_TM_ZONE /* Define to 1 if your `struct stat' has `st_blksize'. Deprecated, use @@ -293,6 +290,9 @@ /* Define to 1 if the system has the type `unsigned long long int'. */ #undef HAVE_UNSIGNED_LONG_LONG_INT +/* Define to 1 if you have the `usleep' function. */ +#undef HAVE_USLEEP + /* Define to 1 if you have the `vprintf' function. */ #undef HAVE_VPRINTF @@ -317,16 +317,9 @@ /* systems should define this type here */ #undef HAVE_WINT_T -/* Define to the sub-directory in which libtool stores uninstalled libraries. - */ -#undef LT_OBJDIR - /* disable fatal errors on directories */ #undef NO_DIRECTORY_FATAL -/* disable use of libsigsegv */ -#undef NO_LIBSIGSEGV - /* disable lint checks */ #undef NO_LINT @@ -345,6 +338,9 @@ /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME +/* Define to the home page for this package. */ +#undef PACKAGE_URL + /* Define to the version of this package. */ #undef PACKAGE_VERSION @@ -452,13 +448,14 @@ nothing if this is not supported. Do not define if restrict is supported directly. */ #undef restrict -/* Work around a bug in Sun C++: it does not support _Restrict, even - though the corresponding Sun C compiler does, which causes - "#define restrict _Restrict" in the previous line. Perhaps some future - version of Sun C++ will work with _Restrict; if so, it'll probably - define __RESTRICT, just as Sun C does. */ +/* Work around a bug in Sun C++: it does not support _Restrict or + __restrict__, even though the corresponding Sun C compiler ends up with + "#define restrict _Restrict" or "#define restrict __restrict__" in the + previous line. Perhaps some future version of Sun C++ will work with + restrict; if so, hopefully it defines __RESTRICT like Sun C does. */ #if defined __SUNPRO_CC && !defined __RESTRICT # define _Restrict +# define __restrict__ #endif /* Define to `unsigned int' if does not define. */ diff -urN gawk-3.1.7/configure gawk-3.1.8/configure --- gawk-3.1.7/configure 1970-01-01 02:00:00.000000000 +0200 +++ gawk-3.1.8/configure 2010-05-06 20:55:45.000000000 +0300 @@ -0,0 +1,12097 @@ +#! /bin/sh +# Guess values for system-dependent variables and create Makefiles. +# Generated by GNU Autoconf 2.65 for GNU Awk 3.1.8. +# +# Report bugs to . +# +# +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# +# +# This configure script is free software; the Free Software Foundation +# gives unlimited permission to copy, distribute and modify it. +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +if test "x$CONFIG_SHELL" = x; then + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which + # is contrary to our usage. Disable this feature. + alias -g '\${1+\"\$@\"}'='\"\$@\"' + setopt NO_GLOB_SUBST +else + case \`(set -o) 2>/dev/null\` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi +" + as_required="as_fn_return () { (exit \$1); } +as_fn_success () { as_fn_return 0; } +as_fn_failure () { as_fn_return 1; } +as_fn_ret_success () { return 0; } +as_fn_ret_failure () { return 1; } + +exitcode=0 +as_fn_success || { exitcode=1; echo as_fn_success failed.; } +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : + +else + exitcode=1; echo positional parameters were not saved. +fi +test x\$exitcode = x0 || exit 1" + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 +test \$(( 1 + 1 )) = 2 || exit 1" + if (eval "$as_required") 2>/dev/null; then : + as_have_required=yes +else + as_have_required=no +fi + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : + +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_found=false +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + as_found=: + case $as_dir in #( + /*) + for as_base in sh bash ksh sh5; do + # Try only shells that exist, to save several forks. + as_shell=$as_dir/$as_base + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : + CONFIG_SHELL=$as_shell as_have_required=yes + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : + break 2 +fi +fi + done;; + esac + as_found=false +done +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : + CONFIG_SHELL=$SHELL as_have_required=yes +fi; } +IFS=$as_save_IFS + + + if test "x$CONFIG_SHELL" != x; then : + # We cannot yet assume a decent shell, so we have to provide a + # neutralization value for shells without unset; and this also + # works around shells that cannot unset nonexistent variables. + BASH_ENV=/dev/null + ENV=/dev/null + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV + export CONFIG_SHELL + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} +fi + + if test x$as_have_required = xno; then : + $as_echo "$0: This script requires a shell more modern than all" + $as_echo "$0: the shells that I found on your system." + if test x${ZSH_VERSION+set} = xset ; then + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" + $as_echo "$0: be upgraded to zsh 4.3.4 or later." + else + $as_echo "$0: Please tell bug-autoconf@gnu.org and bug-gawk@gnu.org +$0: about your system, including any error possibly output +$0: before this message. Then install a modern shell, or +$0: manually run the script under such a shell if you do +$0: have one." + fi + exit 1 +fi +fi +fi +SHELL=${CONFIG_SHELL-/bin/sh} +export SHELL +# Unset more variables known to interfere with behavior of common tools. +CLICOLOR_FORCE= GREP_OPTIONS= +unset CLICOLOR_FORCE GREP_OPTIONS + +## --------------------- ## +## M4sh Shell Functions. ## +## --------------------- ## +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" + + +} # as_fn_mkdir_p +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +# as_fn_error ERROR [LINENO LOG_FD] +# --------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with status $?, using 1 if that was 0. +as_fn_error () +{ + as_status=$?; test $as_status -eq 0 && as_status=1 + if test "$3"; then + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 + fi + $as_echo "$as_me: error: $1" >&2 + as_fn_exit $as_status +} # as_fn_error + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + + + as_lineno_1=$LINENO as_lineno_1a=$LINENO + as_lineno_2=$LINENO as_lineno_2a=$LINENO + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) + sed -n ' + p + /[$]LINENO/= + ' <$as_myself | + sed ' + s/[$]LINENO.*/&-/ + t lineno + b + :lineno + N + :loop + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ + t loop + s/-\n.*// + ' >$as_me.lineno && + chmod +x "$as_me.lineno" || + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensitive to this). + . "./$as_me.lineno" + # Exit status is that of the last command. + exit +} + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -p' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -p' + fi +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +if test -x / >/dev/null 2>&1; then + as_test_x='test -x' +else + if ls -dL / >/dev/null 2>&1; then + as_ls_L_option=L + else + as_ls_L_option= + fi + as_test_x=' + eval sh -c '\'' + if test -d "$1"; then + test -d "$1/."; + else + case $1 in #( + -*)set "./$1";; + esac; + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' +fi +as_executable_p=$as_test_x + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +test -n "$DJDIR" || exec 7<&0 &1 + +# Name of the host. +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, +# so uname gets run too. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` + +# +# Initializations. +# +ac_default_prefix=/usr/local +ac_clean_files= +ac_config_libobj_dir=. +LIBOBJS= +cross_compiling=no +subdirs= +MFLAGS= +MAKEFLAGS= + +# Identity of this package. +PACKAGE_NAME='GNU Awk' +PACKAGE_TARNAME='gawk' +PACKAGE_VERSION='3.1.8' +PACKAGE_STRING='GNU Awk 3.1.8' +PACKAGE_BUGREPORT='bug-gawk@gnu.org' +PACKAGE_URL='http://www.gnu.org/software/gawk/' + +# Factoring default headers for most tests. +ac_includes_default="\ +#include +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_SYS_STAT_H +# include +#endif +#ifdef STDC_HEADERS +# include +# include +#else +# ifdef HAVE_STDLIB_H +# include +# endif +#endif +#ifdef HAVE_STRING_H +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H +# include +# endif +# include +#endif +#ifdef HAVE_STRINGS_H +# include +#endif +#ifdef HAVE_INTTYPES_H +# include +#endif +#ifdef HAVE_STDINT_H +# include +#endif +#ifdef HAVE_UNISTD_H +# include +#endif" + +gt_needs= +ac_header_list= +ac_func_list= +ac_subst_vars='am__EXEEXT_FALSE +am__EXEEXT_TRUE +LTLIBOBJS +SOCKET_LIBS +LIBSIGSEGV_PREFIX +LTLIBSIGSEGV +LIBSIGSEGV +HAVE_LIBSIGSEGV +LIBOBJS +POSUB +LTLIBINTL +LIBINTL +INTLLIBS +LTLIBICONV +LIBICONV +INTL_MACOSX_LIBS +host_os +host_vendor +host_cpu +host +build_os +build_vendor +build_cpu +build +XGETTEXT_EXTRA_OPTIONS +MSGMERGE +XGETTEXT_015 +XGETTEXT +GMSGFMT_015 +MSGFMT_015 +GMSGFMT +MSGFMT +GETTEXT_MACRO_VERSION +USE_NLS +ANSI2KNR +U +LN_S +YFLAGS +YACC +EGREP +GREP +CPP +am__fastdepCC_FALSE +am__fastdepCC_TRUE +CCDEPMODE +AMDEPBACKSLASH +AMDEP_FALSE +AMDEP_TRUE +am__quote +am__include +DEPDIR +OBJEXT +EXEEXT +ac_ct_CC +CPPFLAGS +LDFLAGS +CFLAGS +CC +am__untar +am__tar +AMTAR +am__leading_dot +SET_MAKE +AWK +mkdir_p +MKDIR_P +INSTALL_STRIP_PROGRAM +STRIP +install_sh +MAKEINFO +AUTOHEADER +AUTOMAKE +AUTOCONF +ACLOCAL +VERSION +PACKAGE +CYGPATH_W +am__isrc +INSTALL_DATA +INSTALL_SCRIPT +INSTALL_PROGRAM +target_alias +host_alias +build_alias +LIBS +ECHO_T +ECHO_N +ECHO_C +DEFS +mandir +localedir +libdir +psdir +pdfdir +dvidir +htmldir +infodir +docdir +oldincludedir +includedir +localstatedir +sharedstatedir +sysconfdir +datadir +datarootdir +libexecdir +sbindir +bindir +program_transform_name +prefix +exec_prefix +PACKAGE_URL +PACKAGE_BUGREPORT +PACKAGE_STRING +PACKAGE_VERSION +PACKAGE_TARNAME +PACKAGE_NAME +PATH_SEPARATOR +SHELL' +ac_subst_files='' +ac_user_opts=' +enable_option_checking +enable_portals +with_whiny_user_strftime +enable_lint +enable_switch +enable_directories_fatal +enable_dependency_tracking +enable_largefile +enable_nls +with_gnu_ld +enable_rpath +with_libiconv_prefix +with_libintl_prefix +with_libsigsegv_prefix +' + ac_precious_vars='build_alias +host_alias +target_alias +CC +CFLAGS +LDFLAGS +LIBS +CPPFLAGS +CPP +YACC +YFLAGS' + + +# Initialize some variables set by options. +ac_init_help= +ac_init_version=false +ac_unrecognized_opts= +ac_unrecognized_sep= +# The variables have the same names as the options, with +# dashes changed to underlines. +cache_file=/dev/null +exec_prefix=NONE +no_create= +no_recursion= +prefix=NONE +program_prefix=NONE +program_suffix=NONE +program_transform_name=s,x,x, +silent= +site= +srcdir= +verbose= +x_includes=NONE +x_libraries=NONE + +# Installation directory options. +# These are left unexpanded so users can "make install exec_prefix=/foo" +# and all the variables that are supposed to be based on exec_prefix +# by default will actually change. +# Use braces instead of parens because sh, perl, etc. also accept them. +# (The list follows the same order as the GNU Coding Standards.) +bindir='${exec_prefix}/bin' +sbindir='${exec_prefix}/sbin' +libexecdir='${exec_prefix}/libexec' +datarootdir='${prefix}/share' +datadir='${datarootdir}' +sysconfdir='${prefix}/etc' +sharedstatedir='${prefix}/com' +localstatedir='${prefix}/var' +includedir='${prefix}/include' +oldincludedir='/usr/include' +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' +infodir='${datarootdir}/info' +htmldir='${docdir}' +dvidir='${docdir}' +pdfdir='${docdir}' +psdir='${docdir}' +libdir='${exec_prefix}/lib' +localedir='${datarootdir}/locale' +mandir='${datarootdir}/man' + +ac_prev= +ac_dashdash= +for ac_option +do + # If the previous option needs an argument, assign it. + if test -n "$ac_prev"; then + eval $ac_prev=\$ac_option + ac_prev= + continue + fi + + case $ac_option in + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; + *) ac_optarg=yes ;; + esac + + # Accept the important Cygnus configure options, so we can diagnose typos. + + case $ac_dashdash$ac_option in + --) + ac_dashdash=yes ;; + + -bindir | --bindir | --bindi | --bind | --bin | --bi) + ac_prev=bindir ;; + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) + bindir=$ac_optarg ;; + + -build | --build | --buil | --bui | --bu) + ac_prev=build_alias ;; + -build=* | --build=* | --buil=* | --bui=* | --bu=*) + build_alias=$ac_optarg ;; + + -cache-file | --cache-file | --cache-fil | --cache-fi \ + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) + ac_prev=cache_file ;; + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) + cache_file=$ac_optarg ;; + + --config-cache | -C) + cache_file=config.cache ;; + + -datadir | --datadir | --datadi | --datad) + ac_prev=datadir ;; + -datadir=* | --datadir=* | --datadi=* | --datad=*) + datadir=$ac_optarg ;; + + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ + | --dataroo | --dataro | --datar) + ac_prev=datarootdir ;; + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) + datarootdir=$ac_optarg ;; + + -disable-* | --disable-*) + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=no ;; + + -docdir | --docdir | --docdi | --doc | --do) + ac_prev=docdir ;; + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) + docdir=$ac_optarg ;; + + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) + ac_prev=dvidir ;; + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) + dvidir=$ac_optarg ;; + + -enable-* | --enable-*) + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=\$ac_optarg ;; + + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ + | --exec | --exe | --ex) + ac_prev=exec_prefix ;; + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ + | --exec=* | --exe=* | --ex=*) + exec_prefix=$ac_optarg ;; + + -gas | --gas | --ga | --g) + # Obsolete; use --with-gas. + with_gas=yes ;; + + -help | --help | --hel | --he | -h) + ac_init_help=long ;; + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) + ac_init_help=recursive ;; + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) + ac_init_help=short ;; + + -host | --host | --hos | --ho) + ac_prev=host_alias ;; + -host=* | --host=* | --hos=* | --ho=*) + host_alias=$ac_optarg ;; + + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) + ac_prev=htmldir ;; + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ + | --ht=*) + htmldir=$ac_optarg ;; + + -includedir | --includedir | --includedi | --included | --include \ + | --includ | --inclu | --incl | --inc) + ac_prev=includedir ;; + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ + | --includ=* | --inclu=* | --incl=* | --inc=*) + includedir=$ac_optarg ;; + + -infodir | --infodir | --infodi | --infod | --info | --inf) + ac_prev=infodir ;; + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) + infodir=$ac_optarg ;; + + -libdir | --libdir | --libdi | --libd) + ac_prev=libdir ;; + -libdir=* | --libdir=* | --libdi=* | --libd=*) + libdir=$ac_optarg ;; + + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ + | --libexe | --libex | --libe) + ac_prev=libexecdir ;; + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ + | --libexe=* | --libex=* | --libe=*) + libexecdir=$ac_optarg ;; + + -localedir | --localedir | --localedi | --localed | --locale) + ac_prev=localedir ;; + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) + localedir=$ac_optarg ;; + + -localstatedir | --localstatedir | --localstatedi | --localstated \ + | --localstate | --localstat | --localsta | --localst | --locals) + ac_prev=localstatedir ;; + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) + localstatedir=$ac_optarg ;; + + -mandir | --mandir | --mandi | --mand | --man | --ma | --m) + ac_prev=mandir ;; + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) + mandir=$ac_optarg ;; + + -nfp | --nfp | --nf) + # Obsolete; use --without-fp. + with_fp=no ;; + + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ + | --no-cr | --no-c | -n) + no_create=yes ;; + + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) + no_recursion=yes ;; + + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ + | --oldin | --oldi | --old | --ol | --o) + ac_prev=oldincludedir ;; + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) + oldincludedir=$ac_optarg ;; + + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) + ac_prev=prefix ;; + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) + prefix=$ac_optarg ;; + + -program-prefix | --program-prefix | --program-prefi | --program-pref \ + | --program-pre | --program-pr | --program-p) + ac_prev=program_prefix ;; + -program-prefix=* | --program-prefix=* | --program-prefi=* \ + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) + program_prefix=$ac_optarg ;; + + -program-suffix | --program-suffix | --program-suffi | --program-suff \ + | --program-suf | --program-su | --program-s) + ac_prev=program_suffix ;; + -program-suffix=* | --program-suffix=* | --program-suffi=* \ + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) + program_suffix=$ac_optarg ;; + + -program-transform-name | --program-transform-name \ + | --program-transform-nam | --program-transform-na \ + | --program-transform-n | --program-transform- \ + | --program-transform | --program-transfor \ + | --program-transfo | --program-transf \ + | --program-trans | --program-tran \ + | --progr-tra | --program-tr | --program-t) + ac_prev=program_transform_name ;; + -program-transform-name=* | --program-transform-name=* \ + | --program-transform-nam=* | --program-transform-na=* \ + | --program-transform-n=* | --program-transform-=* \ + | --program-transform=* | --program-transfor=* \ + | --program-transfo=* | --program-transf=* \ + | --program-trans=* | --program-tran=* \ + | --progr-tra=* | --program-tr=* | --program-t=*) + program_transform_name=$ac_optarg ;; + + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) + ac_prev=pdfdir ;; + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) + pdfdir=$ac_optarg ;; + + -psdir | --psdir | --psdi | --psd | --ps) + ac_prev=psdir ;; + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) + psdir=$ac_optarg ;; + + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + silent=yes ;; + + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) + ac_prev=sbindir ;; + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ + | --sbi=* | --sb=*) + sbindir=$ac_optarg ;; + + -sharedstatedir | --sharedstatedir | --sharedstatedi \ + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ + | --sharedst | --shareds | --shared | --share | --shar \ + | --sha | --sh) + ac_prev=sharedstatedir ;; + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ + | --sha=* | --sh=*) + sharedstatedir=$ac_optarg ;; + + -site | --site | --sit) + ac_prev=site ;; + -site=* | --site=* | --sit=*) + site=$ac_optarg ;; + + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) + ac_prev=srcdir ;; + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) + srcdir=$ac_optarg ;; + + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ + | --syscon | --sysco | --sysc | --sys | --sy) + ac_prev=sysconfdir ;; + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) + sysconfdir=$ac_optarg ;; + + -target | --target | --targe | --targ | --tar | --ta | --t) + ac_prev=target_alias ;; + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) + target_alias=$ac_optarg ;; + + -v | -verbose | --verbose | --verbos | --verbo | --verb) + verbose=yes ;; + + -version | --version | --versio | --versi | --vers | -V) + ac_init_version=: ;; + + -with-* | --with-*) + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=\$ac_optarg ;; + + -without-* | --without-*) + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=no ;; + + --x) + # Obsolete; use --with-x. + with_x=yes ;; + + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ + | --x-incl | --x-inc | --x-in | --x-i) + ac_prev=x_includes ;; + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) + x_includes=$ac_optarg ;; + + -x-libraries | --x-libraries | --x-librarie | --x-librari \ + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) + ac_prev=x_libraries ;; + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) + x_libraries=$ac_optarg ;; + + -*) as_fn_error "unrecognized option: \`$ac_option' +Try \`$0 --help' for more information." + ;; + + *=*) + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` + # Reject names that are not valid shell variable names. + case $ac_envvar in #( + '' | [0-9]* | *[!_$as_cr_alnum]* ) + as_fn_error "invalid variable name: \`$ac_envvar'" ;; + esac + eval $ac_envvar=\$ac_optarg + export $ac_envvar ;; + + *) + # FIXME: should be removed in autoconf 3.0. + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} + ;; + + esac +done + +if test -n "$ac_prev"; then + ac_option=--`echo $ac_prev | sed 's/_/-/g'` + as_fn_error "missing argument to $ac_option" +fi + +if test -n "$ac_unrecognized_opts"; then + case $enable_option_checking in + no) ;; + fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; + esac +fi + +# Check all directory arguments for consistency. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ + datadir sysconfdir sharedstatedir localstatedir includedir \ + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ + libdir localedir mandir +do + eval ac_val=\$$ac_var + # Remove trailing slashes. + case $ac_val in + */ ) + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` + eval $ac_var=\$ac_val;; + esac + # Be sure to have absolute directory names. + case $ac_val in + [\\/$]* | ?:[\\/]* ) continue;; + NONE | '' ) case $ac_var in *prefix ) continue;; esac;; + esac + as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" +done + +# There might be people who depend on the old broken behavior: `$host' +# used to hold the argument of --host etc. +# FIXME: To remove some day. +build=$build_alias +host=$host_alias +target=$target_alias + +# FIXME: To remove some day. +if test "x$host_alias" != x; then + if test "x$build_alias" = x; then + cross_compiling=maybe + $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. + If a cross compiler is detected then cross compile mode will be used." >&2 + elif test "x$build_alias" != "x$host_alias"; then + cross_compiling=yes + fi +fi + +ac_tool_prefix= +test -n "$host_alias" && ac_tool_prefix=$host_alias- + +test "$silent" = yes && exec 6>/dev/null + + +ac_pwd=`pwd` && test -n "$ac_pwd" && +ac_ls_di=`ls -di .` && +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || + as_fn_error "working directory cannot be determined" +test "X$ac_ls_di" = "X$ac_pwd_ls_di" || + as_fn_error "pwd does not report name of working directory" + + +# Find the source files, if location was not specified. +if test -z "$srcdir"; then + ac_srcdir_defaulted=yes + # Try the directory containing this script, then the parent directory. + ac_confdir=`$as_dirname -- "$as_myself" || +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_myself" : 'X\(//\)[^/]' \| \ + X"$as_myself" : 'X\(//\)$' \| \ + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_myself" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + srcdir=$ac_confdir + if test ! -r "$srcdir/$ac_unique_file"; then + srcdir=.. + fi +else + ac_srcdir_defaulted=no +fi +if test ! -r "$srcdir/$ac_unique_file"; then + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." + as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" +fi +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" +ac_abs_confdir=`( + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" + pwd)` +# When building in place, set srcdir=. +if test "$ac_abs_confdir" = "$ac_pwd"; then + srcdir=. +fi +# Remove unnecessary trailing slashes from srcdir. +# Double slashes in file names in object file debugging info +# mess up M-x gdb in Emacs. +case $srcdir in +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; +esac +for ac_var in $ac_precious_vars; do + eval ac_env_${ac_var}_set=\${${ac_var}+set} + eval ac_env_${ac_var}_value=\$${ac_var} + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} + eval ac_cv_env_${ac_var}_value=\$${ac_var} +done + +# +# Report the --help message. +# +if test "$ac_init_help" = "long"; then + # Omit some internal or obsolete options to make the list less imposing. + # This message is too long to be a string in the A/UX 3.1 sh. + cat <<_ACEOF +\`configure' configures GNU Awk 3.1.8 to adapt to many kinds of systems. + +Usage: $0 [OPTION]... [VAR=VALUE]... + +To assign environment variables (e.g., CC, CFLAGS...), specify them as +VAR=VALUE. See below for descriptions of some of the useful variables. + +Defaults for the options are specified in brackets. + +Configuration: + -h, --help display this help and exit + --help=short display options specific to this package + --help=recursive display the short help of all the included packages + -V, --version display version information and exit + -q, --quiet, --silent do not print \`checking...' messages + --cache-file=FILE cache test results in FILE [disabled] + -C, --config-cache alias for \`--cache-file=config.cache' + -n, --no-create do not create output files + --srcdir=DIR find the sources in DIR [configure dir or \`..'] + +Installation directories: + --prefix=PREFIX install architecture-independent files in PREFIX + [$ac_default_prefix] + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + [PREFIX] + +By default, \`make install' will install all the files in +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify +an installation prefix other than \`$ac_default_prefix' using \`--prefix', +for instance \`--prefix=\$HOME'. + +For better control, use the options below. + +Fine tuning of the installation directories: + --bindir=DIR user executables [EPREFIX/bin] + --sbindir=DIR system admin executables [EPREFIX/sbin] + --libexecdir=DIR program executables [EPREFIX/libexec] + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] + --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --libdir=DIR object code libraries [EPREFIX/lib] + --includedir=DIR C header files [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc [/usr/include] + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] + --datadir=DIR read-only architecture-independent data [DATAROOTDIR] + --infodir=DIR info documentation [DATAROOTDIR/info] + --localedir=DIR locale-dependent data [DATAROOTDIR/locale] + --mandir=DIR man documentation [DATAROOTDIR/man] + --docdir=DIR documentation root [DATAROOTDIR/doc/gawk] + --htmldir=DIR html documentation [DOCDIR] + --dvidir=DIR dvi documentation [DOCDIR] + --pdfdir=DIR pdf documentation [DOCDIR] + --psdir=DIR ps documentation [DOCDIR] +_ACEOF + + cat <<\_ACEOF + +Program names: + --program-prefix=PREFIX prepend PREFIX to installed program names + --program-suffix=SUFFIX append SUFFIX to installed program names + --program-transform-name=PROGRAM run sed PROGRAM on installed program names + +System types: + --build=BUILD configure for building on BUILD [guessed] + --host=HOST cross-compile to build programs to run on HOST [BUILD] +_ACEOF +fi + +if test -n "$ac_init_help"; then + case $ac_init_help in + short | recursive ) echo "Configuration of GNU Awk 3.1.8:";; + esac + cat <<\_ACEOF + +Optional Features: + --disable-option-checking ignore unrecognized --enable/--with options + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --enable-portals Enable /p as path prefix for portals + --disable-lint Disable gawk lint checking + --enable-switch Enable switch statements for awk programs + --disable-directories-fatal Disable fatal errors on directories + --disable-dependency-tracking speeds up one-time build + --enable-dependency-tracking do not reject slow dependency extractors + --disable-largefile omit support for large files + --disable-nls do not use Native Language Support + --disable-rpath do not hardcode runtime library paths + +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-whiny-user-strftime Force use of included version of strftime for deficient systems + --with-gnu-ld assume the C compiler uses GNU ld default=no + --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib + --without-libiconv-prefix don't search for libiconv in includedir and libdir + --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib + --without-libintl-prefix don't search for libintl in includedir and libdir + --with-libsigsegv-prefix[=DIR] search for libsigsegv in DIR/include and DIR/lib + --without-libsigsegv-prefix don't search for libsigsegv in includedir and libdir + +Some influential environment variables: + CC C compiler command + CFLAGS C compiler flags + LDFLAGS linker flags, e.g. -L if you have libraries in a + nonstandard directory + LIBS libraries to pass to the linker, e.g. -l + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if + you have headers in a nonstandard directory + CPP C preprocessor + YACC The `Yet Another C Compiler' implementation to use. Defaults to + the first program found out of: `bison -y', `byacc', `yacc'. + YFLAGS The list of arguments that will be passed by default to $YACC. + This script will default YFLAGS to the empty string to avoid a + default value of `-d' given by some make applications. + +Use these variables to override the choices made by `configure' or to help +it to find libraries and programs with nonstandard names/locations. + +Report bugs to . +GNU Awk home page: . +General help using GNU software: . +_ACEOF +ac_status=$? +fi + +if test "$ac_init_help" = "recursive"; then + # If there are subdirs, report their specific --help. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue + test -d "$ac_dir" || + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || + continue + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + cd "$ac_dir" || { ac_status=$?; continue; } + # Check for guested configure. + if test -f "$ac_srcdir/configure.gnu"; then + echo && + $SHELL "$ac_srcdir/configure.gnu" --help=recursive + elif test -f "$ac_srcdir/configure"; then + echo && + $SHELL "$ac_srcdir/configure" --help=recursive + else + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + fi || ac_status=$? + cd "$ac_pwd" || { ac_status=$?; break; } + done +fi + +test -n "$ac_init_help" && exit $ac_status +if $ac_init_version; then + cat <<\_ACEOF +GNU Awk configure 3.1.8 +generated by GNU Autoconf 2.65 + +Copyright (C) 2009 Free Software Foundation, Inc. +This configure script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it. +_ACEOF + exit +fi + +## ------------------------ ## +## Autoconf initialization. ## +## ------------------------ ## + +# ac_fn_c_try_compile LINENO +# -------------------------- +# Try to compile conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext + if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + as_fn_set_status $ac_retval + +} # ac_fn_c_try_compile + +# ac_fn_c_try_cpp LINENO +# ---------------------- +# Try to preprocess conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_cpp () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + as_fn_set_status $ac_retval + +} # ac_fn_c_try_cpp + +# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists, giving a warning if it cannot be compiled using +# the include files in INCLUDES and setting the cache variable VAR +# accordingly. +ac_fn_c_check_header_mongrel () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +else + # Is the header compilable? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 +$as_echo_n "checking $2 usability... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_header_compiler=yes +else + ac_header_compiler=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 +$as_echo "$ac_header_compiler" >&6; } + +# Is the header present? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 +$as_echo_n "checking $2 presence... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <$2> +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ac_header_preproc=yes +else + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 +$as_echo "$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( + yes:no: ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} + ;; + no:yes:* ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} +( cat <<\_ASBOX +## ------------------------------- ## +## Report this to bug-gawk@gnu.org ## +## ------------------------------- ## +_ASBOX + ) | sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + eval "$3=\$ac_header_compiler" +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +fi + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + +} # ac_fn_c_check_header_mongrel + +# ac_fn_c_try_run LINENO +# ---------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes +# that executables *can* be run. +ac_fn_c_try_run () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then : + ac_retval=0 +else + $as_echo "$as_me: program exited with status $ac_status" >&5 + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=$ac_status +fi + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + as_fn_set_status $ac_retval + +} # ac_fn_c_try_run + +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + +} # ac_fn_c_check_header_compile + +# ac_fn_c_try_link LINENO +# ----------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_link () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext conftest$ac_exeext + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would + # interfere with the next link command; also delete a directory that is + # left behind by Apple's compiler. We do this before executing the actions. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + as_fn_set_status $ac_retval + +} # ac_fn_c_try_link + +# ac_fn_c_check_type LINENO TYPE VAR INCLUDES +# ------------------------------------------- +# Tests whether TYPE exists after having included INCLUDES, setting cache +# variable VAR accordingly. +ac_fn_c_check_type () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + eval "$3=no" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main () +{ +if (sizeof ($2)) + return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main () +{ +if (sizeof (($2))) + return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +else + eval "$3=yes" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + +} # ac_fn_c_check_type + +# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES +# -------------------------------------------- +# Tries to find the compile-time value of EXPR in a program that includes +# INCLUDES, setting VAR accordingly. Returns whether the value could be +# computed +ac_fn_c_compute_int () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if test "$cross_compiling" = yes; then + # Depending upon the size, compute the lo and hi bounds. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main () +{ +static int test_array [1 - 2 * !(($2) >= 0)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_lo=0 ac_mid=0 + while :; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main () +{ +static int test_array [1 - 2 * !(($2) <= $ac_mid)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_hi=$ac_mid; break +else + as_fn_arith $ac_mid + 1 && ac_lo=$as_val + if test $ac_lo -le $ac_mid; then + ac_lo= ac_hi= + break + fi + as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + done +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main () +{ +static int test_array [1 - 2 * !(($2) < 0)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_hi=-1 ac_mid=-1 + while :; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main () +{ +static int test_array [1 - 2 * !(($2) >= $ac_mid)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_lo=$ac_mid; break +else + as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val + if test $ac_mid -le $ac_hi; then + ac_lo= ac_hi= + break + fi + as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + done +else + ac_lo= ac_hi= +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +# Binary search between lo and hi bounds. +while test "x$ac_lo" != "x$ac_hi"; do + as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main () +{ +static int test_array [1 - 2 * !(($2) <= $ac_mid)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_hi=$ac_mid +else + as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +done +case $ac_lo in #(( +?*) eval "$3=\$ac_lo"; ac_retval=0 ;; +'') ac_retval=1 ;; +esac + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +static long int longval () { return $2; } +static unsigned long int ulongval () { return $2; } +#include +#include +int +main () +{ + + FILE *f = fopen ("conftest.val", "w"); + if (! f) + return 1; + if (($2) < 0) + { + long int i = longval (); + if (i != ($2)) + return 1; + fprintf (f, "%ld", i); + } + else + { + unsigned long int i = ulongval (); + if (i != ($2)) + return 1; + fprintf (f, "%lu", i); + } + /* Do not output a trailing newline, as this causes \r\n confusion + on some platforms. */ + return ferror (f) || fclose (f) != 0; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + echo >>conftest.val; read $3 &5 +$as_echo_n "checking for $2... " >&6; } +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +/* Define $2 to an innocuous variant, in case declares $2. + For example, HP-UX 11i declares gettimeofday. */ +#define $2 innocuous_$2 + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $2 (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $2 + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char $2 (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined __stub_$2 || defined __stub___$2 +choke me +#endif + +int +main () +{ +return $2 (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + +} # ac_fn_c_check_func + +# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES +# ---------------------------------------------------- +# Tries to find if the field MEMBER exists in type AGGR, after including +# INCLUDES, setting cache variable VAR accordingly. +ac_fn_c_check_member () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 +$as_echo_n "checking for $2.$3... " >&6; } +if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$5 +int +main () +{ +static $2 ac_aggr; +if (ac_aggr.$3) +return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$4=yes" +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$5 +int +main () +{ +static $2 ac_aggr; +if (sizeof ac_aggr.$3) +return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$4=yes" +else + eval "$4=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$4 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + +} # ac_fn_c_check_member + +# ac_fn_c_check_decl LINENO SYMBOL VAR +# ------------------------------------ +# Tests whether SYMBOL is declared, setting cache variable VAR accordingly. +ac_fn_c_check_decl () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 +$as_echo_n "checking whether $2 is declared... " >&6; } +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main () +{ +#ifndef $2 + (void) $2; +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + +} # ac_fn_c_check_decl +cat >config.log <<_ACEOF +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +It was created by GNU Awk $as_me 3.1.8, which was +generated by GNU Autoconf 2.65. Invocation command line was + + $ $0 $@ + +_ACEOF +exec 5>>config.log +{ +cat <<_ASUNAME +## --------- ## +## Platform. ## +## --------- ## + +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` + +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` + +_ASUNAME + +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + $as_echo "PATH: $as_dir" + done +IFS=$as_save_IFS + +} >&5 + +cat >&5 <<_ACEOF + + +## ----------- ## +## Core tests. ## +## ----------- ## + +_ACEOF + + +# Keep a trace of the command line. +# Strip out --no-create and --no-recursion so they do not pile up. +# Strip out --silent because we don't want to record it for future runs. +# Also quote any args containing shell meta-characters. +# Make two passes to allow for proper duplicate-argument suppression. +ac_configure_args= +ac_configure_args0= +ac_configure_args1= +ac_must_keep_next=false +for ac_pass in 1 2 +do + for ac_arg + do + case $ac_arg in + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + continue ;; + *\'*) + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + case $ac_pass in + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; + 2) + as_fn_append ac_configure_args1 " '$ac_arg'" + if test $ac_must_keep_next = true; then + ac_must_keep_next=false # Got value, back to normal. + else + case $ac_arg in + *=* | --config-cache | -C | -disable-* | --disable-* \ + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ + | -with-* | --with-* | -without-* | --without-* | --x) + case "$ac_configure_args0 " in + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; + esac + ;; + -* ) ac_must_keep_next=true ;; + esac + fi + as_fn_append ac_configure_args " '$ac_arg'" + ;; + esac + done +done +{ ac_configure_args0=; unset ac_configure_args0;} +{ ac_configure_args1=; unset ac_configure_args1;} + +# When interrupted or exit'd, cleanup temporary files, and complete +# config.log. We remove comments because anyway the quotes in there +# would cause problems or look ugly. +# WARNING: Use '\'' to represent an apostrophe within the trap. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. +trap 'exit_status=$? + # Save into config.log some information that might help in debugging. + { + echo + + cat <<\_ASBOX +## ---------------- ## +## Cache variables. ## +## ---------------- ## +_ASBOX + echo + # The following way of writing the cache mishandles newlines in values, +( + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + (set) 2>&1 | + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + sed -n \ + "s/'\''/'\''\\\\'\'''\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" + ;; #( + *) + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) + echo + + cat <<\_ASBOX +## ----------------- ## +## Output variables. ## +## ----------------- ## +_ASBOX + echo + for ac_var in $ac_subst_vars + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + + if test -n "$ac_subst_files"; then + cat <<\_ASBOX +## ------------------- ## +## File substitutions. ## +## ------------------- ## +_ASBOX + echo + for ac_var in $ac_subst_files + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + fi + + if test -s confdefs.h; then + cat <<\_ASBOX +## ----------- ## +## confdefs.h. ## +## ----------- ## +_ASBOX + echo + cat confdefs.h + echo + fi + test "$ac_signal" != 0 && + $as_echo "$as_me: caught signal $ac_signal" + $as_echo "$as_me: exit $exit_status" + } >&5 + rm -f core *.core core.conftest.* && + rm -f -r conftest* confdefs* conf$$* $ac_clean_files && + exit $exit_status +' 0 +for ac_signal in 1 2 13 15; do + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal +done +ac_signal=0 + +# confdefs.h avoids OS command line length limits that DEFS can exceed. +rm -f -r conftest* confdefs.h + +$as_echo "/* confdefs.h */" > confdefs.h + +# Predefined preprocessor variables. + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_NAME "$PACKAGE_NAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_TARNAME "$PACKAGE_TARNAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_VERSION "$PACKAGE_VERSION" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_STRING "$PACKAGE_STRING" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_URL "$PACKAGE_URL" +_ACEOF + + +# Let the site file select an alternate cache file if it wants to. +# Prefer an explicitly selected file to automatically selected ones. +ac_site_file1=NONE +ac_site_file2=NONE +if test -n "$CONFIG_SITE"; then + ac_site_file1=$CONFIG_SITE +elif test "x$prefix" != xNONE; then + ac_site_file1=$prefix/share/config.site + ac_site_file2=$prefix/etc/config.site +else + ac_site_file1=$ac_default_prefix/share/config.site + ac_site_file2=$ac_default_prefix/etc/config.site +fi +for ac_site_file in "$ac_site_file1" "$ac_site_file2" +do + test "x$ac_site_file" = xNONE && continue + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 +$as_echo "$as_me: loading site script $ac_site_file" >&6;} + sed 's/^/| /' "$ac_site_file" >&5 + . "$ac_site_file" + fi +done + +if test -r "$cache_file"; then + # Some versions of bash will fail to source /dev/null (special files + # actually), so we avoid doing that. DJGPP emulates it as a regular file. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 +$as_echo "$as_me: loading cache $cache_file" >&6;} + case $cache_file in + [\\/]* | ?:[\\/]* ) . "$cache_file";; + *) . "./$cache_file";; + esac + fi +else + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 +$as_echo "$as_me: creating cache $cache_file" >&6;} + >$cache_file +fi + +gt_needs="$gt_needs " +as_fn_append ac_header_list " sys/time.h" +as_fn_append ac_header_list " unistd.h" +as_fn_append ac_func_list " alarm" +# Check that the precious variables saved in the cache have kept the same +# value. +ac_cache_corrupted=false +for ac_var in $ac_precious_vars; do + eval ac_old_set=\$ac_cv_env_${ac_var}_set + eval ac_new_set=\$ac_env_${ac_var}_set + eval ac_old_val=\$ac_cv_env_${ac_var}_value + eval ac_new_val=\$ac_env_${ac_var}_value + case $ac_old_set,$ac_new_set in + set,) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,set) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,);; + *) + if test "x$ac_old_val" != "x$ac_new_val"; then + # differences in whitespace do not lead to failure. + ac_old_val_w=`echo x $ac_old_val` + ac_new_val_w=`echo x $ac_new_val` + if test "$ac_old_val_w" != "$ac_new_val_w"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + ac_cache_corrupted=: + else + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} + eval $ac_var=\$ac_old_val + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} + fi;; + esac + # Pass precious variables to config.status. + if test "$ac_new_set" = set; then + case $ac_new_val in + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; + *) ac_arg=$ac_var=$ac_new_val ;; + esac + case " $ac_configure_args " in + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. + *) as_fn_append ac_configure_args " '$ac_arg'" ;; + esac + fi +done +if $ac_cache_corrupted; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} + as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 +fi +## -------------------- ## +## Main body of script. ## +## -------------------- ## + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + +# This is a hack. Different versions of install on different systems +# are just too different. Chuck it and use install-sh. +# +# If the user supplies $INSTALL, figure they know what they're doing. +# +# With Autoconf 2.5x, this needs to come very early on, but *after* +# the INIT macro. Sigh. + +if test "x$INSTALL" = "x" +then + INSTALL="$srcdir/install-sh -c" + export INSTALL +fi + + +am__api_version='1.11' + +ac_aux_dir= +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do + for ac_t in install-sh install.sh shtool; do + if test -f "$ac_dir/$ac_t"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/$ac_t -c" + break 2 + fi + done +done +if test -z "$ac_aux_dir"; then + as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 +fi + +# These three variables are undocumented and unsupported, +# and are intended to be withdrawn in a future Autoconf release. +# They can cause serious problems if a builder's source tree is in a directory +# whose full name contains unusual characters. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. + + +# Find a good install program. We prefer a C program (faster), +# so one script is as good as another. But avoid the broken or +# incompatible versions: +# SysV /etc/install, /usr/sbin/install +# SunOS /usr/etc/install +# IRIX /sbin/install +# AIX /bin/install +# AmigaOS /C/install, which installs bootblocks on floppy discs +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag +# AFS /usr/afsws/bin/install, which mishandles nonexistent args +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" +# OS/2's system install, which has a completely different semantic +# ./install, which can be erroneously created by make from ./install.sh. +# Reject install programs that cannot install multiple files. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 +$as_echo_n "checking for a BSD-compatible install... " >&6; } +if test -z "$INSTALL"; then +if test "${ac_cv_path_install+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + # Account for people who put trailing slashes in PATH elements. +case $as_dir/ in #(( + ./ | .// | /[cC]/* | \ + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ + /usr/ucb/* ) ;; + *) + # OSF1 and SCO ODT 3.0 have their own names for install. + # Don't use installbsd from OSF since it installs stuff as root + # by default. + for ac_prog in ginstall scoinst install; do + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then + if test $ac_prog = install && + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # AIX install. It has an incompatible calling convention. + : + elif test $ac_prog = install && + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # program-specific install script used by HP pwplus--don't use. + : + else + rm -rf conftest.one conftest.two conftest.dir + echo one > conftest.one + echo two > conftest.two + mkdir conftest.dir + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && + test -s conftest.one && test -s conftest.two && + test -s conftest.dir/conftest.one && + test -s conftest.dir/conftest.two + then + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" + break 3 + fi + fi + fi + done + done + ;; +esac + + done +IFS=$as_save_IFS + +rm -rf conftest.one conftest.two conftest.dir + +fi + if test "${ac_cv_path_install+set}" = set; then + INSTALL=$ac_cv_path_install + else + # As a last resort, use the slow shell script. Don't cache a + # value for INSTALL within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + INSTALL=$ac_install_sh + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 +$as_echo "$INSTALL" >&6; } + +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. +# It thinks the first close brace ends the variable substitution. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' + +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' + +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 +$as_echo_n "checking whether build environment is sane... " >&6; } +# Just in case +sleep 1 +echo timestamp > conftest.file +# Reject unsafe characters in $srcdir or the absolute working directory +# name. Accept space and tab only in the latter. +am_lf=' +' +case `pwd` in + *[\\\"\#\$\&\'\`$am_lf]*) + as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; +esac +case $srcdir in + *[\\\"\#\$\&\'\`$am_lf\ \ ]*) + as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; +esac + +# 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". + as_fn_error "ls -t appears to fail. Make sure there is not a broken +alias in your environment" "$LINENO" 5 + fi + + test "$2" = conftest.file + ) +then + # Ok. + : +else + as_fn_error "newly created file is older than distributed files! +Check your system clock" "$LINENO" 5 +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +test "$program_prefix" != NONE && + program_transform_name="s&^&$program_prefix&;$program_transform_name" +# Use a double $ so make ignores it. +test "$program_suffix" != NONE && + program_transform_name="s&\$&$program_suffix&;$program_transform_name" +# Double any \ or $. +# By default was `s,x,x', remove it if useless. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` + +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` + +if test x"${MISSING+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; + *) + MISSING="\${SHELL} $am_aux_dir/missing" ;; + esac +fi +# Use eval to expand $SHELL +if eval "$MISSING --run true"; then + am_missing_run="$MISSING --run " +else + am_missing_run= + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 +$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} +fi + +if test x"${install_sh}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; + *) + install_sh="\${SHELL} $am_aux_dir/install-sh" + esac +fi + +# Installed binaries are usually stripped using `strip' when the user +# run `make install-strip'. However `strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the `STRIP' environment variable to overrule this program. +if test "$cross_compiling" != no; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_STRIP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_STRIP="strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + +fi +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } +if test -z "$MKDIR_P"; then + if test "${ac_cv_path_mkdir+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in mkdir gmkdir; do + for ac_exec_ext in '' $ac_executable_extensions; do + { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( + 'mkdir (GNU coreutils) '* | \ + 'mkdir (coreutils) '* | \ + 'mkdir (fileutils) '4.1*) + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext + break 3;; + esac + done + done + done +IFS=$as_save_IFS + +fi + + test -d ./--version && rmdir ./--version + if test "${ac_cv_path_mkdir+set}" = set; then + MKDIR_P="$ac_cv_path_mkdir -p" + else + # As a last resort, use the slow shell script. Don't cache a + # value for MKDIR_P within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + MKDIR_P="$ac_install_sh -d" + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 +$as_echo "$MKDIR_P" >&6; } + +mkdir_p="$MKDIR_P" +case $mkdir_p in + [\\/$]* | ?:[\\/]*) ;; + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; +esac + +for ac_prog in gawk mawk nawk awk +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_AWK+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AWK"; then + ac_cv_prog_AWK="$AWK" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_AWK="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AWK=$ac_cv_prog_AWK +if test -n "$AWK"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 +$as_echo "$AWK" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$AWK" && break +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } +set x ${MAKE-make} +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + cat >conftest.make <<\_ACEOF +SHELL = /bin/sh +all: + @echo '@@@%%%=$(MAKE)=@@@%%%' +_ACEOF +# GNU make sometimes prints "make[1]: Entering...", which would confuse us. +case `${MAKE-make} -f conftest.make 2>/dev/null` in + *@@@%%%=?*=@@@%%%*) + eval ac_cv_prog_make_${ac_make}_set=yes;; + *) + eval ac_cv_prog_make_${ac_make}_set=no;; +esac +rm -f conftest.make +fi +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + SET_MAKE= +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + SET_MAKE="MAKE=${MAKE-make}" +fi + +rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null + +if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." + am__isrc=' -I$(srcdir)' + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 + fi +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi + + +# Define the identity of the package. + PACKAGE='gawk' + VERSION='3.1.8' + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE "$PACKAGE" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define VERSION "$VERSION" +_ACEOF + +# Some tools Automake needs. + +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} + + +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} + + +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} + + +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} + + +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} + +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. +# Always define AMTAR for backward compatibility. + +AMTAR=${AMTAR-"${am_missing_run}tar"} + +am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' + + + + + + + + +# Check whether --enable-portals was given. +if test "${enable_portals+set}" = set; then : + enableval=$enable_portals; if test "$enableval" = yes + then + +$as_echo "#define HAVE_PORTALS 1" >>confdefs.h + + fi + +fi + + +# Check whether --with-whiny-user-strftime was given. +if test "${with_whiny_user_strftime+set}" = set; then : + withval=$with_whiny_user_strftime; if test "$withval" = yes + then + +$as_echo "#define USE_INCLUDED_STRFTIME 1" >>confdefs.h + + fi + +fi + +# Check whether --enable-lint was given. +if test "${enable_lint+set}" = set; then : + enableval=$enable_lint; if test "$enableval" = no + then + +$as_echo "#define NO_LINT 1" >>confdefs.h + + fi + +fi + +# Check whether --enable-switch was given. +if test "${enable_switch+set}" = set; then : + enableval=$enable_switch; if test "$enableval" = yes + then + +$as_echo "#define ALLOW_SWITCH 1" >>confdefs.h + + fi + +fi + +# Check whether --enable-directories-fatal was given. +if test "${enable_directories_fatal+set}" = set; then : + enableval=$enable_directories_fatal; if test "$enableval" = no + then + +$as_echo "#define NO_DIRECTORY_FATAL 1" >>confdefs.h + + fi + +fi + + +DEPDIR="${am__leading_dot}deps" + +ac_config_commands="$ac_config_commands depfiles" + + +am_make=${MAKE-make} +cat > confinc << 'END' +am__doit: + @echo this is the am__doit target +.PHONY: am__doit +END +# If we don't find an include directive, just comment out the code. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 +$as_echo_n "checking for style of include used by $am_make... " >&6; } +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# Ignore all kinds of additional output from `make'. +case `$am_make -s -f confmf 2> /dev/null` in #( +*the\ am__doit\ target*) + am__include=include + am__quote= + _am_result=GNU + ;; +esac +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + case `$am_make -s -f confmf 2> /dev/null` in #( + *the\ am__doit\ target*) + am__include=.include + am__quote="\"" + _am_result=BSD + ;; + esac +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 +$as_echo "$_am_result" >&6; } +rm -f confinc confmf + +# Check whether --enable-dependency-tracking was given. +if test "${enable_dependency_tracking+set}" = set; then : + enableval=$enable_dependency_tracking; +fi + +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' +fi + if test "x$enable_dependency_tracking" != xno; then + AMDEP_TRUE= + AMDEP_FALSE='#' +else + AMDEP_TRUE='#' + AMDEP_FALSE= +fi + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +else + CC="$ac_cv_prog_CC" +fi + +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi +fi +if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_prog_rejected=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $# != 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + fi +fi +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl.exe + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$CC" && break + done +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl.exe +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_CC" && break +done + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +fi + +fi + + +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "no acceptable C compiler found in \$PATH +See \`config.log' for more details." "$LINENO" 5; } + +# Provide some information about the compiler. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +set X $ac_compile +ac_compiler=$2 +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done + +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" +# Try to create an executable without -o first, disregard a.out. +# It will help us diagnose broken compilers, and finding out an intuition +# of exeext. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 +$as_echo_n "checking whether the C compiler works... " >&6; } +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` + +# The possible output files: +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" + +ac_rmfiles= +for ac_file in $ac_files +do + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + * ) ac_rmfiles="$ac_rmfiles $ac_file";; + esac +done +rm -f $ac_rmfiles + +if { { ac_try="$ac_link_default" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link_default") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' +# in a Makefile. We should not override ac_cv_exeext if it was cached, +# so that the user can short-circuit this test for compilers unknown to +# Autoconf. +for ac_file in $ac_files '' +do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) + ;; + [ab].out ) + # We found the default executable, but exeext='' is most + # certainly right. + break;; + *.* ) + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; + then :; else + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + fi + # We set ac_cv_exeext here because the later test for it is not + # safe: cross compilers may not add the suffix if given an `-o' + # argument, so we may need to know it at that point already. + # Even if this section looks crufty: it has the advantage of + # actually working. + break;; + * ) + break;; + esac +done +test "$ac_cv_exeext" = no && ac_cv_exeext= + +else + ac_file='' +fi +if test -z "$ac_file"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +$as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ as_fn_set_status 77 +as_fn_error "C compiler cannot create executables +See \`config.log' for more details." "$LINENO" 5; }; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 +$as_echo_n "checking for C compiler default output file name... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 +$as_echo "$ac_file" >&6; } +ac_exeext=$ac_cv_exeext + +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 +$as_echo_n "checking for suffix of executables... " >&6; } +if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # If both `conftest.exe' and `conftest' are `present' (well, observable) +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will +# work properly (i.e., refer to `conftest.exe'), while it won't with +# `rm'. +for ac_file in conftest.exe conftest conftest.*; do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + break;; + * ) break;; + esac +done +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details." "$LINENO" 5; } +fi +rm -f conftest conftest$ac_cv_exeext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 +$as_echo "$ac_cv_exeext" >&6; } + +rm -f conftest.$ac_ext +EXEEXT=$ac_cv_exeext +ac_exeext=$EXEEXT +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ +FILE *f = fopen ("conftest.out", "w"); + return ferror (f) || fclose (f) != 0; + + ; + return 0; +} +_ACEOF +ac_clean_files="$ac_clean_files conftest.out" +# Check that the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 +$as_echo_n "checking whether we are cross compiling... " >&6; } +if test "$cross_compiling" != yes; then + { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if { ac_try='./conftest$ac_cv_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then + cross_compiling=no + else + if test "$cross_compiling" = maybe; then + cross_compiling=yes + else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "cannot run C compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details." "$LINENO" 5; } + fi + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 +$as_echo "$cross_compiling" >&6; } + +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 +$as_echo_n "checking for suffix of object files... " >&6; } +if test "${ac_cv_objext+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.o conftest.obj +if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + for ac_file in conftest.o conftest.obj conftest.*; do + test -f "$ac_file" || continue; + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` + break;; + esac +done +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "cannot compute suffix of object files: cannot compile +See \`config.log' for more details." "$LINENO" 5; } +fi +rm -f conftest.$ac_cv_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 +$as_echo "$ac_cv_objext" >&6; } +OBJEXT=$ac_cv_objext +ac_objext=$OBJEXT +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } +if test "${ac_cv_c_compiler_gnu+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_compiler_gnu=yes +else + ac_compiler_gnu=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 +$as_echo "$ac_cv_c_compiler_gnu" >&6; } +if test $ac_compiler_gnu = yes; then + GCC=yes +else + GCC= +fi +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 +$as_echo_n "checking whether $CC accepts -g... " >&6; } +if test "${ac_cv_prog_cc_g+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_save_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + ac_cv_prog_cc_g=no + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +else + CFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +else + ac_c_werror_flag=$ac_save_c_werror_flag + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +$as_echo "$ac_cv_prog_cc_g" >&6; } +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi +else + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +if test "${ac_cv_prog_cc_c89+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_prog_cc_c89=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters + inside strings and character constants. */ +#define FOO(x) 'x' +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main () +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_c89=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c89" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC + +fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c89" in + x) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; + xno) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; +esac +if test "x$ac_cv_prog_cc_c89" != xno; then : + +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +depcc="$CC" am_compiler_list= + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 +$as_echo_n "checking dependency style of $depcc... " >&6; } +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CC_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + am__universal=false + case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac + + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" + case $depmode in + gcc) + # This depmode causes a compiler race in universal mode. + test "$am__universal" = false || continue + ;; + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + msvisualcpp | msvcmsys) + # This compiler won't grok `-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} + am__minus_obj= + ;; + none) break ;; + esac + if depmode=$depmode \ + source=sub/conftest.c object=$am__obj \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CC_dependencies_compiler_type=none +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type + + if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then + am__fastdepCC_TRUE= + am__fastdepCC_FALSE='#' +else + am__fastdepCC_TRUE='#' + am__fastdepCC_FALSE= +fi + + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 +$as_echo_n "checking how to run the C preprocessor... " >&6; } +# On Suns, sometimes $CPP names a directory. +if test -n "$CPP" && test -d "$CPP"; then + CPP= +fi +if test -z "$CPP"; then + if test "${ac_cv_prog_CPP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + # Double quotes because CPP needs to be expanded + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" + do + ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + break +fi + + done + ac_cv_prog_CPP=$CPP + +fi + CPP=$ac_cv_prog_CPP +else + ac_cv_prog_CPP=$CPP +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 +$as_echo "$CPP" >&6; } +ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details." "$LINENO" 5; } +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 +$as_echo_n "checking for grep that handles long lines and -e... " >&6; } +if test "${ac_cv_path_GREP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$GREP"; then + ac_path_GREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in grep ggrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue +# Check for GNU ac_path_GREP and select it if it is found. + # Check for GNU $ac_path_GREP +case `"$ac_path_GREP" --version 2>&1` in +*GNU*) + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'GREP' >> "conftest.nl" + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_GREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_GREP="$ac_path_GREP" + ac_path_GREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_GREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_GREP"; then + as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_GREP=$GREP +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 +$as_echo "$ac_cv_path_GREP" >&6; } + GREP="$ac_cv_path_GREP" + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 +$as_echo_n "checking for egrep... " >&6; } +if test "${ac_cv_path_EGREP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 + then ac_cv_path_EGREP="$GREP -E" + else + if test -z "$EGREP"; then + ac_path_EGREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in egrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue +# Check for GNU ac_path_EGREP and select it if it is found. + # Check for GNU $ac_path_EGREP +case `"$ac_path_EGREP" --version 2>&1` in +*GNU*) + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'EGREP' >> "conftest.nl" + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_EGREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_EGREP="$ac_path_EGREP" + ac_path_EGREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_EGREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_EGREP"; then + as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_EGREP=$EGREP +fi + + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 +$as_echo "$ac_cv_path_EGREP" >&6; } + EGREP="$ac_cv_path_EGREP" + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 +$as_echo_n "checking for ANSI C header files... " >&6; } +if test "${ac_cv_header_stdc+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_header_stdc=yes +else + ac_cv_header_stdc=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "memchr" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "free" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#if ((' ' & 0x0FF) == 0x020) +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#else +# define ISLOWER(c) \ + (('a' <= (c) && (c) <= 'i') \ + || ('j' <= (c) && (c) <= 'r') \ + || ('s' <= (c) && (c) <= 'z')) +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) +#endif + +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +int +main () +{ + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) + || toupper (i) != TOUPPER (i)) + return 2; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + +else + ac_cv_header_stdc=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 +$as_echo "$ac_cv_header_stdc" >&6; } +if test $ac_cv_header_stdc = yes; then + +$as_echo "#define STDC_HEADERS 1" >>confdefs.h + +fi + +# On IRIX 5.3, sys/types and inttypes.h are conflicting. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ + inttypes.h stdint.h unistd.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default +" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" +if test "x$ac_cv_header_minix_config_h" = x""yes; then : + MINIX=yes +else + MINIX= +fi + + + if test "$MINIX" = yes; then + +$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h + + +$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h + + +$as_echo "#define _MINIX 1" >>confdefs.h + + fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 +$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } +if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# define __EXTENSIONS__ 1 + $ac_includes_default +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_safe_to_define___extensions__=yes +else + ac_cv_safe_to_define___extensions__=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 +$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } + test $ac_cv_safe_to_define___extensions__ = yes && + $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h + + $as_echo "#define _ALL_SOURCE 1" >>confdefs.h + + $as_echo "#define _GNU_SOURCE 1" >>confdefs.h + + $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h + + $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 +$as_echo_n "checking for egrep... " >&6; } +if test "${ac_cv_path_EGREP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 + then ac_cv_path_EGREP="$GREP -E" + else + if test -z "$EGREP"; then + ac_path_EGREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in egrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue +# Check for GNU ac_path_EGREP and select it if it is found. + # Check for GNU $ac_path_EGREP +case `"$ac_path_EGREP" --version 2>&1` in +*GNU*) + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'EGREP' >> "conftest.nl" + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_EGREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_EGREP="$ac_path_EGREP" + ac_path_EGREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_EGREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_EGREP"; then + as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_EGREP=$EGREP +fi + + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 +$as_echo "$ac_cv_path_EGREP" >&6; } + EGREP="$ac_cv_path_EGREP" + + +for ac_prog in 'bison -y' byacc +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_YACC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$YACC"; then + ac_cv_prog_YACC="$YACC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_YACC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +YACC=$ac_cv_prog_YACC +if test -n "$YACC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 +$as_echo "$YACC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$YACC" && break +done +test -n "$YACC" || YACC="yacc" + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 +$as_echo_n "checking whether ln -s works... " >&6; } +LN_S=$as_ln_s +if test "$LN_S" = "ln -s"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 +$as_echo "no, using $LN_S" >&6; } +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +else + CC="$ac_cv_prog_CC" +fi + +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi +fi +if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_prog_rejected=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $# != 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + fi +fi +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl.exe + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$CC" && break + done +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl.exe +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_CC" && break +done + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +fi + +fi + + +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "no acceptable C compiler found in \$PATH +See \`config.log' for more details." "$LINENO" 5; } + +# Provide some information about the compiler. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +set X $ac_compile +ac_compiler=$2 +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } +if test "${ac_cv_c_compiler_gnu+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_compiler_gnu=yes +else + ac_compiler_gnu=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 +$as_echo "$ac_cv_c_compiler_gnu" >&6; } +if test $ac_compiler_gnu = yes; then + GCC=yes +else + GCC= +fi +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 +$as_echo_n "checking whether $CC accepts -g... " >&6; } +if test "${ac_cv_prog_cc_g+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_save_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + ac_cv_prog_cc_g=no + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +else + CFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +else + ac_c_werror_flag=$ac_save_c_werror_flag + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +$as_echo "$ac_cv_prog_cc_g" >&6; } +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi +else + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +if test "${ac_cv_prog_cc_c89+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_prog_cc_c89=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters + inside strings and character constants. */ +#define FOO(x) 'x' +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main () +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_c89=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c89" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC + +fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c89" in + x) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; + xno) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; +esac +if test "x$ac_cv_prog_cc_c89" != xno; then : + +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +depcc="$CC" am_compiler_list= + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 +$as_echo_n "checking dependency style of $depcc... " >&6; } +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CC_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + am__universal=false + case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac + + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" + case $depmode in + gcc) + # This depmode causes a compiler race in universal mode. + test "$am__universal" = false || continue + ;; + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + msvisualcpp | msvcmsys) + # This compiler won't grok `-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} + am__minus_obj= + ;; + none) break ;; + esac + if depmode=$depmode \ + source=sub/conftest.c object=$am__obj \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CC_dependencies_compiler_type=none +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type + + if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then + am__fastdepCC_TRUE= + am__fastdepCC_FALSE='#' +else + am__fastdepCC_TRUE='#' + am__fastdepCC_FALSE= +fi + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 +$as_echo_n "checking how to run the C preprocessor... " >&6; } +# On Suns, sometimes $CPP names a directory. +if test -n "$CPP" && test -d "$CPP"; then + CPP= +fi +if test -z "$CPP"; then + if test "${ac_cv_prog_CPP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + # Double quotes because CPP needs to be expanded + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" + do + ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + break +fi + + done + ac_cv_prog_CPP=$CPP + +fi + CPP=$ac_cv_prog_CPP +else + ac_cv_prog_CPP=$CPP +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 +$as_echo "$CPP" >&6; } +ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details." "$LINENO" 5; } +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } +set x ${MAKE-make} +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + cat >conftest.make <<\_ACEOF +SHELL = /bin/sh +all: + @echo '@@@%%%=$(MAKE)=@@@%%%' +_ACEOF +# GNU make sometimes prints "make[1]: Entering...", which would confuse us. +case `${MAKE-make} -f conftest.make 2>/dev/null` in + *@@@%%%=?*=@@@%%%*) + eval ac_cv_prog_make_${ac_make}_set=yes;; + *) + eval ac_cv_prog_make_${ac_make}_set=no;; +esac +rm -f conftest.make +fi +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + SET_MAKE= +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + SET_MAKE="MAKE=${MAKE-make}" +fi + + +# This is mainly for my use during testing and development. +# Yes, it's a bit of a hack. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for special development options" >&5 +$as_echo_n "checking for special development options... " >&6; } +if test -f $srcdir/.developing +then + # add other debug flags as appropriate, save GAWKDEBUG for emergencies + CFLAGS="$CFLAGS -DARRAYDEBUG -DYYDEBUG" + if grep dbug $srcdir/.developing + then + CFLAGS="$CFLAGS -DDBUG" + LIBS="$LIBS dbug/libdbug.a" + fi + # turn on compiler warnings if we're doing development + # enable debugging using macros also + if test "$GCC" = yes + then + CFLAGS="$CFLAGS -Wall -fno-builtin -g3 -gdwarf-2" + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for z/OS USS compilation" >&5 +$as_echo_n "checking for z/OS USS compilation... " >&6; } +if test "OS/390" = "`uname`" +then + CFLAGS="$CFLAGS -D_ALL_SOURCE -DZOS_USS -DUSE_EBCDIC" + # Must rebuild awkgram.c from Bison for EBCDIC + rm -f awkgram.c + ac_cv_zos_uss=yes +else + ac_cv_zos_uss=no +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_cv_zos_uss}" >&5 +$as_echo "${ac_cv_zos_uss}" >&6; } + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strerror in -lcposix" >&5 +$as_echo_n "checking for strerror in -lcposix... " >&6; } +if test "${ac_cv_lib_cposix_strerror+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lcposix $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char strerror (); +int +main () +{ +return strerror (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_cposix_strerror=yes +else + ac_cv_lib_cposix_strerror=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cposix_strerror" >&5 +$as_echo "$ac_cv_lib_cposix_strerror" >&6; } +if test "x$ac_cv_lib_cposix_strerror" = x""yes; then : + LIBS="$LIBS -lcposix" +fi + + + +# Check whether --enable-largefile was given. +if test "${enable_largefile+set}" = set; then : + enableval=$enable_largefile; +fi + +if test "$enable_largefile" != no; then + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 +$as_echo_n "checking for special C compiler options needed for large files... " >&6; } +if test "${ac_cv_sys_largefile_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_sys_largefile_CC=no + if test "$GCC" != yes; then + ac_save_CC=$CC + while :; do + # IRIX 6.2 and later do not support large files by default, + # so use the C compiler's -n32 option if that helps. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int +main () +{ + + ; + return 0; +} +_ACEOF + if ac_fn_c_try_compile "$LINENO"; then : + break +fi +rm -f core conftest.err conftest.$ac_objext + CC="$CC -n32" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_largefile_CC=' -n32'; break +fi +rm -f core conftest.err conftest.$ac_objext + break + done + CC=$ac_save_CC + rm -f conftest.$ac_ext + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 +$as_echo "$ac_cv_sys_largefile_CC" >&6; } + if test "$ac_cv_sys_largefile_CC" != no; then + CC=$CC$ac_cv_sys_largefile_CC + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 +$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } +if test "${ac_cv_sys_file_offset_bits+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + while :; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_file_offset_bits=no; break +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#define _FILE_OFFSET_BITS 64 +#include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_file_offset_bits=64; break +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_cv_sys_file_offset_bits=unknown + break +done +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 +$as_echo "$ac_cv_sys_file_offset_bits" >&6; } +case $ac_cv_sys_file_offset_bits in #( + no | unknown) ;; + *) +cat >>confdefs.h <<_ACEOF +#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits +_ACEOF +;; +esac +rm -rf conftest* + if test $ac_cv_sys_file_offset_bits = unknown; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 +$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } +if test "${ac_cv_sys_large_files+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + while :; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_large_files=no; break +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#define _LARGE_FILES 1 +#include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_large_files=1; break +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_cv_sys_large_files=unknown + break +done +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 +$as_echo "$ac_cv_sys_large_files" >&6; } +case $ac_cv_sys_large_files in #( + no | unknown) ;; + *) +cat >>confdefs.h <<_ACEOF +#define _LARGE_FILES $ac_cv_sys_large_files +_ACEOF +;; +esac +rm -rf conftest* + fi +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for AIX compilation hacks" >&5 +$as_echo_n "checking for AIX compilation hacks... " >&6; } +if test "${gawk_cv_aix_hack+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + +if test -d /lpp +then + CFLAGS="$CFLAGS -D_XOPEN_SOURCE_EXTENDED=1 -DGAWK_AIX=1" + gawk_cv_aix_hack=yes +else + gawk_cv_aix_hack=no +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${gawk_cv_aix_hack}" >&5 +$as_echo "${gawk_cv_aix_hack}" >&6; } + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Linux/Alpha compilation hacks" >&5 +$as_echo_n "checking for Linux/Alpha compilation hacks... " >&6; } +if test "${gawk_cv_linux_alpha_hack+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + +if test "Linux" = "`uname`" && test "alpha" = "`uname -m`" +then + # this isn't necessarily always true, + # the vendor's compiler is also often found + if test "$GCC" = yes + then + CFLAGS="$CFLAGS -mieee" + gawk_cv_linux_alpha_hack=yes + else + gawk_cv_linux_alpha_hack=no + fi +else + gawk_cv_linux_alpha_hack=no +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${gawk_cv_linux_alpha_hack}" >&5 +$as_echo "${gawk_cv_linux_alpha_hack}" >&6; } + + +if test "$ISC" = 1 # will be set by test for ISC +then + CFLAGS="$CFLAGS -D_SYSV3" +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5 +$as_echo_n "checking for function prototypes... " >&6; } +if test "$ac_cv_prog_cc_c89" != no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +$as_echo "#define PROTOTYPES 1" >>confdefs.h + + +$as_echo "#define __PROTOTYPES 1" >>confdefs.h + +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +if test "$ac_cv_prog_cc_stdc" != no; then + U= ANSI2KNR= +else + U=_ ANSI2KNR=./ansi2knr +fi +# Ensure some checks needed by ansi2knr itself. + +for ac_header in string.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" +if test "x$ac_cv_header_string_h" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_STRING_H 1 +_ACEOF + +fi + +done + + + +case `(uname) 2> /dev/null` in +*CYGWIN*) + with_libiconv_prefix=no + with_libintl_prefix=no + ;; +*) + ;; +esac + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 +$as_echo_n "checking whether NLS is requested... " >&6; } + # Check whether --enable-nls was given. +if test "${enable_nls+set}" = set; then : + enableval=$enable_nls; USE_NLS=$enableval +else + USE_NLS=yes +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +$as_echo "$USE_NLS" >&6; } + + + + + GETTEXT_MACRO_VERSION=0.17 + + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "msgfmt", so it can be a program name with args. +set dummy msgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_path_MSGFMT+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + case "$MSGFMT" in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + echo "$as_me: trying $ac_dir/$ac_word..." >&5 + if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && + (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" + ;; +esac +fi +MSGFMT="$ac_cv_path_MSGFMT" +if test "$MSGFMT" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 +$as_echo "$MSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + # Extract the first word of "gmsgfmt", so it can be a program name with args. +set dummy gmsgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_path_GMSGFMT+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + case $GMSGFMT in + [\\/]* | ?:[\\/]*) + ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" + ;; +esac +fi +GMSGFMT=$ac_cv_path_GMSGFMT +if test -n "$GMSGFMT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 +$as_echo "$GMSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + + case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in + '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; + *) MSGFMT_015=$MSGFMT ;; + esac + + case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in + '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; + *) GMSGFMT_015=$GMSGFMT ;; + esac + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "xgettext", so it can be a program name with args. +set dummy xgettext; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_path_XGETTEXT+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + case "$XGETTEXT" in + [\\/]* | ?:[\\/]*) + ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + echo "$as_me: trying $ac_dir/$ac_word..." >&5 + if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && + (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" + ;; +esac +fi +XGETTEXT="$ac_cv_path_XGETTEXT" +if test "$XGETTEXT" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 +$as_echo "$XGETTEXT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + rm -f messages.po + + case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in + '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; + *) XGETTEXT_015=$XGETTEXT ;; + esac + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "msgmerge", so it can be a program name with args. +set dummy msgmerge; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_path_MSGMERGE+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + case "$MSGMERGE" in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + echo "$as_me: trying $ac_dir/$ac_word..." >&5 + if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then + ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" + ;; +esac +fi +MSGMERGE="$ac_cv_path_MSGMERGE" +if test "$MSGMERGE" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 +$as_echo "$MSGMERGE" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$localedir" || localedir='${datadir}/locale' + + + test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= + + + ac_config_commands="$ac_config_commands po-directories" + + + + if test "X$prefix" = "XNONE"; then + acl_final_prefix="$ac_default_prefix" + else + acl_final_prefix="$prefix" + fi + if test "X$exec_prefix" = "XNONE"; then + acl_final_exec_prefix='${prefix}' + else + acl_final_exec_prefix="$exec_prefix" + fi + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" + prefix="$acl_save_prefix" + +# Make sure we can run config.sub. +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || + as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 +$as_echo_n "checking build system type... " >&6; } +if test "${ac_cv_build+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_build_alias=$build_alias +test "x$ac_build_alias" = x && + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` +test "x$ac_build_alias" = x && + as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || + as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 +$as_echo "$ac_cv_build" >&6; } +case $ac_cv_build in +*-*-*) ;; +*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; +esac +build=$ac_cv_build +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_build +shift +build_cpu=$1 +build_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +build_os=$* +IFS=$ac_save_IFS +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 +$as_echo_n "checking host system type... " >&6; } +if test "${ac_cv_host+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test "x$host_alias" = x; then + ac_cv_host=$ac_cv_build +else + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || + as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 +$as_echo "$ac_cv_host" >&6; } +case $ac_cv_host in +*-*-*) ;; +*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; +esac +host=$ac_cv_host +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_host +shift +host_cpu=$1 +host_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +host_os=$* +IFS=$ac_save_IFS +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac + + + +# Check whether --with-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then : + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes +else + with_gnu_ld=no +fi + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 +$as_echo_n "checking for ld used by GCC... " >&6; } + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | [A-Za-z]:[\\/]*) + re_direlt='/[^/][^/]*/\.\./' + # Canonicalize the path of ld + ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 +$as_echo_n "checking for GNU ld... " >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 +$as_echo_n "checking for non-GNU ld... " >&6; } +fi +if test "${acl_cv_path_LD+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$LD"; then + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" + for ac_dir in $PATH; do + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + acl_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some GNU ld's only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in + *GNU* | *'with BFD'*) + test "$with_gnu_ld" != no && break ;; + *) + test "$with_gnu_ld" != yes && break ;; + esac + fi + done + IFS="$ac_save_ifs" +else + acl_cv_path_LD="$LD" # Let the user override the test with a path. +fi +fi + +LD="$acl_cv_path_LD" +if test -n "$LD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 +$as_echo "$LD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } +if test "${acl_cv_prog_gnu_ld+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + # I'd rather use --version here, but apparently some GNU ld's only accept -v. +case `$LD -v 2>&1 &5 +$as_echo "$acl_cv_prog_gnu_ld" >&6; } +with_gnu_ld=$acl_cv_prog_gnu_ld + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 +$as_echo_n "checking for shared library run path origin... " >&6; } +if test "${acl_cv_rpath+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh + . ./conftest.sh + rm -f ./conftest.sh + acl_cv_rpath=done + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 +$as_echo "$acl_cv_rpath" >&6; } + wl="$acl_cv_wl" + acl_libext="$acl_cv_libext" + acl_shlibext="$acl_cv_shlibext" + acl_libname_spec="$acl_cv_libname_spec" + acl_library_names_spec="$acl_cv_library_names_spec" + acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" + acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" + acl_hardcode_direct="$acl_cv_hardcode_direct" + acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" + # Check whether --enable-rpath was given. +if test "${enable_rpath+set}" = set; then : + enableval=$enable_rpath; : +else + enable_rpath=yes +fi + + + + acl_libdirstem=lib + searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` + if test -n "$searchpath"; then + acl_save_IFS="${IFS= }"; IFS=":" + for searchdir in $searchpath; do + if test -d "$searchdir"; then + case "$searchdir" in + */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; + *) searchdir=`cd "$searchdir" && pwd` + case "$searchdir" in + */lib64 ) acl_libdirstem=lib64 ;; + esac ;; + esac + fi + done + IFS="$acl_save_IFS" + fi + + + + + + + + + + use_additional=yes + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + +# Check whether --with-libiconv-prefix was given. +if test "${with_libiconv_prefix+set}" = set; then : + withval=$with_libiconv_prefix; + if test "X$withval" = "Xno"; then + use_additional=no + else + if test "X$withval" = "X"; then + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + else + additional_includedir="$withval/include" + additional_libdir="$withval/$acl_libdirstem" + fi + fi + +fi + + LIBICONV= + LTLIBICONV= + INCICONV= + LIBICONV_PREFIX= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='iconv ' + while test -n "$names_next_round"; do + names_this_round="$names_next_round" + names_next_round= + for name in $names_this_round; do + already_handled= + for n in $names_already_handled; do + if test "$n" = "$name"; then + already_handled=yes + break + fi + done + if test -z "$already_handled"; then + names_already_handled="$names_already_handled $name" + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` + eval value=\"\$HAVE_LIB$uppername\" + if test -n "$value"; then + if test "$value" = yes; then + eval value=\"\$LIB$uppername\" + test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" + else + : + fi + else + found_dir= + found_la= + found_so= + found_a= + eval libname=\"$acl_libname_spec\" # typically: libname=lib$name + if test -n "$acl_shlibext"; then + shrext=".$acl_shlibext" # typically: shrext=.so + else + shrext= + fi + if test $use_additional = yes; then + dir="$additional_libdir" + if test -n "$acl_shlibext"; then + if test -f "$dir/$libname$shrext"; then + found_dir="$dir" + found_so="$dir/$libname$shrext" + else + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then + ver=`(cd "$dir" && \ + for f in "$libname$shrext".*; do echo "$f"; done \ + | sed -e "s,^$libname$shrext\\\\.,," \ + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ + | sed 1q ) 2>/dev/null` + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then + found_dir="$dir" + found_so="$dir/$libname$shrext.$ver" + fi + else + eval library_names=\"$acl_library_names_spec\" + for f in $library_names; do + if test -f "$dir/$f"; then + found_dir="$dir" + found_so="$dir/$f" + break + fi + done + fi + fi + fi + if test "X$found_dir" = "X"; then + if test -f "$dir/$libname.$acl_libext"; then + found_dir="$dir" + found_a="$dir/$libname.$acl_libext" + fi + fi + if test "X$found_dir" != "X"; then + if test -f "$dir/$libname.la"; then + found_la="$dir/$libname.la" + fi + fi + fi + if test "X$found_dir" = "X"; then + for x in $LDFLAGS $LTLIBICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + case "$x" in + -L*) + dir=`echo "X$x" | sed -e 's/^X-L//'` + if test -n "$acl_shlibext"; then + if test -f "$dir/$libname$shrext"; then + found_dir="$dir" + found_so="$dir/$libname$shrext" + else + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then + ver=`(cd "$dir" && \ + for f in "$libname$shrext".*; do echo "$f"; done \ + | sed -e "s,^$libname$shrext\\\\.,," \ + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ + | sed 1q ) 2>/dev/null` + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then + found_dir="$dir" + found_so="$dir/$libname$shrext.$ver" + fi + else + eval library_names=\"$acl_library_names_spec\" + for f in $library_names; do + if test -f "$dir/$f"; then + found_dir="$dir" + found_so="$dir/$f" + break + fi + done + fi + fi + fi + if test "X$found_dir" = "X"; then + if test -f "$dir/$libname.$acl_libext"; then + found_dir="$dir" + found_a="$dir/$libname.$acl_libext" + fi + fi + if test "X$found_dir" != "X"; then + if test -f "$dir/$libname.la"; then + found_la="$dir/$libname.la" + fi + fi + ;; + esac + if test "X$found_dir" != "X"; then + break + fi + done + fi + if test "X$found_dir" != "X"; then + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $found_dir" + fi + if test "$acl_hardcode_direct" = yes; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $found_dir" + fi + else + haveit= + for x in $LDFLAGS $LIBICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" + fi + if test "$acl_hardcode_minus_L" != no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" + fi + fi + additional_includedir= + case "$found_dir" in + */$acl_libdirstem | */$acl_libdirstem/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` + LIBICONV_PREFIX="$basedir" + additional_includedir="$basedir/include" + ;; + esac + if test "X$additional_includedir" != "X"; then + if test "X$additional_includedir" != "X/usr/include"; then + haveit= + if test "X$additional_includedir" = "X/usr/local/include"; then + if test -n "$GCC"; then + case $host_os in + linux* | gnu* | k*bsd*-gnu) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + for x in $CPPFLAGS $INCICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-I$additional_includedir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_includedir"; then + INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" + fi + fi + fi + fi + fi + if test -n "$found_la"; then + save_libdir="$libdir" + case "$found_la" in + */* | *\\*) . "$found_la" ;; + *) . "./$found_la" ;; + esac + libdir="$save_libdir" + for dep in $dependency_libs; do + case "$dep" in + -L*) + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` + if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then + haveit= + if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then + if test -n "$GCC"; then + case $host_os in + linux* | gnu* | k*bsd*-gnu) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + haveit= + for x in $LDFLAGS $LIBICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + fi + fi + ;; + -l*) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` + ;; + *.la) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` + ;; + *) + LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" + ;; + esac + done + fi + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" + fi + fi + fi + done + done + if test "X$rpathdirs" != "X"; then + if test -n "$acl_hardcode_libdir_separator"; then + alldirs= + for found_dir in $rpathdirs; do + alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" + done + acl_save_libdir="$libdir" + libdir="$alldirs" + eval flag=\"$acl_hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" + else + for found_dir in $rpathdirs; do + acl_save_libdir="$libdir" + libdir="$found_dir" + eval flag=\"$acl_hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" + done + fi + + + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 +$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } +if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ +CFPreferencesCopyAppValue(NULL, NULL) + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_CFPreferencesCopyAppValue=yes +else + gt_cv_func_CFPreferencesCopyAppValue=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$gt_save_LIBS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 +$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } + if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then + +$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 +$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } +if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ +CFLocaleCopyCurrent(); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_CFLocaleCopyCurrent=yes +else + gt_cv_func_CFLocaleCopyCurrent=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$gt_save_LIBS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 +$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } + if test $gt_cv_func_CFLocaleCopyCurrent = yes; then + +$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h + + fi + INTL_MACOSX_LIBS= + if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then + INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" + fi + + + + + + + LIBINTL= + LTLIBINTL= + POSUB= + + case " $gt_needs " in + *" need-formatstring-macros "*) gt_api_version=3 ;; + *" need-ngettext "*) gt_api_version=2 ;; + *) gt_api_version=1 ;; + esac + gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" + gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" + + if test "$USE_NLS" = "yes"; then + gt_use_preinstalled_gnugettext=no + + + if test $gt_api_version -ge 3; then + gt_revision_test_code=' +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) +#endif +typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; +' + else + gt_revision_test_code= + fi + if test $gt_api_version -ge 2; then + gt_expression_test_code=' + * ngettext ("", "", 0)' + else + gt_expression_test_code= + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 +$as_echo_n "checking for GNU gettext in libc... " >&6; } +if { as_var=$gt_func_gnugettext_libc; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +$gt_revision_test_code +extern int _nl_msg_cat_cntr; +extern int *_nl_domain_bindings; +int +main () +{ +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$gt_func_gnugettext_libc=yes" +else + eval "$gt_func_gnugettext_libc=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$gt_func_gnugettext_libc + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then + + + + + + am_save_CPPFLAGS="$CPPFLAGS" + + for element in $INCICONV; do + haveit= + for x in $CPPFLAGS; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" + fi + done + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 +$as_echo_n "checking for iconv... " >&6; } +if test "${am_cv_func_iconv+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + + am_cv_func_iconv="no, consider installing GNU libiconv" + am_cv_lib_iconv=no + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +int +main () +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_func_iconv=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "$am_cv_func_iconv" != yes; then + am_save_LIBS="$LIBS" + LIBS="$LIBS $LIBICONV" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +int +main () +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_lib_iconv=yes + am_cv_func_iconv=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$am_save_LIBS" + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 +$as_echo "$am_cv_func_iconv" >&6; } + if test "$am_cv_func_iconv" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 +$as_echo_n "checking for working iconv... " >&6; } +if test "${am_cv_func_iconv_works+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + + am_save_LIBS="$LIBS" + if test $am_cv_lib_iconv = yes; then + LIBS="$LIBS $LIBICONV" + fi + if test "$cross_compiling" = yes; then : + case "$host_os" in + aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; + *) am_cv_func_iconv_works="guessing yes" ;; + esac +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +int main () +{ + /* Test against AIX 5.1 bug: Failures are not distinguishable from successful + returns. */ + { + iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); + if (cd_utf8_to_88591 != (iconv_t)(-1)) + { + static const char input[] = "\342\202\254"; /* EURO SIGN */ + char buf[10]; + const char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_utf8_to_88591, + (char **) &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + return 1; + } + } +#if 0 /* This bug could be worked around by the caller. */ + /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ + { + iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); + if (cd_88591_to_utf8 != (iconv_t)(-1)) + { + static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; + char buf[50]; + const char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_88591_to_utf8, + (char **) &inptr, &inbytesleft, + &outptr, &outbytesleft); + if ((int)res > 0) + return 1; + } + } +#endif + /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is + provided. */ + if (/* Try standardized names. */ + iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) + /* Try IRIX, OSF/1 names. */ + && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) + /* Try AIX names. */ + && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) + /* Try HP-UX names. */ + && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) + return 1; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + am_cv_func_iconv_works=yes +else + am_cv_func_iconv_works=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + LIBS="$am_save_LIBS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 +$as_echo "$am_cv_func_iconv_works" >&6; } + case "$am_cv_func_iconv_works" in + *no) am_func_iconv=no am_cv_lib_iconv=no ;; + *) am_func_iconv=yes ;; + esac + else + am_func_iconv=no am_cv_lib_iconv=no + fi + if test "$am_func_iconv" = yes; then + +$as_echo "#define HAVE_ICONV 1" >>confdefs.h + + fi + if test "$am_cv_lib_iconv" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 +$as_echo_n "checking how to link with libiconv... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 +$as_echo "$LIBICONV" >&6; } + else + CPPFLAGS="$am_save_CPPFLAGS" + LIBICONV= + LTLIBICONV= + fi + + + + + + + + + use_additional=yes + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + +# Check whether --with-libintl-prefix was given. +if test "${with_libintl_prefix+set}" = set; then : + withval=$with_libintl_prefix; + if test "X$withval" = "Xno"; then + use_additional=no + else + if test "X$withval" = "X"; then + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + else + additional_includedir="$withval/include" + additional_libdir="$withval/$acl_libdirstem" + fi + fi + +fi + + LIBINTL= + LTLIBINTL= + INCINTL= + LIBINTL_PREFIX= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='intl ' + while test -n "$names_next_round"; do + names_this_round="$names_next_round" + names_next_round= + for name in $names_this_round; do + already_handled= + for n in $names_already_handled; do + if test "$n" = "$name"; then + already_handled=yes + break + fi + done + if test -z "$already_handled"; then + names_already_handled="$names_already_handled $name" + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` + eval value=\"\$HAVE_LIB$uppername\" + if test -n "$value"; then + if test "$value" = yes; then + eval value=\"\$LIB$uppername\" + test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" + else + : + fi + else + found_dir= + found_la= + found_so= + found_a= + eval libname=\"$acl_libname_spec\" # typically: libname=lib$name + if test -n "$acl_shlibext"; then + shrext=".$acl_shlibext" # typically: shrext=.so + else + shrext= + fi + if test $use_additional = yes; then + dir="$additional_libdir" + if test -n "$acl_shlibext"; then + if test -f "$dir/$libname$shrext"; then + found_dir="$dir" + found_so="$dir/$libname$shrext" + else + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then + ver=`(cd "$dir" && \ + for f in "$libname$shrext".*; do echo "$f"; done \ + | sed -e "s,^$libname$shrext\\\\.,," \ + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ + | sed 1q ) 2>/dev/null` + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then + found_dir="$dir" + found_so="$dir/$libname$shrext.$ver" + fi + else + eval library_names=\"$acl_library_names_spec\" + for f in $library_names; do + if test -f "$dir/$f"; then + found_dir="$dir" + found_so="$dir/$f" + break + fi + done + fi + fi + fi + if test "X$found_dir" = "X"; then + if test -f "$dir/$libname.$acl_libext"; then + found_dir="$dir" + found_a="$dir/$libname.$acl_libext" + fi + fi + if test "X$found_dir" != "X"; then + if test -f "$dir/$libname.la"; then + found_la="$dir/$libname.la" + fi + fi + fi + if test "X$found_dir" = "X"; then + for x in $LDFLAGS $LTLIBINTL; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + case "$x" in + -L*) + dir=`echo "X$x" | sed -e 's/^X-L//'` + if test -n "$acl_shlibext"; then + if test -f "$dir/$libname$shrext"; then + found_dir="$dir" + found_so="$dir/$libname$shrext" + else + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then + ver=`(cd "$dir" && \ + for f in "$libname$shrext".*; do echo "$f"; done \ + | sed -e "s,^$libname$shrext\\\\.,," \ + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ + | sed 1q ) 2>/dev/null` + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then + found_dir="$dir" + found_so="$dir/$libname$shrext.$ver" + fi + else + eval library_names=\"$acl_library_names_spec\" + for f in $library_names; do + if test -f "$dir/$f"; then + found_dir="$dir" + found_so="$dir/$f" + break + fi + done + fi + fi + fi + if test "X$found_dir" = "X"; then + if test -f "$dir/$libname.$acl_libext"; then + found_dir="$dir" + found_a="$dir/$libname.$acl_libext" + fi + fi + if test "X$found_dir" != "X"; then + if test -f "$dir/$libname.la"; then + found_la="$dir/$libname.la" + fi + fi + ;; + esac + if test "X$found_dir" != "X"; then + break + fi + done + fi + if test "X$found_dir" != "X"; then + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $found_dir" + fi + if test "$acl_hardcode_direct" = yes; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $found_dir" + fi + else + haveit= + for x in $LDFLAGS $LIBINTL; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" + fi + if test "$acl_hardcode_minus_L" != no; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" + fi + fi + additional_includedir= + case "$found_dir" in + */$acl_libdirstem | */$acl_libdirstem/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` + LIBINTL_PREFIX="$basedir" + additional_includedir="$basedir/include" + ;; + esac + if test "X$additional_includedir" != "X"; then + if test "X$additional_includedir" != "X/usr/include"; then + haveit= + if test "X$additional_includedir" = "X/usr/local/include"; then + if test -n "$GCC"; then + case $host_os in + linux* | gnu* | k*bsd*-gnu) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + for x in $CPPFLAGS $INCINTL; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-I$additional_includedir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_includedir"; then + INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" + fi + fi + fi + fi + fi + if test -n "$found_la"; then + save_libdir="$libdir" + case "$found_la" in + */* | *\\*) . "$found_la" ;; + *) . "./$found_la" ;; + esac + libdir="$save_libdir" + for dep in $dependency_libs; do + case "$dep" in + -L*) + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` + if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then + haveit= + if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then + if test -n "$GCC"; then + case $host_os in + linux* | gnu* | k*bsd*-gnu) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + haveit= + for x in $LDFLAGS $LIBINTL; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBINTL; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + fi + fi + ;; + -l*) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` + ;; + *.la) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` + ;; + *) + LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" + ;; + esac + done + fi + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" + fi + fi + fi + done + done + if test "X$rpathdirs" != "X"; then + if test -n "$acl_hardcode_libdir_separator"; then + alldirs= + for found_dir in $rpathdirs; do + alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" + done + acl_save_libdir="$libdir" + libdir="$alldirs" + eval flag=\"$acl_hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" + else + for found_dir in $rpathdirs; do + acl_save_libdir="$libdir" + libdir="$found_dir" + eval flag=\"$acl_hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" + done + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 +$as_echo_n "checking for GNU gettext in libintl... " >&6; } +if { as_var=$gt_func_gnugettext_libintl; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + gt_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $INCINTL" + gt_save_LIBS="$LIBS" + LIBS="$LIBS $LIBINTL" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +$gt_revision_test_code +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (const char *); +int +main () +{ +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$gt_func_gnugettext_libintl=yes" +else + eval "$gt_func_gnugettext_libintl=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then + LIBS="$LIBS $LIBICONV" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +$gt_revision_test_code +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (const char *); +int +main () +{ +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + LIBINTL="$LIBINTL $LIBICONV" + LTLIBINTL="$LTLIBINTL $LTLIBICONV" + eval "$gt_func_gnugettext_libintl=yes" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + fi + CPPFLAGS="$gt_save_CPPFLAGS" + LIBS="$gt_save_LIBS" +fi +eval ac_res=\$$gt_func_gnugettext_libintl + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + fi + + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ + || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ + && test "$PACKAGE" != gettext-runtime \ + && test "$PACKAGE" != gettext-tools; }; then + gt_use_preinstalled_gnugettext=yes + else + LIBINTL= + LTLIBINTL= + INCINTL= + fi + + + + if test -n "$INTL_MACOSX_LIBS"; then + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" + LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" + fi + fi + + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + +$as_echo "#define ENABLE_NLS 1" >>confdefs.h + + else + USE_NLS=no + fi + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 +$as_echo_n "checking whether to use NLS... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +$as_echo "$USE_NLS" >&6; } + if test "$USE_NLS" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 +$as_echo_n "checking where the gettext function comes from... " >&6; } + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then + gt_source="external libintl" + else + gt_source="libc" + fi + else + gt_source="included intl directory" + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 +$as_echo "$gt_source" >&6; } + fi + + if test "$USE_NLS" = "yes"; then + + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 +$as_echo_n "checking how to link with libintl... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 +$as_echo "$LIBINTL" >&6; } + + for element in $INCINTL; do + haveit= + for x in $CPPFLAGS; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" + fi + done + + fi + + +$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h + + +$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h + + fi + + POSUB=po + fi + + + + INTLLIBS="$LIBINTL" + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 +$as_echo_n "checking for nl_langinfo and CODESET... " >&6; } +if test "${am_cv_langinfo_codeset+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ +char* cs = nl_langinfo(CODESET); return !cs; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_langinfo_codeset=yes +else + am_cv_langinfo_codeset=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5 +$as_echo "$am_cv_langinfo_codeset" >&6; } + if test $am_cv_langinfo_codeset = yes; then + +$as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h + + fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 +$as_echo_n "checking for LC_MESSAGES... " >&6; } +if test "${gt_cv_val_LC_MESSAGES+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ +return LC_MESSAGES + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_val_LC_MESSAGES=yes +else + gt_cv_val_LC_MESSAGES=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_val_LC_MESSAGES" >&5 +$as_echo "$gt_cv_val_LC_MESSAGES" >&6; } + if test $gt_cv_val_LC_MESSAGES = yes; then + +$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h + + fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 +$as_echo_n "checking for ANSI C header files... " >&6; } +if test "${ac_cv_header_stdc+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_header_stdc=yes +else + ac_cv_header_stdc=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "memchr" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "free" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#if ((' ' & 0x0FF) == 0x020) +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#else +# define ISLOWER(c) \ + (('a' <= (c) && (c) <= 'i') \ + || ('j' <= (c) && (c) <= 'r') \ + || ('s' <= (c) && (c) <= 'z')) +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) +#endif + +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +int +main () +{ + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) + || toupper (i) != TOUPPER (i)) + return 2; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + +else + ac_cv_header_stdc=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 +$as_echo "$ac_cv_header_stdc" >&6; } +if test $ac_cv_header_stdc = yes; then + +$as_echo "#define STDC_HEADERS 1" >>confdefs.h + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 +$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } +if test "${ac_cv_header_sys_wait_h+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#ifndef WEXITSTATUS +# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) +#endif +#ifndef WIFEXITED +# define WIFEXITED(stat_val) (((stat_val) & 255) == 0) +#endif + +int +main () +{ + int s; + wait (&s); + s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_header_sys_wait_h=yes +else + ac_cv_header_sys_wait_h=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5 +$as_echo "$ac_cv_header_sys_wait_h" >&6; } +if test $ac_cv_header_sys_wait_h = yes; then + +$as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 +$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } +if test "${ac_cv_header_time+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include + +int +main () +{ +if ((struct tm *) 0) +return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_header_time=yes +else + ac_cv_header_time=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 +$as_echo "$ac_cv_header_time" >&6; } +if test $ac_cv_header_time = yes; then + +$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h + +fi + +for ac_header in arpa/inet.h fcntl.h limits.h locale.h libintl.h mcheck.h \ + netdb.h netinet/in.h stdarg.h stddef.h string.h \ + sys/param.h sys/socket.h sys/time.h unistd.h \ + termios.h stropts.h wchar.h wctype.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +if test "$ac_cv_header_string_h" = yes +then + for ac_header in memory.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "memory.h" "ac_cv_header_memory_h" "$ac_includes_default" +if test "x$ac_cv_header_memory_h" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_MEMORY_H 1 +_ACEOF + +fi + +done + +else + for ac_header in strings.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "strings.h" "ac_cv_header_strings_h" "$ac_includes_default" +if test "x$ac_cv_header_strings_h" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_STRINGS_H 1 +_ACEOF + +fi + +done + +fi + +ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" +if test "x$ac_cv_type_pid_t" = x""yes; then : + +else + +cat >>confdefs.h <<_ACEOF +#define pid_t int +_ACEOF + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 +$as_echo_n "checking return type of signal handlers... " >&6; } +if test "${ac_cv_type_signal+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include + +int +main () +{ +return *(signal (0, 0)) (0) == 1; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_type_signal=int +else + ac_cv_type_signal=void +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 +$as_echo "$ac_cv_type_signal" >&6; } + +cat >>confdefs.h <<_ACEOF +#define RETSIGTYPE $ac_cv_type_signal +_ACEOF + + +ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" +if test "x$ac_cv_type_size_t" = x""yes; then : + +else + +cat >>confdefs.h <<_ACEOF +#define size_t unsigned int +_ACEOF + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 +$as_echo_n "checking for uid_t in sys/types.h... " >&6; } +if test "${ac_cv_type_uid_t+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "uid_t" >/dev/null 2>&1; then : + ac_cv_type_uid_t=yes +else + ac_cv_type_uid_t=no +fi +rm -f conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5 +$as_echo "$ac_cv_type_uid_t" >&6; } +if test $ac_cv_type_uid_t = no; then + +$as_echo "#define uid_t int" >>confdefs.h + + +$as_echo "#define gid_t int" >>confdefs.h + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking type of array argument to getgroups" >&5 +$as_echo_n "checking type of array argument to getgroups... " >&6; } +if test "${ac_cv_type_getgroups+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + ac_cv_type_getgroups=cross +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +/* Thanks to Mike Rendell for this test. */ +$ac_includes_default +#define NGID 256 +#undef MAX +#define MAX(x, y) ((x) > (y) ? (x) : (y)) + +int +main () +{ + gid_t gidset[NGID]; + int i, n; + union { gid_t gval; long int lval; } val; + + val.lval = -1; + for (i = 0; i < NGID; i++) + gidset[i] = val.gval; + n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1, + gidset); + /* Exit non-zero if getgroups seems to require an array of ints. This + happens when gid_t is short int but getgroups modifies an array + of ints. */ + return n > 0 && gidset[n] != val.gval; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + ac_cv_type_getgroups=gid_t +else + ac_cv_type_getgroups=int +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +if test $ac_cv_type_getgroups = cross; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "getgroups.*int.*gid_t" >/dev/null 2>&1; then : + ac_cv_type_getgroups=gid_t +else + ac_cv_type_getgroups=int +fi +rm -f conftest* + +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_getgroups" >&5 +$as_echo "$ac_cv_type_getgroups" >&6; } + +cat >>confdefs.h <<_ACEOF +#define GETGROUPS_T $ac_cv_type_getgroups +_ACEOF + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5 +$as_echo_n "checking for long long int... " >&6; } +if test "${ac_cv_type_long_long_int+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +long long int ll = 9223372036854775807ll; + long long int nll = -9223372036854775807LL; + typedef int a[((-9223372036854775807LL < 0 + && 0 < 9223372036854775807ll) + ? 1 : -1)]; + int i = 63; +int +main () +{ +long long int llmax = 9223372036854775807ll; + return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) + | (llmax / ll) | (llmax % ll)); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_type_long_long_int=yes +else + ac_cv_type_long_long_int=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5 +$as_echo "$ac_cv_type_long_long_int" >&6; } + if test $ac_cv_type_long_long_int = yes; then + +$as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h + + fi + + + + ac_cv_type_long_long=$ac_cv_type_long_long_int + if test $ac_cv_type_long_long = yes; then + +$as_echo "#define HAVE_LONG_LONG 1" >>confdefs.h + + fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5 +$as_echo_n "checking for unsigned long long int... " >&6; } +if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +unsigned long long int ull = 18446744073709551615ULL; + typedef int a[(18446744073709551615ULL <= (unsigned long long int) -1 + ? 1 : -1)]; + int i = 63; +int +main () +{ +unsigned long long int ullmax = 18446744073709551615ull; + return (ull << 63 | ull >> 63 | ull << i | ull >> i + | ullmax / ull | ullmax % ull); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_type_unsigned_long_long_int=yes +else + ac_cv_type_unsigned_long_long_int=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5 +$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; } + if test $ac_cv_type_unsigned_long_long_int = yes; then + +$as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h + + fi + + + + ac_cv_type_unsigned_long_long=$ac_cv_type_unsigned_long_long_int + if test $ac_cv_type_unsigned_long_long = yes; then + +$as_echo "#define HAVE_UNSIGNED_LONG_LONG 1" >>confdefs.h + + fi + + + if test "OS/390" = "`uname`" + then + gl_cv_header_inttypes_h=no + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5 +$as_echo_n "checking for inttypes.h... " >&6; } +if test "${gl_cv_header_inttypes_h+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +int +main () +{ +uintmax_t i = (uintmax_t) -1; return !i; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_header_inttypes_h=yes +else + gl_cv_header_inttypes_h=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_inttypes_h" >&5 +$as_echo "$gl_cv_header_inttypes_h" >&6; } + if test $gl_cv_header_inttypes_h = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_INTTYPES_H_WITH_UINTMAX 1 +_ACEOF + + fi + fi + + + if test "OS/390" = "`uname`" + then + gl_cv_header_stdint_h=no + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5 +$as_echo_n "checking for stdint.h... " >&6; } +if test "${gl_cv_header_stdint_h+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +int +main () +{ +uintmax_t i = (uintmax_t) -1; return !i; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_header_stdint_h=yes +else + gl_cv_header_stdint_h=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_h" >&5 +$as_echo "$gl_cv_header_stdint_h" >&6; } + if test $gl_cv_header_stdint_h = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STDINT_H_WITH_UINTMAX 1 +_ACEOF + + fi + fi + + + + + if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then + + test $ac_cv_type_long_long = yes \ + && ac_type='long long' \ + || ac_type='long' + +cat >>confdefs.h <<_ACEOF +#define intmax_t $ac_type +_ACEOF + + else + +$as_echo "#define HAVE_INTMAX_T 1" >>confdefs.h + + fi + + + + + if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then + + test $ac_cv_type_unsigned_long_long = yes \ + && ac_type='unsigned long long' \ + || ac_type='unsigned long' + +cat >>confdefs.h <<_ACEOF +#define uintmax_t $ac_type +_ACEOF + + else + +$as_echo "#define HAVE_UINTMAX_T 1" >>confdefs.h + + fi + +ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default" +if test "x$ac_cv_type_ssize_t" = x""yes; then : + +else + +cat >>confdefs.h <<_ACEOF +#define ssize_t int +_ACEOF + +fi + +# The cast to long int works around a bug in the HP C Compiler +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# This bug is HP SR number 8606223364. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5 +$as_echo_n "checking size of unsigned int... " >&6; } +if test "${ac_cv_sizeof_unsigned_int+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then : + +else + if test "$ac_cv_type_unsigned_int" = yes; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ as_fn_set_status 77 +as_fn_error "cannot compute sizeof (unsigned int) +See \`config.log' for more details." "$LINENO" 5; }; } + else + ac_cv_sizeof_unsigned_int=0 + fi +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5 +$as_echo "$ac_cv_sizeof_unsigned_int" >&6; } + + + +cat >>confdefs.h <<_ACEOF +#define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int +_ACEOF + + +# The cast to long int works around a bug in the HP C Compiler +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# This bug is HP SR number 8606223364. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5 +$as_echo_n "checking size of unsigned long... " >&6; } +if test "${ac_cv_sizeof_unsigned_long+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then : + +else + if test "$ac_cv_type_unsigned_long" = yes; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ as_fn_set_status 77 +as_fn_error "cannot compute sizeof (unsigned long) +See \`config.log' for more details." "$LINENO" 5; }; } + else + ac_cv_sizeof_unsigned_long=0 + fi +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5 +$as_echo "$ac_cv_sizeof_unsigned_long" >&6; } + + + +cat >>confdefs.h <<_ACEOF +#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long +_ACEOF + + +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "int.*sprintf" >/dev/null 2>&1; then : + +$as_echo "#define SPRINTF_RET int" >>confdefs.h + +else + $as_echo "#define SPRINTF_RET char *" >>confdefs.h + +fi +rm -f conftest* + +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ + + time_t foo; + foo = 0; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +$as_echo "#define TIME_T_IN_SYS_TYPES_H 1" >>confdefs.h + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ + + wctype_t foo; + foo = 0; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +$as_echo "#define HAVE_WCTYPE_T 1" >>confdefs.h + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ + + wint_t foo; + foo = 0; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +$as_echo "#define HAVE_WINT_T 1" >>confdefs.h + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +int +main () +{ + + struct sockaddr_storage foo; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +$as_echo "#define HAVE_SOCKADDR_STORAGE 1" >>confdefs.h + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + + + + + + ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include +#include +" +if test "x$ac_cv_type_socklen_t" = x""yes; then : + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t equivalent" >&5 +$as_echo_n "checking for socklen_t equivalent... " >&6; } + if test "${rsync_cv_socklen_t_equiv+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + + # Systems have either "struct sockaddr *" or + # "void *" as the second argument to getpeername + rsync_cv_socklen_t_equiv= + for arg2 in "struct sockaddr" void; do + for t in int size_t unsigned long "unsigned long"; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + + int getpeername (int, $arg2 *, $t *); + +int +main () +{ + + $t len; + getpeername(0,0,&len); + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + rsync_cv_socklen_t_equiv="$t" + break + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + done + done + + if test "x$rsync_cv_socklen_t_equiv" = x; then + rsync_cv_socklen_t_equiv=int + fi + +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_socklen_t_equiv" >&5 +$as_echo "$rsync_cv_socklen_t_equiv" >&6; } + +cat >>confdefs.h <<_ACEOF +#define socklen_t $rsync_cv_socklen_t_equiv +_ACEOF + +fi + + + +for ac_func in vprintf +do : + ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" +if test "x$ac_cv_func_vprintf" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_VPRINTF 1 +_ACEOF + +ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" +if test "x$ac_cv_func__doprnt" = x""yes; then : + +$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h + +fi + +fi +done + + + + + + for ac_header in $ac_header_list +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default +" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + + + + + + for ac_func in $ac_func_list +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +eval as_val=\$$as_ac_var + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5 +$as_echo_n "checking for working mktime... " >&6; } +if test "${ac_cv_func_working_mktime+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + ac_cv_func_working_mktime=no +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +/* Test program from Paul Eggert and Tony Leneis. */ +#ifdef TIME_WITH_SYS_TIME +# include +# include +#else +# ifdef HAVE_SYS_TIME_H +# include +# else +# include +# endif +#endif + +#include +#include + +#ifdef HAVE_UNISTD_H +# include +#endif + +#ifndef HAVE_ALARM +# define alarm(X) /* empty */ +#endif + +/* Work around redefinition to rpl_putenv by other config tests. */ +#undef putenv + +static time_t time_t_max; +static time_t time_t_min; + +/* Values we'll use to set the TZ environment variable. */ +static char *tz_strings[] = { + (char *) 0, "TZ=GMT0", "TZ=JST-9", + "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" +}; +#define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) + +/* Return 0 if mktime fails to convert a date in the spring-forward gap. + Based on a problem report from Andreas Jaeger. */ +static int +spring_forward_gap () +{ + /* glibc (up to about 1998-10-07) failed this test. */ + struct tm tm; + + /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" + instead of "TZ=America/Vancouver" in order to detect the bug even + on systems that don't support the Olson extension, or don't have the + full zoneinfo tables installed. */ + putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); + + tm.tm_year = 98; + tm.tm_mon = 3; + tm.tm_mday = 5; + tm.tm_hour = 2; + tm.tm_min = 0; + tm.tm_sec = 0; + tm.tm_isdst = -1; + return mktime (&tm) != (time_t) -1; +} + +static int +mktime_test1 (now) + time_t now; +{ + struct tm *lt; + return ! (lt = localtime (&now)) || mktime (lt) == now; +} + +static int +mktime_test (now) + time_t now; +{ + return (mktime_test1 (now) + && mktime_test1 ((time_t) (time_t_max - now)) + && mktime_test1 ((time_t) (time_t_min + now))); +} + +static int +irix_6_4_bug () +{ + /* Based on code from Ariel Faigon. */ + struct tm tm; + tm.tm_year = 96; + tm.tm_mon = 3; + tm.tm_mday = 0; + tm.tm_hour = 0; + tm.tm_min = 0; + tm.tm_sec = 0; + tm.tm_isdst = -1; + mktime (&tm); + return tm.tm_mon == 2 && tm.tm_mday == 31; +} + +static int +bigtime_test (j) + int j; +{ + struct tm tm; + time_t now; + tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j; + now = mktime (&tm); + if (now != (time_t) -1) + { + struct tm *lt = localtime (&now); + if (! (lt + && lt->tm_year == tm.tm_year + && lt->tm_mon == tm.tm_mon + && lt->tm_mday == tm.tm_mday + && lt->tm_hour == tm.tm_hour + && lt->tm_min == tm.tm_min + && lt->tm_sec == tm.tm_sec + && lt->tm_yday == tm.tm_yday + && lt->tm_wday == tm.tm_wday + && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst) + == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst)))) + return 0; + } + return 1; +} + +static int +year_2050_test () +{ + /* The correct answer for 2050-02-01 00:00:00 in Pacific time, + ignoring leap seconds. */ + unsigned long int answer = 2527315200UL; + + struct tm tm; + time_t t; + tm.tm_year = 2050 - 1900; + tm.tm_mon = 2 - 1; + tm.tm_mday = 1; + tm.tm_hour = tm.tm_min = tm.tm_sec = 0; + tm.tm_isdst = -1; + + /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" + instead of "TZ=America/Vancouver" in order to detect the bug even + on systems that don't support the Olson extension, or don't have the + full zoneinfo tables installed. */ + putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); + + t = mktime (&tm); + + /* Check that the result is either a failure, or close enough + to the correct answer that we can assume the discrepancy is + due to leap seconds. */ + return (t == (time_t) -1 + || (0 < t && answer - 120 <= t && t <= answer + 120)); +} + +int +main () +{ + time_t t, delta; + int i, j; + + /* This test makes some buggy mktime implementations loop. + Give up after 60 seconds; a mktime slower than that + isn't worth using anyway. */ + alarm (60); + + for (;;) + { + t = (time_t_max << 1) + 1; + if (t <= time_t_max) + break; + time_t_max = t; + } + time_t_min = - ((time_t) ~ (time_t) 0 == (time_t) -1) - time_t_max; + + delta = time_t_max / 997; /* a suitable prime number */ + for (i = 0; i < N_STRINGS; i++) + { + if (tz_strings[i]) + putenv (tz_strings[i]); + + for (t = 0; t <= time_t_max - delta; t += delta) + if (! mktime_test (t)) + return 1; + if (! (mktime_test ((time_t) 1) + && mktime_test ((time_t) (60 * 60)) + && mktime_test ((time_t) (60 * 60 * 24)))) + return 1; + + for (j = 1; ; j <<= 1) + if (! bigtime_test (j)) + return 1; + else if (INT_MAX / 2 < j) + break; + if (! bigtime_test (INT_MAX)) + return 1; + } + return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ()); +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + ac_cv_func_working_mktime=yes +else + ac_cv_func_working_mktime=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_working_mktime" >&5 +$as_echo "$ac_cv_func_working_mktime" >&6; } +if test $ac_cv_func_working_mktime = no; then + case " $LIBOBJS " in + *" mktime.$ac_objext "* ) ;; + *) LIBOBJS="$LIBOBJS mktime.$ac_objext" + ;; +esac + +fi + +case "$ac_cv_func_working_mktime" in +yes) +$as_echo "#define HAVE_MKTIME 1" >>confdefs.h + + ;; +esac + +ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo" +if test "x$ac_cv_func_getaddrinfo" = x""yes; then : + +$as_echo "#define HAVE_GETADDRINFO 1" >>confdefs.h + +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo in -lsocket" >&5 +$as_echo_n "checking for getaddrinfo in -lsocket... " >&6; } +if test "${ac_cv_lib_socket_getaddrinfo+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsocket $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char getaddrinfo (); +int +main () +{ +return getaddrinfo (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_socket_getaddrinfo=yes +else + ac_cv_lib_socket_getaddrinfo=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_getaddrinfo" >&5 +$as_echo "$ac_cv_lib_socket_getaddrinfo" >&6; } +if test "x$ac_cv_lib_socket_getaddrinfo" = x""yes; then : + +$as_echo "#define HAVE_GETADDRINFO 1" >>confdefs.h + +fi + +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5 +$as_echo_n "checking for fmod in -lm... " >&6; } +if test "${ac_cv_lib_m_fmod+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lm $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char fmod (); +int +main () +{ +return fmod (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_m_fmod=yes +else + ac_cv_lib_m_fmod=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5 +$as_echo "$ac_cv_lib_m_fmod" >&6; } +if test "x$ac_cv_lib_m_fmod" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBM 1 +_ACEOF + + LIBS="-lm $LIBS" + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf in -lm" >&5 +$as_echo_n "checking for isinf in -lm... " >&6; } +if test "${ac_cv_lib_m_isinf+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lm $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char isinf (); +int +main () +{ +return isinf (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_m_isinf=yes +else + ac_cv_lib_m_isinf=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isinf" >&5 +$as_echo "$ac_cv_lib_m_isinf" >&6; } +if test "x$ac_cv_lib_m_isinf" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBM 1 +_ACEOF + + LIBS="-lm $LIBS" + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ismod in -lm" >&5 +$as_echo_n "checking for ismod in -lm... " >&6; } +if test "${ac_cv_lib_m_ismod+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lm $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char ismod (); +int +main () +{ +return ismod (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_m_ismod=yes +else + ac_cv_lib_m_ismod=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ismod" >&5 +$as_echo "$ac_cv_lib_m_ismod" >&6; } +if test "x$ac_cv_lib_m_ismod" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBM 1 +_ACEOF + + LIBS="-lm $LIBS" + +fi + +case `uname` in +OSF1) : ;; +*) + + + + + + + + + + + + use_additional=yes + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + +# Check whether --with-libsigsegv-prefix was given. +if test "${with_libsigsegv_prefix+set}" = set; then : + withval=$with_libsigsegv_prefix; + if test "X$withval" = "Xno"; then + use_additional=no + else + if test "X$withval" = "X"; then + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + else + additional_includedir="$withval/include" + additional_libdir="$withval/$acl_libdirstem" + fi + fi + +fi + + LIBSIGSEGV= + LTLIBSIGSEGV= + INCSIGSEGV= + LIBSIGSEGV_PREFIX= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='sigsegv ' + while test -n "$names_next_round"; do + names_this_round="$names_next_round" + names_next_round= + for name in $names_this_round; do + already_handled= + for n in $names_already_handled; do + if test "$n" = "$name"; then + already_handled=yes + break + fi + done + if test -z "$already_handled"; then + names_already_handled="$names_already_handled $name" + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` + eval value=\"\$HAVE_LIB$uppername\" + if test -n "$value"; then + if test "$value" = yes; then + eval value=\"\$LIB$uppername\" + test -z "$value" || LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }$value" + else + : + fi + else + found_dir= + found_la= + found_so= + found_a= + eval libname=\"$acl_libname_spec\" # typically: libname=lib$name + if test -n "$acl_shlibext"; then + shrext=".$acl_shlibext" # typically: shrext=.so + else + shrext= + fi + if test $use_additional = yes; then + dir="$additional_libdir" + if test -n "$acl_shlibext"; then + if test -f "$dir/$libname$shrext"; then + found_dir="$dir" + found_so="$dir/$libname$shrext" + else + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then + ver=`(cd "$dir" && \ + for f in "$libname$shrext".*; do echo "$f"; done \ + | sed -e "s,^$libname$shrext\\\\.,," \ + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ + | sed 1q ) 2>/dev/null` + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then + found_dir="$dir" + found_so="$dir/$libname$shrext.$ver" + fi + else + eval library_names=\"$acl_library_names_spec\" + for f in $library_names; do + if test -f "$dir/$f"; then + found_dir="$dir" + found_so="$dir/$f" + break + fi + done + fi + fi + fi + if test "X$found_dir" = "X"; then + if test -f "$dir/$libname.$acl_libext"; then + found_dir="$dir" + found_a="$dir/$libname.$acl_libext" + fi + fi + if test "X$found_dir" != "X"; then + if test -f "$dir/$libname.la"; then + found_la="$dir/$libname.la" + fi + fi + fi + if test "X$found_dir" = "X"; then + for x in $LDFLAGS $LTLIBSIGSEGV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + case "$x" in + -L*) + dir=`echo "X$x" | sed -e 's/^X-L//'` + if test -n "$acl_shlibext"; then + if test -f "$dir/$libname$shrext"; then + found_dir="$dir" + found_so="$dir/$libname$shrext" + else + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then + ver=`(cd "$dir" && \ + for f in "$libname$shrext".*; do echo "$f"; done \ + | sed -e "s,^$libname$shrext\\\\.,," \ + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ + | sed 1q ) 2>/dev/null` + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then + found_dir="$dir" + found_so="$dir/$libname$shrext.$ver" + fi + else + eval library_names=\"$acl_library_names_spec\" + for f in $library_names; do + if test -f "$dir/$f"; then + found_dir="$dir" + found_so="$dir/$f" + break + fi + done + fi + fi + fi + if test "X$found_dir" = "X"; then + if test -f "$dir/$libname.$acl_libext"; then + found_dir="$dir" + found_a="$dir/$libname.$acl_libext" + fi + fi + if test "X$found_dir" != "X"; then + if test -f "$dir/$libname.la"; then + found_la="$dir/$libname.la" + fi + fi + ;; + esac + if test "X$found_dir" != "X"; then + break + fi + done + fi + if test "X$found_dir" != "X"; then + LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so" + else + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $found_dir" + fi + if test "$acl_hardcode_direct" = yes; then + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so" + else + if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so" + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $found_dir" + fi + else + haveit= + for x in $LDFLAGS $LIBSIGSEGV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-L$found_dir" + fi + if test "$acl_hardcode_minus_L" != no; then + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so" + else + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_a" + else + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-L$found_dir -l$name" + fi + fi + additional_includedir= + case "$found_dir" in + */$acl_libdirstem | */$acl_libdirstem/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` + LIBSIGSEGV_PREFIX="$basedir" + additional_includedir="$basedir/include" + ;; + esac + if test "X$additional_includedir" != "X"; then + if test "X$additional_includedir" != "X/usr/include"; then + haveit= + if test "X$additional_includedir" = "X/usr/local/include"; then + if test -n "$GCC"; then + case $host_os in + linux* | gnu* | k*bsd*-gnu) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + for x in $CPPFLAGS $INCSIGSEGV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-I$additional_includedir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_includedir"; then + INCSIGSEGV="${INCSIGSEGV}${INCSIGSEGV:+ }-I$additional_includedir" + fi + fi + fi + fi + fi + if test -n "$found_la"; then + save_libdir="$libdir" + case "$found_la" in + */* | *\\*) . "$found_la" ;; + *) . "./$found_la" ;; + esac + libdir="$save_libdir" + for dep in $dependency_libs; do + case "$dep" in + -L*) + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` + if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then + haveit= + if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then + if test -n "$GCC"; then + case $host_os in + linux* | gnu* | k*bsd*-gnu) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + haveit= + for x in $LDFLAGS $LIBSIGSEGV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBSIGSEGV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + fi + fi + ;; + -l*) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` + ;; + *.la) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` + ;; + *) + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$dep" + LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }$dep" + ;; + esac + done + fi + else + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-l$name" + LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-l$name" + fi + fi + fi + done + done + if test "X$rpathdirs" != "X"; then + if test -n "$acl_hardcode_libdir_separator"; then + alldirs= + for found_dir in $rpathdirs; do + alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" + done + acl_save_libdir="$libdir" + libdir="$alldirs" + eval flag=\"$acl_hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$flag" + else + for found_dir in $rpathdirs; do + acl_save_libdir="$libdir" + libdir="$found_dir" + eval flag=\"$acl_hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-R$found_dir" + done + fi + + + ac_save_CPPFLAGS="$CPPFLAGS" + + for element in $INCSIGSEGV; do + haveit= + for x in $CPPFLAGS; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" + fi + done + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsigsegv" >&5 +$as_echo_n "checking for libsigsegv... " >&6; } +if test "${ac_cv_libsigsegv+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + + ac_save_LIBS="$LIBS" + LIBS="$LIBS $LIBSIGSEGV" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ +sigsegv_deinstall_handler(); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_libsigsegv=yes +else + ac_cv_libsigsegv=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$ac_save_LIBS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libsigsegv" >&5 +$as_echo "$ac_cv_libsigsegv" >&6; } + if test "$ac_cv_libsigsegv" = yes; then + HAVE_LIBSIGSEGV=yes + +$as_echo "#define HAVE_LIBSIGSEGV 1" >>confdefs.h + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libsigsegv" >&5 +$as_echo_n "checking how to link with libsigsegv... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBSIGSEGV" >&5 +$as_echo "$LIBSIGSEGV" >&6; } + else + HAVE_LIBSIGSEGV=no + CPPFLAGS="$ac_save_CPPFLAGS" + LIBSIGSEGV= + LTLIBSIGSEGV= + LIBSIGSEGV_PREFIX= + fi + + + + + + + + gl_cv_lib_sigsegv="$ac_cv_libsigsegv" + + ;; +esac + +# Need the check for mkstemp and tmpfile for missing_d/snprintf.c. +for ac_func in atexit btowc fmod getgrent getgroups grantpt \ + isascii iswctype iswlower iswupper mbrlen \ + memcmp memcpy memcpy_ulong memmove memset \ + memset_ulong mkstemp setlocale snprintf strchr \ + strerror strftime strncasecmp strtod strtoul \ + system tmpfile towlower towupper tzset usleep wcrtomb \ + wcscoll wcscoll wctype +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +eval as_val=\$$as_ac_var + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc and mbstate_t are properly declared" >&5 +$as_echo_n "checking whether mbrtowc and mbstate_t are properly declared... " >&6; } +if test "${ac_cv_func_mbrtowc+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ +wchar_t wc; + char const s[] = ""; + size_t n = 1; + mbstate_t state; + return ! (sizeof state && (mbrtowc) (&wc, s, n, &state)); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_func_mbrtowc=yes +else + ac_cv_func_mbrtowc=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mbrtowc" >&5 +$as_echo "$ac_cv_func_mbrtowc" >&6; } + if test $ac_cv_func_mbrtowc = yes; then + +$as_echo "#define HAVE_MBRTOWC 1" >>confdefs.h + + fi + + +ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" +if test "x$ac_cv_header_dlfcn_h" = x""yes; then : + +$as_echo "#define DYNAMIC 1" >>confdefs.h + + if test "$GCC" = yes + then + # Add others here as appropriate, + # one day use GNU libtool. + # 3/2010: Used to have cygwin here but removed since + # we get complaints that -export-dynamic doesn't work. + if uname | $EGREP -i 'linux|freebsd' > /dev/null + then + LDFLAGS="$LDFLAGS -export-dynamic" + fi + fi + + # Check this separately. Some systems have dlopen + # in libc. Notably freebsd and cygwin. + # HP-NSK has it in zrldsrl + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5 +$as_echo_n "checking for library containing dlopen... " >&6; } +if test "${ac_cv_search_dlopen+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_func_search_save_LIBS=$LIBS +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +for ac_lib in '' dl zrldsrl; do + if test -z "$ac_lib"; then + ac_res="none required" + else + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi + if ac_fn_c_try_link "$LINENO"; then : + ac_cv_search_dlopen=$ac_res +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext + if test "${ac_cv_search_dlopen+set}" = set; then : + break +fi +done +if test "${ac_cv_search_dlopen+set}" = set; then : + +else + ac_cv_search_dlopen=no +fi +rm conftest.$ac_ext +LIBS=$ac_func_search_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5 +$as_echo "$ac_cv_search_dlopen" >&6; } +ac_res=$ac_cv_search_dlopen +if test "$ac_res" != no; then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + +fi + + +fi + + + +case `(uname) 2> /dev/null` in +*VMS*|*BeOS*|*OS/2*|*MS-DOS*) + +$as_echo "#define GETPGRP_VOID 1" >>confdefs.h + + ;; +*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5 +$as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } +if test "${ac_cv_func_getpgrp_void+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + # Use it with a single arg. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +getpgrp (0); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_func_getpgrp_void=no +else + ac_cv_func_getpgrp_void=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getpgrp_void" >&5 +$as_echo "$ac_cv_func_getpgrp_void" >&6; } +if test $ac_cv_func_getpgrp_void = yes; then + +$as_echo "#define GETPGRP_VOID 1" >>confdefs.h + +fi + + ;; +esac + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for printf %F format" >&5 +$as_echo_n "checking for printf %F format... " >&6; } +if test "$cross_compiling" = yes; then : + has_f_format=no +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include + +int main() +{ + char buf[100]; + + sprintf(buf, "%F", 123.45); + + if (strcmp(buf, "123.450000") == 0) + return 0; + else + return 1; +} + +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + has_f_format=yes +else + has_f_format=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +if test "$has_f_format" = yes; then + +$as_echo "#define PRINTF_HAS_F_FORMAT 1" >>confdefs.h + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_f_format" >&5 +$as_echo "$has_f_format" >&6; } + + +gawk_have_sockets=no +# Check for system-dependent location of socket libraries + +SOCKET_LIBS= +if test "$ISC" = yes; then + SOCKET_LIBS="-lnsl_s -linet" +else + # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X + # libraries were built with DECnet support. And karl@cs.umb.edu says + # the Alpha needs dnet_stub (dnet does not exist). + # + # ADR: Is this needed just for sockets??? +# AC_CHECK_LIB(dnet, dnet_ntoa, [SOCKET_LIBS="$SOCKET_LIBS -ldnet"]) +# if test $ac_cv_lib_dnet_ntoa = no; then +# AC_CHECK_LIB(dnet_stub, dnet_ntoa, +# [SOCKET_LIBS="$SOCKET_LIBS -ldnet_stub"]) +# fi + + # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, + # to get the SysV transport functions. + # chad@anasazi.com says the Pyramid MIS-ES running DC/OSx (SVR4) + # needs -lnsl. + # The nsl library prevents programs from opening the X display + # on Irix 5.2, according to dickey@clark.net. + ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" +if test "x$ac_cv_func_gethostbyname" = x""yes; then : + +fi + + if test $ac_cv_func_gethostbyname = no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 +$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } +if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lnsl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char gethostbyname (); +int +main () +{ +return gethostbyname (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_nsl_gethostbyname=yes +else + ac_cv_lib_nsl_gethostbyname=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 +$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } +if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then : + SOCKET_LIBS="$SOCKET_LIBS -lnsl" +fi + + fi + + # lieder@skyler.mavd.honeywell.com says without -lsocket, + # socket/setsockopt and other routines are undefined under SCO ODT + # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary + # on later versions), says simon@lia.di.epfl.ch: it contains + # gethostby* variants that don't use the nameserver (or something). + # -lsocket must be given before -lnsl if both are needed. + # We assume that if connect needs -lnsl, so does gethostbyname. + ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect" +if test "x$ac_cv_func_connect" = x""yes; then : + +fi + + if test $ac_cv_func_connect = no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 +$as_echo_n "checking for connect in -lsocket... " >&6; } +if test "${ac_cv_lib_socket_connect+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsocket $SOCKET_LIBS $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char connect (); +int +main () +{ +return connect (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_socket_connect=yes +else + ac_cv_lib_socket_connect=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 +$as_echo "$ac_cv_lib_socket_connect" >&6; } +if test "x$ac_cv_lib_socket_connect" = x""yes; then : + SOCKET_LIBS="-lsocket $SOCKET_LIBS" + gawk_have_sockets=yes +fi + + else + gawk_have_sockets=yes + fi +fi + +if test "${gawk_have_sockets}" = "yes" +then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the socket library calls" >&5 +$as_echo_n "checking where to find the socket library calls... " >&6; } + case "${SOCKET_LIBS}" in + ?*) gawk_lib_loc="${SOCKET_LIBS}" ;; + *) gawk_lib_loc="the standard library" ;; + esac + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${gawk_lib_loc}" >&5 +$as_echo "${gawk_lib_loc}" >&6; } + + +$as_echo "#define HAVE_SOCKETS 1" >>confdefs.h + +fi + + +ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default" +if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +_ACEOF + + +$as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h + +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 +$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } +if test "${ac_cv_header_time+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include + +int +main () +{ +if ((struct tm *) 0) +return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_header_time=yes +else + ac_cv_header_time=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 +$as_echo "$ac_cv_header_time" >&6; } +if test $ac_cv_header_time = yes; then + +$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 +$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } +if test "${ac_cv_struct_tm+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include + +int +main () +{ +struct tm tm; + int *p = &tm.tm_sec; + return !p; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_struct_tm=time.h +else + ac_cv_struct_tm=sys/time.h +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 +$as_echo "$ac_cv_struct_tm" >&6; } +if test $ac_cv_struct_tm = sys/time.h; then + +$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h + +fi + +ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include +#include <$ac_cv_struct_tm> + +" +if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_TM_TM_ZONE 1 +_ACEOF + + +fi + +if test "$ac_cv_member_struct_tm_tm_zone" = yes; then + +$as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h + +else + ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include +" +if test "x$ac_cv_have_decl_tzname" = x""yes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_TZNAME $ac_have_decl +_ACEOF + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5 +$as_echo_n "checking for tzname... " >&6; } +if test "${ac_cv_var_tzname+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#if !HAVE_DECL_TZNAME +extern char *tzname[]; +#endif + +int +main () +{ +return tzname[0][0]; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_var_tzname=yes +else + ac_cv_var_tzname=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5 +$as_echo "$ac_cv_var_tzname" >&6; } + if test $ac_cv_var_tzname = yes; then + +$as_echo "#define HAVE_TZNAME 1" >>confdefs.h + + fi +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether char is unsigned" >&5 +$as_echo_n "checking whether char is unsigned... " >&6; } +if test "${ac_cv_c_char_unsigned+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +static int test_array [1 - 2 * !(((char) -1) < 0)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_char_unsigned=no +else + ac_cv_c_char_unsigned=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_char_unsigned" >&5 +$as_echo "$ac_cv_c_char_unsigned" >&6; } +if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then + $as_echo "#define __CHAR_UNSIGNED__ 1" >>confdefs.h + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 +$as_echo_n "checking for an ANSI C-conforming const... " >&6; } +if test "${ac_cv_c_const+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ +/* FIXME: Include the comments suggested by Paul. */ +#ifndef __cplusplus + /* Ultrix mips cc rejects this. */ + typedef int charset[2]; + const charset cs; + /* SunOS 4.1.1 cc rejects this. */ + char const *const *pcpcc; + char **ppc; + /* NEC SVR4.0.2 mips cc rejects this. */ + struct point {int x, y;}; + static struct point const zero = {0,0}; + /* AIX XL C 1.02.0.0 rejects this. + It does not let you subtract one const X* pointer from another in + an arm of an if-expression whose if-part is not a constant + expression */ + const char *g = "string"; + pcpcc = &g + (g ? g-g : 0); + /* HPUX 7.0 cc rejects these. */ + ++pcpcc; + ppc = (char**) pcpcc; + pcpcc = (char const *const *) ppc; + { /* SCO 3.2v4 cc rejects this. */ + char *t; + char const *s = 0 ? (char *) 0 : (char const *) 0; + + *t++ = 0; + if (s) return 0; + } + { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ + int x[] = {25, 17}; + const int *foo = &x[0]; + ++foo; + } + { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ + typedef const int *iptr; + iptr p = 0; + ++p; + } + { /* AIX XL C 1.02.0.0 rejects this saying + "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ + struct s { int j; const int *ap[3]; }; + struct s *b; b->j = 5; + } + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ + const int foo = 10; + if (!foo) return 0; + } + return !cs[0] && !zero.x; +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_const=yes +else + ac_cv_c_const=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 +$as_echo "$ac_cv_c_const" >&6; } +if test $ac_cv_c_const = no; then + +$as_echo "#define const /**/" >>confdefs.h + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5 +$as_echo_n "checking for C/C++ restrict keyword... " >&6; } +if test "${ac_cv_c_restrict+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_c_restrict=no + # The order here caters to the fact that C++ does not require restrict. + for ac_kw in __restrict __restrict__ _Restrict restrict; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +typedef int * int_ptr; + int foo (int_ptr $ac_kw ip) { + return ip[0]; + } +int +main () +{ +int s[1]; + int * $ac_kw t = s; + t[0] = 0; + return foo(t) + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_restrict=$ac_kw +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + test "$ac_cv_c_restrict" != no && break + done + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5 +$as_echo "$ac_cv_c_restrict" >&6; } + + case $ac_cv_c_restrict in + restrict) ;; + no) $as_echo "#define restrict /**/" >>confdefs.h + ;; + *) cat >>confdefs.h <<_ACEOF +#define restrict $ac_cv_c_restrict +_ACEOF + ;; + esac + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 +$as_echo_n "checking for inline... " >&6; } +if test "${ac_cv_c_inline+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_c_inline=no +for ac_kw in inline __inline__ __inline; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifndef __cplusplus +typedef int foo_t; +static $ac_kw foo_t static_foo () {return 0; } +$ac_kw foo_t foo () {return 0; } +#endif + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_inline=$ac_kw +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + test "$ac_cv_c_inline" != no && break +done + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 +$as_echo "$ac_cv_c_inline" >&6; } + +case $ac_cv_c_inline in + inline | yes) ;; + *) + case $ac_cv_c_inline in + no) ac_val=;; + *) ac_val=$ac_cv_c_inline;; + esac + cat >>confdefs.h <<_ACEOF +#ifndef __cplusplus +#define inline $ac_val +#endif +_ACEOF + ;; +esac + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for preprocessor stringizing operator" >&5 +$as_echo_n "checking for preprocessor stringizing operator... " >&6; } +if test "${ac_cv_c_stringize+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#define x(y) #y + +char *s = x(teststring); +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "#teststring" >/dev/null 2>&1; then : + ac_cv_c_stringize=no +else + ac_cv_c_stringize=yes +fi +rm -f conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stringize" >&5 +$as_echo "$ac_cv_c_stringize" >&6; } +if test $ac_cv_c_stringize = yes; then + +$as_echo "#define HAVE_STRINGIZE 1" >>confdefs.h + +fi + + +ac_config_headers="$ac_config_headers config.h:configh.in" + + + +ac_config_files="$ac_config_files Makefile awklib/Makefile doc/Makefile po/Makefile.in test/Makefile" + +cat >confcache <<\_ACEOF +# This file is a shell script that caches the results of configure +# tests run on this system so they can be shared between configure +# scripts and configure runs, see configure's option --config-cache. +# It is not useful on other systems. If it contains results you don't +# want to keep, you may remove or edit it. +# +# config.status only pays attention to the cache file if you give it +# the --recheck option to rerun configure. +# +# `ac_cv_env_foo' variables (set or unset) will be overridden when +# loading this file, other *unset* `ac_cv_foo' will be assigned the +# following values. + +_ACEOF + +# The following way of writing the cache mishandles newlines in values, +# but we know of no workaround that is simple, portable, and efficient. +# So, we kill variables containing newlines. +# Ultrix sh set writes to stderr and can't be redirected directly, +# and sets the high bit in the cache file unless we assign to the vars. +( + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + + (set) 2>&1 | + case $as_nl`(ac_space=' '; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + # `set' does not quote correctly, so add quotes: double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \. + sed -n \ + "s/'/'\\\\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" + ;; #( + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) | + sed ' + /^ac_cv_env_/b end + t clear + :clear + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ + t end + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ + :end' >>confcache +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else + if test -w "$cache_file"; then + test "x$cache_file" != "x/dev/null" && + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 +$as_echo "$as_me: updating cache $cache_file" >&6;} + cat confcache >$cache_file + else + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} + fi +fi +rm -f confcache + +test "x$prefix" = xNONE && prefix=$ac_default_prefix +# Let make expand exec_prefix. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' + +DEFS=-DHAVE_CONFIG_H + +ac_libobjs= +ac_ltlibobjs= +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue + # 1. Remove the extension, and $U if already installed. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' + ac_i=`$as_echo "$ac_i" | sed "$ac_script"` + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR + # will be set to the directory where LIBOBJS objects are built. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' +done +LIBOBJS=$ac_libobjs + +LTLIBOBJS=$ac_ltlibobjs + + + if test -n "$EXEEXT"; then + am__EXEEXT_TRUE= + am__EXEEXT_FALSE='#' +else + am__EXEEXT_TRUE='#' + am__EXEEXT_FALSE= +fi + +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then + as_fn_error "conditional \"AMDEP\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then + as_fn_error "conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then + as_fn_error "conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi + +: ${CONFIG_STATUS=./config.status} +ac_write_fail=0 +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files $CONFIG_STATUS" +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} +as_write_fail=0 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 +#! $SHELL +# Generated by $as_me. +# Run this file to recreate the current configuration. +# Compiler output produced by configure, useful for debugging +# configure, is in config.log if it exists. + +debug=false +ac_cs_recheck=false +ac_cs_silent=false + +SHELL=\${CONFIG_SHELL-$SHELL} +export SHELL +_ASEOF +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + + +# as_fn_error ERROR [LINENO LOG_FD] +# --------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with status $?, using 1 if that was 0. +as_fn_error () +{ + as_status=$?; test $as_status -eq 0 && as_status=1 + if test "$3"; then + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 + fi + $as_echo "$as_me: error: $1" >&2 + as_fn_exit $as_status +} # as_fn_error + + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -p' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -p' + fi +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" + + +} # as_fn_mkdir_p +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +if test -x / >/dev/null 2>&1; then + as_test_x='test -x' +else + if ls -dL / >/dev/null 2>&1; then + as_ls_L_option=L + else + as_ls_L_option= + fi + as_test_x=' + eval sh -c '\'' + if test -d "$1"; then + test -d "$1/."; + else + case $1 in #( + -*)set "./$1";; + esac; + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' +fi +as_executable_p=$as_test_x + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +exec 6>&1 +## ----------------------------------- ## +## Main body of $CONFIG_STATUS script. ## +## ----------------------------------- ## +_ASEOF +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# Save the log message, to keep $0 and so on meaningful, and to +# report actual input values of CONFIG_FILES etc. instead of their +# values after options handling. +ac_log=" +This file was extended by GNU Awk $as_me 3.1.8, which was +generated by GNU Autoconf 2.65. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS + $ $0 $@ + +on `(hostname || uname -n) 2>/dev/null | sed 1q` +" + +_ACEOF + +case $ac_config_files in *" +"*) set x $ac_config_files; shift; ac_config_files=$*;; +esac + +case $ac_config_headers in *" +"*) set x $ac_config_headers; shift; ac_config_headers=$*;; +esac + + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +# Files that config.status was made for. +config_files="$ac_config_files" +config_headers="$ac_config_headers" +config_commands="$ac_config_commands" + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +ac_cs_usage="\ +\`$as_me' instantiates files and other configuration actions +from templates according to the current configuration. Unless the files +and actions are specified as TAGs, all are instantiated by default. + +Usage: $0 [OPTION]... [TAG]... + + -h, --help print this help, then exit + -V, --version print version number and configuration settings, then exit + --config print configuration, then exit + -q, --quiet, --silent + do not print progress messages + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE + +Configuration files: +$config_files + +Configuration headers: +$config_headers + +Configuration commands: +$config_commands + +Report bugs to . +GNU Awk home page: . +General help using GNU software: ." + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" +ac_cs_version="\\ +GNU Awk config.status 3.1.8 +configured by $0, generated by GNU Autoconf 2.65, + with options \\"\$ac_cs_config\\" + +Copyright (C) 2009 Free Software Foundation, Inc. +This config.status script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." + +ac_pwd='$ac_pwd' +srcdir='$srcdir' +INSTALL='$INSTALL' +MKDIR_P='$MKDIR_P' +AWK='$AWK' +test -n "\$AWK" || AWK=awk +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# The default lists apply if the user does not specify any file. +ac_need_defaults=: +while test $# != 0 +do + case $1 in + --*=*) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` + ac_shift=: + ;; + *) + ac_option=$1 + ac_optarg=$2 + ac_shift=shift + ;; + esac + + case $ac_option in + # Handling of the options. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) + $as_echo "$ac_cs_version"; exit ;; + --config | --confi | --conf | --con | --co | --c ) + $as_echo "$ac_cs_config"; exit ;; + --debug | --debu | --deb | --de | --d | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append CONFIG_FILES " '$ac_optarg'" + ac_need_defaults=false;; + --header | --heade | --head | --hea ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append CONFIG_HEADERS " '$ac_optarg'" + ac_need_defaults=false;; + --he | --h) + # Conflict between --help and --header + as_fn_error "ambiguous option: \`$1' +Try \`$0 --help' for more information.";; + --help | --hel | -h ) + $as_echo "$ac_cs_usage"; exit ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; + + # This is an error. + -*) as_fn_error "unrecognized option: \`$1' +Try \`$0 --help' for more information." ;; + + *) as_fn_append ac_config_targets " $1" + ac_need_defaults=false ;; + + esac + shift +done + +ac_configure_extra_args= + +if $ac_cs_silent; then + exec 6>/dev/null + ac_configure_extra_args="$ac_configure_extra_args --silent" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +if \$ac_cs_recheck; then + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + shift + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 + CONFIG_SHELL='$SHELL' + export CONFIG_SHELL + exec "\$@" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX +## Running $as_me. ## +_ASBOX + $as_echo "$ac_log" +} >&5 + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +# +# INIT-COMMANDS +# +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" +# Capture the value of obsolete ALL_LINGUAS because we need it to compute + # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it + # from automake < 1.5. + eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' + # Capture the value of LINGUAS because we need it to compute CATALOGS. + LINGUAS="${LINGUAS-%UNSET%}" + + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + +# Handling of arguments. +for ac_config_target in $ac_config_targets +do + case $ac_config_target in + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; + "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:configh.in" ;; + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "awklib/Makefile") CONFIG_FILES="$CONFIG_FILES awklib/Makefile" ;; + "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; + "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; + "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; + + *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; + esac +done + + +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands +fi + +# Have a temporary directory for convenience. Make it in the build tree +# simply because there is no reason against having it here, and in addition, +# creating and moving files from /tmp can sometimes cause problems. +# Hook for its removal unless debugging. +# Note that there is a small window in which the directory will not be cleaned: +# after its creation but before its name has been assigned to `$tmp'. +$debug || +{ + tmp= + trap 'exit_status=$? + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status +' 0 + trap 'as_fn_exit 1' 1 2 13 15 +} +# Create a (secure) tmp directory for tmp files. + +{ + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && + test -n "$tmp" && test -d "$tmp" +} || +{ + tmp=./conf$$-$RANDOM + (umask 077 && mkdir "$tmp") +} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 + +# Set up the scripts for CONFIG_FILES section. +# No need to generate them if there are no CONFIG_FILES. +# This happens for instance with `./config.status config.h'. +if test -n "$CONFIG_FILES"; then + + +ac_cr=`echo X | tr X '\015'` +# On cygwin, bash can eat \r inside `` if the user requested igncr. +# But we know of no other shell where ac_cr would be empty at this +# point, so we can use a bashism as a fallback. +if test "x$ac_cr" = x; then + eval ac_cr=\$\'\\r\' +fi +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then + ac_cs_awk_cr='\r' +else + ac_cs_awk_cr=$ac_cr +fi + +echo 'BEGIN {' >"$tmp/subs1.awk" && +_ACEOF + + +{ + echo "cat >conf$$subs.awk <<_ACEOF" && + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && + echo "_ACEOF" +} >conf$$subs.sh || + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` +ac_delim='%!_!# ' +for ac_last_try in false false false false false :; do + . ./conf$$subs.sh || + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 + + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` + if test $ac_delim_n = $ac_delim_num; then + break + elif $ac_last_try; then + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done +rm -f conf$$subs.sh + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"\$tmp/subs1.awk" <<\\_ACAWK && +_ACEOF +sed -n ' +h +s/^/S["/; s/!.*/"]=/ +p +g +s/^[^!]*!// +:repl +t repl +s/'"$ac_delim"'$// +t delim +:nl +h +s/\(.\{148\}\)..*/\1/ +t more1 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ +p +n +b repl +:more1 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t nl +:delim +h +s/\(.\{148\}\)..*/\1/ +t more2 +s/["\\]/\\&/g; s/^/"/; s/$/"/ +p +b +:more2 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t delim +' >$CONFIG_STATUS || ac_write_fail=1 +rm -f conf$$subs.awk +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +_ACAWK +cat >>"\$tmp/subs1.awk" <<_ACAWK && + for (key in S) S_is_set[key] = 1 + FS = "" + +} +{ + line = $ 0 + nfields = split(line, field, "@") + substed = 0 + len = length(field[1]) + for (i = 2; i < nfields; i++) { + key = field[i] + keylen = length(key) + if (S_is_set[key]) { + value = S[key] + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) + len += length(value) + length(field[++i]) + substed = 1 + } else + len += 1 + keylen + } + + print line +} + +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" +else + cat +fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ + || as_fn_error "could not setup config files machinery" "$LINENO" 5 +_ACEOF + +# VPATH may cause trouble with some makes, so we remove $(srcdir), +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and +# trailing colons and then remove the whole line if VPATH becomes empty +# (actually we leave an empty line to preserve line numbers). +if test "x$srcdir" = x.; then + ac_vpsub='/^[ ]*VPATH[ ]*=/{ +s/:*\$(srcdir):*/:/ +s/:*\${srcdir}:*/:/ +s/:*@srcdir@:*/:/ +s/^\([^=]*=[ ]*\):*/\1/ +s/:*$// +s/^[^=]*=[ ]*$// +}' +fi + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +fi # test -n "$CONFIG_FILES" + +# Set up the scripts for CONFIG_HEADERS section. +# No need to generate them if there are no CONFIG_HEADERS. +# This happens for instance with `./config.status Makefile'. +if test -n "$CONFIG_HEADERS"; then +cat >"$tmp/defines.awk" <<\_ACAWK || +BEGIN { +_ACEOF + +# Transform confdefs.h into an awk script `defines.awk', embedded as +# here-document in config.status, that substitutes the proper values into +# config.h.in to produce config.h. + +# Create a delimiter string that does not exist in confdefs.h, to ease +# handling of long lines. +ac_delim='%!_!# ' +for ac_last_try in false false :; do + ac_t=`sed -n "/$ac_delim/p" confdefs.h` + if test -z "$ac_t"; then + break + elif $ac_last_try; then + as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done + +# For the awk script, D is an array of macro values keyed by name, +# likewise P contains macro parameters if any. Preserve backslash +# newline sequences. + +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* +sed -n ' +s/.\{148\}/&'"$ac_delim"'/g +t rset +:rset +s/^[ ]*#[ ]*define[ ][ ]*/ / +t def +d +:def +s/\\$// +t bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3"/p +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p +d +:bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3\\\\\\n"\\/p +t cont +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p +t cont +d +:cont +n +s/.\{148\}/&'"$ac_delim"'/g +t clear +:clear +s/\\$// +t bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/"/p +d +:bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p +b cont +' >$CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + for (key in D) D_is_set[key] = 1 + FS = "" +} +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { + line = \$ 0 + split(line, arg, " ") + if (arg[1] == "#") { + defundef = arg[2] + mac1 = arg[3] + } else { + defundef = substr(arg[1], 2) + mac1 = arg[2] + } + split(mac1, mac2, "(") #) + macro = mac2[1] + prefix = substr(line, 1, index(line, defundef) - 1) + if (D_is_set[macro]) { + # Preserve the white space surrounding the "#". + print prefix "define", macro P[macro] D[macro] + next + } else { + # Replace #undef with comments. This is necessary, for example, + # in the case of _POSIX_SOURCE, which is predefined and required + # on some systems where configure will not decide to define it. + if (defundef == "undef") { + print "/*", prefix defundef, macro, "*/" + next + } + } +} +{ print } +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + as_fn_error "could not setup config headers machinery" "$LINENO" 5 +fi # test -n "$CONFIG_HEADERS" + + +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" +shift +for ac_tag +do + case $ac_tag in + :[FHLC]) ac_mode=$ac_tag; continue;; + esac + case $ac_mode$ac_tag in + :[FHL]*:*);; + :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; + :[FH]-) ac_tag=-:-;; + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; + esac + ac_save_IFS=$IFS + IFS=: + set x $ac_tag + IFS=$ac_save_IFS + shift + ac_file=$1 + shift + + case $ac_mode in + :L) ac_source=$1;; + :[FH]) + ac_file_inputs= + for ac_f + do + case $ac_f in + -) ac_f="$tmp/stdin";; + *) # Look for the file first in the build tree, then in the source tree + # (if the path is not absolute). The absolute path cannot be DOS-style, + # because $ac_f cannot contain `:'. + test -f "$ac_f" || + case $ac_f in + [\\/$]*) false;; + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; + esac || + as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; + esac + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + as_fn_append ac_file_inputs " '$ac_f'" + done + + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + configure_input='Generated from '` + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + `' by configure.' + if test x"$ac_file" != x-; then + configure_input="$ac_file. $configure_input" + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +$as_echo "$as_me: creating $ac_file" >&6;} + fi + # Neutralize special characters interpreted by sed in replacement strings. + case $configure_input in #( + *\&* | *\|* | *\\* ) + ac_sed_conf_input=`$as_echo "$configure_input" | + sed 's/[\\\\&|]/\\\\&/g'`;; #( + *) ac_sed_conf_input=$configure_input;; + esac + + case $ac_tag in + *:-:* | *:-) cat >"$tmp/stdin" \ + || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; + esac + ;; + esac + + ac_dir=`$as_dirname -- "$ac_file" || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir="$ac_dir"; as_fn_mkdir_p + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + + case $ac_mode in + :F) + # + # CONFIG_FILE + # + + case $INSTALL in + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; + esac + ac_MKDIR_P=$MKDIR_P + case $MKDIR_P in + [\\/$]* | ?:[\\/]* ) ;; + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; + esac +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# If the template does not know about datarootdir, expand it. +# FIXME: This hack should be removed a few years after 2.60. +ac_datarootdir_hack=; ac_datarootdir_seen= +ac_sed_dataroot=' +/datarootdir/ { + p + q +} +/@datadir@/p +/@docdir@/p +/@infodir@/p +/@localedir@/p +/@mandir@/p' +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in +*datarootdir*) ac_datarootdir_seen=yes;; +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + ac_datarootdir_hack=' + s&@datadir@&$datadir&g + s&@docdir@&$docdir&g + s&@infodir@&$infodir&g + s&@localedir@&$localedir&g + s&@mandir@&$mandir&g + s&\\\${datarootdir}&$datarootdir&g' ;; +esac +_ACEOF + +# Neutralize VPATH when `$srcdir' = `.'. +# Shell code in configure.ac might set extrasub. +# FIXME: do we really want to maintain this feature? +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_sed_extra="$ac_vpsub +$extrasub +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s|@configure_input@|$ac_sed_conf_input|;t t +s&@top_builddir@&$ac_top_builddir_sub&;t t +s&@top_build_prefix@&$ac_top_build_prefix&;t t +s&@srcdir@&$ac_srcdir&;t t +s&@abs_srcdir@&$ac_abs_srcdir&;t t +s&@top_srcdir@&$ac_top_srcdir&;t t +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t +s&@builddir@&$ac_builddir&;t t +s&@abs_builddir@&$ac_abs_builddir&;t t +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t +s&@INSTALL@&$ac_INSTALL&;t t +s&@MKDIR_P@&$ac_MKDIR_P&;t t +$ac_datarootdir_hack +" +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ + || as_fn_error "could not create $ac_file" "$LINENO" 5 + +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined." >&5 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined." >&2;} + + rm -f "$tmp/stdin" + case $ac_file in + -) cat "$tmp/out" && rm -f "$tmp/out";; + *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; + esac \ + || as_fn_error "could not create $ac_file" "$LINENO" 5 + ;; + :H) + # + # CONFIG_HEADER + # + if test x"$ac_file" != x-; then + { + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" + } >"$tmp/config.h" \ + || as_fn_error "could not create $ac_file" "$LINENO" 5 + if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 +$as_echo "$as_me: $ac_file is unchanged" >&6;} + else + rm -f "$ac_file" + mv "$tmp/config.h" "$ac_file" \ + || as_fn_error "could not create $ac_file" "$LINENO" 5 + fi + else + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ + || as_fn_error "could not create -" "$LINENO" 5 + fi +# Compute "$ac_file"'s index in $config_headers. +_am_arg="$ac_file" +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $_am_arg | $_am_arg:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$_am_arg" : 'X\(//\)[^/]' \| \ + X"$_am_arg" : 'X\(//\)$' \| \ + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$_am_arg" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'`/stamp-h$_am_stamp_count + ;; + + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 +$as_echo "$as_me: executing $ac_file commands" >&6;} + ;; + esac + + + case $ac_file$ac_mode in + "depfiles":C) test x"$AMDEP_TRUE" != x"" || { + # Autoconf 2.62 quotes --file arguments for eval, but not when files + # are listed without --file. Let's play safe and only enable the eval + # if we detect the quoting. + case $CONFIG_FILES in + *\'*) eval set x "$CONFIG_FILES" ;; + *) set x $CONFIG_FILES ;; + esac + shift + for mf + do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named `Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then + dirpart=`$as_dirname -- "$mf" || +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$mf" : 'X\(//\)[^/]' \| \ + X"$mf" : 'X\(//\)$' \| \ + X"$mf" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$mf" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + else + continue + fi + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running `make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n 's/^U = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`$as_dirname -- "$file" || +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$file" : 'X\(//\)[^/]' \| \ + X"$file" : 'X\(//\)$' \| \ + X"$file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir=$dirpart/$fdir; as_fn_mkdir_p + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done + done +} + ;; + "po-directories":C) + 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 + # Treat a directory as a PO directory if and only if it has a + # POTFILES.in file. This allows packages to have multiple PO + # directories under different names or in different locations. + 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" + cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" + POMAKEFILEDEPS="POTFILES.in" + # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend + # on $ac_dir but don't depend on user-specified configuration + # parameters. + if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then + # The LINGUAS file contains the set of available languages. + if test -n "$OBSOLETE_ALL_LINGUAS"; then + test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" + fi + ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` + # Hide the ALL_LINGUAS assigment from automake < 1.5. + eval 'ALL_LINGUAS''=$ALL_LINGUAS_' + POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" + else + # The set of available languages was given in configure.in. + # Hide the ALL_LINGUAS assigment from automake < 1.5. + eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' + fi + # Compute POFILES + # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) + # Compute UPDATEPOFILES + # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) + # Compute DUMMYPOFILES + # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) + # Compute GMOFILES + # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) + case "$ac_given_srcdir" in + .) srcdirpre= ;; + *) srcdirpre='$(srcdir)/' ;; + esac + POFILES= + UPDATEPOFILES= + DUMMYPOFILES= + GMOFILES= + for lang in $ALL_LINGUAS; do + POFILES="$POFILES $srcdirpre$lang.po" + UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" + DUMMYPOFILES="$DUMMYPOFILES $lang.nop" + GMOFILES="$GMOFILES $srcdirpre$lang.gmo" + done + # CATALOGS depends on both $ac_dir and the user's LINGUAS + # environment variable. + INST_LINGUAS= + if test -n "$ALL_LINGUAS"; then + for presentlang in $ALL_LINGUAS; do + useit=no + if test "%UNSET%" != "$LINGUAS"; then + desiredlanguages="$LINGUAS" + else + desiredlanguages="$ALL_LINGUAS" + fi + for desiredlang in $desiredlanguages; 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 + INST_LINGUAS="$INST_LINGUAS $presentlang" + fi + done + fi + CATALOGS= + if test -n "$INST_LINGUAS"; then + for lang in $INST_LINGUAS; do + CATALOGS="$CATALOGS $lang.gmo" + done + fi + test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" + sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" + for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do + if test -f "$f"; then + case "$f" in + *.orig | *.bak | *~) ;; + *) cat "$f" >> "$ac_dir/Makefile" ;; + esac + fi + done + fi + ;; + esac + done ;; + + esac +done # for ac_tag + + +as_fn_exit 0 +_ACEOF +ac_clean_files=$ac_clean_files_save + +test $ac_write_fail = 0 || + as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 + + +# configure is writing to config.log, and then calls config.status. +# config.status does its own redirection, appending to config.log. +# Unfortunately, on DOS this fails, as config.log is still kept open +# by configure, so config.status won't be able to write to it; its +# output is simply discarded. So we exec the FD to /dev/null, +# effectively closing config.log, so it can be properly (re)opened and +# appended to by config.status. When coming back to configure, we +# need to make the FD available again. +if test "$no_create" != yes; then + ac_cs_success=: + ac_config_status_args= + test "$silent" = yes && + ac_config_status_args="$ac_config_status_args --quiet" + exec 5>/dev/null + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false + exec 5>>config.log + # Use ||, not &&, to avoid exiting from the if with $? = 1, which + # would make configure fail if this is the last instruction. + $ac_cs_success || as_fn_exit $? +fi +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} +fi + diff -urN gawk-3.1.7/configure.ac gawk-3.1.8/configure.ac --- gawk-3.1.7/configure.ac 2009-07-21 22:29:47.000000000 +0300 +++ gawk-3.1.8/configure.ac 2010-05-06 20:55:35.000000000 +0300 @@ -1,7 +1,7 @@ dnl dnl configure.ac --- autoconf input file for gawk dnl -dnl Copyright (C) 1995-2009 the Free Software Foundation, Inc. +dnl Copyright (C) 1995-2010 the Free Software Foundation, Inc. dnl dnl This file is part of GAWK, the GNU implementation of the dnl AWK Programming Language. @@ -23,7 +23,7 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT([GNU Awk], 3.1.7, bug-gawk@gnu.org, gawk) +AC_INIT([GNU Awk], 3.1.8, bug-gawk@gnu.org, gawk) # This is a hack. Different versions of install on different systems # are just too different. Chuck it and use install-sh. @@ -64,13 +64,6 @@ AC_DEFINE(NO_LINT, 1, [disable lint checks]) fi ) -AC_ARG_ENABLE([libsigsegv], [ --disable-libsigsegv Disable building and using of libsigsegv], - if test "$enableval" = no - then - AC_DEFINE(NO_LIBSIGSEGV, 1, [disable use of libsigsegv]) - disable_libsigsegv=yes - fi -) AC_ARG_ENABLE(switch, [ --enable-switch Enable switch statements for awk programs], if test "$enableval" = yes then @@ -84,21 +77,6 @@ fi ) -case $disable_libsigsegv in -yes) : do nothing - ;; -*) - dnl configure libsigsegv - AC_CONFIG_SUBDIRS([libsigsegv]) - LIBSIGSEGV="libsigsegv/src/.libs/libsigsegv.a $LIBS" - SEGVINCLUDE='-I$(builddir)/libsigsegv/src' - SEGVSUBDIR=libsigsegv - AC_SUBST(LIBSIGSEGV) - AC_SUBST(SEGVINCLUDE) - AC_SUBST(SEGVSUBDIR) - ;; -esac - AC_USE_SYSTEM_EXTENSIONS dnl checks for programs @@ -107,7 +85,6 @@ AC_PROG_LN_S AC_PROG_CC AC_PROG_CPP -AC_PROG_LIBTOOL AC_OBJEXT AC_EXEEXT @@ -178,7 +155,7 @@ AC_HEADER_SYS_WAIT AC_HEADER_TIME AC_CHECK_HEADERS(arpa/inet.h fcntl.h limits.h locale.h libintl.h mcheck.h \ - netdb.h netinet/in.h signum.h stdarg.h stddef.h string.h \ + netdb.h netinet/in.h stdarg.h stddef.h string.h \ sys/param.h sys/socket.h sys/time.h unistd.h \ termios.h stropts.h wchar.h wctype.h) @@ -296,6 +273,13 @@ AC_CHECK_LIB(m, fmod) AC_CHECK_LIB(m, isinf) AC_CHECK_LIB(m, ismod) +dnl Don't look for libsigsegv on OSF/1, gives us severe headaches +case `uname` in +OSF1) : ;; +*) + gl_LIBSIGSEGV + ;; +esac # Need the check for mkstemp and tmpfile for missing_d/snprintf.c. AC_CHECK_FUNCS(atexit btowc fmod getgrent getgroups grantpt \ @@ -303,7 +287,7 @@ memcmp memcpy memcpy_ulong memmove memset \ memset_ulong mkstemp setlocale snprintf strchr \ strerror strftime strncasecmp strtod strtoul \ - system tmpfile towlower towupper tzset wcrtomb \ + system tmpfile towlower towupper tzset usleep wcrtomb \ wcscoll wcscoll wctype) dnl this check is for both mbrtowc and the mbstate_t type, which is good AC_FUNC_MBRTOWC @@ -316,7 +300,9 @@ then # Add others here as appropriate, # one day use GNU libtool. - if uname | $EGREP -i 'linux|freebsd|cygwin' > /dev/null + # 3/2010: Used to have cygwin here but removed since + # we get complaints that -export-dynamic doesn't work. + if uname | $EGREP -i 'linux|freebsd' > /dev/null then LDFLAGS="$LDFLAGS -export-dynamic" fi diff -urN gawk-3.1.7/custom.h gawk-3.1.8/custom.h --- gawk-3.1.7/custom.h 2009-07-09 22:30:21.000000000 +0300 +++ gawk-3.1.8/custom.h 2010-03-29 06:00:03.000000000 +0300 @@ -107,7 +107,3 @@ #ifdef ZOS_USS #undef HAVE_DLFCN_H #endif - -#if !defined(NO_LIBSIGSEGV) && !defined(DJGPP) && !defined(VMS) -#define HAVE_SIGSEGV_H 1 -#endif diff -urN gawk-3.1.7/dfa.c gawk-3.1.8/dfa.c --- gawk-3.1.7/dfa.c 1970-01-01 02:00:00.000000000 +0200 +++ gawk-3.1.8/dfa.c 2010-05-05 20:47:42.000000000 +0300 @@ -0,0 +1,3991 @@ +/* dfa.c - deterministic extended regexp routines for GNU + Copyright (C) 1988, 1998, 2000, 2002, 2004, 2005, 2007-2010 Free Software + Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., + 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA */ + +/* Written June, 1988 by Mike Haertel + Modified July, 1988 by Arthur David Olson to assist BMG speedups */ + +#include +#include +#include +#include + +#ifndef VMS +#include +#else +#include +#endif +#include +#include +#include +#if HAVE_SETLOCALE +#include +#endif + +#define STREQ(a, b) (strcmp (a, b) == 0) + +/* ISASCIIDIGIT differs from isdigit, as follows: + - Its arg may be any int or unsigned int; it need not be an unsigned char. + - It's guaranteed to evaluate its argument exactly once. + - It's typically faster. + Posix 1003.2-1992 section 2.5.2.1 page 50 lines 1556-1558 says that + only '0' through '9' are digits. Prefer ISASCIIDIGIT to isdigit unless + it's important to use the locale's definition of `digit' even when the + host does not conform to Posix. */ +#define ISASCIIDIGIT(c) ((unsigned) (c) - '0' <= 9) + +/* gettext.h ensures that we don't use gettext if ENABLE_NLS is not defined */ +#include "gettext.h" +#define _(str) gettext (str) + +#include "mbsupport.h" /* defines MBS_SUPPORT if appropriate */ +#ifdef MBS_SUPPORT +/* We can handle multibyte strings. */ +#include +#include +# include +#endif + +#include "regex.h" +#include "dfa.h" +#include "xalloc.h" +#include "hard-locale.h" + +#ifdef GAWK +static int +is_blank (int c) +{ + return (c == ' ' || c == '\t'); +} +#endif + +/* HPUX, define those as macros in sys/param.h */ +#ifdef setbit +# undef setbit +#endif +#ifdef clrbit +# undef clrbit +#endif + +/* Number of bits in an unsigned char. */ +#ifndef CHARBITS +# define CHARBITS 8 +#endif + +/* First integer value that is greater than any character code. */ +#define NOTCHAR (1 << CHARBITS) + +/* INTBITS need not be exact, just a lower bound. */ +#ifndef INTBITS +# define INTBITS (CHARBITS * sizeof (int)) +#endif + +/* Number of ints required to hold a bit for every character. */ +#define CHARCLASS_INTS ((NOTCHAR + INTBITS - 1) / INTBITS) + +/* Sets of unsigned characters are stored as bit vectors in arrays of ints. */ +typedef int charclass[CHARCLASS_INTS]; + +/* Sometimes characters can only be matched depending on the surrounding + context. Such context decisions depend on what the previous character + was, and the value of the current (lookahead) character. Context + dependent constraints are encoded as 8 bit integers. Each bit that + is set indicates that the constraint succeeds in the corresponding + context. + + bit 7 - previous and current are newlines + bit 6 - previous was newline, current isn't + bit 5 - previous wasn't newline, current is + bit 4 - neither previous nor current is a newline + bit 3 - previous and current are word-constituents + bit 2 - previous was word-constituent, current isn't + bit 1 - previous wasn't word-constituent, current is + bit 0 - neither previous nor current is word-constituent + + Word-constituent characters are those that satisfy isalnum(). + + The macro SUCCEEDS_IN_CONTEXT determines whether a a given constraint + succeeds in a particular context. Prevn is true if the previous character + was a newline, currn is true if the lookahead character is a newline. + Prevl and currl similarly depend upon whether the previous and current + characters are word-constituent letters. */ +#define MATCHES_NEWLINE_CONTEXT(constraint, prevn, currn) \ + ((constraint) & 1 << (((prevn) ? 2 : 0) + ((currn) ? 1 : 0) + 4)) +#define MATCHES_LETTER_CONTEXT(constraint, prevl, currl) \ + ((constraint) & 1 << (((prevl) ? 2 : 0) + ((currl) ? 1 : 0))) +#define SUCCEEDS_IN_CONTEXT(constraint, prevn, currn, prevl, currl) \ + (MATCHES_NEWLINE_CONTEXT(constraint, prevn, currn) \ + && MATCHES_LETTER_CONTEXT(constraint, prevl, currl)) + +/* The following macros give information about what a constraint depends on. */ +#define PREV_NEWLINE_DEPENDENT(constraint) \ + (((constraint) & 0xc0) >> 2 != ((constraint) & 0x30)) +#define PREV_LETTER_DEPENDENT(constraint) \ + (((constraint) & 0x0c) >> 2 != ((constraint) & 0x03)) + +/* Tokens that match the empty string subject to some constraint actually + work by applying that constraint to determine what may follow them, + taking into account what has gone before. The following values are + the constraints corresponding to the special tokens previously defined. */ +#define NO_CONSTRAINT 0xff +#define BEGLINE_CONSTRAINT 0xcf +#define ENDLINE_CONSTRAINT 0xaf +#define BEGWORD_CONSTRAINT 0xf2 +#define ENDWORD_CONSTRAINT 0xf4 +#define LIMWORD_CONSTRAINT 0xf6 +#define NOTLIMWORD_CONSTRAINT 0xf9 + +/* The regexp is parsed into an array of tokens in postfix form. Some tokens + are operators and others are terminal symbols. Most (but not all) of these + codes are returned by the lexical analyzer. */ +typedef enum +{ + END = -1, /* END is a terminal symbol that matches the + end of input; any value of END or less in + the parse tree is such a symbol. Accepting + states of the DFA are those that would have + a transition on END. */ + + /* Ordinary character values are terminal symbols that match themselves. */ + + EMPTY = NOTCHAR, /* EMPTY is a terminal symbol that matches + the empty string. */ + + BACKREF, /* BACKREF is generated by \; it + it not completely handled. If the scanner + detects a transition on backref, it returns + a kind of "semi-success" indicating that + the match will have to be verified with + a backtracking matcher. */ + + BEGLINE, /* BEGLINE is a terminal symbol that matches + the empty string if it is at the beginning + of a line. */ + + ENDLINE, /* ENDLINE is a terminal symbol that matches + the empty string if it is at the end of + a line. */ + + BEGWORD, /* BEGWORD is a terminal symbol that matches + the empty string if it is at the beginning + of a word. */ + + ENDWORD, /* ENDWORD is a terminal symbol that matches + the empty string if it is at the end of + a word. */ + + LIMWORD, /* LIMWORD is a terminal symbol that matches + the empty string if it is at the beginning + or the end of a word. */ + + NOTLIMWORD, /* NOTLIMWORD is a terminal symbol that + matches the empty string if it is not at + the beginning or end of a word. */ + + QMARK, /* QMARK is an operator of one argument that + matches zero or one occurences of its + argument. */ + + STAR, /* STAR is an operator of one argument that + matches the Kleene closure (zero or more + occurrences) of its argument. */ + + PLUS, /* PLUS is an operator of one argument that + matches the positive closure (one or more + occurrences) of its argument. */ + + REPMN, /* REPMN is a lexical token corresponding + to the {m,n} construct. REPMN never + appears in the compiled token vector. */ + + CAT, /* CAT is an operator of two arguments that + matches the concatenation of its + arguments. CAT is never returned by the + lexical analyzer. */ + + OR, /* OR is an operator of two arguments that + matches either of its arguments. */ + + LPAREN, /* LPAREN never appears in the parse tree, + it is only a lexeme. */ + + RPAREN, /* RPAREN never appears in the parse tree. */ + + ANYCHAR, /* ANYCHAR is a terminal symbol that matches + any multibyte (or single byte) characters. + It is used only if MB_CUR_MAX > 1. */ + + MBCSET, /* MBCSET is similar to CSET, but for + multibyte characters. */ + + WCHAR, /* Only returned by lex. wctok contains + the wide character representation. */ + + CSET /* CSET and (and any value greater) is a + terminal symbol that matches any of a + class of characters. */ +} token; + + +/* States of the recognizer correspond to sets of positions in the parse + tree, together with the constraints under which they may be matched. + So a position is encoded as an index into the parse tree together with + a constraint. */ +typedef struct +{ + unsigned int index; /* Index into the parse array. */ + unsigned int constraint; /* Constraint for matching this position. */ +} position; + +/* Sets of positions are stored as arrays. */ +typedef struct +{ + position *elems; /* Elements of this position set. */ + int nelem; /* Number of elements in this set. */ +} position_set; + +/* A state of the dfa consists of a set of positions, some flags, + and the token value of the lowest-numbered position of the state that + contains an END token. */ +typedef struct +{ + int hash; /* Hash of the positions of this state. */ + position_set elems; /* Positions this state could match. */ + char newline; /* True if previous state matched newline. */ + char letter; /* True if previous state matched a letter. */ + char backref; /* True if this state matches a \. */ + unsigned char constraint; /* Constraint for this state to accept. */ + int first_end; /* Token value of the first END in elems. */ +#if MBS_SUPPORT + position_set mbps; /* Positions which can match multibyte + characters. e.g. period. + These staff are used only if + MB_CUR_MAX > 1. */ +#endif +} dfa_state; + +#if MBS_SUPPORT +/* A bracket operator. + e.g. [a-c], [[:alpha:]], etc. */ +struct mb_char_classes +{ + int cset; + int invert; + wchar_t *chars; /* Normal characters. */ + int nchars; + wctype_t *ch_classes; /* Character classes. */ + int nch_classes; + wchar_t *range_sts; /* Range characters (start of the range). */ + wchar_t *range_ends; /* Range characters (end of the range). */ + int nranges; + char **equivs; /* Equivalent classes. */ + int nequivs; + char **coll_elems; + int ncoll_elems; /* Collating elements. */ +}; +#endif + +/* A compiled regular expression. */ +struct dfa +{ + /* Fields filled by the scanner. */ + charclass *charclasses; /* Array of character sets for CSET tokens. */ + int cindex; /* Index for adding new charclasses. */ + int calloc; /* Number of charclasses currently allocated. */ + + /* Fields filled by the parser. */ + token *tokens; /* Postfix parse array. */ + int tindex; /* Index for adding new tokens. */ + int talloc; /* Number of tokens currently allocated. */ + int depth; /* Depth required of an evaluation stack + used for depth-first traversal of the + parse tree. */ + int nleaves; /* Number of leaves on the parse tree. */ + int nregexps; /* Count of parallel regexps being built + with dfaparse(). */ + unsigned int mb_cur_max; /* Cached value of MB_CUR_MAX. */ + int utf8_anychar_classes[5]; /* To lower ANYCHAR in UTF-8 locales. */ + + /* The following are used only if MB_CUR_MAX > 1. */ + + /* The value of multibyte_prop[i] is defined by following rule. + if tokens[i] < NOTCHAR + bit 0 : tokens[i] is the first byte of a character, including + single-byte characters. + bit 1 : tokens[i] is the last byte of a character, including + single-byte characters. + + if tokens[i] = MBCSET + ("the index of mbcsets correspnd to this operator" << 2) + 3 + + e.g. + tokens + = 'single_byte_a', 'multi_byte_A', single_byte_b' + = 'sb_a', 'mb_A(1st byte)', 'mb_A(2nd byte)', 'mb_A(3rd byte)', 'sb_b' + multibyte_prop + = 3 , 1 , 0 , 2 , 3 + */ + int nmultibyte_prop; + int *multibyte_prop; + + /* Array of the bracket expression in the DFA. */ + struct mb_char_classes *mbcsets; + int nmbcsets; + int mbcsets_alloc; + + /* Fields filled by the state builder. */ + dfa_state *states; /* States of the dfa. */ + int sindex; /* Index for adding new states. */ + int salloc; /* Number of states currently allocated. */ + + /* Fields filled by the parse tree->NFA conversion. */ + position_set *follows; /* Array of follow sets, indexed by position + index. The follow of a position is the set + of positions containing characters that + could conceivably follow a character + matching the given position in a string + matching the regexp. Allocated to the + maximum possible position index. */ + int searchflag; /* True if we are supposed to build a searching + as opposed to an exact matcher. A searching + matcher finds the first and shortest string + matching a regexp anywhere in the buffer, + whereas an exact matcher finds the longest + string matching, but anchored to the + beginning of the buffer. */ + + /* Fields filled by dfaexec. */ + int tralloc; /* Number of transition tables that have + slots so far. */ + int trcount; /* Number of transition tables that have + actually been built. */ + int **trans; /* Transition tables for states that can + never accept. If the transitions for a + state have not yet been computed, or the + state could possibly accept, its entry in + this table is NULL. */ + int **realtrans; /* Trans always points to realtrans + 1; this + is so trans[-1] can contain NULL. */ + int **fails; /* Transition tables after failing to accept + on a state that potentially could do so. */ + int *success; /* Table of acceptance conditions used in + dfaexec and computed in build_state. */ + int *newlines; /* Transitions on newlines. The entry for a + newline in any transition table is always + -1 so we can count lines without wasting + too many cycles. The transition for a + newline is stored separately and handled + as a special case. Newline is also used + as a sentinel at the end of the buffer. */ + struct dfamust *musts; /* List of strings, at least one of which + is known to appear in any r.e. matching + the dfa. */ +}; + +/* Some macros for user access to dfa internals. */ + +/* ACCEPTING returns true if s could possibly be an accepting state of r. */ +#define ACCEPTING(s, r) ((r).states[s].constraint) + +/* ACCEPTS_IN_CONTEXT returns true if the given state accepts in the + specified context. */ +#define ACCEPTS_IN_CONTEXT(prevn, currn, prevl, currl, state, dfa) \ + SUCCEEDS_IN_CONTEXT((dfa).states[state].constraint, \ + prevn, currn, prevl, currl) + +static void dfamust (struct dfa *dfa); +static void regexp (void); + +#define CALLOC(p, t, n) ((p) = xcalloc((size_t)(n), sizeof (t))) +#define MALLOC(p, t, n) ((p) = xmalloc((n) * sizeof (t))) +#define REALLOC(p, t, n) ((p) = xrealloc((p), (n) * sizeof (t))) + +/* Reallocate an array of type t if nalloc is too small for index. */ +#define REALLOC_IF_NECESSARY(p, t, nalloc, index) \ + if ((index) >= (nalloc)) \ + { \ + do \ + (nalloc) *= 2; \ + while ((index) >= (nalloc)); \ + REALLOC(p, t, nalloc); \ + } + + +#ifdef DEBUG + +static void +prtok (token t) +{ + char const *s; + + if (t < 0) + fprintf(stderr, "END"); + else if (t < NOTCHAR) + fprintf(stderr, "%c", t); + else + { + switch (t) + { + case EMPTY: s = "EMPTY"; break; + case BACKREF: s = "BACKREF"; break; + case BEGLINE: s = "BEGLINE"; break; + case ENDLINE: s = "ENDLINE"; break; + case BEGWORD: s = "BEGWORD"; break; + case ENDWORD: s = "ENDWORD"; break; + case LIMWORD: s = "LIMWORD"; break; + case NOTLIMWORD: s = "NOTLIMWORD"; break; + case QMARK: s = "QMARK"; break; + case STAR: s = "STAR"; break; + case PLUS: s = "PLUS"; break; + case CAT: s = "CAT"; break; + case OR: s = "OR"; break; + case LPAREN: s = "LPAREN"; break; + case RPAREN: s = "RPAREN"; break; +#if MBS_SUPPORT + case ANYCHAR: s = "ANYCHAR"; break; + case MBCSET: s = "MBCSET"; break; +#endif /* MBS_SUPPORT */ + default: s = "CSET"; break; + } + fprintf(stderr, "%s", s); + } +} +#endif /* DEBUG */ + +/* Stuff pertaining to charclasses. */ + +static int +tstbit (unsigned int b, charclass const c) +{ + return c[b / INTBITS] & 1 << b % INTBITS; +} + +static void +setbit (unsigned int b, charclass c) +{ + c[b / INTBITS] |= 1 << b % INTBITS; +} + +static void +clrbit (unsigned int b, charclass c) +{ + c[b / INTBITS] &= ~(1 << b % INTBITS); +} + +static void +copyset (charclass const src, charclass dst) +{ + memcpy (dst, src, sizeof (charclass)); +} + +static void +zeroset (charclass s) +{ + memset (s, 0, sizeof (charclass)); +} + +static void +notset (charclass s) +{ + int i; + + for (i = 0; i < CHARCLASS_INTS; ++i) + s[i] = ~s[i]; +} + +static int +equal (charclass const s1, charclass const s2) +{ + return memcmp (s1, s2, sizeof (charclass)) == 0; +} + +/* A pointer to the current dfa is kept here during parsing. */ +static struct dfa *dfa; + +/* Find the index of charclass s in dfa->charclasses, or allocate a new charclass. */ +static int +charclass_index (charclass const s) +{ + int i; + + for (i = 0; i < dfa->cindex; ++i) + if (equal(s, dfa->charclasses[i])) + return i; + REALLOC_IF_NECESSARY(dfa->charclasses, charclass, dfa->calloc, dfa->cindex); + ++dfa->cindex; + copyset(s, dfa->charclasses[i]); + return i; +} + +/* Syntax bits controlling the behavior of the lexical analyzer. */ +static reg_syntax_t syntax_bits, syntax_bits_set; + +/* Flag for case-folding letters into sets. */ +static int case_fold; + +/* End-of-line byte in data. */ +static unsigned char eolbyte; + +/* Entry point to set syntax options. */ +void +dfasyntax (reg_syntax_t bits, int fold, unsigned char eol) +{ + syntax_bits_set = 1; + syntax_bits = bits; + case_fold = fold; + eolbyte = eol; +} + +/* Like setbit, but if case is folded, set both cases of a letter. + For MB_CUR_MAX > 1, one or both of the two cases may not be set, + so the resulting charset may only be used as an optimization. */ +static void +setbit_case_fold ( +#if MBS_SUPPORT + wint_t b, +#else + unsigned int b, +#endif + charclass c) +{ + if (case_fold) + { +#if MBS_SUPPORT + if (MB_CUR_MAX > 1) + { + wint_t b1 = iswupper(b) ? towlower(b) : b; + wint_t b2 = iswlower(b) ? towupper(b) : b; + if (wctob ((unsigned char)b1) == b1) + setbit (b1, c); + if (b2 != b1 && wctob ((unsigned char)b2) == b2) + setbit (b2, c); + } + else +#endif + { + unsigned char b1 = isupper(b) ? tolower(b) : b; + unsigned char b2 = islower(b) ? toupper(b) : b; + setbit (b1, c); + if (b2 != b1) + setbit (b2, c); + } + } + else + { +#if MBS_SUPPORT + if (wctob ((unsigned char)b) == b) +#endif + setbit (b, c); + } +} + + +/* UTF-8 encoding allows some optimizations that we can't otherwise + assume in a multibyte encoding. */ +static inline int +using_utf8 (void) +{ + static int utf8 = -1; + if (utf8 == -1) + { +#if defined HAVE_LANGINFO_CODESET && defined MBS_SUPPORT + utf8 = (STREQ (nl_langinfo (CODESET), "UTF-8")); +#else + utf8 = 0; +#endif + } + + return utf8; +} + +/* Lexical analyzer. All the dross that deals with the obnoxious + GNU Regex syntax bits is located here. The poor, suffering + reader is referred to the GNU Regex documentation for the + meaning of the @#%!@#%^!@ syntax bits. */ + +static char const *lexptr; /* Pointer to next input character. */ +static int lexleft; /* Number of characters remaining. */ +static token lasttok; /* Previous token returned; initially END. */ +static int laststart; /* True if we're separated from beginning or (, | + only by zero-width characters. */ +static int parens; /* Count of outstanding left parens. */ +static int minrep, maxrep; /* Repeat counts for {m,n}. */ +static int hard_LC_COLLATE; /* Nonzero if LC_COLLATE is hard. */ + +static int cur_mb_len = 1; /* Length of the multibyte representation of + wctok. */ +#if MBS_SUPPORT +/* These variables are used only if (MB_CUR_MAX > 1). */ +static mbstate_t mbs; /* Mbstate for mbrlen(). */ +static wchar_t wctok; /* Wide character representation of the current + multibyte character. */ +static unsigned char *mblen_buf;/* Correspond to the input buffer in dfaexec(). + Each element store the amount of remain + byte of corresponding multibyte character + in the input string. A element's value + is 0 if corresponding character is a + single byte chracter. + e.g. input : 'a', , , + mblen_buf : 0, 3, 2, 1 + */ +static wchar_t *inputwcs; /* Wide character representation of input + string in dfaexec(). + The length of this array is same as + the length of input string(char array). + inputstring[i] is a single-byte char, + or 1st byte of a multibyte char. + And inputwcs[i] is the codepoint. */ +static unsigned char const *buf_begin; /* reference to begin in dfaexec(). */ +static unsigned char const *buf_end; /* reference to end in dfaexec(). */ +#endif /* MBS_SUPPORT */ + + +#if MBS_SUPPORT +/* Note that characters become unsigned here. */ +# define FETCH_WC(c, wc, eoferr) \ + do { \ + if (! lexleft) \ + { \ + if ((eoferr) != 0) \ + dfaerror (eoferr); \ + else \ + return lasttok = END; \ + } \ + else \ + { \ + wchar_t _wc; \ + cur_mb_len = mbrtowc(&_wc, lexptr, lexleft, &mbs); \ + if (cur_mb_len <= 0) \ + { \ + cur_mb_len = 1; \ + --lexleft; \ + (wc) = (c) = (unsigned char) *lexptr++; \ + } \ + else \ + { \ + lexptr += cur_mb_len; \ + lexleft -= cur_mb_len; \ + (wc) = _wc; \ + (c) = wctob(wc); \ + } \ + } \ + } while(0) + +# define FETCH(c, eoferr) \ + do { \ + wint_t wc; \ + FETCH_WC(c, wc, eoferr); \ + } while(0) + +#else +/* Note that characters become unsigned here. */ +# define FETCH(c, eoferr) \ + do { \ + if (! lexleft) \ + { \ + if ((eoferr) != 0) \ + dfaerror (eoferr); \ + else \ + return lasttok = END; \ + } \ + (c) = (unsigned char) *lexptr++; \ + --lexleft; \ + } while(0) + +# define FETCH_WC(c, unused, eoferr) FETCH (c, eoferr) + +#endif /* MBS_SUPPORT */ + +static int +in_coll_range (char ch, char from, char to) +{ + char c[6]; + c[0] = from; + c[1] = 0; + c[2] = ch; + c[3] = 0; + c[4] = to; + c[5] = 0; + return strcoll (&c[0], &c[2]) <= 0 && strcoll (&c[2], &c[4]) <= 0; +} + +typedef int predicate (int); + +/* The following list maps the names of the Posix named character classes + to predicate functions that determine whether a given character is in + the class. The leading [ has already been eaten by the lexical analyzer. */ +static struct { + const char *name; + predicate *pred; +} const prednames[] = { + { "alpha", isalpha }, + { "upper", isupper }, + { "lower", islower }, + { "digit", isdigit }, + { "xdigit", isxdigit }, + { "space", isspace }, + { "punct", ispunct }, + { "alnum", isalnum }, + { "print", isprint }, + { "graph", isgraph }, + { "cntrl", iscntrl }, +#ifdef GAWK + { "blank", is_blank }, +#else + { "blank", isblank }, +#endif + { NULL, NULL } +}; + +static predicate * +find_pred (const char *str) +{ + unsigned int i; + for (i = 0; prednames[i].name; ++i) + if (STREQ (str, prednames[i].name)) + break; + + return prednames[i].pred; +} + +/* Multibyte character handling sub-routine for lex. + This function parse a bracket expression and build a struct + mb_char_classes. */ +static token +parse_bracket_exp (void) +{ + int invert; + int c, c1, c2; + charclass ccl; + +#if MBS_SUPPORT + wint_t wc, wc1, wc2; + + /* Work area to build a mb_char_classes. */ + struct mb_char_classes *work_mbc; + int chars_al, range_sts_al, range_ends_al, ch_classes_al, + equivs_al, coll_elems_al; + + chars_al = 1; + range_sts_al = range_ends_al = 0; + ch_classes_al = equivs_al = coll_elems_al = 0; + if (MB_CUR_MAX > 1) + { + REALLOC_IF_NECESSARY(dfa->mbcsets, struct mb_char_classes, + dfa->mbcsets_alloc, dfa->nmbcsets + 1); + + /* dfa->multibyte_prop[] hold the index of dfa->mbcsets. + We will update dfa->multibyte_prop[] in addtok(), because we can't + decide the index in dfa->tokens[]. */ + + /* Initialize work area. */ + work_mbc = &(dfa->mbcsets[dfa->nmbcsets++]); + memset (work_mbc, 0, sizeof *work_mbc); + } + else + work_mbc = NULL; +#endif + + memset (ccl, 0, sizeof ccl); + FETCH_WC (c, wc, _("unbalanced [")); + if (c == '^') + { + FETCH_WC (c, wc, _("unbalanced [")); + invert = 1; + } + else + invert = 0; + + do + { + c1 = EOF; /* mark c1 is not initialized". */ + + /* Note that if we're looking at some other [:...:] construct, + we just treat it as a bunch of ordinary characters. We can do + this because we assume regex has checked for syntax errors before + dfa is ever called. */ + if (c == '[' && (syntax_bits & RE_CHAR_CLASSES)) + { +#define BRACKET_BUFFER_SIZE 128 + char str[BRACKET_BUFFER_SIZE]; + FETCH_WC (c1, wc1, _("unbalanced [")); + + /* If pattern contains `[[:', `[[.', or `[[='. */ + if (c1 == ':' +#if MBS_SUPPORT + /* TODO: handle `[[.' and `[[=' also for MB_CUR_MAX == 1. */ + || (MB_CUR_MAX > 1 && (c1 == '.' || c1 == '=')) +#endif + ) + { + size_t len = 0; + for (;;) + { + FETCH_WC (c, wc, _("unbalanced [")); + if ((c == c1 && *lexptr == ']') || lexleft == 0) + break; + if (len < BRACKET_BUFFER_SIZE) + str[len++] = c; + else + /* This is in any case an invalid class name. */ + str[0] = '\0'; + } + str[len] = '\0'; + + /* Fetch bracket. */ + FETCH_WC (c, wc, _("unbalanced [")); + if (c1 == ':') + /* build character class. */ + { + char const *class + = (case_fold && (STREQ (str, "upper") + || STREQ (str, "lower")) + ? "alpha" + : str); +#if MBS_SUPPORT + if (MB_CUR_MAX > 1) + { + /* Store the character class as wctype_t. */ + wctype_t wt = wctype (class); + + if (ch_classes_al == 0) + MALLOC(work_mbc->ch_classes, wctype_t, ++ch_classes_al); + REALLOC_IF_NECESSARY(work_mbc->ch_classes, wctype_t, + ch_classes_al, + work_mbc->nch_classes + 1); + work_mbc->ch_classes[work_mbc->nch_classes++] = wt; + } +#endif + + { + predicate *pred = find_pred (class); + if (!pred) + dfaerror(_("invalid character class")); + for (c2 = 0; c2 < NOTCHAR; ++c2) + if ((*pred)(c2)) + setbit_case_fold (c2, ccl); + } + } + +#if MBS_SUPPORT + else if (c1 == '=' || c1 == '.') + { + char *elem; + MALLOC(elem, char, len + 1); + strncpy(elem, str, len + 1); + + if (c1 == '=') + /* build equivalent class. */ + { + if (equivs_al == 0) + MALLOC(work_mbc->equivs, char*, ++equivs_al); + REALLOC_IF_NECESSARY(work_mbc->equivs, char*, + equivs_al, + work_mbc->nequivs + 1); + work_mbc->equivs[work_mbc->nequivs++] = elem; + } + + if (c1 == '.') + /* build collating element. */ + { + if (coll_elems_al == 0) + MALLOC(work_mbc->coll_elems, char*, ++coll_elems_al); + REALLOC_IF_NECESSARY(work_mbc->coll_elems, char*, + coll_elems_al, + work_mbc->ncoll_elems + 1); + work_mbc->coll_elems[work_mbc->ncoll_elems++] = elem; + } + } +#endif + + /* Fetch new lookahead character. */ + FETCH_WC (c1, wc1, _("unbalanced [")); + continue; + } + + /* We treat '[' as a normal character here. c/c1/wc/wc1 + are already set up. */ + } + + if (c == '\\' && (syntax_bits & RE_BACKSLASH_ESCAPE_IN_LISTS)) + FETCH_WC(c, wc, _("unbalanced [")); + + if (c1 == EOF) + FETCH_WC(c1, wc1, _("unbalanced [")); + + if (c1 == '-') + /* build range characters. */ + { + FETCH_WC(c2, wc2, _("unbalanced [")); + if (c2 == ']') + { + /* In the case [x-], the - is an ordinary hyphen, + which is left in c1, the lookahead character. */ + lexptr -= cur_mb_len; + lexleft += cur_mb_len; + } + } + + if (c1 == '-' && c2 != ']') + { + if (c2 == '\\' + && (syntax_bits & RE_BACKSLASH_ESCAPE_IN_LISTS)) + FETCH_WC(c2, wc2, _("unbalanced [")); + +#if MBS_SUPPORT + if (MB_CUR_MAX > 1) + { + /* When case folding map a range, say [m-z] (or even [M-z]) + to the pair of ranges, [m-z] [M-Z]. */ + if (range_sts_al == 0) + { + MALLOC(work_mbc->range_sts, wchar_t, ++range_sts_al); + MALLOC(work_mbc->range_ends, wchar_t, ++range_ends_al); + } + REALLOC_IF_NECESSARY(work_mbc->range_sts, wchar_t, + range_sts_al, work_mbc->nranges + 1); + REALLOC_IF_NECESSARY(work_mbc->range_ends, wchar_t, + range_ends_al, work_mbc->nranges + 1); + work_mbc->range_sts[work_mbc->nranges] = + case_fold ? towlower(wc) : (wchar_t)wc; + work_mbc->range_ends[work_mbc->nranges++] = + case_fold ? towlower(wc2) : (wchar_t)wc2; + +#ifndef GREP + if (case_fold && (iswalpha(wc) || iswalpha(wc2))) + { + REALLOC_IF_NECESSARY(work_mbc->range_sts, wchar_t, + range_sts_al, work_mbc->nranges + 1); + work_mbc->range_sts[work_mbc->nranges] = towupper(wc); + REALLOC_IF_NECESSARY(work_mbc->range_ends, wchar_t, + range_ends_al, work_mbc->nranges + 1); + work_mbc->range_ends[work_mbc->nranges++] = towupper(wc2); + } +#endif + } + else +#endif + { + c1 = c; + if (case_fold) + { + c1 = tolower (c1); + c2 = tolower (c2); + } + if (!hard_LC_COLLATE) + for (c = c1; c <= c2; c++) + setbit_case_fold (c, ccl); + else + for (c = 0; c < NOTCHAR; ++c) + if (!(case_fold && isupper (c)) + && in_coll_range (c, c1, c2)) + setbit_case_fold (c, ccl); + } + + FETCH_WC(c1, wc1, _("unbalanced [")); + continue; + } + +#if MBS_SUPPORT + /* Build normal characters. */ + setbit_case_fold (wc, ccl); + if (MB_CUR_MAX > 1) + { + if (case_fold && iswalpha(wc)) + { + wc = towlower(wc); + c = wctob(wc); + if (c == EOF || (wint_t)c != (wint_t)wc) + { + REALLOC_IF_NECESSARY(work_mbc->chars, wchar_t, chars_al, + work_mbc->nchars + 1); + work_mbc->chars[work_mbc->nchars++] = wc; + } +#ifdef GREP + continue; +#else + wc = towupper(wc); + c = wctob(wc); +#endif + } + if (c == EOF || (wint_t)c != (wint_t)wc) + { + REALLOC_IF_NECESSARY(work_mbc->chars, wchar_t, chars_al, + work_mbc->nchars + 1); + work_mbc->chars[work_mbc->nchars++] = wc; + } + } +#else + setbit_case_fold (c, ccl); +#endif + } + while (( +#if MBS_SUPPORT + wc = wc1, +#endif + (c = c1) != ']')); + +#if MBS_SUPPORT + if (MB_CUR_MAX > 1 + && (!using_utf8() + || invert + || work_mbc->nchars != 0 + || work_mbc->nch_classes != 0 + || work_mbc->nranges != 0 + || work_mbc->nequivs != 0 + || work_mbc->ncoll_elems != 0)) + { + static charclass zeroclass; + work_mbc->invert = invert; + work_mbc->cset = equal(ccl, zeroclass) ? -1 : charclass_index(ccl); + return MBCSET; + } +#endif + + if (invert) + { +#if MBS_SUPPORT + assert(MB_CUR_MAX == 1); +#endif + notset(ccl); + if (syntax_bits & RE_HAT_LISTS_NOT_NEWLINE) + clrbit(eolbyte, ccl); + } + + return CSET + charclass_index(ccl); +} + +/* Return non-zero if C is a `word-constituent' byte; zero otherwise. */ +#define IS_WORD_CONSTITUENT(C) (isalnum(C) || (C) == '_') + +static token +lex (void) +{ + unsigned int c, c2; + int backslash = 0; + charclass ccl; + int i; + + /* Basic plan: We fetch a character. If it's a backslash, + we set the backslash flag and go through the loop again. + On the plus side, this avoids having a duplicate of the + main switch inside the backslash case. On the minus side, + it means that just about every case begins with + "if (backslash) ...". */ + for (i = 0; i < 2; ++i) + { +#if MBS_SUPPORT + if (MB_CUR_MAX > 1) + { + FETCH_WC (c, wctok, NULL); + if ((int)c == EOF) + goto normal_char; + } + else +#endif /* MBS_SUPPORT */ + FETCH(c, NULL); + + switch (c) + { + case '\\': + if (backslash) + goto normal_char; + if (lexleft == 0) + dfaerror(_("unfinished \\ escape")); + backslash = 1; + break; + + case '^': + if (backslash) + goto normal_char; + if (syntax_bits & RE_CONTEXT_INDEP_ANCHORS + || lasttok == END + || lasttok == LPAREN + || lasttok == OR) + return lasttok = BEGLINE; + goto normal_char; + + case '$': + if (backslash) + goto normal_char; + if (syntax_bits & RE_CONTEXT_INDEP_ANCHORS + || lexleft == 0 + || (syntax_bits & RE_NO_BK_PARENS + ? lexleft > 0 && *lexptr == ')' + : lexleft > 1 && lexptr[0] == '\\' && lexptr[1] == ')') + || (syntax_bits & RE_NO_BK_VBAR + ? lexleft > 0 && *lexptr == '|' + : lexleft > 1 && lexptr[0] == '\\' && lexptr[1] == '|') + || ((syntax_bits & RE_NEWLINE_ALT) + && lexleft > 0 && *lexptr == '\n')) + return lasttok = ENDLINE; + goto normal_char; + + case '1': + case '2': + case '3': + case '4': + case '5': + case '6': + case '7': + case '8': + case '9': + if (backslash && !(syntax_bits & RE_NO_BK_REFS)) + { + laststart = 0; + return lasttok = BACKREF; + } + goto normal_char; + + case '`': + if (backslash && !(syntax_bits & RE_NO_GNU_OPS)) + return lasttok = BEGLINE; /* FIXME: should be beginning of string */ + goto normal_char; + + case '\'': + if (backslash && !(syntax_bits & RE_NO_GNU_OPS)) + return lasttok = ENDLINE; /* FIXME: should be end of string */ + goto normal_char; + + case '<': + if (backslash && !(syntax_bits & RE_NO_GNU_OPS)) + return lasttok = BEGWORD; + goto normal_char; + + case '>': + if (backslash && !(syntax_bits & RE_NO_GNU_OPS)) + return lasttok = ENDWORD; + goto normal_char; + + case 'b': + if (backslash && !(syntax_bits & RE_NO_GNU_OPS)) + return lasttok = LIMWORD; + goto normal_char; + + case 'B': + if (backslash && !(syntax_bits & RE_NO_GNU_OPS)) + return lasttok = NOTLIMWORD; + goto normal_char; + + case '?': + if (syntax_bits & RE_LIMITED_OPS) + goto normal_char; + if (backslash != ((syntax_bits & RE_BK_PLUS_QM) != 0)) + goto normal_char; + if (!(syntax_bits & RE_CONTEXT_INDEP_OPS) && laststart) + goto normal_char; + return lasttok = QMARK; + + case '*': + if (backslash) + goto normal_char; + if (!(syntax_bits & RE_CONTEXT_INDEP_OPS) && laststart) + goto normal_char; + return lasttok = STAR; + + case '+': + if (syntax_bits & RE_LIMITED_OPS) + goto normal_char; + if (backslash != ((syntax_bits & RE_BK_PLUS_QM) != 0)) + goto normal_char; + if (!(syntax_bits & RE_CONTEXT_INDEP_OPS) && laststart) + goto normal_char; + return lasttok = PLUS; + + case '{': + if (!(syntax_bits & RE_INTERVALS)) + goto normal_char; + if (backslash != ((syntax_bits & RE_NO_BK_BRACES) == 0)) + goto normal_char; + if (!(syntax_bits & RE_CONTEXT_INDEP_OPS) && laststart) + goto normal_char; + + if (syntax_bits & RE_NO_BK_BRACES) + { + /* Scan ahead for a valid interval; if it's not valid, + treat it as a literal '{'. */ + int lo = -1, hi = -1; + char const *p = lexptr; + char const *lim = p + lexleft; + for (; p != lim && ISASCIIDIGIT (*p); p++) + lo = (lo < 0 ? 0 : lo * 10) + *p - '0'; + if (p != lim && *p == ',') + while (++p != lim && ISASCIIDIGIT (*p)) + hi = (hi < 0 ? 0 : hi * 10) + *p - '0'; + else + hi = lo; + if (p == lim || *p != '}' + || lo < 0 || RE_DUP_MAX < hi || (0 <= hi && hi < lo)) + goto normal_char; + } + + minrep = 0; + /* Cases: + {M} - exact count + {M,} - minimum count, maximum is infinity + {M,N} - M through N */ + FETCH(c, _("unfinished repeat count")); + if (ISASCIIDIGIT (c)) + { + minrep = c - '0'; + for (;;) + { + FETCH(c, _("unfinished repeat count")); + if (! ISASCIIDIGIT (c)) + break; + minrep = 10 * minrep + c - '0'; + } + } + else + dfaerror(_("malformed repeat count")); + if (c == ',') + { + FETCH (c, _("unfinished repeat count")); + if (! ISASCIIDIGIT (c)) + maxrep = -1; + else + { + maxrep = c - '0'; + for (;;) + { + FETCH (c, _("unfinished repeat count")); + if (! ISASCIIDIGIT (c)) + break; + maxrep = 10 * maxrep + c - '0'; + } + if (0 <= maxrep && maxrep < minrep) + dfaerror (_("malformed repeat count")); + } + } + else + maxrep = minrep; + if (!(syntax_bits & RE_NO_BK_BRACES)) + { + if (c != '\\') + dfaerror(_("malformed repeat count")); + FETCH(c, _("unfinished repeat count")); + } + if (c != '}') + dfaerror(_("malformed repeat count")); + laststart = 0; + return lasttok = REPMN; + + case '|': + if (syntax_bits & RE_LIMITED_OPS) + goto normal_char; + if (backslash != ((syntax_bits & RE_NO_BK_VBAR) == 0)) + goto normal_char; + laststart = 1; + return lasttok = OR; + + case '\n': + if (syntax_bits & RE_LIMITED_OPS + || backslash + || !(syntax_bits & RE_NEWLINE_ALT)) + goto normal_char; + laststart = 1; + return lasttok = OR; + + case '(': + if (backslash != ((syntax_bits & RE_NO_BK_PARENS) == 0)) + goto normal_char; + ++parens; + laststart = 1; + return lasttok = LPAREN; + + case ')': + if (backslash != ((syntax_bits & RE_NO_BK_PARENS) == 0)) + goto normal_char; + if (parens == 0 && syntax_bits & RE_UNMATCHED_RIGHT_PAREN_ORD) + goto normal_char; + --parens; + laststart = 0; + return lasttok = RPAREN; + + case '.': + if (backslash) + goto normal_char; +#if MBS_SUPPORT + if (MB_CUR_MAX > 1) + { + /* In multibyte environment period must match with a single + character not a byte. So we use ANYCHAR. */ + laststart = 0; + return lasttok = ANYCHAR; + } +#endif /* MBS_SUPPORT */ + zeroset(ccl); + notset(ccl); + if (!(syntax_bits & RE_DOT_NEWLINE)) + clrbit(eolbyte, ccl); + if (syntax_bits & RE_DOT_NOT_NULL) + clrbit('\0', ccl); + laststart = 0; + return lasttok = CSET + charclass_index(ccl); + +#ifndef GAWK + case 's': + case 'S': + if (!backslash || (syntax_bits & RE_NO_GNU_OPS)) + goto normal_char; + zeroset(ccl); + for (c2 = 0; c2 < NOTCHAR; ++c2) + if (isspace(c2)) + setbit(c2, ccl); + if (c == 'S') + notset(ccl); + laststart = 0; + return lasttok = CSET + charclass_index(ccl); +#endif + + case 'w': + case 'W': + if (!backslash || (syntax_bits & RE_NO_GNU_OPS)) + goto normal_char; + zeroset(ccl); + for (c2 = 0; c2 < NOTCHAR; ++c2) + if (IS_WORD_CONSTITUENT(c2)) + setbit(c2, ccl); + if (c == 'W') + notset(ccl); + laststart = 0; + return lasttok = CSET + charclass_index(ccl); + + case '[': + if (backslash) + goto normal_char; + laststart = 0; + return lasttok = parse_bracket_exp(); + + default: + normal_char: + laststart = 0; +#if MBS_SUPPORT + /* For multibyte character sets, folding is done in atom. Always + return WCHAR. */ + if (MB_CUR_MAX > 1) + return lasttok = WCHAR; +#endif + + if (case_fold && isalpha(c)) + { + zeroset(ccl); + setbit_case_fold (c, ccl); + return lasttok = CSET + charclass_index(ccl); + } + + return lasttok = c; + } + } + + /* The above loop should consume at most a backslash + and some other character. */ + abort(); + return END; /* keeps pedantic compilers happy. */ +} + +/* Recursive descent parser for regular expressions. */ + +static token tok; /* Lookahead token. */ +static int depth; /* Current depth of a hypothetical stack + holding deferred productions. This is + used to determine the depth that will be + required of the real stack later on in + dfaanalyze(). */ + +static void +addtok_mb (token t, int mbprop) +{ +#if MBS_SUPPORT + if (MB_CUR_MAX > 1) + { + REALLOC_IF_NECESSARY(dfa->multibyte_prop, int, dfa->nmultibyte_prop, + dfa->tindex); + dfa->multibyte_prop[dfa->tindex] = mbprop; + } +#else + (void) mbprop; +#endif + + REALLOC_IF_NECESSARY(dfa->tokens, token, dfa->talloc, dfa->tindex); + dfa->tokens[dfa->tindex++] = t; + + switch (t) + { + case QMARK: + case STAR: + case PLUS: + break; + + case CAT: + case OR: + --depth; + break; + + default: + ++dfa->nleaves; + case EMPTY: + ++depth; + break; + } + if (depth > dfa->depth) + dfa->depth = depth; +} + +/* Add the given token to the parse tree, maintaining the depth count and + updating the maximum depth if necessary. */ +static void +addtok (token t) +{ +#if MBS_SUPPORT + if (MB_CUR_MAX > 1 && t == MBCSET) + addtok_mb (MBCSET, ((dfa->nmbcsets - 1) << 2) + 3); + else +#endif + addtok_mb (t, 3); +} + +#if MBS_SUPPORT +/* We treat a multibyte character as a single atom, so that DFA + can treat a multibyte character as a single expression. + + e.g. We construct following tree from "". + + */ +static void +addtok_wc (wint_t wc) +{ + unsigned char buf[MB_LEN_MAX]; + mbstate_t s; + int i; + memset (&s, 0, sizeof s); + cur_mb_len = wcrtomb ((char *) buf, wc, &s); + + /* This is merely stop-gap. When cur_mb_len is 0 or negative, + buf[0] is undefined, yet skipping the addtok_mb call altogether + can result in heap corruption. */ + if (cur_mb_len <= 0) + buf[0] = 0; + + addtok_mb(buf[0], cur_mb_len == 1 ? 3 : 1); + for (i = 1; i < cur_mb_len; i++) + { + addtok_mb(buf[i], i == cur_mb_len - 1 ? 2 : 0); + addtok(CAT); + } +} +#endif + +static void +add_utf8_anychar (void) +{ + static const charclass utf8_classes[5] = { + { 0, 0, 0, 0, ~0, ~0, 0, 0 }, /* 80-bf: non-lead bytes */ + { ~0, ~0, ~0, ~0, 0, 0, 0, 0 }, /* 00-7f: 1-byte sequence */ + { 0, 0, 0, 0, 0, 0, 0xfffffffcU, 0 }, /* c2-df: 2-byte sequence */ + { 0, 0, 0, 0, 0, 0, 0, 0xffff }, /* e0-ef: 3-byte sequence */ + { 0, 0, 0, 0, 0, 0, 0, 0xff0000 } /* f0-f7: 4-byte sequence */ + }; + const unsigned int n = sizeof (utf8_classes) / sizeof (utf8_classes[0]); + unsigned int i; + + /* Define the five character classes that are needed below. */ + if (dfa->utf8_anychar_classes[0] == 0) + for (i = 0; i < n; i++) + { + charclass c; + memcpy (c, utf8_classes[i], sizeof c); + if (i == 1) + { + if (!(syntax_bits & RE_DOT_NEWLINE)) + clrbit (eolbyte, c); + if (syntax_bits & RE_DOT_NOT_NULL) + clrbit ('\0', c); + } + dfa->utf8_anychar_classes[i] = CSET + charclass_index(c); + } + + /* A valid UTF-8 character is + + ([0x00-0x7f] + |[0xc2-0xdf][0x80-0xbf] + |[0xe0-0xef[0x80-0xbf][0x80-0xbf] + |[0xf0-f7][0x80-0xbf][0x80-0xbf][0x80-0xbf]) + + which I'll write more concisely "B|CA|DAA|EAAA". Factor the [0x00-0x7f] + and you get "B|(C|(D|EA)A)A". And since the token buffer is in reverse + Polish notation, you get "B C D E A CAT OR A CAT OR A CAT OR". */ + for (i = 1; i < n; i++) + addtok (dfa->utf8_anychar_classes[i]); + while (--i > 1) + { + addtok (dfa->utf8_anychar_classes[0]); + addtok (CAT); + addtok (OR); + } +} + +/* The grammar understood by the parser is as follows. + + regexp: + regexp OR branch + branch + + branch: + branch closure + closure + + closure: + closure QMARK + closure STAR + closure PLUS + closure REPMN + atom + + atom: + + + ANYCHAR + MBCSET + CSET + BACKREF + BEGLINE + ENDLINE + BEGWORD + ENDWORD + LIMWORD + NOTLIMWORD + LPAREN regexp RPAREN + + + The parser builds a parse tree in postfix form in an array of tokens. */ + +static void +atom (void) +{ + if (0) + { + /* empty */ + } +#if MBS_SUPPORT + else if (tok == WCHAR) + { + addtok_wc (case_fold ? towlower(wctok) : wctok); +#ifndef GREP + if (case_fold && iswalpha(wctok)) + { + addtok_wc (towupper(wctok)); + addtok (OR); + } +#endif + + tok = lex(); + } + + else if (tok == ANYCHAR && using_utf8()) + { + /* For UTF-8 expand the period to a series of CSETs that define a valid + UTF-8 character. This avoids using the slow multibyte path. I'm + pretty sure it would be both profitable and correct to do it for + any encoding; however, the optimization must be done manually as + it is done above in add_utf8_anychar. So, let's start with + UTF-8: it is the most used, and the structure of the encoding + makes the correctness more obvious. */ + add_utf8_anychar(); + tok = lex(); + } +#endif /* MBS_SUPPORT */ + + else if ((tok >= 0 && tok < NOTCHAR) || tok >= CSET || tok == BACKREF + || tok == BEGLINE || tok == ENDLINE || tok == BEGWORD +#if MBS_SUPPORT + || tok == ANYCHAR || tok == MBCSET +#endif /* MBS_SUPPORT */ + || tok == ENDWORD || tok == LIMWORD || tok == NOTLIMWORD) + { + addtok(tok); + tok = lex(); + } + else if (tok == LPAREN) + { + tok = lex(); + regexp(); + if (tok != RPAREN) + dfaerror(_("unbalanced (")); + tok = lex(); + } + else + addtok(EMPTY); +} + +/* Return the number of tokens in the given subexpression. */ +static int +nsubtoks (int tindex) +{ + int ntoks1; + + switch (dfa->tokens[tindex - 1]) + { + default: + return 1; + case QMARK: + case STAR: + case PLUS: + return 1 + nsubtoks(tindex - 1); + case CAT: + case OR: + ntoks1 = nsubtoks(tindex - 1); + return 1 + ntoks1 + nsubtoks(tindex - 1 - ntoks1); + } +} + +/* Copy the given subexpression to the top of the tree. */ +static void +copytoks (int tindex, int ntokens) +{ + int i; + + for (i = 0; i < ntokens; ++i) + { + addtok(dfa->tokens[tindex + i]); +#if MBS_SUPPORT + /* Update index into multibyte csets. */ + if (MB_CUR_MAX > 1 && dfa->tokens[tindex + i] == MBCSET) + dfa->multibyte_prop[dfa->tindex - 1] = dfa->multibyte_prop[tindex + i]; +#endif + } +} + +static void +closure (void) +{ + int tindex, ntokens, i; + + atom(); + while (tok == QMARK || tok == STAR || tok == PLUS || tok == REPMN) + if (tok == REPMN && (minrep || maxrep)) + { + ntokens = nsubtoks(dfa->tindex); + tindex = dfa->tindex - ntokens; + if (maxrep < 0) + addtok(PLUS); + if (minrep == 0) + addtok(QMARK); + for (i = 1; i < minrep; ++i) + { + copytoks(tindex, ntokens); + addtok(CAT); + } + for (; i < maxrep; ++i) + { + copytoks(tindex, ntokens); + addtok(QMARK); + addtok(CAT); + } + tok = lex(); + } + else if (tok == REPMN) + { + dfa->tindex -= nsubtoks(dfa->tindex); + tok = lex(); + closure(); + } + else + { + addtok(tok); + tok = lex(); + } +} + +static void +branch (void) +{ + closure(); + while (tok != RPAREN && tok != OR && tok >= 0) + { + closure(); + addtok(CAT); + } +} + +static void +regexp (void) +{ + branch(); + while (tok == OR) + { + tok = lex(); + branch(); + addtok(OR); + } +} + +/* Main entry point for the parser. S is a string to be parsed, len is the + length of the string, so s can include NUL characters. D is a pointer to + the struct dfa to parse into. */ +void +dfaparse (char const *s, size_t len, struct dfa *d) +{ + dfa = d; + lexptr = s; + lexleft = len; + lasttok = END; + laststart = 1; + parens = 0; +#ifdef LC_COLLATE + hard_LC_COLLATE = hard_locale (LC_COLLATE); +#endif +#if MBS_SUPPORT + if (MB_CUR_MAX > 1) + { + cur_mb_len = 0; + memset(&mbs, 0, sizeof mbs); + } +#endif /* MBS_SUPPORT */ + + if (! syntax_bits_set) + dfaerror(_("no syntax specified")); + + tok = lex(); + depth = d->depth; + + regexp(); + + if (tok != END) + dfaerror(_("unbalanced )")); + + addtok(END - d->nregexps); + addtok(CAT); + + if (d->nregexps) + addtok(OR); + + ++d->nregexps; +} + +/* Some primitives for operating on sets of positions. */ + +/* Copy one set to another; the destination must be large enough. */ +static void +copy (position_set const *src, position_set *dst) +{ + int i; + + for (i = 0; i < src->nelem; ++i) + dst->elems[i] = src->elems[i]; + dst->nelem = src->nelem; +} + +/* Insert a position in a set. Position sets are maintained in sorted + order according to index. If position already exists in the set with + the same index then their constraints are logically or'd together. + S->elems must point to an array large enough to hold the resulting set. */ +static void +insert (position p, position_set *s) +{ + int count = s->nelem; + int lo = 0, hi = count; + while (lo < hi) + { + int mid = ((unsigned) lo + (unsigned) hi) >> 1; + if (s->elems[mid].index < p.index) + lo = mid + 1; + else + hi = mid; + } + + if (lo < count && p.index == s->elems[lo].index) + s->elems[lo].constraint |= p.constraint; + else + { + int i; + for (i = count; i > lo; i--) + s->elems[i] = s->elems[i - 1]; + s->elems[lo] = p; + ++s->nelem; + } +} + +/* Merge two sets of positions into a third. The result is exactly as if + the positions of both sets were inserted into an initially empty set. */ +static void +merge (position_set const *s1, position_set const *s2, position_set *m) +{ + int i = 0, j = 0; + + m->nelem = 0; + while (i < s1->nelem && j < s2->nelem) + if (s1->elems[i].index > s2->elems[j].index) + m->elems[m->nelem++] = s1->elems[i++]; + else if (s1->elems[i].index < s2->elems[j].index) + m->elems[m->nelem++] = s2->elems[j++]; + else + { + m->elems[m->nelem] = s1->elems[i++]; + m->elems[m->nelem++].constraint |= s2->elems[j++].constraint; + } + while (i < s1->nelem) + m->elems[m->nelem++] = s1->elems[i++]; + while (j < s2->nelem) + m->elems[m->nelem++] = s2->elems[j++]; +} + +/* Delete a position from a set. */ +static void +delete (position p, position_set *s) +{ + int i; + + for (i = 0; i < s->nelem; ++i) + if (p.index == s->elems[i].index) + break; + if (i < s->nelem) + for (--s->nelem; i < s->nelem; ++i) + s->elems[i] = s->elems[i + 1]; +} + +/* Find the index of the state corresponding to the given position set with + the given preceding context, or create a new state if there is no such + state. Newline and letter tell whether we got here on a newline or + letter, respectively. */ +static int +state_index (struct dfa *d, position_set const *s, int newline, int letter) +{ + int hash = 0; + int constraint; + int i, j; + + newline = newline ? 1 : 0; + letter = letter ? 1 : 0; + + for (i = 0; i < s->nelem; ++i) + hash ^= s->elems[i].index + s->elems[i].constraint; + + /* Try to find a state that exactly matches the proposed one. */ + for (i = 0; i < d->sindex; ++i) + { + if (hash != d->states[i].hash || s->nelem != d->states[i].elems.nelem + || newline != d->states[i].newline || letter != d->states[i].letter) + continue; + for (j = 0; j < s->nelem; ++j) + if (s->elems[j].constraint + != d->states[i].elems.elems[j].constraint + || s->elems[j].index != d->states[i].elems.elems[j].index) + break; + if (j == s->nelem) + return i; + } + + /* We'll have to create a new state. */ + REALLOC_IF_NECESSARY(d->states, dfa_state, d->salloc, d->sindex); + d->states[i].hash = hash; + MALLOC(d->states[i].elems.elems, position, s->nelem); + copy(s, &d->states[i].elems); + d->states[i].newline = newline; + d->states[i].letter = letter; + d->states[i].backref = 0; + d->states[i].constraint = 0; + d->states[i].first_end = 0; +#if MBS_SUPPORT + d->states[i].mbps.nelem = 0; + d->states[i].mbps.elems = NULL; +#endif + for (j = 0; j < s->nelem; ++j) + if (d->tokens[s->elems[j].index] < 0) + { + constraint = s->elems[j].constraint; + if (SUCCEEDS_IN_CONTEXT(constraint, newline, 0, letter, 0) + || SUCCEEDS_IN_CONTEXT(constraint, newline, 0, letter, 1) + || SUCCEEDS_IN_CONTEXT(constraint, newline, 1, letter, 0) + || SUCCEEDS_IN_CONTEXT(constraint, newline, 1, letter, 1)) + d->states[i].constraint |= constraint; + if (! d->states[i].first_end) + d->states[i].first_end = d->tokens[s->elems[j].index]; + } + else if (d->tokens[s->elems[j].index] == BACKREF) + { + d->states[i].constraint = NO_CONSTRAINT; + d->states[i].backref = 1; + } + + ++d->sindex; + + return i; +} + +/* Find the epsilon closure of a set of positions. If any position of the set + contains a symbol that matches the empty string in some context, replace + that position with the elements of its follow labeled with an appropriate + constraint. Repeat exhaustively until no funny positions are left. + S->elems must be large enough to hold the result. */ +static void +epsclosure (position_set *s, struct dfa const *d) +{ + int i, j; + char *visited; /* array of booleans, enough to use char, not int */ + position p, old; + + CALLOC(visited, char, d->tindex); + + for (i = 0; i < s->nelem; ++i) + if (d->tokens[s->elems[i].index] >= NOTCHAR + && d->tokens[s->elems[i].index] != BACKREF +#if MBS_SUPPORT + && d->tokens[s->elems[i].index] != ANYCHAR + && d->tokens[s->elems[i].index] != MBCSET +#endif + && d->tokens[s->elems[i].index] < CSET) + { + old = s->elems[i]; + p.constraint = old.constraint; + delete(s->elems[i], s); + if (visited[old.index]) + { + --i; + continue; + } + visited[old.index] = 1; + switch (d->tokens[old.index]) + { + case BEGLINE: + p.constraint &= BEGLINE_CONSTRAINT; + break; + case ENDLINE: + p.constraint &= ENDLINE_CONSTRAINT; + break; + case BEGWORD: + p.constraint &= BEGWORD_CONSTRAINT; + break; + case ENDWORD: + p.constraint &= ENDWORD_CONSTRAINT; + break; + case LIMWORD: + p.constraint &= LIMWORD_CONSTRAINT; + break; + case NOTLIMWORD: + p.constraint &= NOTLIMWORD_CONSTRAINT; + break; + default: + break; + } + for (j = 0; j < d->follows[old.index].nelem; ++j) + { + p.index = d->follows[old.index].elems[j].index; + insert(p, s); + } + /* Force rescan to start at the beginning. */ + i = -1; + } + + free(visited); +} + +/* Perform bottom-up analysis on the parse tree, computing various functions. + Note that at this point, we're pretending constructs like \< are real + characters rather than constraints on what can follow them. + + Nullable: A node is nullable if it is at the root of a regexp that can + match the empty string. + * EMPTY leaves are nullable. + * No other leaf is nullable. + * A QMARK or STAR node is nullable. + * A PLUS node is nullable if its argument is nullable. + * A CAT node is nullable if both its arguments are nullable. + * An OR node is nullable if either argument is nullable. + + Firstpos: The firstpos of a node is the set of positions (nonempty leaves) + that could correspond to the first character of a string matching the + regexp rooted at the given node. + * EMPTY leaves have empty firstpos. + * The firstpos of a nonempty leaf is that leaf itself. + * The firstpos of a QMARK, STAR, or PLUS node is the firstpos of its + argument. + * The firstpos of a CAT node is the firstpos of the left argument, union + the firstpos of the right if the left argument is nullable. + * The firstpos of an OR node is the union of firstpos of each argument. + + Lastpos: The lastpos of a node is the set of positions that could + correspond to the last character of a string matching the regexp at + the given node. + * EMPTY leaves have empty lastpos. + * The lastpos of a nonempty leaf is that leaf itself. + * The lastpos of a QMARK, STAR, or PLUS node is the lastpos of its + argument. + * The lastpos of a CAT node is the lastpos of its right argument, union + the lastpos of the left if the right argument is nullable. + * The lastpos of an OR node is the union of the lastpos of each argument. + + Follow: The follow of a position is the set of positions that could + correspond to the character following a character matching the node in + a string matching the regexp. At this point we consider special symbols + that match the empty string in some context to be just normal characters. + Later, if we find that a special symbol is in a follow set, we will + replace it with the elements of its follow, labeled with an appropriate + constraint. + * Every node in the firstpos of the argument of a STAR or PLUS node is in + the follow of every node in the lastpos. + * Every node in the firstpos of the second argument of a CAT node is in + the follow of every node in the lastpos of the first argument. + + Because of the postfix representation of the parse tree, the depth-first + analysis is conveniently done by a linear scan with the aid of a stack. + Sets are stored as arrays of the elements, obeying a stack-like allocation + scheme; the number of elements in each set deeper in the stack can be + used to determine the address of a particular set's array. */ +void +dfaanalyze (struct dfa *d, int searchflag) +{ + int *nullable; /* Nullable stack. */ + int *nfirstpos; /* Element count stack for firstpos sets. */ + position *firstpos; /* Array where firstpos elements are stored. */ + int *nlastpos; /* Element count stack for lastpos sets. */ + position *lastpos; /* Array where lastpos elements are stored. */ + int *nalloc; /* Sizes of arrays allocated to follow sets. */ + position_set tmp; /* Temporary set for merging sets. */ + position_set merged; /* Result of merging sets. */ + int wants_newline; /* True if some position wants newline info. */ + int *o_nullable; + int *o_nfirst, *o_nlast; + position *o_firstpos, *o_lastpos; + int i, j; + position *pos; + +#ifdef DEBUG + fprintf(stderr, "dfaanalyze:\n"); + for (i = 0; i < d->tindex; ++i) + { + fprintf(stderr, " %d:", i); + prtok(d->tokens[i]); + } + putc('\n', stderr); +#endif + + d->searchflag = searchflag; + + MALLOC(nullable, int, d->depth); + o_nullable = nullable; + MALLOC(nfirstpos, int, d->depth); + o_nfirst = nfirstpos; + MALLOC(firstpos, position, d->nleaves); + o_firstpos = firstpos, firstpos += d->nleaves; + MALLOC(nlastpos, int, d->depth); + o_nlast = nlastpos; + MALLOC(lastpos, position, d->nleaves); + o_lastpos = lastpos, lastpos += d->nleaves; + CALLOC(nalloc, int, d->tindex); + MALLOC(merged.elems, position, d->nleaves); + + CALLOC(d->follows, position_set, d->tindex); + + for (i = 0; i < d->tindex; ++i) +#ifdef DEBUG + { /* Nonsyntactic #ifdef goo... */ +#endif + switch (d->tokens[i]) + { + case EMPTY: + /* The empty set is nullable. */ + *nullable++ = 1; + + /* The firstpos and lastpos of the empty leaf are both empty. */ + *nfirstpos++ = *nlastpos++ = 0; + break; + + case STAR: + case PLUS: + /* Every element in the firstpos of the argument is in the follow + of every element in the lastpos. */ + tmp.nelem = nfirstpos[-1]; + tmp.elems = firstpos; + pos = lastpos; + for (j = 0; j < nlastpos[-1]; ++j) + { + merge(&tmp, &d->follows[pos[j].index], &merged); + REALLOC_IF_NECESSARY(d->follows[pos[j].index].elems, position, + nalloc[pos[j].index], merged.nelem - 1); + copy(&merged, &d->follows[pos[j].index]); + } + + case QMARK: + /* A QMARK or STAR node is automatically nullable. */ + if (d->tokens[i] != PLUS) + nullable[-1] = 1; + break; + + case CAT: + /* Every element in the firstpos of the second argument is in the + follow of every element in the lastpos of the first argument. */ + tmp.nelem = nfirstpos[-1]; + tmp.elems = firstpos; + pos = lastpos + nlastpos[-1]; + for (j = 0; j < nlastpos[-2]; ++j) + { + merge(&tmp, &d->follows[pos[j].index], &merged); + REALLOC_IF_NECESSARY(d->follows[pos[j].index].elems, position, + nalloc[pos[j].index], merged.nelem - 1); + copy(&merged, &d->follows[pos[j].index]); + } + + /* The firstpos of a CAT node is the firstpos of the first argument, + union that of the second argument if the first is nullable. */ + if (nullable[-2]) + nfirstpos[-2] += nfirstpos[-1]; + else + firstpos += nfirstpos[-1]; + --nfirstpos; + + /* The lastpos of a CAT node is the lastpos of the second argument, + union that of the first argument if the second is nullable. */ + if (nullable[-1]) + nlastpos[-2] += nlastpos[-1]; + else + { + pos = lastpos + nlastpos[-2]; + for (j = nlastpos[-1] - 1; j >= 0; --j) + pos[j] = lastpos[j]; + lastpos += nlastpos[-2]; + nlastpos[-2] = nlastpos[-1]; + } + --nlastpos; + + /* A CAT node is nullable if both arguments are nullable. */ + nullable[-2] = nullable[-1] && nullable[-2]; + --nullable; + break; + + case OR: + /* The firstpos is the union of the firstpos of each argument. */ + nfirstpos[-2] += nfirstpos[-1]; + --nfirstpos; + + /* The lastpos is the union of the lastpos of each argument. */ + nlastpos[-2] += nlastpos[-1]; + --nlastpos; + + /* An OR node is nullable if either argument is nullable. */ + nullable[-2] = nullable[-1] || nullable[-2]; + --nullable; + break; + + default: + /* Anything else is a nonempty position. (Note that special + constructs like \< are treated as nonempty strings here; + an "epsilon closure" effectively makes them nullable later. + Backreferences have to get a real position so we can detect + transitions on them later. But they are nullable. */ + *nullable++ = d->tokens[i] == BACKREF; + + /* This position is in its own firstpos and lastpos. */ + *nfirstpos++ = *nlastpos++ = 1; + --firstpos, --lastpos; + firstpos->index = lastpos->index = i; + firstpos->constraint = lastpos->constraint = NO_CONSTRAINT; + + /* Allocate the follow set for this position. */ + nalloc[i] = 1; + MALLOC(d->follows[i].elems, position, nalloc[i]); + break; + } +#ifdef DEBUG + /* ... balance the above nonsyntactic #ifdef goo... */ + fprintf(stderr, "node %d:", i); + prtok(d->tokens[i]); + putc('\n', stderr); + fprintf(stderr, nullable[-1] ? " nullable: yes\n" : " nullable: no\n"); + fprintf(stderr, " firstpos:"); + for (j = nfirstpos[-1] - 1; j >= 0; --j) + { + fprintf(stderr, " %d:", firstpos[j].index); + prtok(d->tokens[firstpos[j].index]); + } + fprintf(stderr, "\n lastpos:"); + for (j = nlastpos[-1] - 1; j >= 0; --j) + { + fprintf(stderr, " %d:", lastpos[j].index); + prtok(d->tokens[lastpos[j].index]); + } + putc('\n', stderr); + } +#endif + + /* For each follow set that is the follow set of a real position, replace + it with its epsilon closure. */ + for (i = 0; i < d->tindex; ++i) + if (d->tokens[i] < NOTCHAR || d->tokens[i] == BACKREF +#if MBS_SUPPORT + || d->tokens[i] == ANYCHAR + || d->tokens[i] == MBCSET +#endif + || d->tokens[i] >= CSET) + { +#ifdef DEBUG + fprintf(stderr, "follows(%d:", i); + prtok(d->tokens[i]); + fprintf(stderr, "):"); + for (j = d->follows[i].nelem - 1; j >= 0; --j) + { + fprintf(stderr, " %d:", d->follows[i].elems[j].index); + prtok(d->tokens[d->follows[i].elems[j].index]); + } + putc('\n', stderr); +#endif + copy(&d->follows[i], &merged); + epsclosure(&merged, d); + if (d->follows[i].nelem < merged.nelem) + REALLOC(d->follows[i].elems, position, merged.nelem); + copy(&merged, &d->follows[i]); + } + + /* Get the epsilon closure of the firstpos of the regexp. The result will + be the set of positions of state 0. */ + merged.nelem = 0; + for (i = 0; i < nfirstpos[-1]; ++i) + insert(firstpos[i], &merged); + epsclosure(&merged, d); + + /* Check if any of the positions of state 0 will want newline context. */ + wants_newline = 0; + for (i = 0; i < merged.nelem; ++i) + if (PREV_NEWLINE_DEPENDENT(merged.elems[i].constraint)) + wants_newline = 1; + + /* Build the initial state. */ + d->salloc = 1; + d->sindex = 0; + MALLOC(d->states, dfa_state, d->salloc); + state_index(d, &merged, wants_newline, 0); + + free(o_nullable); + free(o_nfirst); + free(o_firstpos); + free(o_nlast); + free(o_lastpos); + free(nalloc); + free(merged.elems); +} + +/* Find, for each character, the transition out of state s of d, and store + it in the appropriate slot of trans. + + We divide the positions of s into groups (positions can appear in more + than one group). Each group is labeled with a set of characters that + every position in the group matches (taking into account, if necessary, + preceding context information of s). For each group, find the union + of the its elements' follows. This set is the set of positions of the + new state. For each character in the group's label, set the transition + on this character to be to a state corresponding to the set's positions, + and its associated backward context information, if necessary. + + If we are building a searching matcher, we include the positions of state + 0 in every state. + + The collection of groups is constructed by building an equivalence-class + partition of the positions of s. + + For each position, find the set of characters C that it matches. Eliminate + any characters from C that fail on grounds of backward context. + + Search through the groups, looking for a group whose label L has nonempty + intersection with C. If L - C is nonempty, create a new group labeled + L - C and having the same positions as the current group, and set L to + the intersection of L and C. Insert the position in this group, set + C = C - L, and resume scanning. + + If after comparing with every group there are characters remaining in C, + create a new group labeled with the characters of C and insert this + position in that group. */ +void +dfastate (int s, struct dfa *d, int trans[]) +{ + position_set grps[NOTCHAR]; /* As many as will ever be needed. */ + charclass labels[NOTCHAR]; /* Labels corresponding to the groups. */ + int ngrps = 0; /* Number of groups actually used. */ + position pos; /* Current position being considered. */ + charclass matches; /* Set of matching characters. */ + int matchesf; /* True if matches is nonempty. */ + charclass intersect; /* Intersection with some label set. */ + int intersectf; /* True if intersect is nonempty. */ + charclass leftovers; /* Stuff in the label that didn't match. */ + int leftoversf; /* True if leftovers is nonempty. */ + static charclass letters; /* Set of characters considered letters. */ + static charclass newline; /* Set of characters that aren't newline. */ + position_set follows; /* Union of the follows of some group. */ + position_set tmp; /* Temporary space for merging sets. */ + int state; /* New state. */ + int wants_newline; /* New state wants to know newline context. */ + int state_newline; /* New state on a newline transition. */ + int wants_letter; /* New state wants to know letter context. */ + int state_letter; /* New state on a letter transition. */ + static int initialized; /* Flag for static initialization. */ +#if MBS_SUPPORT + int next_isnt_1st_byte = 0; /* Flag if we can't add state0. */ +#endif + int i, j, k; + + /* Initialize the set of letters, if necessary. */ + if (! initialized) + { + initialized = 1; + for (i = 0; i < NOTCHAR; ++i) + if (IS_WORD_CONSTITUENT(i)) + setbit(i, letters); + setbit(eolbyte, newline); + } + + zeroset(matches); + + for (i = 0; i < d->states[s].elems.nelem; ++i) + { + pos = d->states[s].elems.elems[i]; + if (d->tokens[pos.index] >= 0 && d->tokens[pos.index] < NOTCHAR) + setbit(d->tokens[pos.index], matches); + else if (d->tokens[pos.index] >= CSET) + copyset(d->charclasses[d->tokens[pos.index] - CSET], matches); +#if MBS_SUPPORT + else if (d->tokens[pos.index] == ANYCHAR + || d->tokens[pos.index] == MBCSET) + /* MB_CUR_MAX > 1 */ + { + /* ANYCHAR and MBCSET must match with a single character, so we + must put it to d->states[s].mbps, which contains the positions + which can match with a single character not a byte. */ + if (d->states[s].mbps.nelem == 0) + { + MALLOC(d->states[s].mbps.elems, position, + d->states[s].elems.nelem); + } + insert(pos, &(d->states[s].mbps)); + continue; + } +#endif /* MBS_SUPPORT */ + else + continue; + + /* Some characters may need to be eliminated from matches because + they fail in the current context. */ + if (pos.constraint != 0xFF) + { + if (! MATCHES_NEWLINE_CONTEXT(pos.constraint, + d->states[s].newline, 1)) + clrbit(eolbyte, matches); + if (! MATCHES_NEWLINE_CONTEXT(pos.constraint, + d->states[s].newline, 0)) + for (j = 0; j < CHARCLASS_INTS; ++j) + matches[j] &= newline[j]; + if (! MATCHES_LETTER_CONTEXT(pos.constraint, + d->states[s].letter, 1)) + for (j = 0; j < CHARCLASS_INTS; ++j) + matches[j] &= ~letters[j]; + if (! MATCHES_LETTER_CONTEXT(pos.constraint, + d->states[s].letter, 0)) + for (j = 0; j < CHARCLASS_INTS; ++j) + matches[j] &= letters[j]; + + /* If there are no characters left, there's no point in going on. */ + for (j = 0; j < CHARCLASS_INTS && !matches[j]; ++j) + continue; + if (j == CHARCLASS_INTS) + continue; + } + + for (j = 0; j < ngrps; ++j) + { + /* If matches contains a single character only, and the current + group's label doesn't contain that character, go on to the + next group. */ + if (d->tokens[pos.index] >= 0 && d->tokens[pos.index] < NOTCHAR + && !tstbit(d->tokens[pos.index], labels[j])) + continue; + + /* Check if this group's label has a nonempty intersection with + matches. */ + intersectf = 0; + for (k = 0; k < CHARCLASS_INTS; ++k) + (intersect[k] = matches[k] & labels[j][k]) ? (intersectf = 1) : 0; + if (! intersectf) + continue; + + /* It does; now find the set differences both ways. */ + leftoversf = matchesf = 0; + for (k = 0; k < CHARCLASS_INTS; ++k) + { + /* Even an optimizing compiler can't know this for sure. */ + int match = matches[k], label = labels[j][k]; + + (leftovers[k] = ~match & label) ? (leftoversf = 1) : 0; + (matches[k] = match & ~label) ? (matchesf = 1) : 0; + } + + /* If there were leftovers, create a new group labeled with them. */ + if (leftoversf) + { + copyset(leftovers, labels[ngrps]); + copyset(intersect, labels[j]); + MALLOC(grps[ngrps].elems, position, d->nleaves); + copy(&grps[j], &grps[ngrps]); + ++ngrps; + } + + /* Put the position in the current group. Note that there is no + reason to call insert() here. */ + grps[j].elems[grps[j].nelem++] = pos; + + /* If every character matching the current position has been + accounted for, we're done. */ + if (! matchesf) + break; + } + + /* If we've passed the last group, and there are still characters + unaccounted for, then we'll have to create a new group. */ + if (j == ngrps) + { + copyset(matches, labels[ngrps]); + zeroset(matches); + MALLOC(grps[ngrps].elems, position, d->nleaves); + grps[ngrps].nelem = 1; + grps[ngrps].elems[0] = pos; + ++ngrps; + } + } + + MALLOC(follows.elems, position, d->nleaves); + MALLOC(tmp.elems, position, d->nleaves); + + /* If we are a searching matcher, the default transition is to a state + containing the positions of state 0, otherwise the default transition + is to fail miserably. */ + if (d->searchflag) + { + wants_newline = 0; + wants_letter = 0; + for (i = 0; i < d->states[0].elems.nelem; ++i) + { + if (PREV_NEWLINE_DEPENDENT(d->states[0].elems.elems[i].constraint)) + wants_newline = 1; + if (PREV_LETTER_DEPENDENT(d->states[0].elems.elems[i].constraint)) + wants_letter = 1; + } + copy(&d->states[0].elems, &follows); + state = state_index(d, &follows, 0, 0); + if (wants_newline) + state_newline = state_index(d, &follows, 1, 0); + else + state_newline = state; + if (wants_letter) + state_letter = state_index(d, &follows, 0, 1); + else + state_letter = state; + for (i = 0; i < NOTCHAR; ++i) + trans[i] = (IS_WORD_CONSTITUENT(i)) ? state_letter : state; + trans[eolbyte] = state_newline; + } + else + for (i = 0; i < NOTCHAR; ++i) + trans[i] = -1; + + for (i = 0; i < ngrps; ++i) + { + follows.nelem = 0; + + /* Find the union of the follows of the positions of the group. + This is a hideously inefficient loop. Fix it someday. */ + for (j = 0; j < grps[i].nelem; ++j) + for (k = 0; k < d->follows[grps[i].elems[j].index].nelem; ++k) + insert(d->follows[grps[i].elems[j].index].elems[k], &follows); + +#if MBS_SUPPORT + if (d->mb_cur_max > 1) + { + /* If a token in follows.elems is not 1st byte of a multibyte + character, or the states of follows must accept the bytes + which are not 1st byte of the multibyte character. + Then, if a state of follows encounter a byte, it must not be + a 1st byte of a multibyte character nor single byte character. + We cansel to add state[0].follows to next state, because + state[0] must accept 1st-byte + + For example, we assume is a certain single byte + character, is a certain multibyte character, and the + codepoint of equals the 2nd byte of the codepoint of + . + When state[0] accepts , state[i] transit to state[i+1] + by accepting accepts 1st byte of , and state[i+1] + accepts 2nd byte of , if state[i+1] encounter the + codepoint of , it must not be but 2nd byte of + , so we can not add state[0]. */ + + next_isnt_1st_byte = 0; + for (j = 0; j < follows.nelem; ++j) + { + if (!(d->multibyte_prop[follows.elems[j].index] & 1)) + { + next_isnt_1st_byte = 1; + break; + } + } + } +#endif + + /* If we are building a searching matcher, throw in the positions + of state 0 as well. */ +#if MBS_SUPPORT + if (d->searchflag && (d->mb_cur_max == 1 || !next_isnt_1st_byte)) +#else + if (d->searchflag) +#endif + for (j = 0; j < d->states[0].elems.nelem; ++j) + insert(d->states[0].elems.elems[j], &follows); + + /* Find out if the new state will want any context information. */ + wants_newline = 0; + if (tstbit(eolbyte, labels[i])) + for (j = 0; j < follows.nelem; ++j) + if (PREV_NEWLINE_DEPENDENT(follows.elems[j].constraint)) + wants_newline = 1; + + wants_letter = 0; + for (j = 0; j < CHARCLASS_INTS; ++j) + if (labels[i][j] & letters[j]) + break; + if (j < CHARCLASS_INTS) + for (j = 0; j < follows.nelem; ++j) + if (PREV_LETTER_DEPENDENT(follows.elems[j].constraint)) + wants_letter = 1; + + /* Find the state(s) corresponding to the union of the follows. */ + state = state_index(d, &follows, 0, 0); + if (wants_newline) + state_newline = state_index(d, &follows, 1, 0); + else + state_newline = state; + if (wants_letter) + state_letter = state_index(d, &follows, 0, 1); + else + state_letter = state; + + /* Set the transitions for each character in the current label. */ + for (j = 0; j < CHARCLASS_INTS; ++j) + for (k = 0; k < INTBITS; ++k) + if (labels[i][j] & 1 << k) + { + int c = j * INTBITS + k; + + if (c == eolbyte) + trans[c] = state_newline; + else if (IS_WORD_CONSTITUENT(c)) + trans[c] = state_letter; + else if (c < NOTCHAR) + trans[c] = state; + } + } + + for (i = 0; i < ngrps; ++i) + free(grps[i].elems); + free(follows.elems); + free(tmp.elems); +} + +/* Some routines for manipulating a compiled dfa's transition tables. + Each state may or may not have a transition table; if it does, and it + is a non-accepting state, then d->trans[state] points to its table. + If it is an accepting state then d->fails[state] points to its table. + If it has no table at all, then d->trans[state] is NULL. + TODO: Improve this comment, get rid of the unnecessary redundancy. */ + +static void +build_state (int s, struct dfa *d) +{ + int *trans; /* The new transition table. */ + int i; + + /* Set an upper limit on the number of transition tables that will ever + exist at once. 1024 is arbitrary. The idea is that the frequently + used transition tables will be quickly rebuilt, whereas the ones that + were only needed once or twice will be cleared away. */ + if (d->trcount >= 1024) + { + for (i = 0; i < d->tralloc; ++i) + { + free(d->trans[i]); + free(d->fails[i]); + d->trans[i] = d->fails[i] = NULL; + } + d->trcount = 0; + } + + ++d->trcount; + + /* Set up the success bits for this state. */ + d->success[s] = 0; + if (ACCEPTS_IN_CONTEXT(d->states[s].newline, 1, d->states[s].letter, 0, + s, *d)) + d->success[s] |= 4; + if (ACCEPTS_IN_CONTEXT(d->states[s].newline, 0, d->states[s].letter, 1, + s, *d)) + d->success[s] |= 2; + if (ACCEPTS_IN_CONTEXT(d->states[s].newline, 0, d->states[s].letter, 0, + s, *d)) + d->success[s] |= 1; + + MALLOC(trans, int, NOTCHAR); + dfastate(s, d, trans); + + /* Now go through the new transition table, and make sure that the trans + and fail arrays are allocated large enough to hold a pointer for the + largest state mentioned in the table. */ + for (i = 0; i < NOTCHAR; ++i) + if (trans[i] >= d->tralloc) + { + int oldalloc = d->tralloc; + + while (trans[i] >= d->tralloc) + d->tralloc *= 2; + REALLOC(d->realtrans, int *, d->tralloc + 1); + d->trans = d->realtrans + 1; + REALLOC(d->fails, int *, d->tralloc); + REALLOC(d->success, int, d->tralloc); + REALLOC(d->newlines, int, d->tralloc); + while (oldalloc < d->tralloc) + { + d->trans[oldalloc] = NULL; + d->fails[oldalloc++] = NULL; + } + } + + /* Keep the newline transition in a special place so we can use it as + a sentinel. */ + d->newlines[s] = trans[eolbyte]; + trans[eolbyte] = -1; + + if (ACCEPTING(s, *d)) + d->fails[s] = trans; + else + d->trans[s] = trans; +} + +static void +build_state_zero (struct dfa *d) +{ + d->tralloc = 1; + d->trcount = 0; + CALLOC(d->realtrans, int *, d->tralloc + 1); + d->trans = d->realtrans + 1; + CALLOC(d->fails, int *, d->tralloc); + MALLOC(d->success, int, d->tralloc); + MALLOC(d->newlines, int, d->tralloc); + build_state(0, d); +} + +#if MBS_SUPPORT +/* Multibyte character handling sub-routines for dfaexec. */ + +/* Initial state may encounter the byte which is not a single byte character + nor 1st byte of a multibyte character. But it is incorrect for initial + state to accept such a byte. + For example, in sjis encoding the regular expression like "\\" accepts + the codepoint 0x5c, but should not accept the 2nd byte of the codepoint + 0x815c. Then Initial state must skip the bytes which are not a single byte + character nor 1st byte of a multibyte character. */ +#define SKIP_REMAINS_MB_IF_INITIAL_STATE(s, p) \ + if (s == 0) \ + { \ + while (inputwcs[p - buf_begin] == 0 \ + && mblen_buf[p - buf_begin] > 0 \ + && (unsigned char const *) p < buf_end) \ + ++p; \ + if ((char *) p >= end) \ + { \ + free(mblen_buf); \ + free(inputwcs); \ + *end = saved_end; \ + return NULL; \ + } \ + } + +static void +realloc_trans_if_necessary(struct dfa *d, int new_state) +{ + /* Make sure that the trans and fail arrays are allocated large enough + to hold a pointer for the new state. */ + if (new_state >= d->tralloc) + { + int oldalloc = d->tralloc; + + while (new_state >= d->tralloc) + d->tralloc *= 2; + REALLOC(d->realtrans, int *, d->tralloc + 1); + d->trans = d->realtrans + 1; + REALLOC(d->fails, int *, d->tralloc); + REALLOC(d->success, int, d->tralloc); + REALLOC(d->newlines, int, d->tralloc); + while (oldalloc < d->tralloc) + { + d->trans[oldalloc] = NULL; + d->fails[oldalloc++] = NULL; + } + } +} + +/* Return values of transit_state_singlebyte(), and + transit_state_consume_1char. */ +typedef enum +{ + TRANSIT_STATE_IN_PROGRESS, /* State transition has not finished. */ + TRANSIT_STATE_DONE, /* State transition has finished. */ + TRANSIT_STATE_END_BUFFER /* Reach the end of the buffer. */ +} status_transit_state; + +/* Consume a single byte and transit state from 's' to '*next_state'. + This function is almost same as the state transition routin in dfaexec(). + But state transition is done just once, otherwise matching succeed or + reach the end of the buffer. */ +static status_transit_state +transit_state_singlebyte (struct dfa *d, int s, unsigned char const *p, + int *next_state) +{ + int *t; + int works = s; + + status_transit_state rval = TRANSIT_STATE_IN_PROGRESS; + + while (rval == TRANSIT_STATE_IN_PROGRESS) + { + if ((t = d->trans[works]) != NULL) + { + works = t[*p]; + rval = TRANSIT_STATE_DONE; + if (works < 0) + works = 0; + } + else if (works < 0) + { + if (p == buf_end) + { + /* At the moment, it must not happen. */ + abort (); + } + works = 0; + } + else if (d->fails[works]) + { + works = d->fails[works][*p]; + rval = TRANSIT_STATE_DONE; + } + else + { + build_state(works, d); + } + } + *next_state = works; + return rval; +} + +/* Check whether period can match or not in the current context. If it can, + return the amount of the bytes with which period can match, otherwise + return 0. + `pos' is the position of the period. `idx' is the index from the + buf_begin, and it is the current position in the buffer. */ +static int +match_anychar (struct dfa *d, int s, position pos, int idx) +{ + int newline = 0; + int letter = 0; + wchar_t wc; + int mbclen; + + wc = inputwcs[idx]; + mbclen = (mblen_buf[idx] == 0)? 1 : mblen_buf[idx]; + + /* Check context. */ + if (wc == (wchar_t)eolbyte) + { + if (!(syntax_bits & RE_DOT_NEWLINE)) + return 0; + newline = 1; + } + else if (wc == (wchar_t)'\0') + { + if (syntax_bits & RE_DOT_NOT_NULL) + return 0; + newline = 1; + } + + if (iswalnum(wc) || wc == L'_') + letter = 1; + + if (!SUCCEEDS_IN_CONTEXT(pos.constraint, d->states[s].newline, + newline, d->states[s].letter, letter)) + return 0; + + return mbclen; +} + +/* Check whether bracket expression can match or not in the current context. + If it can, return the amount of the bytes with which expression can match, + otherwise return 0. + `pos' is the position of the bracket expression. `idx' is the index + from the buf_begin, and it is the current position in the buffer. */ +static int +match_mb_charset (struct dfa *d, int s, position pos, int idx) +{ + int i; + int match; /* Flag which represent that matching succeed. */ + int match_len; /* Length of the character (or collating element) + with which this operator match. */ + int op_len; /* Length of the operator. */ + char buffer[128]; + wchar_t wcbuf[6]; + + /* Pointer to the structure to which we are currently refering. */ + struct mb_char_classes *work_mbc; + + int newline = 0; + int letter = 0; + wchar_t wc; /* Current refering character. */ + + wc = inputwcs[idx]; + + /* Check context. */ + if (wc == (wchar_t)eolbyte) + { + if (!(syntax_bits & RE_DOT_NEWLINE)) + return 0; + newline = 1; + } + else if (wc == (wchar_t)'\0') + { + if (syntax_bits & RE_DOT_NOT_NULL) + return 0; + newline = 1; + } + if (iswalnum(wc) || wc == L'_') + letter = 1; + if (!SUCCEEDS_IN_CONTEXT(pos.constraint, d->states[s].newline, + newline, d->states[s].letter, letter)) + return 0; + + /* Assign the current refering operator to work_mbc. */ + work_mbc = &(d->mbcsets[(d->multibyte_prop[pos.index]) >> 2]); + match = !work_mbc->invert; + match_len = (mblen_buf[idx] == 0)? 1 : mblen_buf[idx]; + + /* Match in range 0-255? */ + if (wc < NOTCHAR && work_mbc->cset != -1 + && tstbit((unsigned char)wc, d->charclasses[work_mbc->cset])) + goto charset_matched; + + /* match with a character class? */ + for (i = 0; inch_classes; i++) + { + if (iswctype((wint_t)wc, work_mbc->ch_classes[i])) + goto charset_matched; + } + + strncpy(buffer, (char const *) buf_begin + idx, match_len); + buffer[match_len] = '\0'; + + /* match with an equivalent class? */ + for (i = 0; inequivs; i++) + { + op_len = strlen(work_mbc->equivs[i]); + strncpy(buffer, (char const *) buf_begin + idx, op_len); + buffer[op_len] = '\0'; + if (strcoll(work_mbc->equivs[i], buffer) == 0) + { + match_len = op_len; + goto charset_matched; + } + } + + /* match with a collating element? */ + for (i = 0; incoll_elems; i++) + { + op_len = strlen(work_mbc->coll_elems[i]); + strncpy(buffer, (char const *) buf_begin + idx, op_len); + buffer[op_len] = '\0'; + + if (strcoll(work_mbc->coll_elems[i], buffer) == 0) + { + match_len = op_len; + goto charset_matched; + } + } + + wcbuf[0] = wc; + wcbuf[1] = wcbuf[3] = wcbuf[5] = '\0'; + + /* match with a range? */ + for (i = 0; inranges; i++) + { + wcbuf[2] = work_mbc->range_sts[i]; + wcbuf[4] = work_mbc->range_ends[i]; + + if (wcscoll(wcbuf, wcbuf+2) >= 0 && + wcscoll(wcbuf+4, wcbuf) >= 0) + goto charset_matched; + } + + /* match with a character? */ + for (i = 0; inchars; i++) + { + if (wc == work_mbc->chars[i]) + goto charset_matched; + } + + match = !match; + + charset_matched: + return match ? match_len : 0; +} + +/* Check each of `d->states[s].mbps.elem' can match or not. Then return the + array which corresponds to `d->states[s].mbps.elem' and each element of + the array contains the amount of the bytes with which the element can + match. + `idx' is the index from the buf_begin, and it is the current position + in the buffer. + Caller MUST free the array which this function return. */ +static int* +check_matching_with_multibyte_ops (struct dfa *d, int s, int idx) +{ + int i; + int* rarray; + + MALLOC(rarray, int, d->states[s].mbps.nelem); + for (i = 0; i < d->states[s].mbps.nelem; ++i) + { + position pos = d->states[s].mbps.elems[i]; + switch(d->tokens[pos.index]) + { + case ANYCHAR: + rarray[i] = match_anychar(d, s, pos, idx); + break; + case MBCSET: + rarray[i] = match_mb_charset(d, s, pos, idx); + break; + default: + break; /* can not happen. */ + } + } + return rarray; +} + +/* Consume a single character and enumerate all of the positions which can + be next position from the state `s'. + `match_lens' is the input. It can be NULL, but it can also be the output + of check_matching_with_multibyte_ops() for optimization. + `mbclen' and `pps' are the output. `mbclen' is the length of the + character consumed, and `pps' is the set this function enumerate. */ +static status_transit_state +transit_state_consume_1char (struct dfa *d, int s, unsigned char const **pp, + int *match_lens, int *mbclen, position_set *pps) +{ + int i, j; + int s1, s2; + int* work_mbls; + status_transit_state rs = TRANSIT_STATE_DONE; + + /* Calculate the length of the (single/multi byte) character + to which p points. */ + *mbclen = (mblen_buf[*pp - buf_begin] == 0)? 1 + : mblen_buf[*pp - buf_begin]; + + /* Calculate the state which can be reached from the state `s' by + consuming `*mbclen' single bytes from the buffer. */ + s1 = s; + for (i = 0; i < *mbclen; i++) + { + s2 = s1; + rs = transit_state_singlebyte(d, s2, (*pp)++, &s1); + } + /* Copy the positions contained by `s1' to the set `pps'. */ + copy(&(d->states[s1].elems), pps); + + /* Check (inputed)match_lens, and initialize if it is NULL. */ + if (match_lens == NULL && d->states[s].mbps.nelem != 0) + work_mbls = check_matching_with_multibyte_ops(d, s, *pp - buf_begin); + else + work_mbls = match_lens; + + /* Add all of the positions which can be reached from `s' by consuming + a single character. */ + for (i = 0; i < d->states[s].mbps.nelem ; i++) + { + if (work_mbls[i] == *mbclen) + for (j = 0; j < d->follows[d->states[s].mbps.elems[i].index].nelem; + j++) + insert(d->follows[d->states[s].mbps.elems[i].index].elems[j], + pps); + } + + if (match_lens == NULL && work_mbls != NULL) + free(work_mbls); + return rs; +} + +/* Transit state from s, then return new state and update the pointer of the + buffer. This function is for some operator which can match with a multi- + byte character or a collating element (which may be multi characters). */ +static int +transit_state (struct dfa *d, int s, unsigned char const **pp) +{ + int s1; + int mbclen; /* The length of current input multibyte character. */ + int maxlen = 0; + int i, j; + int *match_lens = NULL; + int nelem = d->states[s].mbps.nelem; /* Just a alias. */ + position_set follows; + unsigned char const *p1 = *pp; + wchar_t wc; + + if (nelem > 0) + /* This state has (a) multibyte operator(s). + We check whether each of them can match or not. */ + { + /* Note: caller must free the return value of this function. */ + match_lens = check_matching_with_multibyte_ops(d, s, *pp - buf_begin); + + for (i = 0; i < nelem; i++) + /* Search the operator which match the longest string, + in this state. */ + { + if (match_lens[i] > maxlen) + maxlen = match_lens[i]; + } + } + + if (nelem == 0 || maxlen == 0) + /* This state has no multibyte operator which can match. + We need to check only one single byte character. */ + { + status_transit_state rs; + rs = transit_state_singlebyte(d, s, *pp, &s1); + + /* We must update the pointer if state transition succeeded. */ + if (rs == TRANSIT_STATE_DONE) + ++*pp; + + free(match_lens); + return s1; + } + + /* This state has some operators which can match a multibyte character. */ + follows.nelem = 0; + MALLOC(follows.elems, position, d->nleaves); + + /* `maxlen' may be longer than the length of a character, because it may + not be a character but a (multi character) collating element. + We enumerate all of the positions which `s' can reach by consuming + `maxlen' bytes. */ + transit_state_consume_1char(d, s, pp, match_lens, &mbclen, &follows); + + wc = inputwcs[*pp - mbclen - buf_begin]; + s1 = state_index(d, &follows, wc == L'\n', iswalnum(wc)); + realloc_trans_if_necessary(d, s1); + + while (*pp - p1 < maxlen) + { + follows.nelem = 0; + transit_state_consume_1char(d, s1, pp, NULL, &mbclen, &follows); + + for (i = 0; i < nelem ; i++) + { + if (match_lens[i] == *pp - p1) + for (j = 0; + j < d->follows[d->states[s1].mbps.elems[i].index].nelem; j++) + insert(d->follows[d->states[s1].mbps.elems[i].index].elems[j], + &follows); + } + + wc = inputwcs[*pp - mbclen - buf_begin]; + s1 = state_index(d, &follows, wc == L'\n', iswalnum(wc)); + realloc_trans_if_necessary(d, s1); + } + free(match_lens); + free(follows.elems); + return s1; +} + +#endif /* MBS_SUPPORT */ + +/* Search through a buffer looking for a match to the given struct dfa. + Find the first occurrence of a string matching the regexp in the + buffer, and the shortest possible version thereof. Return a pointer to + the first character after the match, or NULL if none is found. BEGIN + points to the beginning of the buffer, and END points to the first byte + after its end. Note however that we store a sentinel byte (usually + newline) in *END, so the actual buffer must be one byte longer. + When NEWLINE is nonzero, newlines may appear in the matching string. + If COUNT is non-NULL, increment *COUNT once for each newline processed. + Finally, if BACKREF is non-NULL set *BACKREF to indicate whether we + encountered a back-reference (1) or not (0). The caller may use this + to decide whether to fall back on a backtracking matcher. */ +char * +dfaexec (struct dfa *d, char const *begin, char *end, + int newline, int *count, int *backref) +{ + int s, s1, tmp; /* Current state. */ + unsigned char const *p; /* Current input character. */ + int **trans, *t; /* Copy of d->trans so it can be optimized + into a register. */ + unsigned char eol = eolbyte; /* Likewise for eolbyte. */ + static int sbit[NOTCHAR]; /* Table for anding with d->success. */ + static int sbit_init; + unsigned char saved_end; + + if (! sbit_init) + { + unsigned int i; + + sbit_init = 1; + for (i = 0; i < NOTCHAR; ++i) + sbit[i] = (IS_WORD_CONSTITUENT(i)) ? 2 : 1; + sbit[eol] = 4; + } + + if (! d->tralloc) + build_state_zero(d); + + s = s1 = 0; + p = (unsigned char const *) begin; + trans = d->trans; + saved_end = *(unsigned char *) end; + *end = eol; + +#if MBS_SUPPORT + if (d->mb_cur_max > 1) + { + unsigned int i; + int remain_bytes; + buf_begin = (unsigned char *) begin; + buf_end = (unsigned char *) end; + + /* initialize mblen_buf, and inputwcs. */ + MALLOC(mblen_buf, unsigned char, end - begin + 2); + MALLOC(inputwcs, wchar_t, end - begin + 2); + memset(&mbs, 0, sizeof mbs); + remain_bytes = 0; + for (i = 0; i < end - begin + 1; i++) + { + if (remain_bytes == 0) + { + remain_bytes + = mbrtowc(inputwcs + i, begin + i, end - begin - i + 1, &mbs); + if (remain_bytes < 1 + || (remain_bytes == 1 && inputwcs[i] == (wchar_t)begin[i])) + { + remain_bytes = 0; + inputwcs[i] = (wchar_t)begin[i]; + mblen_buf[i] = 0; + } + else + { + mblen_buf[i] = remain_bytes; + remain_bytes--; + } + } + else + { + mblen_buf[i] = remain_bytes; + inputwcs[i] = 0; + remain_bytes--; + } + } + mblen_buf[i] = 0; + inputwcs[i] = 0; /* sentinel */ + } +#endif /* MBS_SUPPORT */ + + for (;;) + { +#if MBS_SUPPORT + if (d->mb_cur_max > 1) + while ((t = trans[s])) + { + if ((char *) p > end) + break; + s1 = s; + SKIP_REMAINS_MB_IF_INITIAL_STATE(s, p); + + if (d->states[s].mbps.nelem == 0) + { + s = t[*p++]; + continue; + } + + /* Can match with a multibyte character (and multi character + collating element). Transition table might be updated. */ + s = transit_state(d, s, &p); + trans = d->trans; + } + else +#endif /* MBS_SUPPORT */ + while ((t = trans[s]) != 0) { /* hand-optimized loop */ + s1 = t[*p++]; + if ((t = trans[s1]) == 0) { + tmp = s ; s = s1 ; s1 = tmp ; /* swap */ + break; + } + s = t[*p++]; + } + + if (s >= 0 && (char *) p <= end && d->fails[s]) + { + if (d->success[s] & sbit[*p]) + { + if (backref) + *backref = (d->states[s].backref != 0); +#if MBS_SUPPORT + if (d->mb_cur_max > 1) + { + free(mblen_buf); + free(inputwcs); + } +#endif /* MBS_SUPPORT */ + *end = saved_end; + return (char *) p; + } + + s1 = s; +#if MBS_SUPPORT + if (d->mb_cur_max > 1) + { + /* Can match with a multibyte character (and multicharacter + collating element). Transition table might be updated. */ + s = transit_state(d, s, &p); + trans = d->trans; + } + else +#endif /* MBS_SUPPORT */ + s = d->fails[s][*p++]; + continue; + } + + /* If the previous character was a newline, count it. */ + if (count && (char *) p <= end && p[-1] == eol) + ++*count; + + /* Check if we've run off the end of the buffer. */ + if ((char *) p > end) + { +#if MBS_SUPPORT + if (d->mb_cur_max > 1) + { + free(mblen_buf); + free(inputwcs); + } +#endif /* MBS_SUPPORT */ + *end = saved_end; + return NULL; + } + + if (s >= 0) + { + build_state(s, d); + trans = d->trans; + continue; + } + + if (p[-1] == eol && newline) + { + s = d->newlines[s1]; + continue; + } + + s = 0; + } +} + +#if MBS_SUPPORT +static void +free_mbdata (struct dfa *d) +{ + unsigned int i; + + free(d->multibyte_prop); + d->multibyte_prop = NULL; + + for (i = 0; i < d->nmbcsets; ++i) + { + unsigned int j; + struct mb_char_classes *p = &(d->mbcsets[i]); + free(p->chars); + free(p->ch_classes); + free(p->range_sts); + free(p->range_ends); + + for (j = 0; j < p->nequivs; ++j) + free(p->equivs[j]); + free(p->equivs); + + for (j = 0; j < p->ncoll_elems; ++j) + free(p->coll_elems[j]); + free(p->coll_elems); + } + + free(d->mbcsets); + d->mbcsets = NULL; + d->nmbcsets = 0; +} +#endif + +/* Initialize the components of a dfa that the other routines don't + initialize for themselves. */ +void +dfainit (struct dfa *d) +{ + memset (d, 0, sizeof *d); + + d->calloc = 1; + MALLOC(d->charclasses, charclass, d->calloc); + + d->talloc = 1; + MALLOC(d->tokens, token, d->talloc); + +#if MBS_SUPPORT + d->mb_cur_max = MB_CUR_MAX; + if (d->mb_cur_max > 1) + { + d->nmultibyte_prop = 1; + MALLOC(d->multibyte_prop, int, d->nmultibyte_prop); + d->mbcsets_alloc = 1; + MALLOC(d->mbcsets, struct mb_char_classes, d->mbcsets_alloc); + } +#endif +} + +#if MBS_SUPPORT +static void +dfaoptimize (struct dfa *d) +{ + unsigned int i; + if (!using_utf8()) + return; + + for (i = 0; i < d->tindex; ++i) + { + switch(d->tokens[i]) + { + case ANYCHAR: + /* Lowered. */ + abort (); + case MBCSET: + /* Requires multi-byte algorithm. */ + return; + default: + break; + } + } + + free_mbdata (d); + d->mb_cur_max = 1; +} +#endif + +/* Parse and analyze a single string of the given length. */ +void +dfacomp (char const *s, size_t len, struct dfa *d, int searchflag) +{ + dfainit(d); + dfaparse(s, len, d); + dfamust(d); +#if MBS_SUPPORT + dfaoptimize(d); +#endif + dfaanalyze(d, searchflag); +} + +/* Free the storage held by the components of a dfa. */ +void +dfafree (struct dfa *d) +{ + int i; + struct dfamust *dm, *ndm; + + free(d->charclasses); + free(d->tokens); + +#if MBS_SUPPORT + if (d->mb_cur_max > 1) + free_mbdata(d); +#endif /* MBS_SUPPORT */ + + for (i = 0; i < d->sindex; ++i) { + free(d->states[i].elems.elems); +#if MBS_SUPPORT + free(d->states[i].mbps.elems); +#endif /* MBS_SUPPORT */ + } + free(d->states); + for (i = 0; i < d->tindex; ++i) + free(d->follows[i].elems); + free(d->follows); + for (i = 0; i < d->tralloc; ++i) + { + free(d->trans[i]); + free(d->fails[i]); + } + free(d->realtrans); + free(d->fails); + free(d->newlines); + free(d->success); + for (dm = d->musts; dm; dm = ndm) + { + ndm = dm->next; + free(dm->must); + free(dm); + } +} + +/* Having found the postfix representation of the regular expression, + try to find a long sequence of characters that must appear in any line + containing the r.e. + Finding a "longest" sequence is beyond the scope here; + we take an easy way out and hope for the best. + (Take "(ab|a)b"--please.) + + We do a bottom-up calculation of sequences of characters that must appear + in matches of r.e.'s represented by trees rooted at the nodes of the postfix + representation: + sequences that must appear at the left of the match ("left") + sequences that must appear at the right of the match ("right") + lists of sequences that must appear somewhere in the match ("in") + sequences that must constitute the match ("is") + + When we get to the root of the tree, we use one of the longest of its + calculated "in" sequences as our answer. The sequence we find is returned in + d->must (where "d" is the single argument passed to "dfamust"); + the length of the sequence is returned in d->mustn. + + The sequences calculated for the various types of node (in pseudo ANSI c) + are shown below. "p" is the operand of unary operators (and the left-hand + operand of binary operators); "q" is the right-hand operand of binary + operators. + + "ZERO" means "a zero-length sequence" below. + + Type left right is in + ---- ---- ----- -- -- + char c # c # c # c # c + + ANYCHAR ZERO ZERO ZERO ZERO + + MBCSET ZERO ZERO ZERO ZERO + + CSET ZERO ZERO ZERO ZERO + + STAR ZERO ZERO ZERO ZERO + + QMARK ZERO ZERO ZERO ZERO + + PLUS p->left p->right ZERO p->in + + CAT (p->is==ZERO)? (q->is==ZERO)? (p->is!=ZERO && p->in plus + p->left : q->right : q->is!=ZERO) ? q->in plus + p->is##q->left p->right##q->is p->is##q->is : p->right##q->left + ZERO + + OR longest common longest common (do p->is and substrings common to + leading trailing q->is have same p->in and q->in + (sub)sequence (sub)sequence length and + of p->left of p->right content) ? + and q->left and q->right p->is : NULL + + If there's anything else we recognize in the tree, all four sequences get set + to zero-length sequences. If there's something we don't recognize in the tree, + we just return a zero-length sequence. + + Break ties in favor of infrequent letters (choosing 'zzz' in preference to + 'aaa')? + + And. . .is it here or someplace that we might ponder "optimizations" such as + egrep 'psi|epsilon' -> egrep 'psi' + egrep 'pepsi|epsilon' -> egrep 'epsi' + (Yes, we now find "epsi" as a "string + that must occur", but we might also + simplify the *entire* r.e. being sought) + grep '[c]' -> grep 'c' + grep '(ab|a)b' -> grep 'ab' + grep 'ab*' -> grep 'a' + grep 'a*b' -> grep 'b' + + There are several issues: + + Is optimization easy (enough)? + + Does optimization actually accomplish anything, + or is the automaton you get from "psi|epsilon" (for example) + the same as the one you get from "psi" (for example)? + + Are optimizable r.e.'s likely to be used in real-life situations + (something like 'ab*' is probably unlikely; something like is + 'psi|epsilon' is likelier)? */ + +static char * +icatalloc (char const *old, char const *new) +{ + char *result; + size_t oldsize, newsize; + + newsize = (new == NULL) ? 0 : strlen(new); + if (old == NULL) + oldsize = 0; + else if (newsize == 0) + return (char *) old; + else oldsize = strlen(old); + if (old == NULL) + result = malloc(newsize + 1); + else + result = realloc((void *) old, oldsize + newsize + 1); + if (result != NULL && new != NULL) + (void) strcpy(result + oldsize, new); + return result; +} + +static char * +icpyalloc (char const *string) +{ + return icatalloc (NULL, string); +} + +static char * +istrstr (char const *lookin, char const *lookfor) +{ + char const *cp; + size_t len; + + len = strlen(lookfor); + for (cp = lookin; *cp != '\0'; ++cp) + if (strncmp(cp, lookfor, len) == 0) + return (char *) cp; + return NULL; +} + +static void +freelist (char **cpp) +{ + int i; + + if (cpp == NULL) + return; + for (i = 0; cpp[i] != NULL; ++i) + { + free(cpp[i]); + cpp[i] = NULL; + } +} + +static char ** +enlist (char **cpp, char *new, size_t len) +{ + int i, j; + + if (cpp == NULL) + return NULL; + if ((new = icpyalloc(new)) == NULL) + { + freelist(cpp); + return NULL; + } + new[len] = '\0'; + /* Is there already something in the list that's new (or longer)? */ + for (i = 0; cpp[i] != NULL; ++i) + if (istrstr(cpp[i], new) != NULL) + { + free(new); + return cpp; + } + /* Eliminate any obsoleted strings. */ + j = 0; + while (cpp[j] != NULL) + if (istrstr(new, cpp[j]) == NULL) + ++j; + else + { + free(cpp[j]); + if (--i == j) + break; + cpp[j] = cpp[i]; + cpp[i] = NULL; + } + /* Add the new string. */ + cpp = realloc((char *) cpp, (i + 2) * sizeof *cpp); + if (cpp == NULL) + return NULL; + cpp[i] = new; + cpp[i + 1] = NULL; + return cpp; +} + +/* Given pointers to two strings, return a pointer to an allocated + list of their distinct common substrings. Return NULL if something + seems wild. */ +static char ** +comsubs (char *left, char const *right) +{ + char **cpp; + char *lcp; + char *rcp; + size_t i, len; + + if (left == NULL || right == NULL) + return NULL; + cpp = malloc(sizeof *cpp); + if (cpp == NULL) + return NULL; + cpp[0] = NULL; + for (lcp = left; *lcp != '\0'; ++lcp) + { + len = 0; + rcp = strchr (right, *lcp); + while (rcp != NULL) + { + for (i = 1; lcp[i] != '\0' && lcp[i] == rcp[i]; ++i) + continue; + if (i > len) + len = i; + rcp = strchr (rcp + 1, *lcp); + } + if (len == 0) + continue; + if ((cpp = enlist(cpp, lcp, len)) == NULL) + break; + } + return cpp; +} + +static char ** +addlists (char **old, char **new) +{ + int i; + + if (old == NULL || new == NULL) + return NULL; + for (i = 0; new[i] != NULL; ++i) + { + old = enlist(old, new[i], strlen(new[i])); + if (old == NULL) + break; + } + return old; +} + +/* Given two lists of substrings, return a new list giving substrings + common to both. */ +static char ** +inboth (char **left, char **right) +{ + char **both; + char **temp; + int lnum, rnum; + + if (left == NULL || right == NULL) + return NULL; + both = malloc(sizeof *both); + if (both == NULL) + return NULL; + both[0] = NULL; + for (lnum = 0; left[lnum] != NULL; ++lnum) + { + for (rnum = 0; right[rnum] != NULL; ++rnum) + { + temp = comsubs(left[lnum], right[rnum]); + if (temp == NULL) + { + freelist(both); + return NULL; + } + both = addlists(both, temp); + freelist(temp); + free(temp); + if (both == NULL) + return NULL; + } + } + return both; +} + +typedef struct +{ + char **in; + char *left; + char *right; + char *is; +} must; + +static void +resetmust (must *mp) +{ + mp->left[0] = mp->right[0] = mp->is[0] = '\0'; + freelist(mp->in); +} + +static void +dfamust (struct dfa *d) +{ + must *musts; + must *mp; + char *result; + int ri; + int i; + int exact; + token t; + static must must0; + struct dfamust *dm; + static char empty_string[] = ""; + + result = empty_string; + exact = 0; + musts = malloc((d->tindex + 1) * sizeof *musts); + if (musts == NULL) + return; + mp = musts; + for (i = 0; i <= d->tindex; ++i) + mp[i] = must0; + for (i = 0; i <= d->tindex; ++i) + { + mp[i].in = malloc(sizeof *mp[i].in); + mp[i].left = malloc(2); + mp[i].right = malloc(2); + mp[i].is = malloc(2); + if (mp[i].in == NULL || mp[i].left == NULL || + mp[i].right == NULL || mp[i].is == NULL) + goto done; + mp[i].left[0] = mp[i].right[0] = mp[i].is[0] = '\0'; + mp[i].in[0] = NULL; + } +#ifdef DEBUG + fprintf(stderr, "dfamust:\n"); + for (i = 0; i < d->tindex; ++i) + { + fprintf(stderr, " %d:", i); + prtok(d->tokens[i]); + } + putc('\n', stderr); +#endif + for (ri = 0; ri < d->tindex; ++ri) + { + switch (t = d->tokens[ri]) + { + case LPAREN: + case RPAREN: + assert (!"neither LPAREN nor RPAREN may appear here"); + case EMPTY: + case BEGLINE: + case ENDLINE: + case BEGWORD: + case ENDWORD: + case LIMWORD: + case NOTLIMWORD: + case BACKREF: + resetmust(mp); + break; + case STAR: + case QMARK: + assert (musts < mp); + --mp; + resetmust(mp); + break; + case OR: + assert (&musts[2] <= mp); + { + char **new; + must *lmp; + must *rmp; + int j, ln, rn, n; + + rmp = --mp; + lmp = --mp; + /* Guaranteed to be. Unlikely, but. . . */ + if (!STREQ (lmp->is, rmp->is)) + lmp->is[0] = '\0'; + /* Left side--easy */ + i = 0; + while (lmp->left[i] != '\0' && lmp->left[i] == rmp->left[i]) + ++i; + lmp->left[i] = '\0'; + /* Right side */ + ln = strlen(lmp->right); + rn = strlen(rmp->right); + n = ln; + if (n > rn) + n = rn; + for (i = 0; i < n; ++i) + if (lmp->right[ln - i - 1] != rmp->right[rn - i - 1]) + break; + for (j = 0; j < i; ++j) + lmp->right[j] = lmp->right[(ln - i) + j]; + lmp->right[j] = '\0'; + new = inboth(lmp->in, rmp->in); + if (new == NULL) + goto done; + freelist(lmp->in); + free(lmp->in); + lmp->in = new; + } + break; + case PLUS: + assert (musts < mp); + --mp; + mp->is[0] = '\0'; + break; + case END: + assert (mp == &musts[1]); + for (i = 0; musts[0].in[i] != NULL; ++i) + if (strlen(musts[0].in[i]) > strlen(result)) + result = musts[0].in[i]; + if (STREQ (result, musts[0].is)) + exact = 1; + goto done; + case CAT: + assert (&musts[2] <= mp); + { + must *lmp; + must *rmp; + + rmp = --mp; + lmp = --mp; + /* In. Everything in left, plus everything in + right, plus catenation of + left's right and right's left. */ + lmp->in = addlists(lmp->in, rmp->in); + if (lmp->in == NULL) + goto done; + if (lmp->right[0] != '\0' && + rmp->left[0] != '\0') + { + char *tp; + + tp = icpyalloc(lmp->right); + if (tp == NULL) + goto done; + tp = icatalloc(tp, rmp->left); + if (tp == NULL) + goto done; + lmp->in = enlist(lmp->in, tp, + strlen(tp)); + free(tp); + if (lmp->in == NULL) + goto done; + } + /* Left-hand */ + if (lmp->is[0] != '\0') + { + lmp->left = icatalloc(lmp->left, + rmp->left); + if (lmp->left == NULL) + goto done; + } + /* Right-hand */ + if (rmp->is[0] == '\0') + lmp->right[0] = '\0'; + lmp->right = icatalloc(lmp->right, rmp->right); + if (lmp->right == NULL) + goto done; + /* Guaranteed to be */ + if (lmp->is[0] != '\0' && rmp->is[0] != '\0') + { + lmp->is = icatalloc(lmp->is, rmp->is); + if (lmp->is == NULL) + goto done; + } + else + lmp->is[0] = '\0'; + } + break; + default: + if (t < END) + { + assert (!"oops! t >= END"); + } + else if (t == '\0') + { + /* not on *my* shift */ + goto done; + } + else if (t >= CSET +#if MBS_SUPPORT + || t == ANYCHAR + || t == MBCSET +#endif /* MBS_SUPPORT */ + ) + { + /* easy enough */ + resetmust(mp); + } + else + { + /* plain character */ + resetmust(mp); + mp->is[0] = mp->left[0] = mp->right[0] = t; + mp->is[1] = mp->left[1] = mp->right[1] = '\0'; + mp->in = enlist(mp->in, mp->is, (size_t)1); + if (mp->in == NULL) + goto done; + } + break; + } +#ifdef DEBUG + fprintf(stderr, " node: %d:", ri); + prtok(d->tokens[ri]); + fprintf(stderr, "\n in:"); + for (i = 0; mp->in[i]; ++i) + fprintf(stderr, " \"%s\"", mp->in[i]); + fprintf(stderr, "\n is: \"%s\"\n", mp->is); + fprintf(stderr, " left: \"%s\"\n", mp->left); + fprintf(stderr, " right: \"%s\"\n", mp->right); +#endif + ++mp; + } + done: + if (strlen(result)) + { + MALLOC(dm, struct dfamust, 1); + dm->exact = exact; + MALLOC(dm->must, char, strlen(result) + 1); + strcpy(dm->must, result); + dm->next = d->musts; + d->musts = dm; + } + mp = musts; + for (i = 0; i <= d->tindex; ++i) + { + freelist(mp[i].in); + free(mp[i].in); + free(mp[i].left); + free(mp[i].right); + free(mp[i].is); + } + free(mp); +} + +struct dfa * +dfaalloc (void) +{ + return xmalloc (sizeof (struct dfa)); +} + +struct dfamust * +dfamusts (struct dfa const *d) +{ + return d->musts; +} + +/* vim:set shiftwidth=2: */ diff -urN gawk-3.1.7/dfa.h gawk-3.1.8/dfa.h --- gawk-3.1.7/dfa.h 1970-01-01 02:00:00.000000000 +0200 +++ gawk-3.1.8/dfa.h 2010-04-20 10:58:46.000000000 +0300 @@ -0,0 +1,96 @@ +/* dfa.h - declarations for GNU deterministic regexp compiler + Copyright (C) 1988, 1998, 2007, 2009-2010 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., + 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA */ + +/* Written June, 1988 by Mike Haertel */ + +#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 6) || __STRICT_ANSI__ +# define __attribute__(x) +#endif + +/* Element of a list of strings, at least one of which is known to + appear in any R.E. matching the DFA. */ +struct dfamust +{ + int exact; + char *must; + struct dfamust *next; +}; + +/* The dfa structure. It is completely opaque. */ +struct dfa; + +/* Entry points. */ + +/* Allocate a struct dfa. The struct dfa is completely opaque. + The returned pointer should be passed directly to free() after + calling dfafree() on it. */ +extern struct dfa *dfaalloc (void); + +/* Return the dfamusts associated with a dfa. */ +extern struct dfamust *dfamusts (struct dfa const *); + +/* dfasyntax() takes three arguments; the first sets the syntax bits described + earlier in this file, the second sets the case-folding flag, and the + third specifies the line terminator. */ +extern void dfasyntax (reg_syntax_t, int, unsigned char); + +/* Compile the given string of the given length into the given struct dfa. + Final argument is a flag specifying whether to build a searching or an + exact matcher. */ +extern void dfacomp (char const *, size_t, struct dfa *, int); + +/* Search through a buffer looking for a match to the given struct dfa. + Find the first occurrence of a string matching the regexp in the + buffer, and the shortest possible version thereof. Return a pointer to + the first character after the match, or NULL if none is found. BEGIN + points to the beginning of the buffer, and END points to the first byte + after its end. Note however that we store a sentinel byte (usually + newline) in *END, so the actual buffer must be one byte longer. + When NEWLINE is nonzero, newlines may appear in the matching string. + If COUNT is non-NULL, increment *COUNT once for each newline processed. + Finally, if BACKREF is non-NULL set *BACKREF to indicate whether we + encountered a back-reference (1) or not (0). The caller may use this + to decide whether to fall back on a backtracking matcher. */ +extern char *dfaexec (struct dfa *d, char const *begin, char *end, + int newline, int *count, int *backref); + +/* Free the storage held by the components of a struct dfa. */ +extern void dfafree (struct dfa *); + +/* Entry points for people who know what they're doing. */ + +/* Initialize the components of a struct dfa. */ +extern void dfainit (struct dfa *); + +/* Incrementally parse a string of given length into a struct dfa. */ +extern void dfaparse (char const *, size_t, struct dfa *); + +/* Analyze a parsed regexp; second argument tells whether to build a searching + or an exact matcher. */ +extern void dfaanalyze (struct dfa *, int); + +/* Compute, for each possible character, the transitions out of a given + state, storing them in an array of integers. */ +extern void dfastate (int, struct dfa *, int []); + +/* Error handling. */ + +/* dfaerror() is called by the regexp routines whenever an error occurs. It + takes a single argument, a NUL-terminated string describing the error. + The user must supply a dfaerror. */ +extern void dfaerror (const char *) __attribute__ ((noreturn)); diff -urN gawk-3.1.7/doc/ChangeLog gawk-3.1.8/doc/ChangeLog --- gawk-3.1.7/doc/ChangeLog 2009-07-21 22:30:01.000000000 +0300 +++ gawk-3.1.8/doc/ChangeLog 2010-05-06 20:56:25.000000000 +0300 @@ -1,3 +1,38 @@ +Thu May 6 20:55:14 2010 Arnold D. Robbins + + * Release 3.1.8: Release tar file made. + +Tue Apr 20 11:48:31 2010 Arnold D. Robbins + + * texinfo.tex: Update to latest from texinfo git repository. + * gawk.texi, gawk.1, awkcard.in: Update version and copyright dates. + +Thu Mar 25 21:51:58 2010 Arnold D. Robbins + + * gawk.1: Clarify the socket timeout environment variables. + +Wed Mar 10 21:28:12 2010 Arnold D. Robbins + + * gawk.texi: Reworded 'index in array' so that there's no chance of + someone using 'index' as a real subscript. Thanks to Hermann + Peifer for the push. + +Thu Feb 4 20:54:48 2010 Arnold D. Robbins + + * gawk.texi: Multiple cleanups and bringing of things up to date. + * gawk.1: Ditto, only not as much. + * Makefile.am: New `all-pdf' target to make PDF files of manpage + and reference card. + +Tue Aug 4 06:07:35 2009 Arnold D. Robbins + + * gawk.texi, gawk.1, awkcard.in: Document that 0 flag in + printf applies only to the numeric formats. + +Tue Aug 4 05:58:52 2009 Arnold D. Robbins + + * texinfo.tex: Updated to current version. + Tue Jul 21 22:28:56 2009 Arnold D. Robbins * Release 3.1.7: Release tar file made. diff -urN gawk-3.1.7/doc/Makefile.am gawk-3.1.8/doc/Makefile.am --- gawk-3.1.7/doc/Makefile.am 2009-07-13 07:52:43.000000000 +0300 +++ gawk-3.1.8/doc/Makefile.am 2010-04-20 11:30:45.000000000 +0300 @@ -1,7 +1,7 @@ # # doc/Makefile.am --- automake input file for gawk # -# Copyright (C) 2000, 2001, 2002, 2004, 2005, 2007 +# Copyright (C) 2000, 2001, 2002, 2004, 2005, 2007, 2010 # the Free Software Foundation, Inc. # # This file is part of GAWK, the GNU implementation of the @@ -36,7 +36,7 @@ statist.jpg statist.eps statist.pdf # Get rid of generated files when cleaning -CLEANFILES = *.ps *.html *.dvi *~ awkcard.nc awkcard.tr gawk.pdf gawkinet.pdf +CLEANFILES = *.ps *.html *.dvi *~ awkcard.nc awkcard.tr gawk.pdf gawkinet.pdf awkcard.pdf gawk.1.pdf MAKEINFO = @MAKEINFO@ --no-split --force @@ -76,6 +76,10 @@ postscript: gawk.ps gawkinet.ps gawk.1.ps igawk.1.ps $(AWKCARD) +all-pdf: postscript + ps2pdf awkcard.ps awkcard.pdf + ps2pdf gawk.1.ps gawk.1.pdf + gawk.ps: gawk.dvi dvips -o gawk.ps gawk.dvi diff -urN gawk-3.1.7/doc/Makefile.in gawk-3.1.8/doc/Makefile.in --- gawk-3.1.7/doc/Makefile.in 2009-07-21 22:29:59.000000000 +0300 +++ gawk-3.1.8/doc/Makefile.in 2010-05-06 20:55:44.000000000 +0300 @@ -1,4 +1,4 @@ -# Makefile.in generated by automake 1.11 from Makefile.am. +# Makefile.in generated by automake 1.11.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, @@ -18,7 +18,7 @@ # # doc/Makefile.am --- automake input file for gawk # -# Copyright (C) 2000, 2001, 2002, 2004, 2005, 2007 +# Copyright (C) 2000, 2001, 2002, 2004, 2005, 2007, 2010 # the Free Software Foundation, Inc. # # This file is part of GAWK, the GNU implementation of the @@ -67,9 +67,7 @@ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/isc-posix.m4 \ $(top_srcdir)/m4/lcmessage.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ - $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/longlong.m4 \ - $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ - $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/m4/libsigsegv.m4 $(top_srcdir)/m4/longlong.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/socket.m4 \ $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/uintmax_t.m4 \ @@ -122,7 +120,6 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ -AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ @@ -135,18 +132,16 @@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ -DSYMUTIL = @DSYMUTIL@ -DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ -FGREP = @FGREP@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ +HAVE_LIBSIGSEGV = @HAVE_LIBSIGSEGV@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ @@ -154,42 +149,33 @@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ -LD = @LD@ LDFLAGS = @LDFLAGS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSIGSEGV = @LIBSIGSEGV@ -LIBTOOL = @LIBTOOL@ -LIPO = @LIPO@ +LIBSIGSEGV_PREFIX = @LIBSIGSEGV_PREFIX@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ +LTLIBSIGSEGV = @LTLIBSIGSEGV@ MAKEINFO = @MAKEINFO@ --no-split --force MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ POSUB = @POSUB@ -RANLIB = @RANLIB@ -SED = @SED@ -SEGVINCLUDE = @SEGVINCLUDE@ -SEGVSUBDIR = @SEGVSUBDIR@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SOCKET_LIBS = @SOCKET_LIBS@ @@ -207,7 +193,6 @@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ @@ -238,7 +223,6 @@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ @@ -249,7 +233,6 @@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ -subdirs = @subdirs@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ @@ -266,7 +249,7 @@ # Get rid of generated files when cleaning -CLEANFILES = *.ps *.html *.dvi *~ awkcard.nc awkcard.tr gawk.pdf gawkinet.pdf +CLEANFILES = *.ps *.html *.dvi *~ awkcard.nc awkcard.tr gawk.pdf gawkinet.pdf awkcard.pdf gawk.1.pdf TROFF = groff -t -Tps -U SEDME = sed -e "s/^level0 restore/level0 restore flashme 100 72 moveto (Copyright `date '+%m-%d-%y %T'`, FSF, Inc. (all)) show/" \ -e "s/^\/level0 save def/\/level0 save def 30 -48 translate/" @@ -325,12 +308,6 @@ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - .texi.info: restore=: && backupdir="$(am__leading_dot)am$$$$" && \ am__cwd=`pwd` && $(am__cd) $(srcdir) && \ @@ -612,7 +589,7 @@ @echo "it deletes files that may require special tools to rebuild." clean: clean-am -clean-am: clean-aminfo clean-generic clean-libtool mostlyclean-am +clean-am: clean-aminfo clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile @@ -742,8 +719,7 @@ mostlyclean: mostlyclean-am -mostlyclean-am: mostlyclean-aminfo mostlyclean-generic \ - mostlyclean-libtool +mostlyclean-am: mostlyclean-aminfo mostlyclean-generic pdf: pdf-am @@ -762,19 +738,19 @@ .MAKE: install-am install-data-am install-strip uninstall-am .PHONY: all all-am check check-am clean clean-aminfo clean-generic \ - clean-libtool dist-info distclean distclean-generic \ - distclean-libtool distdir dvi dvi-am html html-am info info-am \ - install install-am install-data install-data-am \ - install-data-hook install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-man install-man1 install-pdf \ - install-pdf-am install-ps install-ps-am install-strip \ - installcheck installcheck-am installdirs maintainer-clean \ - maintainer-clean-aminfo maintainer-clean-generic mostlyclean \ - mostlyclean-aminfo mostlyclean-generic mostlyclean-libtool pdf \ - pdf-am ps ps-am uninstall uninstall-am uninstall-dvi-am \ - uninstall-hook uninstall-html-am uninstall-info-am \ - uninstall-man uninstall-man1 uninstall-pdf-am uninstall-ps-am + dist-info distclean distclean-generic distdir dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-data-hook install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-man1 \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-aminfo \ + maintainer-clean-generic mostlyclean mostlyclean-aminfo \ + mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am \ + uninstall-dvi-am uninstall-hook uninstall-html-am \ + uninstall-info-am uninstall-man uninstall-man1 \ + uninstall-pdf-am uninstall-ps-am # Link gawk.1 to pgawk.1 @@ -789,6 +765,10 @@ postscript: gawk.ps gawkinet.ps gawk.1.ps igawk.1.ps $(AWKCARD) +all-pdf: postscript + ps2pdf awkcard.ps awkcard.pdf + ps2pdf gawk.1.ps gawk.1.pdf + gawk.ps: gawk.dvi dvips -o gawk.ps gawk.dvi diff -urN gawk-3.1.7/doc/awkcard.in gawk-3.1.8/doc/awkcard.in --- gawk-3.1.7/doc/awkcard.in 2009-07-21 22:06:50.000000000 +0300 +++ gawk-3.1.8/doc/awkcard.in 2010-04-20 12:10:01.000000000 +0300 @@ -1,7 +1,7 @@ .\" AWK Reference Card --- Arnold Robbins, arnold@skeeve.com .\" .\" Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, -.\" 2003, 2004, 2005, 2007, 2009 Free Software Foundation, Inc. +.\" 2003, 2004, 2005, 2007, 2009, 2010 Free Software Foundation, Inc. .\" .\" Permission is granted to make and distribute verbatim copies of .\" this reference card provided the copyright notice and this permission @@ -101,7 +101,7 @@ .SL .nf \*(FRCopyright \(co 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -2005, 2007, 2009 Free Software Foundation, Inc. +2005, 2007, 2009, 2010 Free Software Foundation, Inc. .nf .BT @@ -1417,7 +1417,7 @@ T} \*(FC0\fP T{ pad output with zeros instead of spaces. -This applies even to non-numeric output formats. +This applies only to the numeric output formats. Only has an effect when the field width is wider than the value to be printed. T} @@ -1911,7 +1911,7 @@ .ES .nf \*(CDHost: \*(FCftp.gnu.org\*(FR -File: \*(FC/gnu/gawk/gawk-3.1.7.tar.gz\fP +File: \*(FC/gnu/gawk/gawk-3.1.8.tar.gz\fP .in +.2i .fi GNU \*(AK (\*(GK). There may be a later version. @@ -1944,7 +1944,7 @@ .ES .fi \*(CDCopyright \(co 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, -2007, 2009 Free Software Foundation, Inc. +2007, 2009, 2010 Free Software Foundation, Inc. .sp .5 Permission is granted to make and distribute verbatim copies of this reference card provided the copyright notice and this permission notice diff -urN gawk-3.1.7/doc/gawk.1 gawk-3.1.8/doc/gawk.1 --- gawk-3.1.7/doc/gawk.1 2009-07-10 09:53:03.000000000 +0300 +++ gawk-3.1.8/doc/gawk.1 2010-04-20 11:39:47.000000000 +0300 @@ -22,7 +22,7 @@ . if \w'\(rq' .ds rq "\(rq . \} .\} -.TH GAWK 1 "Jul 10 2009" "Free Software Foundation" "Utility Commands" +.TH GAWK 1 "Apr 20 2010" "Free Software Foundation" "Utility Commands" .SH NAME gawk \- pattern scanning and processing language .SH SYNOPSIS @@ -940,7 +940,7 @@ operator to test for these elements. The following elements are guaranteed to be available: .RS -.TP \w'\fBPROCINFO["pgrpid"]\fR'u+1n +.TP \w'\fBPROCINFO["version"]\fR'u+1n \fBPROCINFO["egid"]\fP the value of the .IR getegid (2) @@ -978,7 +978,7 @@ system call. .TP \fBPROCINFO["version"]\fP -The version of +the version of .IR gawk . This is available from version 3.1.4 and later. @@ -1684,14 +1684,7 @@ and .BR printf . .TP -.PD 0 -.B "< >" -.TP -.PD 0 -.B "<= >=" -.TP -.PD -.B "!= ==" +.B "< > <= >= != ==" The regular relational operators. .TP .B "~ !~" @@ -1735,11 +1728,7 @@ .I expr3 is evaluated. .TP -.PD 0 -.B "= += \-=" -.TP -.PD -.B "*= /= %= ^=" +.B "= += \-= *= /= %= ^=" Assignment. Both absolute assignment .BI ( var " = " value ) and operator-assignment (the other forms) are supported. @@ -1927,7 +1916,8 @@ contains a string describing the problem. .PP .BR NOTE : -If using a pipe, co-process, or socket to +Failure in opening a two-way socket will result in a non-fatal error being +returned to the calling function. If using a pipe, co-process, or socket to .BR getline , or from .B print @@ -2023,22 +2013,6 @@ .B % character; no argument is converted. .PP -.BR NOTE : -When using the integer format-control letters for values that are -outside the range of a C -.B long -integer, -.I gawk -switches to the -.B %0f -format specifier. If -.B \-\^\-lint -is provided on the command line -.I gawk -warns about this. Other versions of -.I awk -may print invalid values or do something else entirely. -.PP Optional, additional parameters may lie between the .B % and the control letter: @@ -2104,7 +2078,7 @@ .B 0 (zero) acts as a flag, that indicates output should be padded with zeroes instead of spaces. -This applies even to non-numeric output formats. +This applies only to the numeric output formats. This flag only has an effect when the field width is wider than the value to be printed. .TP @@ -3412,6 +3386,14 @@ .B \-\^\-file options. .PP +For socket communication, two special environment variables can be used to control the number of retries +.RB ( GAWK_SOCK_RETRIES ), +and the interval between retries +.RB ( GAWK_MSEC_SLEEP ). +The interval is in milliseconds. On systems that do not support +.IR usleep (3), +the value is rounded up to an integral number of seconds. +.PP If .B POSIXLY_CORRECT exists in the environment, then @@ -3424,6 +3406,33 @@ has been specified, .I gawk issues a warning message to this effect. +.SH EXIT STATUS +If the +.B exit +statement is used with a value, +then +.I gawk +exits with +the numeric value given to it. +.PP +Otherwise, if there were no problems during execution, +.I gawk +exits with the value of the C constant +.BR EXIT_SUCCESS . +This is usually zero. +.PP +If an error occurs, +.I gawk +exits with the value of +the C constant +.BR EXIT_FAILURE . +This is usually one. +.PP +If +.I gawk +exits because of a fatal error, the exit +status is 2. On non-POSIX systems, this value may be mapped to +.BR EXIT_FAILURE . .SH SEE ALSO .IR egrep (1), .IR getpid (2), @@ -3495,7 +3504,7 @@ .SH VERSION INFORMATION This man page documents .IR gawk , -version 3.1.7. +version 3.1.8. .SH BUG REPORTS If you find a bug in .IR gawk , @@ -3545,7 +3554,8 @@ We thank him. .SH COPYING PERMISSIONS Copyright \(co 1989, 1991, 1992, 1993, 1994, 1995, 1996, -1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005, 2007, 2009 +1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005, 2007, 2009, +2010 Free Software Foundation, Inc. .PP Permission is granted to make and distribute verbatim copies of diff -urN gawk-3.1.7/doc/gawk.texi gawk-3.1.8/doc/gawk.texi --- gawk-3.1.7/doc/gawk.texi 2009-07-21 22:14:57.000000000 +0300 +++ gawk-3.1.8/doc/gawk.texi 2010-04-20 11:41:01.000000000 +0300 @@ -20,9 +20,9 @@ @c applies to and all the info about who's publishing this edition @c These apply across the board. -@set UPDATE-MONTH July, 2009 +@set UPDATE-MONTH April, 2010 @set VERSION 3.1 -@set PATCHLEVEL 7 +@set PATCHLEVEL 8 @set FSF @@ -111,7 +111,8 @@ @copying Copyright @copyright{} 1989, 1991, 1992, 1993, 1996, 1997, 1998, 1999, -2000, 2001, 2002, 2003, 2004, 2005, 2007, 2009 Free Software Foundation, Inc. +2000, 2001, 2002, 2003, 2004, 2005, 2007, 2009, 2010 +Free Software Foundation, Inc. @sp 2 This is Edition @value{EDITION} of @cite{@value{TITLE}: @value{SUBTITLE}}, @@ -592,8 +593,6 @@ * Additional Configuration Options:: Other compile-time options. * Configuration Philosophy:: How it's all supposed to work. * Non-Unix Installation:: Installation on Other Operating Systems. -* Amiga Installation:: Installing @command{gawk} on an Amiga. -* BeOS Installation:: Installing @command{gawk} on BeOS. * PC Installation:: Installing and Compiling @command{gawk} on MS-DOS and OS/2. * PC Binary Installation:: Installing a prepared distribution. @@ -616,6 +615,7 @@ * Atari Installation:: Installing @command{gawk} on the Atari ST. * Atari Compiling:: Compiling @command{gawk} on Atari. * Atari Using:: Running @command{gawk} on Atari. +* BeOS Installation:: Installing @command{gawk} on BeOS. * Tandem Installation:: Installing @command{gawk} on a Tandem. * Bugs:: Reporting Problems and Bugs. * Other Versions:: Other freely available @command{awk} @@ -863,7 +863,8 @@ ``GNU awk''). @command{gawk} runs on a broad range of Unix systems, ranging from 80386 PC-based computers up through large-scale systems, such as Crays. @command{gawk} has also been ported to Mac OS X, -MS-DOS, Microsoft Windows (all versions) and OS/2 PCs, Atari and Amiga +MS-DOS, Microsoft Windows (all versions) and OS/2 PCs, Atari +@c and Amiga microcomputers, BeOS, Tandem D20, and VMS. @menu @@ -1162,7 +1163,7 @@ strongly, it is done @strong{like this}. The first occurrence of a new term is usually its @dfn{definition} and appears in the same font as the previous occurrence of ``definition'' in this sentence. -@value{FN}s are indicated like this: @file{/path/to/ourfile}. +Finally, @value{FN}s are indicated like this: @file{/path/to/ourfile}. @end ifnotinfo Characters that you type at the keyboard look @kbd{like this}. In particular, @@ -1370,7 +1371,7 @@ for several years. Fortunately, late in 2008, a volunteer took on the task of setting up -an @command{awk}-related web site @uref{http://awk.info} and did a very +an @command{awk}-related web site---@uref{http://awk.info}---and did a very nice job. If you have written an interesting @command{awk} program, or have written @@ -1459,30 +1460,45 @@ Drepper, provided invaluable help and feedback for the design of the internationalization features. +@c @cindex Brown, Martin +@c @cindex Buening, Andreas +@c @cindex Hasegawa, Isamu +@c @cindex Rommel, Kai Uwe +@c Martin Brown, +@c Andreas Buening, +@c Isamu Hasegawa, +@c Kai Uwe Rommel, + @cindex Beebe, Nelson -@cindex Brown, Martin -@cindex Buening, Andreas +@cindex Colombo, Antonio @cindex Deifik, Scott +@cindex DuBois, John @cindex Hankerson, Darrel -@c @cindex Hasegawa, Isamu @cindex Jaegermann, Michal @cindex Kahrs, J@"urgen +@cindex Kasal, Stepan +@cindex Pitts, Davi @cindex Rankin, Pat -@cindex Rommel, Kai Uwe +@cindex Schorr, Andrew +@cindex Vinschen, Corinna +@cindex Wallin, Anders @cindex Zaretskii, Eli Nelson Beebe, -Martin Brown, -Andreas Buening, +Antonio Colombo Scott Deifik, +John H. DuBois III, Darrel Hankerson, -@c Isamu Hasegawa, Michal Jaegermann, J@"urgen Kahrs, +Dave Pitts, +Stepan Kasal, Pat Rankin, -Kai Uwe Rommel, +Andrew Schorr, +Corinna Vinschen, +Anders Wallin, and Eli Zaretskii (in alphabetical order) -make up the +make up the current @command{gawk} ``crack portability team.'' Without their hard work and help, @command{gawk} would not be nearly the fine program it is today. It has been and continues to be a pleasure working with this team of fine @@ -1516,7 +1532,7 @@ Arnold Robbins @* Nof Ayalon @* ISRAEL @* -March, 2001 +February, 2010 @ignore @c Try this @@ -2766,8 +2782,8 @@ Complex programs have been written in @command{awk}, including a complete retargetable assembler for eight-bit microprocessors (@pxref{Glossary}, for more information), and a microcode assembler for a special-purpose Prolog -computer. More recently, @command{gawk} was used for writing a Wiki -clone.@footnote{@uref{http://www.awk-scripting.de/cgi-bin/wiki.cgi/yawk/, Yet Another Wiki Clone}.} +computer. More recently, @command{gawk} was used for writing a +@uref{http://www.awk-scripting.de/cgi-bin/wiki.cgi/yawk/, a Wiki clone}. While the original @command{awk}'s capabilities were strained by tasks of such complexity, modern versions are more capable. Even the Bell Labs version of @command{awk} has fewer predefined limits, and those @@ -5605,7 +5621,8 @@ In this version of @code{getline}, none of the built-in variables are changed and the record is not split into fields. The only variable -changed is @var{var}. +changed is @var{var}.@footnote{This is not quite true. @code{RT} could +be changed if @code{RS} is a regular expression.} For example, the following program copies all the input files to the output, except for records that say @w{@samp{@@include @var{filename}}}. Such a record is replaced by the contents of the file @@ -6452,12 +6469,10 @@ decimal point. For @samp{%g} and @samp{%G}, trailing zeros are not removed from the result. -@cindex dark corner @item 0 A leading @samp{0} (zero) acts as a flag that indicates that output should be padded with zeros instead of spaces. -This applies even to non-numeric output formats. -@value{DARKCORNER} +This applies only to the numeric output formats. This flag only has an effect when the field width is wider than the value to print. @@ -7995,7 +8010,7 @@ @item @samp{%'g} @tab Use locale @tab Use locale @item @samp{%g} @tab Use period @tab Use locale @item Input @tab Use period @tab Use locale -@item @samp{strtonum} @tab Use period @tab Use locale +@item @code{strtonum} @tab Use period @tab Use locale @end multitable @end float @@ -9444,8 +9459,7 @@ @cindex @code{|} (vertical bar), @code{|&} operator (I/O) @cindex vertical bar (@code{|}), @code{|&} operator (I/O) @cindex operators, input/output -@item < <= == != -@itemx > >= >> | |& +@item < <= == != > >= >> | |& Relational and redirection. The relational operators and the redirections have the same precedence level. Characters such as @samp{>} serve both as relationals and as @@ -9502,8 +9516,7 @@ @cindex percent sign (@code{%}), @code{%=} operator @cindex @code{^} (caret), @code{^=} operator @cindex caret (@code{^}), @code{^=} operator -@item = += -= *= -@itemx /= %= ^= **= +@item = += -= *= /= %= ^= **= Assignment. These operators group right to left. @end table @@ -11526,6 +11539,13 @@ @node Array Intro @section Introduction to Arrays +@cindex Wall, Larry +@quotation +@i{Doing linear scans over an associateive array is like tryinng to club someone +to death with a loaded Uzi.}@* +Larry Wall +@end quotation + The @command{awk} language provides one-dimensional arrays for storing groups of related strings or numbers. Every @command{awk} array must have a name. Array names have the same @@ -11684,11 +11704,11 @@ An array reference is an expression as follows: @example -@var{array}[@var{index}] +@var{array}[@var{index-expression}] @end example @noindent -Here, @var{array} is the name of an array. The expression @var{index} is +Here, @var{array} is the name of an array. The expression @var{index-expression} is the index of the desired element of the array. The value of the array reference is the current value of that array @@ -11709,14 +11729,14 @@ the following expression: @example -@var{index} in @var{array} +@var{ind} in @var{array} @end example @cindex side effects, array indexing @noindent -This expression tests whether the particular index exists, +This expression tests whether the particular index @var{ind} exists, without the side effect of creating that element if it is not present. -The expression has the value one (true) if @code{@var{array}[@var{index}]} +The expression has the value one (true) if @code{@var{array}[@var{ind}]} exists and zero (false) if it does not exist. For example, this statement tests whether the array @code{frequencies} contains the index @samp{2}: @@ -11746,12 +11766,12 @@ @command{awk} variables: @example -@var{array}[@var{subscript}] = @var{value} +@var{array}[@var{index-expression}] = @var{value} @end example @noindent @var{array} is the name of an array. The expression -@var{subscript} is the index of the element of the array that is +@var{index-expression} is the index of the element of the array that is assigned a value. The expression @var{value} is the value to assign to that element of the array. @@ -11868,11 +11888,12 @@ # Find number of distinct words more than 10 characters long END @{ - for (x in used) + for (x in used) @{ if (length(x) > 10) @{ ++num_long_words print x @} + @} print num_long_words, "words longer than 10 characters" @} @end example @@ -11902,7 +11923,7 @@ statement: @example -delete @var{array}[@var{index}] +delete @var{array}[@var{index-expression}] @end example Once an array element has been deleted, any value the element once @@ -12913,7 +12934,7 @@ string. @value{DARKCORNER} The POSIX standard allows this as well. -@ref{Computed Regexps}, for a +@xref{Computed Regexps}, for a discussion of the difference between using a string constant or a regexp constant, and the implications for writing your program correctly. @@ -15847,7 +15868,7 @@ @cite{GNU gettext tools}.) @end ifnotinfo As of this writing, the latest version of GNU @code{gettext} is -@uref{ftp://ftp.gnu.org/gnu/gettext/gettext-0.11.5.tar.gz, @value{PVERSION} 0.11.5}. +@uref{ftp://ftp.gnu.org/gnu/gettext/gettext-0.17.tar.gz, @value{PVERSION} 0.17}. If a translation of @command{gawk}'s messages exists, then @command{gawk} produces usage messages, warnings, @@ -16194,6 +16215,10 @@ service name. @end table +@quotation NOTE +Failure in opening a two-way socket will result in a non-fatal error being returned to the calling function. +@end quotation + Consider the following very simple example: @example @@ -16791,7 +16816,7 @@ @cindex @command{awk} programs, location of @cindex CGI, @command{awk} scripts for Similar to @option{-f}, reads @command{awk} program text from @var{file}. -There are two differences. The fist is that this option also terminates option processing; anything +There are two differences. The first is that this option also terminates option processing; anything else on the command line is passed on directly to the @command{awk} program. The second is that command line variable assignments of the form @samp{@var{var}=@var{value}} are disallowed. @@ -17217,7 +17242,7 @@ @cindex exit status, of @command{gawk} If the @code{exit} statement is used with a value -(@pxref{Exit Statement}), the @command{gawk} exits with +(@pxref{Exit Statement}), then @command{gawk} exits with the numeric value given to it. Otherwise, if there were no problems during execution, @@ -18035,8 +18060,8 @@ @cindex numbers, Cliff random @cindex functions, library, Cliff random numbers -The Cliff random number -generator@footnote{@uref{http://mathworld.wolfram.com/CliffRandomNumberGenerator.html}} +The +@uref{http://mathworld.wolfram.com/CliffRandomNumberGenerator.html, Cliff random number generator} is a very simple random number generator that ``passes the noise sphere test for randomness by showing no structure.'' It is easily programmed, in less than 10 lines of @command{awk} code: @@ -22003,7 +22028,7 @@ The following @command{awk} program prints the number of occurrences of each word in its input. It illustrates the associative nature of @command{awk} arrays by using strings as subscripts. It -also demonstrates the @samp{for @var{index} in @var{array}} mechanism. +also demonstrates the @samp{for (i in array)} mechanism. Finally, it shows how @command{awk} is used in conjunction with other utility programs to do a useful task of some complexity with a minimum of effort. Some explanations follow the program listing: @@ -23215,7 +23240,7 @@ (@pxref{Conditional Exp}). @item -The expression @samp{@var{index} in @var{array}} outside of @samp{for} +The expression @samp{@var{index-variable} in @var{array}} outside of @samp{for} statements (@pxref{Reference to Elements}). @item @@ -23456,6 +23481,11 @@ @item The ability to delete all of an array at once with @samp{delete @var{array}} +(@pxref{String Functions}). + +@item +The ability for the @code{length} function to accept an array argument and +return the number of elements in the array. (@pxref{Delete}). @end itemize @@ -23633,9 +23663,11 @@ The use of GNU Autoconf to control the configuration process (@pxref{Quick Installation}). +@ignore @item Amiga support (@pxref{Amiga Installation}). +@end ignore @end itemize @@ -23814,13 +23846,6 @@ The @code{strftime} function acquired a third argument to enable printing times as UTC (@pxref{Time Functions}). - -@item -The @option{--disable-libsigsegv} configuration option which -disables configuring, building, compiling and linking against -the @code{libsigsegv} library -(@pxref{Additional Configuration Options}). - @end itemize @c XXX ADD MORE STUFF HERE @@ -23926,6 +23951,7 @@ @cindex Fish, Fred Fred Fish provided the port to Amiga systems and its documentation. +(With Fred's sad passing, this is no longer supported.) @item @cindex Deifik, Scott @@ -23935,7 +23961,7 @@ @item @cindex Grigera, Juan Juan Grigera -maintains the port to Windows32 systems. +provided a port to Windows32 systems. @item @cindex Hankerson, Darrel @@ -23961,8 +23987,14 @@ @cindex Davies, Stephen Stephen Davies provided the initial port to Tandem systems and its documentation. -Matthew Woehlke provided improvements for Tandem's POSIX-compliant + +@item +@cindex Woehlke, Matthew +@cindex Wildenhues, Ralf +Matthew Woehlke +provided improvements for Tandem's POSIX-compliant systems. +Ralf Wildenhues now maintains this port. @item @cindex Brown, Martin @@ -23987,13 +24019,16 @@ Andreas Buening updated the @command{gawk} port for OS/2. +@item @cindex Hasegawa, Isamu Isamu Hasegawa, of IBM in Japan, contributed support for multibyte characters. +@item @cindex Benzinger, Michael Michael Benzinger contributed the initial code for @code{switch} statements. +@item @cindex McPhee, Patrick Patrick T.J.@: McPhee contributed the code for dynamic loading in Windows32 environments. @@ -24056,31 +24091,17 @@ @item Copy it from someone else who already has it. -@cindex FSF (Free Software Foundation) -@cindex Free Software Foundation (FSF) -@item -Order @command{gawk} directly from the Free Software Foundation. -Software distributions are available for -Gnu/Linux, Unix, and MS-Windows, in several CD packages. -Their address is: - -@display -Free Software Foundation -51 Franklin Street, Fifth Floor -Boston, MA 02110-1301 USA -Phone: +1-617-542-5942 -Fax (including Japan): +1-617-542-2652 -Email: @email{gnu@@gnu.org} -URL: @uref{http://www.gnu.org} -@end display - -@noindent -Ordering from the FSF directly contributes to the support of the foundation -and to the production of more free software. - @item -Retrieve @command{gawk} by using anonymous @command{ftp} to the Internet host +Retrieve @command{gawk} +from the Internet host @code{ftp.gnu.org}, in the directory @file{/gnu/gawk}. +Both anonymous @command{ftp} and @code{http} access are supported. +If you have the @command{wget} program, you can use a command like +the following: + +@example +wget http://ftp.gnu.org/gnu/gawk/gawk-@value{VERSION}.@value{PATCHLEVEL}.tar.gz +@end example @end itemize The GNU software archive is mirrored around the world. @@ -24435,19 +24456,16 @@ @cindex configuration option, @code{--disable-directories-fatal} @item --disable-directories-fatal Causes @command{gawk} to silently skip directories named on the command line. - -@cindex @code{--disable-libsigsegv} configuration option -@cindex configuration option, @code{--disable-libsigsegv} -@item --disable-libsigsegv -The @option{--disable-libsigsegv} configuration option -disables configuring, building, compiling and linking against -the @code{libsigsegv} library. @end table As of version 3.1.5, the @option{--with-included-gettext} configuration option is no longer available, since @command{gawk} expects the GNU @code{gettext} library to be installed as an external library. +As of version 3.1.8, the @option{--disable-libsigsegv} configuration +option is no longer available, since @command{gawk} expects the +GNU @code{libsigsegv} library to be installed as an external library. + @node Configuration Philosophy @appendixsubsec The Configuration Process @@ -24503,87 +24521,11 @@ various non-Unix systems. @menu -* Amiga Installation:: Installing @command{gawk} on an Amiga. -* BeOS Installation:: Installing @command{gawk} on BeOS. * PC Installation:: Installing and Compiling @command{gawk} on MS-DOS and OS/2. * VMS Installation:: Installing @command{gawk} on VMS. @end menu -@node Amiga Installation -@appendixsubsec Installing @command{gawk} on an Amiga - -@cindex amiga -@cindex installation, amiga -You can install @command{gawk} on an Amiga system using a Unix emulation -environment, available via anonymous @command{ftp} from -@code{ftp.ninemoons.com} in the directory @file{pub/ade/current}. -This includes a shell based on @command{pdksh}. The primary component of -this environment is a Unix emulation library, @file{ixemul.lib}. -@c could really use more background here, who wrote this, etc. - -A more complete distribution for the Amiga is available on -the Geek Gadgets CD-ROM, available from: - -@display -CRONUS -1840 E. Warner Road #105-265 -Tempe, AZ 85284 USA -US Toll Free: (800) 804-0833 -Phone: +1-602-491-0442 -FAX: +1-602-491-0048 -Email: @email{info@@ninemoons.com} -WWW: @uref{http://www.ninemoons.com} -Anonymous @command{ftp} site: @code{ftp.ninemoons.com} -@end display - -Once you have the distribution, you can configure @command{gawk} simply by -running @command{configure}: - -@example -configure -v m68k-amigaos -@end example - -Then run @command{make} and you should be all set! -If these steps do not work, please send in a bug report -(@pxref{Bugs}). - -@node BeOS Installation -@appendixsubsec Installing @command{gawk} on BeOS -@cindex BeOS -@cindex installation, beos - -@c From email contributed by Martin Brown, mc@whoever.com -Since BeOS DR9, all the tools that you should need to build @code{gawk} are -included with BeOS. The process is basically identical to the Unix process -of running @command{configure} and then @command{make}. Full instructions are given below. - -You can compile @command{gawk} under BeOS by extracting the standard sources -and running @command{configure}. You @emph{must} specify the location -prefix for the installation directory. For BeOS DR9 and beyond, the best directory to -use is @file{/boot/home/config}, so the @command{configure} command is: - -@example -configure --prefix=/boot/home/config -@end example - -This installs the compiled application into @file{/boot/home/config/bin}, -which is already specified in the standard @env{PATH}. - -Once the configuration process is completed, you can run @command{make}, -and then @samp{make install}: - -@example -$ make -@dots{} -$ make install -@end example - -BeOS uses @command{bash} as its shell; thus, you use @command{gawk} the same way you would -under Unix. -If these steps do not work, please send in a bug report -(@pxref{Bugs}). - @c Rewritten by Scott Deifik @c and Darrel Hankerson @@ -24613,6 +24555,7 @@ OS/2. * Cygwin:: Building and running @command{gawk} for Cygwin. +* MSYS:: Using @command{gawk} In The MSYS Environment. @end menu @node PC Binary Installation @@ -24970,7 +24913,7 @@ @appendixsubsubsec Using @command{gawk} In The Cygwin Environment @command{gawk} can be used ``out of the box'' under Windows if you are -using the Cygwin environment.@footnote{@uref{http://www.cygwin.com}} +using the @uref{http://www.cygwin.com, Cygwin environment}. This environment provides an excellent simulation of Unix, using the GNU tools, such as @command{bash}, the GNU Compiler Collection (GCC), GNU Make, and other GNU tools. Compilation and installation for Cygwin @@ -24994,6 +24937,17 @@ for any other environment for MS-DOS or MS-Windows. @end quotation +@node MSYS +@appendixsubsubsec Using @command{gawk} In The MSYS Environment + +In the MSYS environment under Windows, @command{gawk} automatically +uses binary mode for reading and writing files. Thus there is no +need to use the @code{BINMODE} variable. + +This can cause problems with other Unix-like components that have +been ported to Windows that expect @command{gawk} to do automatic +translation of @code{"\r\n"}, since it won't. Caveat Emptor! + @node VMS Installation @appendixsubsec How to Compile and Install @command{gawk} on VMS @@ -25198,6 +25152,7 @@ @menu * Atari Installation:: Installing @command{gawk} on the Atari ST. +* BeOS Installation:: Installing @command{gawk} on BeOS. * Tandem Installation:: Installing @command{gawk} on a Tandem. @end menu @@ -25323,6 +25278,42 @@ strings have to be doubled in order to get literal backslashes (@pxref{Escape Sequences}). +@node BeOS Installation +@appendixsubsec Installing @command{gawk} on BeOS +@cindex BeOS +@cindex installation, beos + +@c From email contributed by Martin Brown, mc@whoever.com +Since BeOS DR9, all the tools that you should need to build @code{gawk} are +included with BeOS. The process is basically identical to the Unix process +of running @command{configure} and then @command{make}. Full instructions are given below. + +You can compile @command{gawk} under BeOS by extracting the standard sources +and running @command{configure}. You @emph{must} specify the location +prefix for the installation directory. For BeOS DR9 and beyond, the best directory to +use is @file{/boot/home/config}, so the @command{configure} command is: + +@example +configure --prefix=/boot/home/config +@end example + +This installs the compiled application into @file{/boot/home/config/bin}, +which is already specified in the standard @env{PATH}. + +Once the configuration process is completed, you can run @command{make}, +and then @samp{make install}: + +@example +$ make +@dots{} +$ make install +@end example + +BeOS uses @command{bash} as its shell; thus, you use @command{gawk} the same way you would +under Unix. +If these steps do not work, please send in a bug report +(@pxref{Bugs}). + @node Tandem Installation @appendixsubsec Installing @command{gawk} on a Tandem @cindex tandem @@ -25461,17 +25452,21 @@ @item MS-DOS @tab Scott Deifik, @email{scottd.mail@@sbcglobal.net}. @c and Darrel Hankerson, @email{hankedr@@auburn.edu}. +@cindex Zaretskii, Eli +@item MS-Windows using MINGW @tab Eli Zaretskii, @email{eliz@@gnu.org}. + @c not supported @ignore @cindex Grigera, Juan @item MS-Windows @tab Juan Grigera, @email{juan@@grigera.com.ar}. -@end ignore @cindex Buening, Andreas @item OS/2 @tab Andreas Buening, @email{andreas.buening@@nexgo.de} +@end ignore @cindex Davies, Stephen @item Tandem @tab Stephen Davies, @email{scldad@@sdc.com.au}. + @cindex Wildenhues, Ralf @item Tandem (POSIX-compliant) @tab Ralf Wildenhues @email{Ralf.Wildenhues@@gmx.de} @@ -25515,7 +25510,7 @@ Brian Kernighan has made his implementation of @command{awk} freely available. You can retrieve this version via the World Wide Web from -his home page.@footnote{@uref{http://www.cs.princeton.edu/~bwk}} +@uref{http://www.cs.princeton.edu/~bwk, his home page}. It is available in several archive formats: @table @asis @@ -25611,10 +25606,11 @@ @item The @code{BINMODE} special variable for non-Unix operating systems (@pxref{PC Using}). -@end itemize -It is to be hoped that a future version of @command{mawk} will support @code{nextfile} +@item +The @code{nextfile} statement (@pxref{Nextfile Statement}). +@end itemize @cindex Sumner, Andrew @cindex @command{awka} compiler for @command{awk} @@ -25651,7 +25647,7 @@ The version of @command{awk} in @file{/usr/xpg4/bin} on Solaris is POSIX compliant. It is based on the @command{awk} from Mortice Kern Systems for PCs. The source code can be downloaded from -the OpenSolaris web site.@footnote{@uref{http://www.opensolaris.org}} +the @uref{http://www.opensolaris.org, OpenSolaris web site}. This author was able to make it compile and work under GNU/Linux with 1--2 hours of work. Making it more generally portable (using GNU Autoconf and/or Automake) would take more work, and this @@ -25664,9 +25660,9 @@ to be a full interpreter, although because it uses Java facilities for I/O and for regexp matching, the language it supports is different from POSIX @command{awk}. More information is available on the -project's home page.@footnote{@uref{http://jawk.sourceforge.net}}. +@uref{http://jawk.sourceforge.net, project's home page}. -@cindex @command{QTawk} +@item @command{QTawk} @cindex QuikTrim Awk This is an independent implementation of @command{awk} distributed under the GPL. It has a large number of extensions over standard @@ -25674,6 +25670,11 @@ See @uref{http://www.quiktrim.org/QTawk.html} for more information, including the manual and a download link. +@item QSE Awk +@cindex QSE Awk +This is an embeddable @command{awk} interpreter. For more information +see @uref{http://code.google.com/p/qse/} and @uref{http://awk.info/?tools/qse}. + @end table @c ENDOFRANGE gligawk @c ENDOFRANGE ingawk @@ -27365,11 +27366,11 @@ numeric values. This @value{SECTION} describes some of the issues involved in using floating-point numbers. -There is a very nice paper on floating-point arithmetic by -David Goldberg, ``What Every -Computer Scientist Should Know About Floating-point Arithmetic,'' -@cite{ACM Computing Surveys} @strong{23}, 1 (1991-03), -5-48.@footnote{@uref{http://www.validlab.com/goldberg/paper.ps}.} +There is a very nice +@uref{http://www.validlab.com/goldberg/paper.pdf, paper on floating-point arithmetic} +by David Goldberg, +``What Every Computer Scientist Should Know About Floating-point Arithmetic,'' +@cite{ACM Computing Surveys} @strong{23}, 1 (1991-03), 5-48. This is worth reading if you are interested in the details, but it does require a background in computer science. @@ -27607,7 +27608,7 @@ of lines long, including machine descriptions for several eight-bit microcomputers. It is a good example of a program that would have been better written in another language. -You can get it from @uref{ftp://ftp.freefriends.org/arnold/Awkstuff/aaa.tgz}. +You can get it from @uref{http://awk.info/?awk100/aaa}. @cindex amazingly workable formatter (@command{awf}) @cindex @command{awf} (amazingly workable formatter) program @@ -27615,8 +27616,8 @@ Henry Spencer at the University of Toronto wrote a formatter that accepts a large subset of the @samp{nroff -ms} and @samp{nroff -man} formatting commands, using @command{awk} and @command{sh}. -It is available over the Internet -from @uref{ftp://ftp.freefriends.org/arnold/Awkstuff/awf.tgz}. +It is available +from @uref{http://awk.info/?tools/awf}. @item Anchor The regexp metacharacters @samp{^} and @samp{$}, which force the match diff -urN gawk-3.1.7/doc/texinfo.tex gawk-3.1.8/doc/texinfo.tex --- gawk-3.1.7/doc/texinfo.tex 2007-10-18 08:40:50.000000000 +0200 +++ gawk-3.1.8/doc/texinfo.tex 2010-04-20 11:46:24.000000000 +0300 @@ -3,11 +3,11 @@ % Load plain if necessary, i.e., if running under initex. \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi % -\def\texinfoversion{2007-09-03.05} +\def\texinfoversion{2009-03-28.05} % -% Copyright (C) 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995, 2007, +% Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995, % 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, -% 2007 Free Software Foundation, Inc. +% 2007, 2008, 2009 Free Software Foundation, Inc. % % This texinfo.tex file is free software: you can redistribute it and/or % modify it under the terms of the GNU General Public License as @@ -97,6 +97,10 @@ \let\ptexslash=\/ \let\ptexstar=\* \let\ptext=\t +\let\ptextop=\top +{\catcode`\'=\active +\global\let\ptexquoteright'}% Math-mode def from plain.tex. +\let\ptexraggedright=\raggedright % If this character appears in an error message or help string, it % starts a new line in the output. @@ -354,7 +358,7 @@ % We don't want .vr (or whatever) entries like this: % \entry{{\tt \indexbackslash }acronym}{32}{\code {\acronym}} % "\acronym" won't work when it's read back in; - % it needs to be + % it needs to be % {\code {{\tt \backslashcurfont }acronym} \shipout\vbox{% % Do this early so pdf references go to the beginning of the page. @@ -460,7 +464,7 @@ \def\argremovecomment#1\comment#2\ArgTerm{\argremovec #1\c\ArgTerm} \def\argremovec#1\c#2\ArgTerm{\argcheckspaces#1\^^M\ArgTerm} -% Each occurence of `\^^M' or `\^^M' is replaced by a single space. +% Each occurrence of `\^^M' or `\^^M' is replaced by a single space. % % \argremovec might leave us with trailing space, e.g., % @end itemize @c foo @@ -485,7 +489,7 @@ % to get _exactly_ the rest of the line, we had to prevent such situation. % We prepended an \empty token at the very beginning and we expand it now, % just before passing the control to \argtorun. -% (Similarily, we have to think about #3 of \argcheckspacesY above: it is +% (Similarly, we have to think about #3 of \argcheckspacesY above: it is % either the null string, or it ends with \^^M---thus there is no danger % that a pair of braces would be stripped. % @@ -542,12 +546,12 @@ % used to check whether the current environment is the one expected. % % Non-false conditionals (@iftex, @ifset) don't fit into this, so they -% are not treated as enviroments; they don't open a group. (The +% are not treated as environments; they don't open a group. (The % implementation of @end takes care not to call \endgroup in this % special case.) -% At runtime, environments start with this: +% At run-time, environments start with this: \def\startenvironment#1{\begingroup\def\thisenv{#1}} % initialize \let\thisenv\empty @@ -565,7 +569,7 @@ \fi } -% Evironment mismatch, #1 expected: +% Environment mismatch, #1 expected: \def\badenverr{% \errhelp = \EMsimple \errmessage{This command can appear only \inenvironment\temp, @@ -649,8 +653,8 @@ \def\jmacro{j} \def\dotless#1{% \def\temp{#1}% - \ifx\temp\imacro \ptexi - \else\ifx\temp\jmacro \j + \ifx\temp\imacro \ifmmode\imath \else\ptexi \fi + \else\ifx\temp\jmacro \ifmmode\jmath \else\j \fi \else \errmessage{@dotless can be used only with i or j}% \fi\fi } @@ -705,7 +709,7 @@ \def\?{?\spacefactor=\endofsentencespacefactor\space} % @frenchspacing on|off says whether to put extra space after punctuation. -% +% \def\onword{on} \def\offword{off} % @@ -916,15 +920,20 @@ \temp } -% @include file insert text of that file as input. +% @include FILE -- \input text of FILE. % \def\include{\parseargusing\filenamecatcodes\includezzz} \def\includezzz#1{% \pushthisfilestack \def\thisfile{#1}% {% - \makevalueexpandable - \def\temp{\input #1 }% + \makevalueexpandable % we want to expand any @value in FILE. + \turnoffactive % and allow special characters in the expansion + \indexnofonts % Allow `@@' and other weird things in file names. + \edef\temp{\noexpand\input #1 }% + % + % This trickery is to read FILE outside of a group, in case it makes + % definitions, etc. \expandafter }\temp \popthisfilestack @@ -939,6 +948,8 @@ \catcode`>=\other \catcode`+=\other \catcode`-=\other + \catcode`\`=\other + \catcode`\'=\other } \def\pushthisfilestack{% @@ -1114,6 +1125,16 @@ \mathunderscore \let\\ = \mathbackslash \mathactive + % make the texinfo accent commands work in math mode + \let\"=\ddot + \let\'=\acute + \let\==\bar + \let\^=\hat + \let\`=\grave + \let\u=\breve + \let\v=\check + \let\~=\tilde + \let\dotaccent=\dot $\finishmath } \def\finishmath#1{#1$\endgroup} % Close the group opened by \tex. @@ -1127,17 +1148,21 @@ \catcode`< = \active \catcode`> = \active \catcode`+ = \active + \catcode`' = \active \gdef\mathactive{% \let^ = \ptexhat \let< = \ptexless \let> = \ptexgtr \let+ = \ptexplus + \let' = \ptexquoteright } } -% @bullet and @minus need the same treatment as @math, just above. +% Some math mode symbols. \def\bullet{$\ptexbullet$} -\def\minus{$-$} +\def\geq{\ifmmode \ge\else $\ge$\fi} +\def\leq{\ifmmode \le\else $\le$\fi} +\def\minus{\ifmmode -\else $-$\fi} % @dots{} outputs an ellipsis using the current font. % We do .5em per period so that it has the same spacing in the cm @@ -1260,7 +1285,7 @@ % that's what we do). % double active backslashes. -% +% {\catcode`\@=0 \catcode`\\=\active @gdef@activebackslashdouble{% @catcode`@\=@active @@ -1272,11 +1297,11 @@ % us) handles it with this amazing macro to replace tokens, with minor % changes for Texinfo. It is included here under the GPL by permission % from the author, Heiko Oberdiek. -% +% % #1 is the tokens to replace. % #2 is the replacement. % #3 is the control sequence with the string. -% +% \def\HyPsdSubst#1#2#3{% \def\HyPsdReplace##1#1##2\END{% ##1% @@ -1311,7 +1336,10 @@ \def\cmykDarkRed{0.28 1 1 0.35} \def\cmykBlack{0 0 0 1} % - \def\pdfsetcolor#1{\pdfliteral{#1 k}} + % k sets the color for filling (usual text, etc.); + % K sets the color for stroking (thin rules, e.g., normal _'s). + \def\pdfsetcolor#1{\pdfliteral{#1 k #1 K}} + % % Set color, and create a mark which defines \thiscolor accordingly, % so that \makeheadline knows which color to restore. \def\setcolor#1{% @@ -1362,8 +1390,11 @@ \openin 1 #1.jpeg \ifeof 1 \openin 1 #1.JPG \ifeof 1 \openin 1 #1.pdf \ifeof 1 - \errhelp = \nopdfimagehelp - \errmessage{Could not find image file #1 for pdf}% + \openin 1 #1.PDF \ifeof 1 + \errhelp = \nopdfimagehelp + \errmessage{Could not find image file #1 for pdf}% + \else \gdef\pdfimgext{PDF}% + \fi \else \gdef\pdfimgext{pdf}% \fi \else \gdef\pdfimgext{JPG}% @@ -1377,7 +1408,7 @@ \closein 1 \endgroup % - % without \immediate, pdftex seg faults when the same image is + % without \immediate, ancient pdftex seg faults when the same image is % included twice. (Version 3.14159-pre-1.0-unofficial-20010704.) \ifnum\pdftexversion < 14 \immediate\pdfimage @@ -1542,11 +1573,15 @@ % tried to figure out what each command should do in the context % of @url. for now, just make @/ a no-op, that's the only one % people have actually reported a problem with. - % + % \normalturnoffactive \def\@{@}% \let\/=\empty \makevalueexpandable + % do we want to go so far as to use \indexnofonts instead of just + % special-casing \var here? + \def\var##1{##1}% + % \leavevmode\setcolor{\urlcolor}% \startlink attr{/Border [0 0 0]}% user{/Subtype /Link /A << /S /URI /URI (#1) >>}% @@ -1577,6 +1612,7 @@ \setcolor{\linkcolor}#1\endlink} \def\done{\edef\st{\global\noexpand\toksA={\the\toksB}}\st} \else + % non-pdf mode \let\pdfmkdest = \gobble \let\pdfurl = \gobble \let\endlink = \relax @@ -1607,6 +1643,10 @@ \def\bf{\fam=\bffam \setfontstyle{bf}}\def\bfstylename{bf} \def\tt{\fam=\ttfam \setfontstyle{tt}} +% Unfortunately, we have to override this for titles and the like, since +% in those cases "rm" is bold. Sigh. +\def\rmisbold{\rm\def\curfontstyle{bf}} + % Texinfo sort of supports the sans serif font style, which plain TeX does not. % So we set up a \sf. \newfam\sffam @@ -1642,11 +1682,17 @@ }% } -% % PDF CMaps. See also LaTeX's t1.cmap. % -% \cmapOT1 -\ifpdf +% do nothing with this by default. +\expandafter\let\csname cmapOT1\endcsname\gobble +\expandafter\let\csname cmapOT1IT\endcsname\gobble +\expandafter\let\csname cmapOT1TT\endcsname\gobble + +% if we are producing pdf, and we have \pdffontattr, then define cmaps. +% (\pdffontattr was introduced many years ago, but people still run +% older pdftex's; it's easy to conditionalize, so we do.) +\ifpdf \ifx\pdffontattr\undefined \else \begingroup \catcode`\^^M=\active \def^^M{^^J}% Output line endings as the ^^J char. \catcode`\%=12 \immediate\pdfobj stream {%!PS-Adobe-3.0 Resource-CMap @@ -1894,11 +1940,7 @@ \expandafter\edef\csname cmapOT1TT\endcsname#1{% \pdffontattr#1{/ToUnicode \the\pdflastobj\space 0 R}% }% -\else - \expandafter\let\csname cmapOT1\endcsname\gobble - \expandafter\let\csname cmapOT1IT\endcsname\gobble - \expandafter\let\csname cmapOT1TT\endcsname\gobble -\fi +\fi\fi % Set the font macro #1 to the font named #2, adding on the @@ -1912,7 +1954,7 @@ } % This is what gets called when #5 of \setfont is empty. \let\cmap\gobble - +% emacs-page end of cmaps % Use cm as the default font prefix. % To specify the font prefix, you must define \fontprefix @@ -1939,7 +1981,7 @@ % Definitions for a main text size of 11pt. This is the default in % Texinfo. -% +% \def\definetextfontsizexi{% % Text fonts (11.2pt, magstep1). \def\textnominalsize{11pt} @@ -2002,8 +2044,6 @@ \setfont\titlesc\scbshape{10}{\magstep4}{OT1} \font\titlei=cmmi12 scaled \magstep3 \font\titlesy=cmsy10 scaled \magstep4 -\def\authorrm{\secrm} -\def\authortt{\sectt} \def\titleecsize{2074} % Chapter (and unnumbered) fonts (17.28pt). @@ -2072,7 +2112,7 @@ % section, chapter, etc., sizes following suit. This is for the GNU % Press printing of the Emacs 22 manual. Maybe other manuals in the % future. Used with @smallbook, which sets the leading to 12pt. -% +% \def\definetextfontsizex{% % Text fonts (10pt). \def\textnominalsize{10pt} @@ -2135,8 +2175,6 @@ \setfont\titlesc\scbshape{10}{\magstep4}{OT1} \font\titlei=cmmi12 scaled \magstep3 \font\titlesy=cmsy10 scaled \magstep4 -\def\authorrm{\secrm} -\def\authortt{\sectt} \def\titleecsize{2074} % Chapter fonts (14.4pt). @@ -2163,7 +2201,7 @@ \setfont\secsf\sfbshape{12}{1000}{OT1} \let\secbf\secrm \setfont\secsc\scbshape{10}{\magstep1}{OT1} -\font\seci=cmmi12 +\font\seci=cmmi12 \font\secsy=cmsy10 scaled \magstep1 \def\sececsize{1200} @@ -2207,7 +2245,7 @@ % We provide the user-level command % @fonttextsize 10 % (or 11) to redefine the text font size. pt is assumed. -% +% \def\xword{10} \def\xiword{11} % @@ -2217,7 +2255,7 @@ % % Set \globaldefs so that documents can use this inside @tex, since % makeinfo 4.8 does not support it, but we need it nonetheless. - % + % \begingroup \globaldefs=1 \ifx\textsizearg\xword \definetextfontsizex \else \ifx\textsizearg\xiword \definetextfontsizexi @@ -2268,7 +2306,7 @@ \def\curfontsize{title}% \def\lsize{chap}\def\lllsize{subsec}% \resetmathfonts \setleading{25pt}} -\def\titlefont#1{{\titlefonts\rm #1}} +\def\titlefont#1{{\titlefonts\rmisbold #1}} \def\chapfonts{% \let\tenrm=\chaprm \let\tenit=\chapit \let\tensl=\chapsl \let\tenbf=\chapbf \let\tentt=\chaptt \let\smallcaps=\chapsc @@ -2319,6 +2357,16 @@ \def\lsize{smaller}\def\lllsize{smaller}% \resetmathfonts \setleading{9.5pt}} +% Fonts for short table of contents. +\setfont\shortcontrm\rmshape{12}{1000}{OT1} +\setfont\shortcontbf\bfshape{10}{\magstep1}{OT1} % no cmb12 +\setfont\shortcontsl\slshape{12}{1000}{OT1} +\setfont\shortconttt\ttshape{12}{1000}{OT1TT} + +% Define these just so they can be easily changed for other fonts. +\def\angleleft{$\langle$} +\def\angleright{$\rangle$} + % Set the fonts to use with the @small... environments. \let\smallexamplefonts = \smallfonts @@ -2332,28 +2380,128 @@ % % By the way, for comparison, here's what fits with @example (10pt): % 8.5x11=71 smallbook=60 a4=75 a5=58 -% -% I wish the USA used A4 paper. % --karl, 24jan03. - % Set up the default fonts, so we can use them for creating boxes. % \definetextfontsizexi -% Define these so they can be easily changed for other fonts. -\def\angleleft{$\langle$} -\def\angleright{$\rangle$} + +\message{markup,} + +% Check if we are currently using a typewriter font. Since all the +% Computer Modern typewriter fonts have zero interword stretch (and +% shrink), and it is reasonable to expect all typewriter fonts to have +% this property, we can check that font parameter. +% +\def\ifmonospace{\ifdim\fontdimen3\font=0pt } + +% Markup style infrastructure. \defmarkupstylesetup\INITMACRO will +% define and register \INITMACRO to be called on markup style changes. +% \INITMACRO can check \currentmarkupstyle for the innermost +% style and the set of \ifmarkupSTYLE switches for all styles +% currently in effect. +\newif\ifmarkupvar +\newif\ifmarkupsamp +\newif\ifmarkupkey +%\newif\ifmarkupfile % @file == @samp. +%\newif\ifmarkupoption % @option == @samp. +\newif\ifmarkupcode +\newif\ifmarkupkbd +%\newif\ifmarkupenv % @env == @code. +%\newif\ifmarkupcommand % @command == @code. +\newif\ifmarkuptex % @tex (and part of @math, for now). +\newif\ifmarkupexample +\newif\ifmarkupverb +\newif\ifmarkupverbatim + +\let\currentmarkupstyle\empty + +\def\setupmarkupstyle#1{% + \csname markup#1true\endcsname + \def\currentmarkupstyle{#1}% + \markupstylesetup +} + +\let\markupstylesetup\empty + +\def\defmarkupstylesetup#1{% + \expandafter\def\expandafter\markupstylesetup + \expandafter{\markupstylesetup #1}% + \def#1% +} + +% Markup style setup for left and right quotes. +\defmarkupstylesetup\markupsetuplq{% + \expandafter\let\expandafter \temp \csname markupsetuplq\currentmarkupstyle\endcsname + \ifx\temp\relax \markupsetuplqdefault \else \temp \fi +} + +\defmarkupstylesetup\markupsetuprq{% + \expandafter\let\expandafter \temp \csname markupsetuprq\currentmarkupstyle\endcsname + \ifx\temp\relax \markupsetuprqdefault \else \temp \fi +} + +{ +\catcode`\'=\active +\catcode`\`=\active + +\gdef\markupsetuplqdefault{\let`\lq} +\gdef\markupsetuprqdefault{\let'\rq} + +\gdef\markupsetcodequoteleft{\let`\codequoteleft} +\gdef\markupsetcodequoteright{\let'\codequoteright} + +\gdef\markupsetnoligaturesquoteleft{\let`\noligaturesquoteleft} +} + +\let\markupsetuplqcode \markupsetcodequoteleft +\let\markupsetuprqcode \markupsetcodequoteright +\let\markupsetuplqexample \markupsetcodequoteleft +\let\markupsetuprqexample \markupsetcodequoteright +\let\markupsetuplqverb \markupsetcodequoteleft +\let\markupsetuprqverb \markupsetcodequoteright +\let\markupsetuplqverbatim \markupsetcodequoteleft +\let\markupsetuprqverbatim \markupsetcodequoteright + +\let\markupsetuplqsamp \markupsetnoligaturesquoteleft +\let\markupsetuplqkbd \markupsetnoligaturesquoteleft + +% Allow an option to not replace quotes with a regular directed right +% quote/apostrophe (char 0x27), but instead use the undirected quote +% from cmtt (char 0x0d). The undirected quote is ugly, so don't make it +% the default, but it works for pasting with more pdf viewers (at least +% evince), the lilypond developers report. xpdf does work with the +% regular 0x27. +% +\def\codequoteright{% + \expandafter\ifx\csname SETtxicodequoteundirected\endcsname\relax + \expandafter\ifx\csname SETcodequoteundirected\endcsname\relax + '% + \else \char'15 \fi + \else \char'15 \fi +} +% +% and a similar option for the left quote char vs. a grave accent. +% Modern fonts display ASCII 0x60 as a grave accent, so some people like +% the code environments to do likewise. +% +\def\codequoteleft{% + \expandafter\ifx\csname SETtxicodequotebacktick\endcsname\relax + \expandafter\ifx\csname SETcodequotebacktick\endcsname\relax + % [Knuth] pp. 380,381,391 + % \relax disables Spanish ligatures ?` and !` of \tt font. + \relax`% + \else \char'22 \fi + \else \char'22 \fi +} + +% [Knuth] pp. 380,381,391, disable Spanish ligatures ?` and !` of \tt font. +\def\noligaturesquoteleft{\relax\lq} % Count depth in font-changes, for error checks \newcount\fontdepth \fontdepth=0 -% Fonts for short table of contents. -\setfont\shortcontrm\rmshape{12}{1000}{OT1} -\setfont\shortcontbf\bfshape{10}{\magstep1}{OT1} % no cmb12 -\setfont\shortcontsl\slshape{12}{1000}{OT1} -\setfont\shortconttt\ttshape{12}{1000}{OT1TT} - %% Add scribe-like font environments, plus @l for inline lisp (usually sans %% serif) and @ii for TeX italic @@ -2368,17 +2516,22 @@ % @var is set to this for defun arguments. \def\ttslanted#1{{\ttsl #1}\futurelet\next\smartitalicx} -% like \smartslanted except unconditionally use \sl. We never want +% @cite is like \smartslanted except unconditionally use \sl. We never want % ttsl for book titles, do we? \def\cite#1{{\sl #1}\futurelet\next\smartitalicx} \let\i=\smartitalic \let\slanted=\smartslanted -\let\var=\smartslanted +\def\var#1{{\setupmarkupstyle{var}\smartslanted{#1}}} \let\dfn=\smartslanted \let\emph=\smartitalic -% @b, explicit bold. +% Explicit font changes: @r, @sc, undocumented @ii. +\def\r#1{{\rm #1}} % roman font +\def\sc#1{{\smallcaps#1}} % smallcaps font +\def\ii#1{{\it #1}} % italic font + +% @b, explicit bold. Also @strong. \def\b#1{{\bf #1}} \let\strong=\b @@ -2410,22 +2563,35 @@ \catcode`@=\other \def\endofsentencespacefactor{3000}% default +% @t, explicit typewriter. \def\t#1{% {\tt \rawbackslash \plainfrenchspacing #1}% \null } -\def\samp#1{`\tclose{#1}'\null} -\setfont\keyrm\rmshape{8}{1000}{OT1} -\font\keysy=cmsy9 -\def\key#1{{\keyrm\textfont2=\keysy \leavevmode\hbox{% - \raise0.4pt\hbox{\angleleft}\kern-.08em\vtop{% - \vbox{\hrule\kern-0.4pt - \hbox{\raise0.4pt\hbox{\vphantom{\angleleft}}#1}}% - \kern-0.4pt\hrule}% - \kern-.06em\raise0.4pt\hbox{\angleright}}}} -\def\key #1{{\nohyphenation \uppercase{#1}}\null} -% The old definition, with no lozenge: -%\def\key #1{{\ttsl \nohyphenation \uppercase{#1}}\null} + +% @samp. +\def\samp#1{{\setupmarkupstyle{samp}\lq\tclose{#1}\rq\null}} + +% definition of @key that produces a lozenge. Doesn't adjust to text size. +%\setfont\keyrm\rmshape{8}{1000}{OT1} +%\font\keysy=cmsy9 +%\def\key#1{{\keyrm\textfont2=\keysy \leavevmode\hbox{% +% \raise0.4pt\hbox{\angleleft}\kern-.08em\vtop{% +% \vbox{\hrule\kern-0.4pt +% \hbox{\raise0.4pt\hbox{\vphantom{\angleleft}}#1}}% +% \kern-0.4pt\hrule}% +% \kern-.06em\raise0.4pt\hbox{\angleright}}}} + +% definition of @key with no lozenge. If the current font is already +% monospace, don't change it; that way, we respect @kbdinputstyle. But +% if it isn't monospace, then use \tt. +% +\def\key#1{{\setupmarkupstyle{key}% + \nohyphenation + \ifmonospace\else\tt\fi + #1}\null} + +% ctrl is no longer a Texinfo command. \def\ctrl #1{{\tt \rawbackslash \hat}#1} % @file, @option are the same as @samp. @@ -2467,11 +2633,11 @@ { \catcode`\-=\active \catcode`\_=\active \catcode`\'=\active \catcode`\`=\active + \global\let'=\rq \global\let`=\lq % default definitions % \global\def\code{\begingroup - \catcode\rquoteChar=\active \catcode\lquoteChar=\active - \let'\codequoteright \let`\codequoteleft - % + \setupmarkupstyle{code}% + % The following should really be moved into \setupmarkupstyle handlers. \catcode\dashChar=\active \catcode\underChar=\active \ifallowcodebreaks \let-\codedash @@ -2503,7 +2669,7 @@ % each of the four underscores in __typeof__. This is undesirable in % some manuals, especially if they don't have long identifiers in % general. @allowcodebreaks provides a way to control this. -% +% \newif\ifallowcodebreaks \allowcodebreakstrue \def\keywordtrue{true} @@ -2523,6 +2689,7 @@ % @kbd is like @code, except that if the argument is just one @key command, % then @kbd has no effect. +\def\kbd#1{{\setupmarkupstyle{kbd}\def\look{#1}\expandafter\kbdfoo\look??\par}} % @kbdinputstyle -- arg is `distinct' (@kbd uses slanted tty font always), % `example' (@kbd uses ttsl only inside of @example and friends), @@ -2544,20 +2711,27 @@ \def\wordexample{example} \def\wordcode{code} -% Default is `distinct.' +% Default is `distinct'. \kbdinputstyle distinct \def\xkey{\key} \def\kbdfoo#1#2#3\par{\def\one{#1}\def\three{#3}\def\threex{??}% \ifx\one\xkey\ifx\threex\three \key{#2}% -\else{\tclose{\kbdfont\look}}\fi -\else{\tclose{\kbdfont\look}}\fi} +\else{\tclose{\kbdfont\setupmarkupstyle{kbd}\look}}\fi +\else{\tclose{\kbdfont\setupmarkupstyle{kbd}\look}}\fi} % For @indicateurl, @env, @command quotes seem unnecessary, so use \code. \let\indicateurl=\code \let\env=\code \let\command=\code +% @clicksequence{File @click{} Open ...} +\def\clicksequence#1{\begingroup #1\endgroup} + +% @clickstyle @arrow (by default) +\parseargdef\clickstyle{\def\click{#1}} +\def\click{\arrow} + % @uref (abbreviation for `urlref') takes an optional (comma-separated) % second argument specifying the text to display and an optional third % arg as text to display instead of (rather than in addition to) the url @@ -2607,34 +2781,20 @@ \let\email=\uref \fi -% Check if we are currently using a typewriter font. Since all the -% Computer Modern typewriter fonts have zero interword stretch (and -% shrink), and it is reasonable to expect all typewriter fonts to have -% this property, we can check that font parameter. -% -\def\ifmonospace{\ifdim\fontdimen3\font=0pt } - % Typeset a dimension, e.g., `in' or `pt'. The only reason for the % argument is to make the input look right: @dmn{pt} instead of @dmn{}pt. % \def\dmn#1{\thinspace #1} -\def\kbd#1{\def\look{#1}\expandafter\kbdfoo\look??\par} - % @l was never documented to mean ``switch to the Lisp font'', % and it is not used as such in any manual I can find. We need it for % Polish suppressed-l. --karl, 22sep96. %\def\l#1{{\li #1}\null} -% Explicit font changes: @r, @sc, undocumented @ii. -\def\r#1{{\rm #1}} % roman font -\def\sc#1{{\smallcaps#1}} % smallcaps font -\def\ii#1{{\it #1}} % italic font - % @acronym for "FBI", "NATO", and the like. % We print this one point size smaller, since it's intended for % all-uppercase. -% +% \def\acronym#1{\doacronym #1,,\finish} \def\doacronym#1,#2,#3\finish{% {\selectfonts\lsize #1}% @@ -2646,7 +2806,7 @@ % @abbr for "Comput. J." and the like. % No font change, but don't do end-of-sentence spacing. -% +% \def\abbr#1{\doabbr #1,,\finish} \def\doabbr#1,#2,#3\finish{% {\plainfrenchspacing #1}% @@ -2656,6 +2816,44 @@ \fi } + +\message{glyphs,} + +% @point{}, @result{}, @expansion{}, @print{}, @equiv{}. +% +% Since these characters are used in examples, they should be an even number of +% \tt widths. Each \tt character is 1en, so two makes it 1em. +% +\def\point{$\star$} +\def\arrow{\leavevmode\raise.05ex\hbox to 1em{\hfil$\rightarrow$\hfil}} +\def\result{\leavevmode\raise.05ex\hbox to 1em{\hfil$\Rightarrow$\hfil}} +\def\expansion{\leavevmode\hbox to 1em{\hfil$\mapsto$\hfil}} +\def\print{\leavevmode\lower.1ex\hbox to 1em{\hfil$\dashv$\hfil}} +\def\equiv{\leavevmode\hbox to 1em{\hfil$\ptexequiv$\hfil}} + +% The @error{} command. +% Adapted from the TeXbook's \boxit. +% +\newbox\errorbox +% +{\tentt \global\dimen0 = 3em}% Width of the box. +\dimen2 = .55pt % Thickness of rules +% The text. (`r' is open on the right, `e' somewhat less so on the left.) +\setbox0 = \hbox{\kern-.75pt \reducedsf error\kern-1.5pt} +% +\setbox\errorbox=\hbox to \dimen0{\hfil + \hsize = \dimen0 \advance\hsize by -5.8pt % Space to left+right. + \advance\hsize by -2\dimen2 % Rules. + \vbox{% + \hrule height\dimen2 + \hbox{\vrule width\dimen2 \kern3pt % Space to left of text. + \vtop{\kern2.4pt \box0 \kern2.4pt}% Space above/below. + \kern3pt\vrule width\dimen2}% Space to right. + \hrule height\dimen2} + \hfil} +% +\def\error{\leavevmode\lower.7ex\copy\errorbox} + % @pounds{} is a sterling sign, which Knuth put in the CM italic font. % \def\pounds{{\it\$}} @@ -2665,52 +2863,59 @@ % Theiling, which support regular, slanted, bold and bold slanted (and % "outlined" (blackboard board, sort of) versions, which we don't need). % It is available from http://www.ctan.org/tex-archive/fonts/eurosym. -% +% % Although only regular is the truly official Euro symbol, we ignore % that. The Euro is designed to be slightly taller than the regular % font height. -% +% % feymr - regular % feymo - slanted % feybr - bold % feybo - bold slanted -% +% % There is no good (free) typewriter version, to my knowledge. % A feymr10 euro is ~7.3pt wide, while a normal cmtt10 char is ~5.25pt wide. % Hmm. -% +% % Also doesn't work in math. Do we need to do math with euro symbols? % Hope not. -% -% +% +% \def\euro{{\eurofont e}} \def\eurofont{% % We set the font at each command, rather than predefining it in % \textfonts and the other font-switching commands, so that % installations which never need the symbol don't have to have the % font installed. - % + % % There is only one designed size (nominal 10pt), so we always scale % that to the current nominal size. - % + % % By the way, simply using "at 1em" works for cmr10 and the like, but % does not work for cmbx10 and other extended/shrunken fonts. - % + % \def\eurosize{\csname\curfontsize nominalsize\endcsname}% % - \ifx\curfontstyle\bfstylename + \ifx\curfontstyle\bfstylename % bold: \font\thiseurofont = \ifusingit{feybo10}{feybr10} at \eurosize - \else + \else % regular: \font\thiseurofont = \ifusingit{feymo10}{feymr10} at \eurosize \fi \thiseurofont } -% Hacks for glyphs from the EC fonts similar to \euro. We don't -% use \let for the aliases, because sometimes we redefine the original -% macro, and the alias should reflect the redefinition. +% Glyphs from the EC fonts. We don't use \let for the aliases, because +% sometimes we redefine the original macro, and the alias should reflect +% the redefinition. +% +% Use LaTeX names for the Icelandic letters. +\def\DH{{\ecfont \char"D0}} % Eth +\def\dh{{\ecfont \char"F0}} % eth +\def\TH{{\ecfont \char"DE}} % Thorn +\def\th{{\ecfont \char"FE}} % thorn +% \def\guillemetleft{{\ecfont \char"13}} \def\guillemotleft{\guillemetleft} \def\guillemetright{{\ecfont \char"14}} @@ -2720,8 +2925,36 @@ \def\quotedblbase{{\ecfont \char"12}} \def\quotesinglbase{{\ecfont \char"0D}} % +% This positioning is not perfect (see the ogonek LaTeX package), but +% we have the precomposed glyphs for the most common cases. We put the +% tests to use those glyphs in the single \ogonek macro so we have fewer +% dummy definitions to worry about for index entries, etc. +% +% ogonek is also used with other letters in Lithuanian (IOU), but using +% the precomposed glyphs for those is not so easy since they aren't in +% the same EC font. +\def\ogonek#1{{% + \def\temp{#1}% + \ifx\temp\macrocharA\Aogonek + \else\ifx\temp\macrochara\aogonek + \else\ifx\temp\macrocharE\Eogonek + \else\ifx\temp\macrochare\eogonek + \else + \ecfont \setbox0=\hbox{#1}% + \ifdim\ht0=1ex\accent"0C #1% + \else\ooalign{\unhbox0\crcr\hidewidth\char"0C \hidewidth}% + \fi + \fi\fi\fi\fi + }% +} +\def\Aogonek{{\ecfont \char"81}}\def\macrocharA{A} +\def\aogonek{{\ecfont \char"A1}}\def\macrochara{a} +\def\Eogonek{{\ecfont \char"86}}\def\macrocharE{E} +\def\eogonek{{\ecfont \char"A6}}\def\macrochare{e} +% +% Use the ec* fonts (cm-super in outline format) for non-CM glyphs. \def\ecfont{% - % We can't distinguish serif/sanserif and italic/slanted, but this + % We can't distinguish serif/sans and italic/slanted, but this % is used for crude hacks anyway (like adding French and German % quotes to documents typeset with CM, where we lose kerning), so % hopefully nobody will notice/care. @@ -2754,7 +2987,7 @@ % Laurent Siebenmann reports \Orb undefined with: % Textures 1.7.7 (preloaded format=plain 93.10.14) (68K) 16 APR 2004 02:38 % so we'll define it if necessary. -% +% \ifx\Orb\undefined \def\Orb{\mathhexbox20D} \fi @@ -2765,6 +2998,7 @@ \chardef\quoteleft=`\` \chardef\quoteright=`\' + \message{page headings,} \newskip\titlepagetopglue \titlepagetopglue = 1.5in @@ -2848,12 +3082,9 @@ \let\subtitlerm=\tenrm \def\subtitlefont{\subtitlerm \normalbaselineskip = 13pt \normalbaselines} -\def\authorfont{\authorrm \normalbaselineskip = 16pt \normalbaselines - \let\tt=\authortt} - \parseargdef\title{% \checkenv\titlepage - \leftline{\titlefonts\rm #1} + \leftline{\titlefonts\rmisbold #1} % print a rule at the page bottom also. \finishedtitlepagefalse \vskip4pt \hrule height 4pt width \hsize \vskip4pt @@ -2874,7 +3105,7 @@ \else \checkenv\titlepage \ifseenauthor\else \vskip 0pt plus 1filll \seenauthortrue \fi - {\authorfont \leftline{#1}}% + {\secfonts\rmisbold \leftline{#1}}% \fi } @@ -3102,7 +3333,7 @@ % cause the example and the item to crash together. So we use this % bizarre value of 10001 as a signal to \aboveenvbreak to insert % \parskip glue after all. Section titles are handled this way also. - % + % \penalty 10001 \endgroup \itemxneedsnegativevskipfalse @@ -3196,9 +3427,18 @@ \parindent=0pt \parskip=\smallskipamount \ifdim\parskip=0pt \parskip=2pt \fi + % + % Try typesetting the item mark that if the document erroneously says + % something like @itemize @samp (intending @table), there's an error + % right away at the @itemize. It's not the best error message in the + % world, but it's better than leaving it to the @item. This means if + % the user wants an empty mark, they have to say @w{} not just @w. \def\itemcontents{#1}% + \setbox0 = \hbox{\itemcontents}% + % % @itemize with no arg is equivalent to @itemize @bullet. \ifx\itemcontents\empty\def\itemcontents{\bullet}\fi + % \let\item=\itemizeitem } @@ -3219,6 +3459,7 @@ \ifnum\lastpenalty<10000 \parskip=0in \fi \noindent \hbox to 0pt{\hss \itemcontents \kern\itemmargin}% + % \vadjust{\penalty 1200}}% not good to break after first line of item. \flushcr } @@ -3440,12 +3681,19 @@ % % @headitem starts a heading row, which we typeset in bold. % Assignments have to be global since we are inside the implicit group -% of an alignment entry. Note that \everycr resets \everytab. -\def\headitem{\checkenv\multitable \crcr \global\everytab={\bf}\the\everytab}% +% of an alignment entry. \everycr resets \everytab so we don't have to +% undo it ourselves. +\def\headitemfont{\b}% for people to use in the template row; not changeable +\def\headitem{% + \checkenv\multitable + \crcr + \global\everytab={\bf}% can't use \headitemfont since the parsing differs + \the\everytab % for the first item +}% % % A \tab used to include \hskip1sp. But then the space in a template % line is not enough. That is bad. So let's go back to just `&' until -% we encounter the problem it was intended to solve again. +% we again encounter the problem the 1sp was intended to solve. % --karl, nathan@acm.org, 20apr99. \def\tab{\checkenv\multitable &\the\everytab}% @@ -3844,11 +4092,11 @@ \def\dosynindex#1#2#3{% % Only do \closeout if we haven't already done it, else we'll end up % closing the target index. - \expandafter \ifx\csname donesynindex#2\endcsname \undefined + \expandafter \ifx\csname donesynindex#2\endcsname \relax % The \closeout helps reduce unnecessary open files; the limit on the % Acorn RISC OS is a mere 16 files. \expandafter\closeout\csname#2indfile\endcsname - \expandafter\let\csname\donesynindex#2\endcsname = 1 + \expandafter\let\csname donesynindex#2\endcsname = 1 \fi % redefine \fooindfile: \expandafter\let\expandafter\temp\expandafter=\csname#3indfile\endcsname @@ -3898,7 +4146,7 @@ % processing continues to some further point. On the other hand, it % seems \endinput does not hurt in the printed index arg, since that % is still getting written without apparent harm. - % + % % Sample source (mac-idx3.tex, reported by Graham Percival to % help-texinfo, 22may06): % @macro funindex {WORD} @@ -3906,12 +4154,12 @@ % @end macro % ... % @funindex commtest - % + % % The above is not enough to reproduce the bug, but it gives the flavor. - % + % % Sample whatsit resulting: % .@write3{\entry{xyz}{@folio }{@code {xyz@endinput }}} - % + % % So: \let\endinput = \empty % @@ -3963,19 +4211,23 @@ % Non-English letters. \definedummyword\AA \definedummyword\AE + \definedummyword\DH \definedummyword\L - \definedummyword\OE \definedummyword\O + \definedummyword\OE + \definedummyword\TH \definedummyword\aa \definedummyword\ae + \definedummyword\dh + \definedummyword\exclamdown \definedummyword\l - \definedummyword\oe \definedummyword\o - \definedummyword\ss - \definedummyword\exclamdown - \definedummyword\questiondown + \definedummyword\oe \definedummyword\ordf \definedummyword\ordm + \definedummyword\questiondown + \definedummyword\ss + \definedummyword\th % % Although these internal commands shouldn't show up, sometimes they do. \definedummyword\bf @@ -4006,6 +4258,7 @@ \definedummyword\guilsinglright \definedummyword\expansion \definedummyword\minus + \definedummyword\ogonek \definedummyword\pounds \definedummyword\point \definedummyword\print @@ -4049,6 +4302,7 @@ \definedummyword\v \definedummyword\H \definedummyword\dotaccent + \definedummyword\ogonek \definedummyword\ringaccent \definedummyword\tieaccent \definedummyword\ubaraccent @@ -4116,19 +4370,23 @@ % Non-English letters. \def\AA{AA}% \def\AE{AE}% + \def\DH{DZZ}% \def\L{L}% \def\OE{OE}% \def\O{O}% + \def\TH{ZZZ}% \def\aa{aa}% \def\ae{ae}% + \def\dh{dzz}% + \def\exclamdown{!}% \def\l{l}% \def\oe{oe}% - \def\o{o}% - \def\ss{ss}% - \def\exclamdown{!}% - \def\questiondown{?}% \def\ordf{a}% \def\ordm{o}% + \def\o{o}% + \def\questiondown{?}% + \def\ss{ss}% + \def\th{zzz}% % \def\LaTeX{LaTeX}% \def\TeX{TeX}% @@ -4167,11 +4425,11 @@ % makeinfo does not expand macros in the argument to @deffn, which ends up % writing an index entry, and texindex isn't prepared for an index sort entry % that starts with \. - % + % % Since macro invocations are followed by braces, we can just redefine them % to take a single TeX argument. The case of a macro invocation that % goes to end-of-line is not handled. - % + % \macrolist } @@ -4299,7 +4557,7 @@ % to re-insert the same penalty (values >10000 are used for various % signals); since we just inserted a non-discardable item, any % following glue (such as a \parskip) would be a breakpoint. For example: - % + % % @deffn deffn-whatever % @vindex index-whatever % Description. @@ -4429,7 +4687,7 @@ % % A straightforward implementation would start like this: % \def\entry#1#2{... -% But this frozes the catcodes in the argument, and can cause problems to +% But this freezes the catcodes in the argument, and can cause problems to % @code, which sets - active. This problem was fixed by a kludge--- % ``-'' was active throughout whole index, but this isn't really right. % @@ -4880,7 +5138,9 @@ \gdef\chaplevelprefix{\the\chapno.}% \resetallfloatnos % - \message{\putwordChapter\space \the\chapno}% + % \putwordChapter can contain complex things in translations. + \toks0=\expandafter{\putwordChapter}% + \message{\the\toks0 \space \the\chapno}% % % Write the actual heading. \chapmacro{#1}{Ynumbered}{\the\chapno}% @@ -4891,15 +5151,17 @@ \global\let\subsubsection = \numberedsubsubsec } -\outer\parseargdef\appendix{\apphead0{#1}} % normally apphead0 calls appendixzzz +\outer\parseargdef\appendix{\apphead0{#1}} % normally calls appendixzzz +% \def\appendixzzz#1{% \global\secno=0 \global\subsecno=0 \global\subsubsecno=0 \global\advance\appendixno by 1 \gdef\chaplevelprefix{\appendixletter.}% \resetallfloatnos % - \def\appendixnum{\putwordAppendix\space \appendixletter}% - \message{\appendixnum}% + % \putwordAppendix can contain complex things in translations. + \toks0=\expandafter{\putwordAppendix}% + \message{\the\toks0 \space \appendixletter}% % \chapmacro{#1}{Yappendix}{\appendixletter}% % @@ -5031,7 +5293,6 @@ % 3) Likewise, headings look best if no \parindent is used, and % if justification is not attempted. Hence \raggedright. - \def\majorheading{% {\advance\chapheadingskip by 10pt \chapbreak }% \parsearg\chapheadingzzz @@ -5040,8 +5301,8 @@ \def\chapheading{\chapbreak \parsearg\chapheadingzzz} \def\chapheadingzzz#1{% {\chapfonts \vbox{\hyphenpenalty=10000\tolerance=5000 - \parindent=0pt\raggedright - \rm #1\hfill}}% + \parindent=0pt\ptexraggedright + \rmisbold #1\hfill}}% \bigskip \par\penalty 200\relax \suppressfirstparagraphindent } @@ -5133,7 +5394,10 @@ \xdef\lastchapterdefs{% \gdef\noexpand\thischaptername{\the\toks0}% \gdef\noexpand\thischapternum{\appendixletter}% - \gdef\noexpand\thischapter{\putwordAppendix{} \noexpand\thischapternum: + % \noexpand\putwordAppendix avoids expanding indigestible + % commands in some of the translations. + \gdef\noexpand\thischapter{\noexpand\putwordAppendix{} + \noexpand\thischapternum: \noexpand\thischaptername}% }% \else @@ -5141,7 +5405,10 @@ \xdef\lastchapterdefs{% \gdef\noexpand\thischaptername{\the\toks0}% \gdef\noexpand\thischapternum{\the\chapno}% - \gdef\noexpand\thischapter{\putwordChapter{} \noexpand\thischapternum: + % \noexpand\putwordChapter avoids expanding indigestible + % commands in some of the translations. + \gdef\noexpand\thischapter{\noexpand\putwordChapter{} + \noexpand\thischapternum: \noexpand\thischaptername}% }% \fi\fi\fi @@ -5160,7 +5427,7 @@ \domark % {% - \chapfonts \rm + \chapfonts \rmisbold % % Have to define \lastsection before calling \donoderef, because the % xref code eventually uses it. On the other hand, it has to be called @@ -5197,7 +5464,7 @@ % % Typeset the actual heading. \nobreak % Avoid page breaks at the interline glue. - \vbox{\hyphenpenalty=10000 \tolerance=5000 \parindent=0pt \raggedright + \vbox{\hyphenpenalty=10000 \tolerance=5000 \parindent=0pt \ptexraggedright \hangindent=\wd0 \centerparametersmaybe \unhbox0 #1\par}% }% @@ -5221,8 +5488,8 @@ % \def\unnchfopen #1{% \chapoddpage {\chapfonts \vbox{\hyphenpenalty=10000\tolerance=5000 - \parindent=0pt\raggedright - \rm #1\hfill}}\bigskip \par\nobreak + \parindent=0pt\ptexraggedright + \rmisbold #1\hfill}}\bigskip \par\nobreak } \def\chfopen #1#2{\chapoddpage {\chapfonts \vbox to 3in{\vfil \hbox to\hsize{\hfil #2} \hbox to\hsize{\hfil #1} \vfil}}% @@ -5231,7 +5498,7 @@ \def\centerchfopen #1{% \chapoddpage {\chapfonts \vbox{\hyphenpenalty=10000\tolerance=5000 \parindent=0pt - \hfill {\rm #1}\hfill}}\bigskip \par\nobreak + \hfill {\rmisbold #1}\hfill}}\bigskip \par\nobreak } \def\CHAPFopen{% \global\let\chapmacro=\chfopen @@ -5264,7 +5531,7 @@ \def\sectionheading#1#2#3#4{% {% % Switch to the right set of fonts. - \csname #2fonts\endcsname \rm + \csname #2fonts\endcsname \rmisbold % \def\sectionlevel{#2}% \def\temptype{#3}% @@ -5284,7 +5551,10 @@ \xdef\lastsectiondefs{% \gdef\noexpand\thissectionname{\the\toks0}% \gdef\noexpand\thissectionnum{#4}% - \gdef\noexpand\thissection{\putwordSection{} \noexpand\thissectionnum: + % \noexpand\putwordSection avoids expanding indigestible + % commands in some of the translations. + \gdef\noexpand\thissection{\noexpand\putwordSection{} + \noexpand\thissectionnum: \noexpand\thissectionname}% }% \fi @@ -5294,12 +5564,20 @@ \xdef\lastsectiondefs{% \gdef\noexpand\thissectionname{\the\toks0}% \gdef\noexpand\thissectionnum{#4}% - \gdef\noexpand\thissection{\putwordSection{} \noexpand\thissectionnum: + % \noexpand\putwordSection avoids expanding indigestible + % commands in some of the translations. + \gdef\noexpand\thissection{\noexpand\putwordSection{} + \noexpand\thissectionnum: \noexpand\thissectionname}% }% \fi \fi\fi\fi % + % Go into vertical mode. Usually we'll already be there, but we + % don't want the following whatsit to end up in a preceding paragraph + % if the document didn't happen to have a blank line. + \par + % % Output the mark. Pass it through \safewhatsit, to take care of % the preceding space. \safewhatsit\domark @@ -5349,7 +5627,7 @@ \nobreak % % Output the actual section heading. - \vbox{\hyphenpenalty=10000 \tolerance=5000 \parindent=0pt \raggedright + \vbox{\hyphenpenalty=10000 \tolerance=5000 \parindent=0pt \ptexraggedright \hangindent=\wd0 % zero if no section number \unhbox0 #1}% }% @@ -5365,11 +5643,11 @@ % glue accumulate. (Not a breakpoint because it's preceded by a % discardable item.) \vskip-\parskip - % + % % This is purely so the last item on the list is a known \penalty > % 10000. This is so \startdefun can avoid allowing breakpoints after % section headings. Otherwise, it would insert a valid breakpoint between: - % + % % @section sec-whatever % @deffn def-whatever \penalty 10001 @@ -5427,7 +5705,7 @@ % These characters do not print properly in the Computer Modern roman % fonts, so we must take special care. This is more or less redundant % with the Texinfo input format setup at the end of this file. -% +% \def\activecatcodes{% \catcode`\"=\active \catcode`\$=\active @@ -5477,7 +5755,7 @@ % redefined for the two-volume lispref. We always output on % \jobname.toc even if this is redefined. -% +% \def\tocreadfilename{\jobname.toc} % Normal (long) toc. @@ -5647,45 +5925,12 @@ \message{environments,} % @foo ... @end foo. -% @point{}, @result{}, @expansion{}, @print{}, @equiv{}. -% -% Since these characters are used in examples, it should be an even number of -% \tt widths. Each \tt character is 1en, so two makes it 1em. -% -\def\point{$\star$} -\def\result{\leavevmode\raise.15ex\hbox to 1em{\hfil$\Rightarrow$\hfil}} -\def\expansion{\leavevmode\raise.1ex\hbox to 1em{\hfil$\mapsto$\hfil}} -\def\print{\leavevmode\lower.1ex\hbox to 1em{\hfil$\dashv$\hfil}} -\def\equiv{\leavevmode\lower.1ex\hbox to 1em{\hfil$\ptexequiv$\hfil}} - -% The @error{} command. -% Adapted from the TeXbook's \boxit. -% -\newbox\errorbox -% -{\tentt \global\dimen0 = 3em}% Width of the box. -\dimen2 = .55pt % Thickness of rules -% The text. (`r' is open on the right, `e' somewhat less so on the left.) -\setbox0 = \hbox{\kern-.75pt \reducedsf error\kern-1.5pt} -% -\setbox\errorbox=\hbox to \dimen0{\hfil - \hsize = \dimen0 \advance\hsize by -5.8pt % Space to left+right. - \advance\hsize by -2\dimen2 % Rules. - \vbox{% - \hrule height\dimen2 - \hbox{\vrule width\dimen2 \kern3pt % Space to left of text. - \vtop{\kern2.4pt \box0 \kern2.4pt}% Space above/below. - \kern3pt\vrule width\dimen2}% Space to right. - \hrule height\dimen2} - \hfil} -% -\def\error{\leavevmode\lower.7ex\copy\errorbox} - % @tex ... @end tex escapes into raw Tex temporarily. % One exception: @ is still an escape character, so that @end tex works. % But \@ or @@ will get a plain tex @ character. \envdef\tex{% + \setupmarkupstyle{tex}% \catcode `\\=0 \catcode `\{=1 \catcode `\}=2 \catcode `\$=3 \catcode `\&=4 \catcode `\#=6 \catcode `\^=7 \catcode `\_=8 \catcode `\~=\active \let~=\tie @@ -5695,6 +5940,8 @@ \catcode `\|=\other \catcode `\<=\other \catcode `\>=\other + \catcode`\`=\other + \catcode`\'=\other \escapechar=`\\ % \let\b=\ptexb @@ -5714,6 +5961,7 @@ \let\/=\ptexslash \let\*=\ptexstar \let\t=\ptext + \expandafter \let\csname top\endcsname=\ptextop % outer \let\frenchspacing=\plainfrenchspacing % \def\endldots{\mathinner{\ldots\ldots\ldots\ldots}}% @@ -5829,6 +6077,7 @@ % This macro is called at the beginning of all the @example variants, % inside a group. +\newdimen\nonfillparindent \def\nonfillstart{% \aboveenvbreak \hfuzz = 12pt % Don't be fussy @@ -5836,7 +6085,12 @@ \let\par = \lisppar % don't ignore blank lines \obeylines % each line of input is a line of output \parskip = 0pt + % Turn off paragraph indentation but redefine \indent to emulate + % the normal \indent. + \nonfillparindent=\parindent \parindent = 0pt + \let\indent\nonfillindent + % \emergencystretch = 0pt % don't try to avoid overfull boxes \ifx\nonarrowing\relax \advance \leftskip by \lispnarrowing @@ -5847,6 +6101,24 @@ \let\exdent=\nofillexdent } +\begingroup +\obeyspaces +% We want to swallow spaces (but not other tokens) after the fake +% @indent in our nonfill-environments, where spaces are normally +% active and set to @tie, resulting in them not being ignored after +% @indent. +\gdef\nonfillindent{\futurelet\temp\nonfillindentcheck}% +\gdef\nonfillindentcheck{% +\ifx\temp % +\expandafter\nonfillindentgobble% +\else% +\leavevmode\nonfillindentbox% +\fi% +}% +\endgroup +\def\nonfillindentgobble#1{\nonfillindent} +\def\nonfillindentbox{\hbox to \nonfillparindent{\hss}} + % If you want all examples etc. small: @set dispenvsize small. % If you want even small examples the full size: @set dispenvsize nosmall. % This affects the following displayed environments: @@ -5895,7 +6167,7 @@ % \maketwodispenvs {lisp}{example}{% \nonfillstart - \tt\quoteexpand + \tt\setupmarkupstyle{example}% \let\kbdfont = \kbdexamplefont % Allow @kbd to do something special. \gobble % eat return } @@ -5933,12 +6205,36 @@ \let\Eflushright = \afterenvbreak +% @raggedright does more-or-less normal line breaking but no right +% justification. From plain.tex. +\envdef\raggedright{% + \rightskip0pt plus2em \spaceskip.3333em \xspaceskip.5em\relax +} +\let\Eraggedright\par + +\envdef\raggedleft{% + \parindent=0pt \leftskip0pt plus2em + \spaceskip.3333em \xspaceskip.5em \parfillskip=0pt + \hbadness=10000 % Last line will usually be underfull, so turn off + % badness reporting. +} +\let\Eraggedleft\par + +\envdef\raggedcenter{% + \parindent=0pt \rightskip0pt plus1em \leftskip0pt plus1em + \spaceskip.3333em \xspaceskip.5em \parfillskip=0pt + \hbadness=10000 % Last line will usually be underfull, so turn off + % badness reporting. +} +\let\Eraggedcenter\par + + % @quotation does normal linebreaking (hence we can't use \nonfillstart) % and narrows the margins. We keep \parskip nonzero in general, since % we're doing normal filling. So, when using \aboveenvbreak and % \afterenvbreak, temporarily make \parskip 0. % -\envdef\quotation{% +\def\quotationstart{% {\parskip=0pt \aboveenvbreak}% because \aboveenvbreak inserts \parskip \parindent=0pt % @@ -5953,6 +6249,17 @@ \parsearg\quotationlabel } +\envdef\quotation{% + \setnormaldispenv + \quotationstart +} + +\envdef\smallquotation{% + \setsmalldispenv + \quotationstart +} +\let\Esmallquotation = \Equotation + % We have retained a nonzero parskip for the environment, since we're % doing normal filling. % @@ -5988,18 +6295,16 @@ \do\ \do\\\do\{\do\}\do\$\do\&% \do\#\do\^\do\^^K\do\_\do\^^A\do\%\do\~% \do\<\do\>\do\|\do\@\do+\do\"% + % Don't do the quotes -- if we do, @set txicodequoteundirected and + % @set txicodequotebacktick will not have effect on @verb and + % @verbatim, and ?` and !` ligatures won't get disabled. + %\do\`\do\'% } % % [Knuth] p. 380 \def\uncatcodespecials{% \def\do##1{\catcode`##1=\other}\dospecials} % -% [Knuth] pp. 380,381,391 -% Disable Spanish ligatures ?` and !` of \tt font -\begingroup - \catcode`\`=\active\gdef`{\relax\lq} -\endgroup -% % Setup for the @verb command. % % Eight spaces for a tab @@ -6011,7 +6316,7 @@ \def\setupverb{% \tt % easiest (and conventionally used) font for verbatim \def\par{\leavevmode\endgraf}% - \catcode`\`=\active + \setupmarkupstyle{verb}% \tabeightspaces % Respect line breaks, % print special symbols as themselves, and @@ -6026,33 +6331,6 @@ \newdimen\tabw \setbox0=\hbox{\tt\space} \tabw=8\wd0 % tab amount % \def\starttabbox{\setbox0=\hbox\bgroup} - -% Allow an option to not replace quotes with a regular directed right -% quote/apostrophe (char 0x27), but instead use the undirected quote -% from cmtt (char 0x0d). The undirected quote is ugly, so don't make it -% the default, but it works for pasting with more pdf viewers (at least -% evince), the lilypond developers report. xpdf does work with the -% regular 0x27. -% -\def\codequoteright{% - \expandafter\ifx\csname SETtxicodequoteundirected\endcsname\relax - \expandafter\ifx\csname SETcodequoteundirected\endcsname\relax - '% - \else \char'15 \fi - \else \char'15 \fi -} -% -% and a similar option for the left quote char vs. a grave accent. -% Modern fonts display ASCII 0x60 as a grave accent, so some people like -% the code environments to do likewise. -% -\def\codequoteleft{% - \expandafter\ifx\csname SETtxicodequotebacktick\endcsname\relax - \expandafter\ifx\csname SETcodequotebacktick\endcsname\relax - `% - \else \char'22 \fi - \else \char'22 \fi -} % \begingroup \catcode`\^^I=\active @@ -6066,13 +6344,6 @@ \wd0=\dimen0 \box0 \starttabbox }% } - \catcode`\'=\active - \gdef\rquoteexpand{\catcode\rquoteChar=\active \def'{\codequoteright}}% - % - \catcode`\`=\active - \gdef\lquoteexpand{\catcode\lquoteChar=\active \def`{\codequoteleft}}% - % - \gdef\quoteexpand{\rquoteexpand \lquoteexpand}% \endgroup % start the verbatim environment. @@ -6082,9 +6353,8 @@ % Easiest (and conventionally used) font for verbatim \tt \def\par{\leavevmode\egroup\box0\endgraf}% - \catcode`\`=\active \tabexpand - \quoteexpand + \setupmarkupstyle{verbatim}% % Respect line breaks, % print special symbols as themselves, and % make each space count @@ -6144,6 +6414,7 @@ {% \makevalueexpandable \setupverbatim + \indexnofonts % Allow `@@' and other weird things in file names. \input #1 \afterenvbreak }% @@ -6243,7 +6514,7 @@ \def\Edefun{\endgraf\medbreak} % \makedefun{deffn} creates \deffn, \deffnx and \Edeffn; -% the only thing remainnig is to define \deffnheader. +% the only thing remaining is to define \deffnheader. % \def\makedefun#1{% \expandafter\let\csname E#1\endcsname = \Edefun @@ -6422,7 +6693,7 @@ % % On the other hand, if an argument has two dashes (for instance), we % want a way to get ttsl. Let's try @var for that. - \let\var=\ttslanted + \def\var##1{{\setupmarkupstyle{var}\ttslanted{##1}}}% #1% \sl\hyphenchar\font=45 } @@ -6576,7 +6847,7 @@ % This does \let #1 = #2, with \csnames; that is, % \let \csname#1\endcsname = \csname#2\endcsname % (except of course we have to play expansion games). -% +% \def\cslet#1#2{% \expandafter\let \csname#1\expandafter\endcsname @@ -6950,20 +7221,22 @@ % % Make link in pdf output. \ifpdf - \leavevmode - \getfilename{#4}% {\indexnofonts \turnoffactive + % This expands tokens, so do it after making catcode changes, so _ + % etc. don't get their TeX definitions. + \getfilename{#4}% + % % See comments at \activebackslashdouble. {\activebackslashdouble \xdef\pdfxrefdest{#1}% \backslashparens\pdfxrefdest}% % + \leavevmode + \startlink attr{/Border [0 0 0]}% \ifnum\filenamelength>0 - \startlink attr{/Border [0 0 0]}% - goto file{\the\filename.pdf} name{\pdfxrefdest}% + goto file{\the\filename.pdf} name{\pdfxrefdest}% \else - \startlink attr{/Border [0 0 0]}% - goto name{\pdfmkpgn{\pdfxrefdest}}% + goto name{\pdfmkpgn{\pdfxrefdest}}% \fi }% \setcolor{\linkcolor}% @@ -7314,7 +7587,7 @@ % In case a @footnote appears in a vbox, save the footnote text and create % the real \insert just after the vbox finished. Otherwise, the insertion % would be lost. -% Similarily, if a @footnote appears inside an alignment, save the footnote +% Similarly, if a @footnote appears inside an alignment, save the footnote % text to a box and make the \insert when a row of the table is finished. % And the same can be done for other insert classes. --kasal, 16nov03. @@ -7418,15 +7691,19 @@ % If the image is by itself, center it. \ifvmode \imagevmodetrue - \nobreak\bigskip + \nobreak\medskip % Usually we'll have text after the image which will insert % \parskip glue, so insert it here too to equalize the space % above and below. \nobreak\vskip\parskip \nobreak - \line\bgroup \fi % + % Leave vertical mode so that indentation from an enclosing + % environment such as @quotation is respected. On the other hand, if + % it's at the top level, we don't want the normal paragraph indentation. + \noindent + % % Output the image. \ifpdf \dopdfimage{#1}{#2}{#3}% @@ -7437,7 +7714,7 @@ \epsfbox{#1.eps}% \fi % - \ifimagevmode \egroup \bigbreak \fi % space after the image + \ifimagevmode \medskip \fi % space after the standalone image \endgroup} @@ -7709,10 +7986,9 @@ \message{localization,} -% @documentlanguage is usually given very early, just after -% @setfilename. If done too late, it may not override everything -% properly. Single argument is the language (de) or locale (de_DE) -% abbreviation. It would be nice if we could set up a hyphenation file. +% For single-language documents, @documentlanguage is usually given very +% early, just after @documentencoding. Single argument is the language +% (de) or locale (de_DE) abbreviation. % { \catcode`\_ = \active @@ -7725,31 +8001,60 @@ \ifeof 1 \documentlanguagetrywithoutunderscore{#1_\finish}% \else + \globaldefs = 1 % everything in the txi-LL files needs to persist \input txi-#1.tex \fi \closein 1 - \endgroup + \endgroup % end raw TeX \endgroup} -} % % If they passed de_DE, and txi-de_DE.tex doesn't exist, % try txi-de.tex. -% -\def\documentlanguagetrywithoutunderscore#1_#2\finish{% +% +\gdef\documentlanguagetrywithoutunderscore#1_#2\finish{% \openin 1 txi-#1.tex \ifeof 1 \errhelp = \nolanghelp \errmessage{Cannot read language file txi-#1.tex}% \else + \globaldefs = 1 % everything in the txi-LL files needs to persist \input txi-#1.tex \fi \closein 1 } +}% end of special _ catcode % \newhelp\nolanghelp{The given language definition file cannot be found or -is empty. Maybe you need to install it? In the current directory -should work if nowhere else does.} +is empty. Maybe you need to install it? Putting it in the current +directory should work if nowhere else does.} +% This macro is called from txi-??.tex files; the first argument is the +% \language name to set (without the "\lang@" prefix), the second and +% third args are \{left,right}hyphenmin. +% +% The language names to pass are determined when the format is built. +% See the etex.log file created at that time, e.g., +% /usr/local/texlive/2008/texmf-var/web2c/pdftex/etex.log. +% +% With TeX Live 2008, etex now includes hyphenation patterns for all +% available languages. This means we can support hyphenation in +% Texinfo, at least to some extent. (This still doesn't solve the +% accented characters problem.) +% +\catcode`@=11 +\def\txisetlanguage#1#2#3{% + % do not set the language if the name is undefined in the current TeX. + \expandafter\ifx\csname lang@#1\endcsname \relax + \message{no patterns for #1}% + \else + \global\language = \csname lang@#1\endcsname + \fi + % but there is no harm in adjusting the hyphenmin values regardless. + \global\lefthyphenmin = #2\relax + \global\righthyphenmin = #3\relax +} + +% Helpers for encodings. % Set the catcode of characters 128 through 255 to the specified number. % \def\setnonasciicharscatcode#1{% @@ -7790,7 +8095,7 @@ \setnonasciicharscatcode\active \lattwochardefs % - \else \ifx \declaredencoding \latone + \else \ifx \declaredencoding \latone \setnonasciicharscatcode\active \latonechardefs % @@ -7802,7 +8107,7 @@ \setnonasciicharscatcode\active \utfeightchardefs % - \else + \else \message{Unknown document encoding #1, ignoring.}% % \fi % utfeight @@ -7814,7 +8119,7 @@ % A message to be logged when using a character that isn't available % the default font encoding (OT1). -% +% \def\missingcharmsg#1{\message{Character missing in OT1 encoding: #1.}} % Take account of \c (plain) vs. \, (Texinfo) difference. @@ -7827,21 +8132,21 @@ % % Latin1 (ISO-8859-1) character definitions. \def\latonechardefs{% - \gdef^^a0{~} + \gdef^^a0{~} \gdef^^a1{\exclamdown} - \gdef^^a2{\missingcharmsg{CENT SIGN}} + \gdef^^a2{\missingcharmsg{CENT SIGN}} \gdef^^a3{{\pounds}} \gdef^^a4{\missingcharmsg{CURRENCY SIGN}} \gdef^^a5{\missingcharmsg{YEN SIGN}} - \gdef^^a6{\missingcharmsg{BROKEN BAR}} + \gdef^^a6{\missingcharmsg{BROKEN BAR}} \gdef^^a7{\S} - \gdef^^a8{\"{}} - \gdef^^a9{\copyright} + \gdef^^a8{\"{}} + \gdef^^a9{\copyright} \gdef^^aa{\ordf} - \gdef^^ab{\missingcharmsg{LEFT-POINTING DOUBLE ANGLE QUOTATION MARK}} + \gdef^^ab{\guillemetleft} \gdef^^ac{$\lnot$} - \gdef^^ad{\-} - \gdef^^ae{\registeredsymbol} + \gdef^^ad{\-} + \gdef^^ae{\registeredsymbol} \gdef^^af{\={}} % \gdef^^b0{\textdegree} @@ -7857,7 +8162,7 @@ \gdef^^b9{$^1$} \gdef^^ba{\ordm} % - \gdef^^bb{\missingcharmsg{RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK}} + \gdef^^bb{\guilletright} \gdef^^bc{$1\over4$} \gdef^^bd{$1\over2$} \gdef^^be{$3\over4$} @@ -7868,7 +8173,7 @@ \gdef^^c2{\^A} \gdef^^c3{\~A} \gdef^^c4{\"A} - \gdef^^c5{\ringaccent A} + \gdef^^c5{\ringaccent A} \gdef^^c6{\AE} \gdef^^c7{\cedilla C} \gdef^^c8{\`E} @@ -7880,7 +8185,7 @@ \gdef^^ce{\^I} \gdef^^cf{\"I} % - \gdef^^d0{\missingcharmsg{LATIN CAPITAL LETTER ETH}} + \gdef^^d0{\DH} \gdef^^d1{\~N} \gdef^^d2{\`O} \gdef^^d3{\'O} @@ -7894,7 +8199,7 @@ \gdef^^db{\^U} \gdef^^dc{\"U} \gdef^^dd{\'Y} - \gdef^^de{\missingcharmsg{LATIN CAPITAL LETTER THORN}} + \gdef^^de{\TH} \gdef^^df{\ss} % \gdef^^e0{\`a} @@ -7914,7 +8219,7 @@ \gdef^^ee{\^{\dotless i}} \gdef^^ef{\"{\dotless i}} % - \gdef^^f0{\missingcharmsg{LATIN SMALL LETTER ETH}} + \gdef^^f0{\dh} \gdef^^f1{\~n} \gdef^^f2{\`o} \gdef^^f3{\'o} @@ -7928,7 +8233,7 @@ \gdef^^fb{\^u} \gdef^^fc{\"u} \gdef^^fd{\'y} - \gdef^^fe{\missingcharmsg{LATIN SMALL LETTER THORN}} + \gdef^^fe{\th} \gdef^^ff{\"y} } @@ -7950,7 +8255,7 @@ % Latin2 (ISO-8859-2) character definitions. \def\lattwochardefs{% \gdef^^a0{~} - \gdef^^a1{\missingcharmsg{LATIN CAPITAL LETTER A WITH OGONEK}} + \gdef^^a1{\ogonek{A}} \gdef^^a2{\u{}} \gdef^^a3{\L} \gdef^^a4{\missingcharmsg{CURRENCY SIGN}} @@ -7967,8 +8272,8 @@ \gdef^^af{\dotaccent Z} % \gdef^^b0{\textdegree} - \gdef^^b1{\missingcharmsg{LATIN SMALL LETTER A WITH OGONEK}} - \gdef^^b2{\missingcharmsg{OGONEK}} + \gdef^^b1{\ogonek{a}} + \gdef^^b2{\ogonek{ }} \gdef^^b3{\l} \gdef^^b4{\'{}} \gdef^^b5{\v l} @@ -7993,14 +8298,14 @@ \gdef^^c7{\cedilla C} \gdef^^c8{\v C} \gdef^^c9{\'E} - \gdef^^ca{\missingcharmsg{LATIN CAPITAL LETTER E WITH OGONEK}} + \gdef^^ca{\ogonek{E}} \gdef^^cb{\"E} \gdef^^cc{\v E} \gdef^^cd{\'I} \gdef^^ce{\^I} \gdef^^cf{\v D} % - \gdef^^d0{\missingcharmsg{LATIN CAPITAL LETTER D WITH STROKE}} + \gdef^^d0{\DH} \gdef^^d1{\'N} \gdef^^d2{\v N} \gdef^^d3{\'O} @@ -8009,7 +8314,7 @@ \gdef^^d6{\"O} \gdef^^d7{$\times$} \gdef^^d8{\v R} - \gdef^^d9{\ringaccent U} + \gdef^^d9{\ringaccent U} \gdef^^da{\'U} \gdef^^db{\H U} \gdef^^dc{\"U} @@ -8027,14 +8332,14 @@ \gdef^^e7{\cedilla c} \gdef^^e8{\v c} \gdef^^e9{\'e} - \gdef^^ea{\missingcharmsg{LATIN SMALL LETTER E WITH OGONEK}} + \gdef^^ea{\ogonek{e}} \gdef^^eb{\"e} \gdef^^ec{\v e} \gdef^^ed{\'\i} \gdef^^ee{\^\i} \gdef^^ef{\v d} % - \gdef^^f0{\missingcharmsg{LATIN SMALL LETTER D WITH STROKE}} + \gdef^^f0{\dh} \gdef^^f1{\'n} \gdef^^f2{\v n} \gdef^^f3{\'o} @@ -8053,11 +8358,11 @@ } % UTF-8 character definitions. -% +% % This code to support UTF-8 is based on LaTeX's utf8.def, with some % changes for Texinfo conventions. It is included here under the GPL by % permission from Frank Mittelbach and the LaTeX team. -% +% \newcount\countUTFx \newcount\countUTFy \newcount\countUTFz @@ -8207,6 +8512,7 @@ \DeclareUnicodeCharacter{00CE}{\^I} \DeclareUnicodeCharacter{00CF}{\"I} + \DeclareUnicodeCharacter{00D0}{\DH} \DeclareUnicodeCharacter{00D1}{\~N} \DeclareUnicodeCharacter{00D2}{\`O} \DeclareUnicodeCharacter{00D3}{\'O} @@ -8219,6 +8525,7 @@ \DeclareUnicodeCharacter{00DB}{\^U} \DeclareUnicodeCharacter{00DC}{\"U} \DeclareUnicodeCharacter{00DD}{\'Y} + \DeclareUnicodeCharacter{00DE}{\TH} \DeclareUnicodeCharacter{00DF}{\ss} \DeclareUnicodeCharacter{00E0}{\`a} @@ -8238,6 +8545,7 @@ \DeclareUnicodeCharacter{00EE}{\^{\dotless{i}}} \DeclareUnicodeCharacter{00EF}{\"{\dotless{i}}} + \DeclareUnicodeCharacter{00F0}{\dh} \DeclareUnicodeCharacter{00F1}{\~n} \DeclareUnicodeCharacter{00F2}{\`o} \DeclareUnicodeCharacter{00F3}{\'o} @@ -8250,16 +8558,21 @@ \DeclareUnicodeCharacter{00FB}{\^u} \DeclareUnicodeCharacter{00FC}{\"u} \DeclareUnicodeCharacter{00FD}{\'y} + \DeclareUnicodeCharacter{00FE}{\th} \DeclareUnicodeCharacter{00FF}{\"y} \DeclareUnicodeCharacter{0100}{\=A} \DeclareUnicodeCharacter{0101}{\=a} \DeclareUnicodeCharacter{0102}{\u{A}} \DeclareUnicodeCharacter{0103}{\u{a}} + \DeclareUnicodeCharacter{0104}{\ogonek{A}} + \DeclareUnicodeCharacter{0105}{\ogonek{a}} \DeclareUnicodeCharacter{0106}{\'C} \DeclareUnicodeCharacter{0107}{\'c} \DeclareUnicodeCharacter{0108}{\^C} \DeclareUnicodeCharacter{0109}{\^c} + \DeclareUnicodeCharacter{0118}{\ogonek{E}} + \DeclareUnicodeCharacter{0119}{\ogonek{e}} \DeclareUnicodeCharacter{010A}{\dotaccent{C}} \DeclareUnicodeCharacter{010B}{\dotaccent{c}} \DeclareUnicodeCharacter{010C}{\v{C}} @@ -8407,6 +8720,8 @@ \DeclareUnicodeCharacter{0233}{\=y} \DeclareUnicodeCharacter{0237}{\dotless{j}} + \DeclareUnicodeCharacter{02DB}{\ogonek{ }} + \DeclareUnicodeCharacter{1E02}{\dotaccent{B}} \DeclareUnicodeCharacter{1E03}{\dotaccent{b}} \DeclareUnicodeCharacter{1E04}{\udotaccent{B}} @@ -8788,6 +9103,9 @@ \message{and turning on texinfo input format.} +% DEL is a comment character, in case @c does not suffice. +\catcode`\^^? = 14 + % Define macros to output various characters with catcode for normal text. \catcode`\"=\other \catcode`\~=\other @@ -8897,7 +9215,7 @@ % Same as @turnoffactive except outputs \ as {\tt\char`\\} instead of % the literal character `\'. -% +% @def@normalturnoffactive{% @let\=@normalbackslash @let"=@normaldoublequote @@ -8909,6 +9227,8 @@ @let>=@normalgreater @let+=@normalplus @let$=@normaldollar %$ font-lock fix + @markupsetuplqdefault + @markupsetuprqdefault @unsepspaces } @@ -8943,9 +9263,21 @@ @catcode`@# = @other @catcode`@% = @other +@c Finally, make ` and ' active, so that txicodequoteundirected and +@c txicodequotebacktick work right in, e.g., @w{@code{`foo'}}. If we +@c don't make ` and ' active, @code will not get them as active chars. +@c Do this last of all since we use ` in the previous @catcode assignments. +@catcode`@'=@active +@catcode`@`=@active +@markupsetuplqdefault +@markupsetuprqdefault + +@c Gnulib now utterly and painfully insists on no trailing whitespace. +@c So we have to nuke it. @c Local variables: @c eval: (add-hook 'write-file-hooks 'time-stamp) +@c eval: (add-hook 'write-file-hooks 'nuke-trailing-whitespace) @c page-delimiter: "^\\\\message" @c time-stamp-start: "def\\\\texinfoversion{" @c time-stamp-format: "%:y-%02m-%02d.%02H" diff -urN gawk-3.1.7/eval.c gawk-3.1.8/eval.c --- gawk-3.1.7/eval.c 2009-07-09 22:19:09.000000000 +0300 +++ gawk-3.1.8/eval.c 2010-04-20 11:20:18.000000000 +0300 @@ -3,7 +3,7 @@ */ /* - * Copyright (C) 1986, 1988, 1989, 1991-2007 the Free Software Foundation, Inc. + * Copyright (C) 1986, 1988, 1989, 1991-2010 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. @@ -1760,6 +1760,14 @@ for (count = fcalls[curfcall].count; count > 0; count--) { n = *sp++; + /* + * If, while setting the value of an argument in push_args, + * the recursively evaluating code exits, this argument + * could never have been set to a value. So check for NULL, + * first. + */ + if (n == NULL) + continue; if (n->type == Node_var) /* local variable */ unref(n->var_value); else if (n->type == Node_var_array) /* local array */ @@ -1806,9 +1814,12 @@ fcall_list_size * sizeof(struct fcall), "push_args"); } - if (count > 0) - emalloc(fcalls[curfcall].stack, NODE **, count*sizeof(NODE *), "push_args"); - else + if (count > 0) { + size_t nbytes = count * sizeof(NODE *); + + emalloc(fcalls[curfcall].stack, NODE **, nbytes, "push_args"); + memset(fcalls[curfcall].stack, 0, nbytes); /* Make sure these are all NULL pointers. */ + } else fcalls[curfcall].stack = NULL; fcalls[curfcall].count = count; fcalls[curfcall].fname = func_name; /* not used, for debugging, just in case */ @@ -1820,6 +1831,7 @@ /* for each calling arg. add NODE * on stack */ for (i = 0; i < count; i++) { getnode(r); + memset(r, 0, sizeof(*r)); *sp++ = r; if (argp == NULL) { /* local variable */ @@ -2368,13 +2380,13 @@ return 0; while (*p && strchr(flags, *p) != NULL) /* flags */ p++; - while (*p && ISDIGIT(*p)) /* width - %*.*g is NOT allowed */ + while (*p && isdigit(*p)) /* width - %*.*g is NOT allowed */ p++; - if (*p == '\0' || (*p != '.' && ! ISDIGIT(*p))) + if (*p == '\0' || (*p != '.' && ! isdigit(*p))) return 0; if (*p == '.') p++; - while (*p && ISDIGIT(*p)) /* precision */ + while (*p && isdigit(*p)) /* precision */ p++; if (*p == '\0' || strchr(float_formats, *p) == NULL) return 0; diff -urN gawk-3.1.7/ext.c gawk-3.1.8/ext.c --- gawk-3.1.7/ext.c 2009-07-09 22:31:50.000000000 +0300 +++ gawk-3.1.8/ext.c 2010-04-13 22:21:40.000000000 +0300 @@ -7,7 +7,7 @@ */ /* - * Copyright (C) 1995 - 2001, 2003-2009 the Free Software Foundation, Inc. + * Copyright (C) 1995 - 2001, 2003-2010 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. @@ -105,7 +105,7 @@ fatal(_("extension: missing function name")); while ((c = *sp++) != '\0') - if ((sp == &name[1] && c != '_' && ! ISALPHA(c)) + if ((sp == &name[1] && c != '_' && ! isalpha(c)) || (sp > &name[1] && ! is_identchar(c))) fatal(_("extension: illegal character `%c' in function name `%s'"), c, name); diff -urN gawk-3.1.7/extension/ChangeLog gawk-3.1.8/extension/ChangeLog --- gawk-3.1.7/extension/ChangeLog 2009-07-21 22:29:57.000000000 +0300 +++ gawk-3.1.8/extension/ChangeLog 2010-05-06 20:56:10.000000000 +0300 @@ -1,3 +1,7 @@ +Thu May 6 20:55:14 2010 Arnold D. Robbins + + * Release 3.1.8: Release tar file made. + Tue Jul 21 22:28:56 2009 Arnold D. Robbins * Release 3.1.7: Release tar file made. diff -urN gawk-3.1.7/field.c gawk-3.1.8/field.c --- gawk-3.1.7/field.c 2009-07-09 22:31:55.000000000 +0300 +++ gawk-3.1.8/field.c 2010-01-28 18:06:55.000000000 +0200 @@ -3,7 +3,7 @@ */ /* - * Copyright (C) 1986, 1988, 1989, 1991-2009 the Free Software Foundation, Inc. + * Copyright (C) 1986, 1988, 1989, 1991-2010 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. diff -urN gawk-3.1.7/floatcomp.c gawk-3.1.8/floatcomp.c --- gawk-3.1.7/floatcomp.c 2009-07-09 22:31:58.000000000 +0300 +++ gawk-3.1.8/floatcomp.c 2010-01-28 18:06:58.000000000 +0200 @@ -3,7 +3,7 @@ */ /* - * Copyright (C) 1986, 1988, 1989, 1991-2009 the Free Software Foundation, Inc. + * Copyright (C) 1986, 1988, 1989, 1991-2010 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. diff -urN gawk-3.1.7/gawkmisc.c gawk-3.1.8/gawkmisc.c --- gawk-3.1.7/gawkmisc.c 2007-08-11 22:39:49.000000000 +0300 +++ gawk-3.1.8/gawkmisc.c 2010-04-20 11:15:00.000000000 +0300 @@ -3,7 +3,8 @@ */ /* - * Copyright (C) 1986, 1988, 1989, 1991-2004 the Free Software Foundation, Inc. + * Copyright (C) 1986, 1988, 1989, 1991-2004, 2010 + * the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. diff -urN gawk-3.1.7/getopt.c gawk-3.1.8/getopt.c --- gawk-3.1.7/getopt.c 2009-01-12 22:25:24.000000000 +0200 +++ gawk-3.1.8/getopt.c 2010-04-12 22:49:55.000000000 +0300 @@ -2,7 +2,8 @@ NOTE: getopt is part of the C library, so if you don't know what "Keep this file name-space clean" means, talk to drepper@gnu.org before changing it! - Copyright (C) 1987-1996,1998-2004,2008 Free Software Foundation, Inc. + Copyright (C) 1987-1996,1998-2004,2008,2009,2010 + Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -17,8 +18,8 @@ You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, write to the Free - Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA. */ + Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301 USA. */ /* This tells Alpha OSF/1 not to define a getopt prototype in . Ditto for AIX 3.2 and . */ @@ -270,7 +271,7 @@ static const char * _getopt_initialize (int argc, char *const *argv, const char *optstring, - struct _getopt_data *d) + struct _getopt_data *d, int posixly_correct) { /* Start processing options with ARGV-element 1 (since ARGV-element 0 is the program name); the sequence of previously skipped @@ -280,7 +281,7 @@ d->__nextchar = NULL; - d->__posixly_correct = !!getenv ("POSIXLY_CORRECT"); + d->__posixly_correct = posixly_correct | !!getenv ("POSIXLY_CORRECT"); /* Determine how to handle the ordering of options and nonoptions. */ @@ -391,11 +392,9 @@ int _getopt_internal_r (int argc, char *const *argv, const char *optstring, const struct option *longopts, int *longind, - int long_only, struct _getopt_data *d) + int long_only, struct _getopt_data *d, int posixly_correct) { int print_errors = d->opterr; - if (optstring[0] == ':') - print_errors = 0; if (argc < 1) return -1; @@ -406,9 +405,14 @@ { if (d->optind == 0) d->optind = 1; /* Don't scan ARGV[0], the program name. */ - optstring = _getopt_initialize (argc, argv, optstring, d); + optstring = _getopt_initialize (argc, argv, optstring, d, + posixly_correct); d->__initialized = 1; } + else if (optstring[0] == '-' || optstring[0] == '+') + optstring++; + if (optstring[0] == ':') + print_errors = 0; /* Test whether ARGV[optind] points to a non-option argument. Either it does not have option syntax, or there is an environment flag @@ -678,8 +682,8 @@ char *buf; if (__asprintf (&buf, _("\ -%s: option '%s' requires an argument\n"), - argv[0], argv[d->optind - 1]) >= 0) +%s: option '--%s' requires an argument\n"), + argv[0], pfound->name) >= 0) { _IO_flockfile (stderr); @@ -696,8 +700,8 @@ } #else fprintf (stderr, - _("%s: option '%s' requires an argument\n"), - argv[0], argv[d->optind - 1]); + _("%s: option '--%s' requires an argument\n"), + argv[0], pfound->name); #endif } d->__nextchar += strlen (d->__nextchar); @@ -787,7 +791,7 @@ if (*d->__nextchar == '\0') ++d->optind; - if (temp == NULL || c == ':') + if (temp == NULL || c == ':' || c == ';') { if (print_errors) { @@ -909,7 +913,10 @@ pfound = p; indfound = option_index; } - else + else if (long_only + || pfound->has_arg != p->has_arg + || pfound->flag != p->flag + || pfound->val != p->val) /* Second or later nonexact match found. */ ambig = 1; } @@ -921,7 +928,7 @@ char *buf; if (__asprintf (&buf, _("%s: option '-W %s' is ambiguous\n"), - argv[0], argv[d->optind]) >= 0) + argv[0], d->optarg) >= 0) { _IO_flockfile (stderr); @@ -937,7 +944,7 @@ } #else fprintf (stderr, _("%s: option '-W %s' is ambiguous\n"), - argv[0], argv[d->optind]); + argv[0], d->optarg); #endif } d->__nextchar += strlen (d->__nextchar); @@ -1000,8 +1007,8 @@ char *buf; if (__asprintf (&buf, _("\ -%s: option '%s' requires an argument\n"), - argv[0], argv[d->optind - 1]) >= 0) +%s: option '-W %s' requires an argument\n"), + argv[0], pfound->name) >= 0) { _IO_flockfile (stderr); @@ -1017,15 +1024,17 @@ free (buf); } #else - fprintf (stderr, - _("%s: option '%s' requires an argument\n"), - argv[0], argv[d->optind - 1]); + fprintf (stderr, _("\ +%s: option '-W %s' requires an argument\n"), + argv[0], pfound->name); #endif } d->__nextchar += strlen (d->__nextchar); return optstring[0] == ':' ? ':' : '?'; } } + else + d->optarg = NULL; d->__nextchar += strlen (d->__nextchar); if (longind != NULL) *longind = option_index; @@ -1111,7 +1120,8 @@ int _getopt_internal (int argc, char *const *argv, const char *optstring, - const struct option *longopts, int *longind, int long_only) + const struct option *longopts, int *longind, int long_only, + int posixly_correct) { int result; @@ -1119,7 +1129,8 @@ getopt_data.opterr = opterr; result = _getopt_internal_r (argc, argv, optstring, longopts, - longind, long_only, &getopt_data); + longind, long_only, &getopt_data, + posixly_correct); optind = getopt_data.optind; optarg = getopt_data.optarg; @@ -1134,9 +1145,20 @@ return _getopt_internal (argc, argv, optstring, (const struct option *) 0, (int *) 0, - 0); + 0, 0); } +#ifdef _LIBC +int +__posix_getopt (int argc, char *const *argv, const char *optstring) +{ + return _getopt_internal (argc, argv, optstring, + (const struct option *) 0, + (int *) 0, + 0, 1); +} +#endif + #endif /* Not ELIDE_CODE. */ #ifdef TEST diff -urN gawk-3.1.7/getopt.h gawk-3.1.8/getopt.h --- gawk-3.1.7/getopt.h 2006-08-11 15:05:47.000000000 +0300 +++ gawk-3.1.8/getopt.h 2010-04-12 22:50:06.000000000 +0300 @@ -151,6 +151,22 @@ errors, only prototype getopt for the GNU C library. */ extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) __THROW; + +# if defined __need_getopt && defined __USE_POSIX2 \ + && !defined __USE_POSIX_IMPLICITLY && !defined __USE_GNU +/* The GNU getopt has more functionality than the standard version. The + additional functionality can be disable at runtime. This redirection + helps to also do this at runtime. */ +# ifdef __REDIRECT + extern int __REDIRECT (getopt, (int ___argc, char *const *___argv, + const char *__shortopts), + __posix_getopt) __THROW; +# else +extern int __posix_getopt (int ___argc, char *const *___argv, + const char *__shortopts) __THROW; +# define getopt __posix_getopt +# endif +# endif #else /* not __GNU_LIBRARY__ */ extern int getopt (); #endif /* __GNU_LIBRARY__ */ diff -urN gawk-3.1.7/getopt1.c gawk-3.1.8/getopt1.c --- gawk-3.1.7/getopt1.c 2006-08-11 15:05:47.000000000 +0300 +++ gawk-3.1.8/getopt1.c 2010-04-12 22:50:25.000000000 +0300 @@ -1,6 +1,5 @@ /* getopt_long and getopt_long_only entry points for GNU getopt. - Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98,2004 - Free Software Foundation, Inc. + Copyright (C) 1987-1994,1996-1998,2004,2009 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -64,7 +63,7 @@ getopt_long (int argc, char *const *argv, const char *options, const struct option *long_options, int *opt_index) { - return _getopt_internal (argc, argv, options, long_options, opt_index, 0); + return _getopt_internal (argc, argv, options, long_options, opt_index, 0, 0); } int @@ -73,7 +72,7 @@ struct _getopt_data *d) { return _getopt_internal_r (argc, argv, options, long_options, opt_index, - 0, d); + 0, d, 0); } /* Like getopt_long, but '-' as well as '--' can indicate a long option. @@ -85,7 +84,7 @@ getopt_long_only (int argc, char *const *argv, const char *options, const struct option *long_options, int *opt_index) { - return _getopt_internal (argc, argv, options, long_options, opt_index, 1); + return _getopt_internal (argc, argv, options, long_options, opt_index, 1, 0); } int @@ -94,7 +93,7 @@ struct _getopt_data *d) { return _getopt_internal_r (argc, argv, options, long_options, opt_index, - 1, d); + 1, d, 0); } #endif /* Not ELIDE_CODE. */ diff -urN gawk-3.1.7/getopt_int.h gawk-3.1.8/getopt_int.h --- gawk-3.1.7/getopt_int.h 2006-08-11 15:05:47.000000000 +0300 +++ gawk-3.1.8/getopt_int.h 2010-04-12 22:50:32.000000000 +0300 @@ -1,5 +1,5 @@ /* Internal declarations for getopt. - Copyright (C) 1989-1994,1996-1999,2001,2003,2004 + Copyright (C) 1989-1994,1996-1999,2001,2003,2004,2009 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -24,7 +24,7 @@ extern int _getopt_internal (int ___argc, char *const *___argv, const char *__shortopts, const struct option *__longopts, int *__longind, - int __long_only); + int __long_only, int posixly_correct); /* Reentrant versions which can handle parsing multiple argument @@ -114,7 +114,8 @@ extern int _getopt_internal_r (int ___argc, char *const *___argv, const char *__shortopts, const struct option *__longopts, int *__longind, - int __long_only, struct _getopt_data *__data); + int __long_only, struct _getopt_data *__data, + int posixly_correct); extern int _getopt_long_r (int ___argc, char *const *___argv, const char *__shortopts, diff -urN gawk-3.1.7/hard-locale.h gawk-3.1.8/hard-locale.h --- gawk-3.1.7/hard-locale.h 2006-08-11 15:49:40.000000000 +0300 +++ gawk-3.1.8/hard-locale.h 2010-03-29 08:35:04.000000000 +0300 @@ -5,7 +5,7 @@ * not be continually modified by hand. */ /* hard-locale.c -- Determine whether a locale is hard. - Copyright 1997, 1998, 1999 Free Software Foundation, Inc. + Copyright 1997, 1998, 1999, 2010 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -21,12 +21,6 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -/* Declare at file scope for stupid compilers. */ -#if !( defined __GLIBC__ && __GLIBC__ >= 2 ) -static ptr_t xmalloc PARAMS ((size_t n)); -#endif - - /* Return nonzero if the current CATEGORY locale is hard, i.e. if you can't get away with assuming traditional C or POSIX behavior. */ static int @@ -45,7 +39,7 @@ if (strcmp (p, "C") == 0 || strcmp (p, "POSIX") == 0) hard = 0; # else - char *locale = xmalloc (strlen (p) + 1); + char *locale = (char *) xmalloc (strlen (p) + 1); strcpy (locale, p); /* Temporarily set the locale to the "C" and "POSIX" locales to diff -urN gawk-3.1.7/io.c gawk-3.1.8/io.c --- gawk-3.1.7/io.c 2009-07-09 22:32:10.000000000 +0300 +++ gawk-3.1.8/io.c 2010-03-29 05:38:38.000000000 +0300 @@ -3,7 +3,7 @@ */ /* - * Copyright (C) 1986, 1988, 1989, 1991-2009 the Free Software Foundation, Inc. + * Copyright (C) 1986, 1988, 1989, 1991-2010 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. @@ -707,11 +707,12 @@ direction = "to/from"; if (! two_way_open(str, rp)) { #ifdef HAVE_SOCKETS - /* multiple messages make life easier for translators */ - if (STREQN(str, "/inet/", 6)) - fatal(_("can't open two way socket `%s' for input/output (%s)"), - str, strerror(errno)); - else + if (STREQN(str, "/inet/", 6)) { + *errflg = errno; + free_temp(tmp); + free_rp(rp); + return NULL; + } else #endif fatal(_("can't open two way pipe `%s' for input/output (%s)"), str, strerror(errno)); @@ -731,15 +732,16 @@ else if (fd == fileno(stderr)) rp->fp = stderr; else { + const char *omode = mode; #if defined(F_GETFL) && defined(O_APPEND) int fd_flags; fd_flags = fcntl(fd, F_GETFL); if (fd_flags != -1 && (fd_flags & O_APPEND) == O_APPEND) - rp->fp = fdopen(fd, binmode("a")); - else + omode = binmode("a"); #endif - rp->fp = fdopen(fd, (const char *) mode); + os_close_on_exec(fd, str, "file", ""); + rp->fp = fdopen(fd, (const char *) omode); rp->mode = (const char *) mode; /* don't leak file descriptors */ if (rp->fp == NULL) @@ -1459,10 +1461,12 @@ static unsigned long def_retries = DEFAULT_RETRIES; static int first_time = TRUE; unsigned long retries = 0; + static long msleep = 1000; if (first_time) { char *cp, *end; unsigned long count = 0; + char *ms2; first_time = FALSE; if ((cp = getenv("GAWK_SOCK_RETRIES")) != NULL) { @@ -1470,13 +1474,26 @@ if (end != cp && count > 0) def_retries = count; } + + /* + * Env var is in milliseconds, paramter to usleep() + * is microseconds, make the conversion. Default is + * 1 millisecond. + */ + if ((ms2 = getenv("GAWK_MSEC_SLEEP")) != NULL) { + msleep = strtol(ms2, &end, 10); + if (end != cp && msleep < 0) + msleep = 1000; + else + msleep *= 1000; + } } retries = def_retries; do { openfd = socketopen(protocol, localpname, cp, hostname); retries--; - } while (openfd == INVALID_HANDLE && retries >= 0 && sleep(1) == 0); + } while (openfd == INVALID_HANDLE && retries > 0 && usleep(msleep) == 0); } *localpnamelastcharp = '/'; @@ -1672,6 +1689,8 @@ if (isdir) *isdir = TRUE; (void) close(openfd); /* don't leak fds */ + /* Set useful error number. */ + errno = EISDIR; return NULL; } } diff -urN gawk-3.1.7/m4/ChangeLog gawk-3.1.8/m4/ChangeLog --- gawk-3.1.7/m4/ChangeLog 2009-07-21 22:29:21.000000000 +0300 +++ gawk-3.1.8/m4/ChangeLog 2010-05-06 20:55:59.000000000 +0300 @@ -1,3 +1,16 @@ +Thu May 6 20:55:14 2010 Arnold D. Robbins + + * Release 3.1.8: Release tar file made. + +Mon Apr 26 20:16:49 2010 Arnold D. Robbins + + * libtool.m4, ltoptions.m4, ltsugar.m4, ltversion.m4, + lt~obsolete.m4: Removed. + +Mon Mar 29 08:42:38 2010 Arnold D. Robbins + + * libsigsegv.m4: New file, from gnulib. + Tue Jul 21 22:28:56 2009 Arnold D. Robbins * Release 3.1.7: Release tar file made. diff -urN gawk-3.1.7/m4/libsigsegv.m4 gawk-3.1.8/m4/libsigsegv.m4 --- gawk-3.1.7/m4/libsigsegv.m4 1970-01-01 02:00:00.000000000 +0200 +++ gawk-3.1.8/m4/libsigsegv.m4 2010-03-29 06:02:00.000000000 +0300 @@ -0,0 +1,16 @@ +# libsigsegv.m4 serial 4 +dnl Copyright (C) 2002-2003, 2008-2010 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. + +dnl From Bruno Haible, Sam Steingold. + +AC_DEFUN([gl_LIBSIGSEGV], +[ + AC_LIB_HAVE_LINKFLAGS([sigsegv], [], + [#include ], [sigsegv_deinstall_handler();], + [no, consider installing GNU libsigsegv]) + dnl Some other autoconf macros and clisp's configure use this variable. + gl_cv_lib_sigsegv="$ac_cv_libsigsegv" +]) diff -urN gawk-3.1.7/main.c gawk-3.1.8/main.c --- gawk-3.1.7/main.c 2009-07-09 22:34:22.000000000 +0300 +++ gawk-3.1.8/main.c 2010-04-26 21:26:41.000000000 +0300 @@ -3,7 +3,7 @@ */ /* - * Copyright (C) 1986, 1988, 1989, 1991-2009 the Free Software Foundation, Inc. + * Copyright (C) 1986, 1988, 1989, 1991-2010 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. @@ -24,7 +24,7 @@ */ /* FIX THIS BEFORE EVERY RELEASE: */ -#define UPDATE_YEAR 2009 +#define UPDATE_YEAR 2010 #include "awk.h" #include "getopt.h" @@ -36,7 +36,7 @@ #ifdef HAVE_MCHECK_H #include #endif -#ifdef HAVE_SIGSEGV_H +#ifdef HAVE_LIBSIGSEGV #include #else typedef void *stackoverflow_context_t; @@ -59,8 +59,10 @@ static NODE *load_procinfo P((void)); static void add_src P((struct src **data, long *num, long *alloc, enum srctype stype, char *val)); static RETSIGTYPE catchsig P((int sig)) ATTRIBUTE_NORETURN; +#ifdef HAVE_LIBSIGSEGV static int catchsegv P((void *fault_address, int serious)); static void catchstackoverflow P((int emergency, stackoverflow_context_t scp)); +#endif static void nostalgia P((void)) ATTRIBUTE_NORETURN; static void version P((void)) ATTRIBUTE_NORETURN; static void init_fds P((void)); @@ -258,7 +260,7 @@ #if defined(LC_MESSAGES) setlocale(LC_MESSAGES, ""); #endif -#if defined(LC_NUMERIC) +#if defined(LC_NUMERIC) && defined(HAVE_LOCALE_H) /* * Force the issue here. According to POSIX 2001, decimal * point is used for parsing source code and for command-line @@ -306,7 +308,6 @@ #undef STACK_SIZE myname = gawk_name(argv[0]); - argv[0] = (char *) myname; os_arg_fixup(&argc, &argv); /* emulate redirection, expand wildcards */ /* remove sccs gunk */ @@ -314,7 +315,7 @@ version_string += 4; if (argc < 2) - usage(1, stderr); + usage(EXIT_FAILURE, stderr); /* Robustness: check that file descriptors 0, 1, 2 are open */ init_fds(); @@ -351,7 +352,7 @@ */ scan = optarg; if (argv[optind-1] != optarg) - while (ISSPACE(*scan)) + while (isspace(*scan)) scan++; srcfiles_add(SOURCEFILE, (*scan == '\0' ? argv[optind++] : optarg)); @@ -378,7 +379,7 @@ * ignored on other platforms (see io.c:get_a_record). */ if (optarg[0] == 'r') { - if (ISDIGIT(optarg[1])) + if (isdigit(optarg[1])) MRL = atoi(optarg+1); else { MRL = atoi(argv[optind]); @@ -436,7 +437,7 @@ break; case 'u': - usage(0, stdout); /* per coding stds */ + usage(EXIT_SUCCESS, stdout); /* per coding stds */ break; case 'V': @@ -481,11 +482,13 @@ optind = old_optind; stopped_early = TRUE; goto out; - } else if (optopt != '\0') + } else if (optopt != '\0') { /* Use 1003.2 required message format */ fprintf(stderr, _("%s: option requires an argument -- %c\n"), myname, optopt); + usage(EXIT_FAILURE, stderr); + } /* else let getopt print error message for us */ break; @@ -581,12 +584,14 @@ /* No -f or --source options, use next arg */ if (numfiles == -1) { if (optind > argc - 1 || stopped_early) /* no args left or no program */ - usage(1, stderr); + usage(EXIT_FAILURE, stderr); srcfiles_add(CMDLINE, argv[optind]); optind++; } - init_args(optind, argc, myname, argv); + init_args(optind, argc, + do_posix ? argv[0] : myname, + argv); (void) tokexpand(); #if defined(LC_NUMERIC) @@ -1116,18 +1121,18 @@ fprintf(stderr, _("%s: `%s' argument to `-v' not in `var=value' form\n\n"), myname, arg); - usage(1, stderr); + usage(EXIT_FAILURE, stderr); } *cp++ = '\0'; /* first check that the variable name has valid syntax */ badvar = FALSE; - if (! ISALPHA(arg[0]) && arg[0] != '_') + if (! isalpha(arg[0]) && arg[0] != '_') badvar = TRUE; else for (cp2 = arg+1; *cp2; cp2++) - if (! ISALNUM(*cp2) && *cp2 != '_') { + if (! isalnum(*cp2) && *cp2 != '_') { badvar = TRUE; break; } @@ -1191,6 +1196,7 @@ /* NOTREACHED */ } +#ifdef HAVE_LIBSIGSEGV /* catchsegv --- for use with libsigsegv */ static int @@ -1214,6 +1220,7 @@ /*NOTREACHED*/ return; } +#endif /* HAVE_LIBSIGSEGV */ /* nostalgia --- print the famous error message and die */ diff -urN gawk-3.1.7/missing_d/ChangeLog gawk-3.1.8/missing_d/ChangeLog --- gawk-3.1.7/missing_d/ChangeLog 2009-07-21 22:30:17.000000000 +0300 +++ gawk-3.1.8/missing_d/ChangeLog 2010-05-06 20:56:40.000000000 +0300 @@ -1,3 +1,26 @@ +Thu May 6 20:55:14 2010 Arnold D. Robbins + + * Release 3.1.8: Release tar file made. + +Fri Apr 30 11:38:49 2010 Arnold D. Robbins + + * snprintf.c: Add check to undef restrict and define as empty. + Allows !@#$%^&*() OSF/1 to compile and build. + +Mon Apr 26 19:48:07 2010 Arnold D. Robbins + + * snprintf.c (vsnprintf): Undo change of 21 April. vsnprintf + is needed for vprintf in that file. + +Wed Apr 21 23:32:51 2010 Arnold D. Robbins + + * snprintf.c (vsnprintf): Don't define if not STDARG_H. + Gawk doesn't use it. + +Fri Mar 19 09:19:17 2010 Arnold D. Robbins + + * usleep.c: New file. + Tue Jul 21 22:28:56 2009 Arnold D. Robbins * Release 3.1.7: Release tar file made. diff -urN gawk-3.1.7/missing_d/snprintf.c gawk-3.1.8/missing_d/snprintf.c --- gawk-3.1.7/missing_d/snprintf.c 2007-10-14 23:18:21.000000000 +0200 +++ gawk-3.1.8/missing_d/snprintf.c 2010-04-30 11:39:42.000000000 +0300 @@ -109,6 +109,11 @@ #error Neither mkstemp() nor tmpfile() is available on this platform. #endif +#if (__STDC_VERSION__ + 0) < 199901 +#undef restrict /* force it! */ +#define restrict +#endif + int vsnprintf (char *restrict buf, size_t len, const char *restrict fmt, va_list args) diff -urN gawk-3.1.7/missing_d/usleep.c gawk-3.1.8/missing_d/usleep.c --- gawk-3.1.7/missing_d/usleep.c 1970-01-01 02:00:00.000000000 +0200 +++ gawk-3.1.8/missing_d/usleep.c 2010-04-20 11:17:06.000000000 +0300 @@ -0,0 +1,17 @@ +/* + * usleep - round microseconds up to an integral number of seconds. + * + * The real usleep() doesn't work this way; this is a hack for systems + * that don't have usleep(). + */ + +int +usleep(unsigned int usec) +{ + unsigned int seconds = usec / 1000000; + + /* Round up: */ + seconds += (usec % 1000000 > 0); /* 1 or 0 */ + + return sleep(seconds); +} diff -urN gawk-3.1.7/node.c gawk-3.1.8/node.c --- gawk-3.1.7/node.c 2009-07-09 22:34:38.000000000 +0300 +++ gawk-3.1.8/node.c 2010-04-13 22:24:45.000000000 +0300 @@ -3,7 +3,7 @@ */ /* - * Copyright (C) 1986, 1988, 1989, 1991-2001, 2003-2009 the Free Software Foundation, Inc. + * Copyright (C) 1986, 1988, 1989, 1991-2001, 2003-2010 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. @@ -73,7 +73,7 @@ * This also allows hexadecimal floating point. Ugh. */ if (! do_posix) { - if (ISALPHA(*cp)) { + if (isalpha(*cp)) { if (0 && do_lint) lintwarn(_("can't convert string to float")); return 0.0; @@ -92,13 +92,13 @@ fall through */ cpend = cp + n->stlen; - while (cp < cpend && ISSPACE(*cp)) + while (cp < cpend && isspace(*cp)) cp++; /* FIXME: Simplify this condition! */ if ( cp == cpend || (! do_posix - && (ISALPHA(*cp) + && (isalpha(*cp) || (! do_non_decimal_data && cp[0] == '0' && (cp[1] == 'x' || cp[1] == 'X'))))) { if (0 && do_lint) @@ -113,7 +113,7 @@ newflags = 0; if (cpend - cp == 1) { - if (ISDIGIT(*cp)) { + if (isdigit(*cp)) { n->numbr = (AWKNUM)(*cp - '0'); n->flags |= newflags; n->flags |= NUMCUR; @@ -138,7 +138,7 @@ n->numbr = (AWKNUM) strtod((const char *) cp, &ptr); /* POSIX says trailing space is OK for NUMBER */ - while (ISSPACE(*ptr)) + while (isspace(*ptr)) ptr++; *cpend = save; finish: @@ -208,11 +208,14 @@ * do a lot of conversion of integers to strings. So, we reinstate * the old code, but use %.0f for integral values that are outside * the range of a long. This seems a reasonable compromise. + * + * 12/2009: Use <= and >= in the comparisons with LONG_xxx instead of + * < and > so that things work correctly on systems with 64 bit integers. */ /* not an integral value, or out of range */ if ((val = double_to_int(s->numbr)) != s->numbr - || val < LONG_MIN || val > LONG_MAX) { + || val <= LONG_MIN || val >= LONG_MAX) { /* * Once upon a time, if GFMT_WORKAROUND wasn't defined, * we just blindly did this: @@ -659,7 +662,7 @@ } if (do_posix) return ('x'); - if (! ISXDIGIT((*string_ptr)[0])) { + if (! isxdigit((*string_ptr)[0])) { warning(_("no hex digits in `\\x' escape sequence")); return ('x'); } @@ -668,11 +671,11 @@ for (;; j++) { /* do outside test to avoid multiple side effects */ c = *(*string_ptr)++; - if (ISXDIGIT(c)) { + if (isxdigit(c)) { i *= 16; - if (ISDIGIT(c)) + if (isdigit(c)) i += c - '0'; - else if (ISUPPER(c)) + else if (isupper(c)) i += c - 'A' + 10; else i += c - 'a' + 10; @@ -735,7 +738,7 @@ for (; *str != '\0'; str++) { if (*str == 'e' || *str == 'E' || *str == dec_point) return FALSE; - else if (! ISDIGIT(*str)) + else if (! isdigit(*str)) break; } diff -urN gawk-3.1.7/pc/ChangeLog gawk-3.1.8/pc/ChangeLog --- gawk-3.1.7/pc/ChangeLog 2009-07-21 22:30:36.000000000 +0300 +++ gawk-3.1.8/pc/ChangeLog 2010-05-06 20:57:10.000000000 +0300 @@ -1,3 +1,20 @@ +Thu May 6 20:55:14 2010 Arnold D. Robbins + + * Release 3.1.8: Release tar file made. + +Mon May 3 21:15:49 2010 Scott Deifik + + * Makefile.tst (lc_num1): Now passes, remove "expect to fail" + message. + +Tue Apr 13 22:13:51 2010 Scott Deifik + + * config.h, Makefile.tst: Sync with mainline. + +Tue Feb 2 20:49:20 2010 Scott Deifik + + * Makefile.tst: Sync with mainline. + Tue Jul 21 22:28:56 2009 Arnold D. Robbins * Release 3.1.7: Release tar file made. diff -urN gawk-3.1.7/pc/Makefile.tst gawk-3.1.8/pc/Makefile.tst --- gawk-3.1.7/pc/Makefile.tst 2009-07-13 05:43:00.000000000 +0300 +++ gawk-3.1.8/pc/Makefile.tst 2010-05-03 21:14:29.000000000 +0300 @@ -1,6 +1,6 @@ # Makefile for GNU Awk test suite. # -# Copyright (C) 1988-2007 the Free Software Foundation, Inc. +# Copyright (C) 1988-2010 the Free Software Foundation, Inc. # # This file is part of GAWK, the GNU implementation of the # AWK Programming Language. @@ -122,8 +122,9 @@ arysubnm asgext awkpath back89 backgsub childin clobber closebad \ clsflnam compare compare2 concat1 concat2 concat3 concat4 convfmt \ datanonl defref delarpm2 delarprm delfunc dynlj eofsplit exitval1 \ - exitval2 fldchg fldchgnf fnamedat fnarray fnarray2 fnaryscl fnasgnm \ - fnmisc fordel forsimp fsbs fsrs fsspcoln fstabplus funsemnl funsmnam \ + exitval2 fcall_exit fcall_exit2 fldchg fldchgnf fnamedat fnarray \ + fnarray2 fnaryscl fnasgnm \ + fnmisc fordel forref forsimp fsbs fsrs fsspcoln fstabplus funsemnl funsmnam \ funstack getline getline2 getline3 getlnbuf getnr2tb getnr2tm \ gsubasgn gsubtest gsubtst2 gsubtst3 gsubtst4 gsubtst5 gsubtst6 \ hex hsprint inputred intest intprec iobug1 leaddig leadnl litoct \ @@ -138,7 +139,7 @@ rstest3 rstest4 rstest5 rswhite scalar sclforin sclifin sortempty \ splitargv splitarr splitdef splitvar splitwht strcat1 strnum1 \ strtod subamp subi18n subsepnm subslash substr swaplns synerr1 \ - synerr2 tradanch tweakfld uninit2 uninit3 uninit4 uninitialized \ + synerr2 tradanch tweakfld uninit2 uninit3 uninit4 uninit5 uninitialized \ unterm uparrfs wideidx wideidx2 widesub widesub2 widesub3 \ widesub4 wjposer1 zero2 zeroe0 zeroflag @@ -159,7 +160,7 @@ # List of the tests which should be run with --lint option: -NEED_LINT = defref fmtspcl noeffect nofmtch shadow uninit2 uninit3 uninit4 uninitialized +NEED_LINT = defref fmtspcl noeffect nofmtch shadow uninit2 uninit3 uninit4 uninit5 uninitialized # List of the tests which should be run with --lint-old option: NEED_LINT_OLD = lintold @@ -235,7 +236,6 @@ lc_num1: @echo $@ - @echo Expect lc_num1 to fail with DJGPP. @[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; \ AWKPATH=$(srcdir) $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ @-$(CMP) $(srcdir)/$@.ok _$@ && rm -f _$@ @@ -896,6 +896,16 @@ @AWKPATH=$(srcdir) $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ @-$(CMP) $(srcdir)/$@.ok _$@ && rm -f _$@ +fcall_exit: + @echo fcall_exit + @AWKPATH=$(srcdir) $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ + @-$(CMP) $(srcdir)/$@.ok _$@ && rm -f _$@ + +fcall_exit2: + @echo fcall_exit2 + @AWKPATH=$(srcdir) $(AWK) -f $@.awk < $(srcdir)/$@.in >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ + @-$(CMP) $(srcdir)/$@.ok _$@ && rm -f _$@ + fldchg: @echo fldchg @AWKPATH=$(srcdir) $(AWK) -f $@.awk < $(srcdir)/$@.in >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ @@ -941,6 +951,11 @@ @AWKPATH=$(srcdir) $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ @-$(CMP) $(srcdir)/$@.ok _$@ && rm -f _$@ +forref: + @echo forref + @AWKPATH=$(srcdir) $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ + @-$(CMP) $(srcdir)/$@.ok _$@ && rm -f _$@ + forsimp: @echo forsimp @AWKPATH=$(srcdir) $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ @@ -1468,6 +1483,11 @@ @AWKPATH=$(srcdir) $(AWK) -f $@.awk --lint >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ @-$(CMP) $(srcdir)/$@.ok _$@ && rm -f _$@ +uninit5: + @echo uninit5 + @AWKPATH=$(srcdir) $(AWK) -f $@.awk --lint >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ + @-$(CMP) $(srcdir)/$@.ok _$@ && rm -f _$@ + uninitialized: @echo uninitialized @AWKPATH=$(srcdir) $(AWK) -f $@.awk --lint >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ diff -urN gawk-3.1.7/pc/config.h gawk-3.1.8/pc/config.h --- gawk-3.1.7/pc/config.h 2008-07-30 23:16:28.000000000 +0300 +++ gawk-3.1.8/pc/config.h 2010-04-13 22:12:44.000000000 +0300 @@ -527,6 +527,7 @@ # undef HAVE_POPEN_H # undef HAVE_ALLOCA # define HAVE_MKSTEMP 1 +# define HAVE_USLEEP 1 #define intmax_t long long #define uintmax_t unsigned long long #define restrict /* nothing */ diff -urN gawk-3.1.7/po/ChangeLog gawk-3.1.8/po/ChangeLog --- gawk-3.1.7/po/ChangeLog 2009-07-21 22:29:16.000000000 +0300 +++ gawk-3.1.8/po/ChangeLog 2010-05-06 20:55:50.000000000 +0300 @@ -1,3 +1,7 @@ +Thu May 6 20:55:14 2010 Arnold D. Robbins + + * Release 3.1.8: Release tar file made. + Tue Jul 21 22:28:56 2009 Arnold D. Robbins * Release 3.1.7: Release tar file made. diff -urN gawk-3.1.7/po/LINGUAS gawk-3.1.8/po/LINGUAS --- gawk-3.1.7/po/LINGUAS 2008-11-10 19:47:00.000000000 +0200 +++ gawk-3.1.8/po/LINGUAS 2009-12-04 14:47:18.000000000 +0200 @@ -17,3 +17,4 @@ ga vi zh_CN +ast diff -urN gawk-3.1.7/po/ast.po gawk-3.1.8/po/ast.po --- gawk-3.1.7/po/ast.po 1970-01-01 02:00:00.000000000 +0200 +++ gawk-3.1.8/po/ast.po 2010-05-06 20:57:38.000000000 +0300 @@ -0,0 +1,1991 @@ +# Mensajes en asturianu para gawk-3.1.7. +# Copyright (C) 2009 Free Software Foundation, Inc. +# This file is distributed under the same license as the gawk package. +# Marquinos , 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: gawk-3.1.7\n" +"Report-Msgid-Bugs-To: arnold@skeeve.com\n" +"POT-Creation-Date: 2010-05-06 20:57+0300\n" +"PO-Revision-Date: 2009-12-17 16:31+0100\n" +"Last-Translator: Marquinos \n" +"Language-Team: Asturian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: array.c:112 +#, c-format +msgid "attempt to use function `%s' as an array" +msgstr "intentóse usar la función `%s' como una matriz" + +#: array.c:115 +#, c-format +msgid "attempt to use scalar parameter `%s' as an array" +msgstr "intentóse usar el parámetru escalar `%s' como una matriz" + +#: array.c:118 +#, c-format +msgid "attempt to use scalar `%s' as array" +msgstr "intentóse usar el datu escalar `%s' como una matriz" + +#: array.c:156 +#, c-format +msgid "from %s" +msgstr "dende %s" + +#: array.c:513 +#, fuzzy, c-format +msgid "reference to uninitialized element `%s[\"%.*s\"]'" +msgstr "referencia al elementu ensin anicializar `%s[\"%s\"]'" + +#: array.c:519 +#, c-format +msgid "subscript of array `%s' is null string" +msgstr "el subíndiz de la matriz `%s' ye la cadena nula" + +#: array.c:623 +#, c-format +msgid "delete: index `%s' not in array `%s'" +msgstr "delete: l'índiz `%s' nun ta na matriz `%s'" + +#: array.c:792 +#, c-format +msgid "%s: empty (null)\n" +msgstr "%s: baleru (nulu)\n" + +#: array.c:797 +#, c-format +msgid "%s: empty (zero)\n" +msgstr "%s: baleru (cero)\n" + +#: array.c:801 +#, c-format +msgid "%s: table_size = %d, array_size = %d\n" +msgstr "%s: tamañu_tabla = %d, tamañu_matriz = %d\n" + +#: array.c:830 +#, c-format +msgid "%s: is parameter\n" +msgstr "%s: ye un parámetru\n" + +#: array.c:835 +#, c-format +msgid "%s: array_ref to %s\n" +msgstr "%s: array_ref a %s\n" + +#: awkgram.y:218 +#, c-format +msgid "%s blocks must have an action part" +msgstr "Los bloques %s deben tener una parte d'aición" + +#: awkgram.y:221 +msgid "each rule must have a pattern or an action part" +msgstr "cada regla tien de tener un patrón o una parte d'aición" + +#: awkgram.y:257 awkgram.y:266 +msgid "old awk does not support multiple `BEGIN' or `END' rules" +msgstr "l'awk antiguu non almite múltiples regles `BEGIN' o `END'" + +#: awkgram.y:285 +#, c-format +msgid "`%s' is a built-in function, it cannot be redefined" +msgstr "`%s' ye una función interna, nun puede redefinise" + +#: awkgram.y:331 +msgid "regexp constant `//' looks like a C++ comment, but is not" +msgstr "" +"la constante d'espresión regular `//' paez un comentariu de C++, pero nun lo " +"ye" + +#: awkgram.y:334 +#, c-format +msgid "regexp constant `/%s/' looks like a C comment, but is not" +msgstr "" +"la constante d'espresión regular `/%s/' paez un comentariu de C, pero nun lo " +"ye" + +#: awkgram.y:361 awkgram.y:656 +msgid "statement may have no effect" +msgstr "la sentencia puede nun tener efeutu" + +#: awkgram.y:458 awkgram.y:482 +#, c-format +msgid "`%s' used in %s action" +msgstr "usóse `%s' na aición %s" + +#: awkgram.y:473 awkgram.y:477 +msgid "`nextfile' is a gawk extension" +msgstr "`nextfile' ye una estensión de gawk" + +#: awkgram.y:492 +msgid "`return' used outside function context" +msgstr "usóse `return' fuera del contestu de la función" + +#: awkgram.y:534 +msgid "plain `print' in BEGIN or END rule should probably be `print \"\"'" +msgstr "" +"el `print' simple na regla BEGIN o END probablemente tien de ser `print \"\"'" + +#: awkgram.y:550 awkgram.y:558 +msgid "`delete array' is a gawk extension" +msgstr "`delete array' ye una estensión de gawk" + +#: awkgram.y:572 awkgram.y:580 +msgid "`delete(array)' is a non-portable tawk extension" +msgstr "`delete(array)' ye una estensión de gawk que nun ye tresportable" + +#: awkgram.y:624 +#, c-format +msgid "duplicate case values in switch body: %s" +msgstr "valores case duplicaos nel cuerpu d'un switch: %s" + +#: awkgram.y:634 +msgid "Duplicate `default' detected in switch body" +msgstr "Detectóse un `default' duplicáu nel cuerpo d'un switch" + +#: awkgram.y:723 +msgid "multistage two-way pipelines don't work" +msgstr "les llínies de trabayu de dos víes multiestáu non furrulen" + +#: awkgram.y:814 +msgid "regular expression on right of assignment" +msgstr "espresión regular del lláu drechu d'una asignación" + +#: awkgram.y:824 +msgid "regular expression on left of `~' or `!~' operator" +msgstr "espresión regular a manzorga del operador `~' o `!~'" + +#: awkgram.y:830 awkgram.y:903 +msgid "old awk does not support the keyword `in' except after `for'" +msgstr "" +"l'awk antiguu nun almite la pallabra contraseña `in' esceutu dempués de `for'" + +#: awkgram.y:836 +msgid "regular expression on right of comparison" +msgstr "espresión regular a drecha d'una comparación" + +#: awkgram.y:893 +msgid "non-redirected `getline' undefined inside END action" +msgstr "`getline' non redirixíu non definíu dientro de l'aición d'END" + +#: awkgram.y:904 +msgid "old awk does not support multidimensional arrays" +msgstr "l'awk antiguu nun almite matrices multidimensionales" + +#: awkgram.y:950 +msgid "call of `length' without parentheses is not portable" +msgstr "la llamada de `length' ensin paréntesis nun ye tresportable" + +#: awkgram.y:955 +msgid "call of `length' without parentheses is deprecated by POSIX" +msgstr "la llamada de `length' ensin paréntesis ta obsoleta por POSIX" + +#: awkgram.y:1009 +msgid "use of non-array as array" +msgstr "usu d'una matriz que nun ye matriz" + +#: awkgram.y:1012 +msgid "invalid subscript expression" +msgstr "espresión de subíndiz non válida" + +#: awkgram.y:1257 +msgid "unexpected newline or end of string" +msgstr "nueva llinia o fin de la cadena inesperaos" + +#: awkgram.y:1374 +msgid "empty program text on command line" +msgstr "testu de programa baleru na llinia de comandu" + +#: awkgram.y:1430 +#, c-format +msgid "can't open source file `%s' for reading (%s)" +msgstr "nun puede abrise'l ficheru fonte `%s' pa llectura (%s)" + +#: awkgram.y:1528 +#, c-format +msgid "can't read sourcefile `%s' (%s)" +msgstr "nun puede lleese'l ficheru fonte `%s' (%s)" + +#: awkgram.y:1536 +#, c-format +msgid "source file `%s' is empty" +msgstr "el ficheru fonte `%s' ta baleru" + +#: awkgram.y:1728 awkgram.y:1850 awkgram.y:1868 awkgram.y:2243 awkgram.y:2330 +msgid "source file does not end in newline" +msgstr "el ficheru fonte nun fina con llinia nueva" + +#: awkgram.y:1790 +msgid "unterminated regexp ends with `\\' at end of file" +msgstr "espresión regular ensin finar fina con `\\` al final del ficheru" + +#: awkgram.y:1814 +#, c-format +msgid "%s: %d: tawk regex modifier `/.../%c' doesn't work in gawk" +msgstr "" +"%s: %d: el modificador d'espresión regular `/.../%c` de tawk nun furrula en " +"gawk" + +#: awkgram.y:1818 +#, c-format +msgid "tawk regex modifier `/.../%c' doesn't work in gawk" +msgstr "" +"el modificador d'espresión regular `/.../%c` de tawk nun furrula en gawk" + +#: awkgram.y:1825 +msgid "unterminated regexp" +msgstr "espresión regular ensin finar" + +#: awkgram.y:1828 +msgid "unterminated regexp at end of file" +msgstr "espresión regular ensin finar al final del ficheru" + +#: awkgram.y:1897 +msgid "use of `\\ #...' line continuation is not portable" +msgstr "l'usu de la continuación de llinia `\\ #...' nun ye tresportable" + +#: awkgram.y:1910 +msgid "backslash not last character on line" +msgstr "la barra invertida nun ye'l caberu carauter na llinia" + +#: awkgram.y:1955 +msgid "POSIX does not allow operator `**='" +msgstr "POSIX nun permite l'operador `**='" + +#: awkgram.y:1957 +msgid "old awk does not support operator `**='" +msgstr "l'awk antiguu nun almite l'operador `**='" + +#: awkgram.y:1966 +msgid "POSIX does not allow operator `**'" +msgstr "POSIX nun permite l'operador `**'" + +#: awkgram.y:1968 +msgid "old awk does not support operator `**'" +msgstr "l'awk antiguu nun almite l'operador `**='" + +#: awkgram.y:1999 +msgid "operator `^=' is not supported in old awk" +msgstr "l'operador `^=' nun s'almite nel awk antiguu" + +#: awkgram.y:2007 +msgid "operator `^' is not supported in old awk" +msgstr "l'operador `^' nun s'almite nel awk antiguu" + +#: awkgram.y:2091 awkgram.y:2106 +msgid "unterminated string" +msgstr "cadena ensin finar" + +#: awkgram.y:2291 +#, c-format +msgid "invalid char '%c' in expression" +msgstr "carauter '%c' non válidu na espresión" + +#: awkgram.y:2339 +#, c-format +msgid "`%s' is a gawk extension" +msgstr "`%s' ye una estensión de gawk" + +#: awkgram.y:2342 +#, c-format +msgid "`%s' is a Bell Labs extension" +msgstr "`%s' ye una estensión de Bell Labs" + +#: awkgram.y:2345 +#, c-format +msgid "POSIX does not allow `%s'" +msgstr "POSIX non permite `%s'" + +#: awkgram.y:2349 +#, c-format +msgid "`%s' is not supported in old awk" +msgstr "`%s' nun s'almite nel awk antiguu" + +#: awkgram.y:2375 +msgid "`goto' considered harmful!\n" +msgstr "¡`goto' considerase permalu!\n" + +#: awkgram.y:2437 +#, c-format +msgid "%d is invalid as number of arguments for %s" +msgstr "%d ye non válidu como númberu d'argumentos pa %s" + +#: awkgram.y:2456 awkgram.y:2459 +msgid "match: third argument is a gawk extension" +msgstr "match: el tercer argumentu ye una estensión de gawk" + +#: awkgram.y:2472 +#, c-format +msgid "%s: string literal as last arg of substitute has no effect" +msgstr "" +"%s: el lliteral de cadena como caberu argumentu de substitute nun tien efeutu" + +#: awkgram.y:2475 +#, c-format +msgid "%s third parameter is not a changeable object" +msgstr "el tercer argumentu de %s nun ye un oxetu que pueda camudase" + +#: awkgram.y:2502 awkgram.y:2505 +msgid "close: second argument is a gawk extension" +msgstr "close: el segundu argumentu ye una estensión de gawk" + +#: awkgram.y:2515 +msgid "use of dcgettext(_\"...\") is incorrect: remove leading underscore" +msgstr "" +"l'usu de dcgettext(_\\\"...\\\") ye incorreutu: quita'l subrayáu d'aniciu" + +#: awkgram.y:2530 +msgid "use of dcngettext(_\"...\") is incorrect: remove leading underscore" +msgstr "" +"l'usu de dcngettext(_\\\"...\\\") ye incorreutu: quita'l subrayáu d'aniciu" + +#: awkgram.y:2602 +#, c-format +msgid "function `%s': parameter #%d, `%s', duplicates parameter #%d" +msgstr "función `%s': parámetru #%d, `%s', duplica'l parámetru #%d" + +#: awkgram.y:2635 +#, c-format +msgid "function `%s': parameter `%s' shadows global variable" +msgstr "función `%s': parámetru `%s' anubre la variable global" + +#: awkgram.y:2747 +#, c-format +msgid "could not open `%s' for writing (%s)" +msgstr "nun puede abrir `%s' pa escritura (%s)" + +#: awkgram.y:2748 profile.c:96 +msgid "sending profile to standard error" +msgstr "unvíase'l perfil a la salida standard de fallu" + +#: awkgram.y:2780 +#, c-format +msgid "%s: close failed (%s)" +msgstr "%s: falló close (%s)" + +#: awkgram.y:2901 +msgid "shadow_funcs() called twice!" +msgstr "¡llamóse shadow_funcs() dos vegaes!" + +#: awkgram.y:2928 +msgid "there were shadowed variables." +msgstr "hai variables anubríes." + +#: awkgram.y:3001 +#, c-format +msgid "function `%s': can't use function name as parameter name" +msgstr "" +"función `%s': nun puede usase un nome de función como nome de parámetru" + +#: awkgram.y:3004 +#, c-format +msgid "function `%s': can't use special variable `%s' as a function parameter" +msgstr "" +"función `%s': nun puede usar variable especial `%s' como parámetru de función" + +#: awkgram.y:3014 +#, c-format +msgid "function name `%s' previously defined" +msgstr "el nome de función `%s' definióse previamente" + +#: awkgram.y:3165 awkgram.y:3171 +#, c-format +msgid "function `%s' called but never defined" +msgstr "llamóse a la función `%s' pero enxamás se definió" + +#: awkgram.y:3174 +#, c-format +msgid "function `%s' defined but never called" +msgstr "definióse la función `%s' pero enxamás se llamó" + +#: awkgram.y:3201 +#, c-format +msgid "regexp constant for parameter #%d yields boolean value" +msgstr "" +"la constante d'espresión regular pal parámetru #%d da un valor booleanu" + +#: awkgram.y:3245 +#, c-format +msgid "" +"function `%s' called with space between name and `(',\n" +"or used as a variable or an array" +msgstr "" +"llamóse la función `%s' con espaciu ente'l nome y el `(',\n" +"o usóse como una variable o una matriz" + +#: awkgram.y:3664 +#, fuzzy +msgid "division by zero attempted in `/'" +msgstr "intentóse una división por cero en `/='" + +#: awkgram.y:3669 eval.c:1394 +#, c-format +msgid "division by zero attempted in `%%'" +msgstr "intentóse una división por cero en `%%'" + +#: builtin.c:122 +#, c-format +msgid "%s to \"%s\" failed (%s)" +msgstr "falló %s a \"%s\" (%s)" + +#: builtin.c:123 +msgid "standard output" +msgstr "salida standard" + +#: builtin.c:124 +msgid "reason unknown" +msgstr "razón desconocía" + +#: builtin.c:137 +msgid "exp: received non-numeric argument" +msgstr "exp: recibióse un argumentu que nun ye un númberu" + +#: builtin.c:143 +#, c-format +msgid "exp: argument %g is out of range" +msgstr "exp: l'argumentu %g ta fuera de rangu" + +#: builtin.c:201 +#, c-format +msgid "fflush: cannot flush: pipe `%s' opened for reading, not writing" +msgstr "" +"fflush: nun puede llimpiase: abrióse la tubería `%s' pa llectura, non pa " +"escritura" + +#: builtin.c:204 +#, c-format +msgid "fflush: cannot flush: file `%s' opened for reading, not writing" +msgstr "" +"fflush: nun puede llimpiase: abrióse'l ficheru `%s' pa llectura, non pa " +"escritura" + +#: builtin.c:216 +#, c-format +msgid "fflush: `%s' is not an open file, pipe or co-process" +msgstr "fflush: `%s' nun ye un ficheru abiertu, tubería o co-procesu" + +#: builtin.c:310 +msgid "index: received non-string first argument" +msgstr "index: el primer argumentu recibíu nun ye una cadena" + +#: builtin.c:312 +msgid "index: received non-string second argument" +msgstr "index: el segundu argumentu recibíu nun ye una cadena" + +#: builtin.c:434 +msgid "int: received non-numeric argument" +msgstr "int: recibióse un argumentu que nun ye un númberu" + +#: builtin.c:464 +msgid "`length(array)' is a gawk extension" +msgstr "`length(array)' ye una estensión de gawk" + +#: builtin.c:471 +#, fuzzy +msgid "length: untyped parameter argument will be forced to scalar" +msgstr "llonxitú: argumentu ensin tipu será forzáu a escalar" + +#: builtin.c:480 +msgid "length: untyped argument will be forced to scalar" +msgstr "llonxitú: argumentu ensin tipu será forzáu a escalar" + +#: builtin.c:484 +msgid "length: received non-string argument" +msgstr "length: recibióse un argumentu que nun ye una cadena" + +#: builtin.c:515 +msgid "log: received non-numeric argument" +msgstr "log: recibióse un argumentu que nun ye un númberu" + +#: builtin.c:518 +#, c-format +msgid "log: received negative argument %g" +msgstr "log: recibióse l'argumentu negativu %g" + +#: builtin.c:726 builtin.c:729 +msgid "must use `count$' on all formats or none" +msgstr "tien de usase `count$' en tolos formatos o en dengún" + +#: builtin.c:790 +#, c-format +msgid "field width is ignored for `%%%%' specifier" +msgstr "anchor de campu ye ignoráu por especificador `%%%%'" + +#: builtin.c:792 +#, c-format +msgid "precision is ignored for `%%%%' specifier" +msgstr "precisión ye ignorada por especificador `%%%%'" + +#: builtin.c:794 +#, c-format +msgid "field width and precision are ignored for `%%%%' specifier" +msgstr "anchor campu y precisión ignoraos por especificador `%%%%'" + +#: builtin.c:845 +msgid "`$' is not permitted in awk formats" +msgstr "nun se permite `$' nos formatos d'awk" + +#: builtin.c:851 +msgid "arg count with `$' must be > 0" +msgstr "la cuenta d'argumentos con `$' tien de ser > 0" + +#: builtin.c:853 +#, c-format +msgid "arg count %ld greater than total number of supplied arguments" +msgstr "" +"la cuenta d'argumentos %ld ye mayor que'l númberu total d'argumentos " +"proporcionaos" + +#: builtin.c:855 +msgid "`$' not permitted after period in format" +msgstr "nun se permite `$' dempués d'un puntu nel formatu" + +#: builtin.c:868 +msgid "no `$' supplied for positional field width or precision" +msgstr "nun se proporciona `$' pal anchor o la precisión del campu posicional" + +#: builtin.c:938 +msgid "`l' is meaningless in awk formats; ignored" +msgstr "`l' nun tien significáu nos formatos d'awk; descartase" + +#: builtin.c:942 +msgid "`l' is not permitted in POSIX awk formats" +msgstr "nun se permite `l' nos formatos POSIX d'awk" + +#: builtin.c:953 +msgid "`L' is meaningless in awk formats; ignored" +msgstr "`L' nun tien significáu nos formatos d'awk; descartase" + +#: builtin.c:957 +msgid "`L' is not permitted in POSIX awk formats" +msgstr "nun se permite `L' nos formatos POSIX d'awk" + +#: builtin.c:968 +msgid "`h' is meaningless in awk formats; ignored" +msgstr "`h' nun tien significáu nos formatos d'awk; descartase" + +#: builtin.c:972 +msgid "`h' is not permitted in POSIX awk formats" +msgstr "nun se permite `h' nos formatos POSIX d'awk" + +#: builtin.c:1252 +#, c-format +msgid "[s]printf: value %g is out of range for `%%%c' format" +msgstr "[s]printf: el valor %g ta fuera del rangu pal formatu `%%%c'" + +#: builtin.c:1332 +#, c-format +msgid "ignoring unknown format specifier character `%c': no argument converted" +msgstr "" +"ignorando caráuter desconocíu especificáu de formatu `%c': ensin argumentu " +"convertíu" + +#: builtin.c:1338 +msgid "not enough arguments to satisfy format string" +msgstr "nun hai suficientes argumentos pa satisfacer a la cadena de formatu" + +#: builtin.c:1340 +msgid "^ ran out for this one" +msgstr "acabóse ^ pa esti" + +#: builtin.c:1346 +msgid "[s]printf: format specifier does not have control letter" +msgstr "[s]printf: l'especificador de formatu nun tien lletres de control" + +#: builtin.c:1349 +msgid "too many arguments supplied for format string" +msgstr "proporcionaronse demasiaos argumentos pa la cadena de formatu" + +#: builtin.c:1424 builtin.c:1427 +msgid "printf: no arguments" +msgstr "printf: ensin argumentos" + +#: builtin.c:1451 +msgid "sqrt: received non-numeric argument" +msgstr "sqrt: recibióse un argumentu que nun ye un númberu" + +#: builtin.c:1455 +#, c-format +msgid "sqrt: called with negative argument %g" +msgstr "sqrt: llamóse col argumentu negativu %g" + +#: builtin.c:1479 +#, c-format +msgid "substr: start index %g is invalid, using 1" +msgstr "substr: l'índiz d'aniciu %g nun ye válidu, usase 1" + +#: builtin.c:1484 +#, c-format +msgid "substr: non-integer start index %g will be truncated" +msgstr "substr: truncaráse l'índiz d'aniciu non enteru %g" + +#: builtin.c:1510 +#, c-format +msgid "substr: length %g is not >= 1" +msgstr "substr: el llargor %g nun ye >= 1" + +#: builtin.c:1512 +#, c-format +msgid "substr: length %g is not >= 0" +msgstr "substr: el llargor %g nun ye >= 0" + +#: builtin.c:1519 +#, c-format +msgid "substr: non-integer length %g will be truncated" +msgstr "substr: truncaráse'l llargor non enteru %g" + +#: builtin.c:1524 +#, c-format +msgid "substr: length %g too big for string indexing, truncating to %g" +msgstr "" +"substr: el llargor %g ye enforma grande pa ser índiz de cadena, truncase a %g" + +#: builtin.c:1536 +msgid "substr: source string is zero length" +msgstr "substr: la cadena d'orixe ye de llonxitú cero" + +#: builtin.c:1552 +#, c-format +msgid "substr: start index %g is past end of string" +msgstr "substr: l'índiz d'aniciu %g ta dempués del fin de la cadena" + +#: builtin.c:1560 +#, c-format +msgid "" +"substr: length %g at start index %g exceeds length of first argument (%lu)" +msgstr "" +"substr: la cadena %g nel índiz d'aniciu %g escede'l llargor del primer " +"argumentu (%lu)" + +#: builtin.c:1637 +msgid "strftime: received non-string first argument" +msgstr "strftime: el primer argumentu recibíu nun ye una cadena" + +#: builtin.c:1643 +msgid "strftime: received empty format string" +msgstr "strftime: recibióse una cadena de formatu vacía" + +#: builtin.c:1652 +msgid "strftime: received non-numeric second argument" +msgstr "strftime: el segundu argumentu recibíu nun ye un númberu" + +#: builtin.c:1729 +msgid "mktime: received non-string argument" +msgstr "mktime: recibióse un argumentu que nun ye una cadena" + +#: builtin.c:1746 +msgid "mktime: at least one of the values is out of the default range" +msgstr "" + +#: builtin.c:1783 +msgid "system: received non-string argument" +msgstr "system: recibióse un argumentu que nun ye una cadena" + +#: builtin.c:1904 eval.c:2157 +#, c-format +msgid "reference to uninitialized field `$%d'" +msgstr "referencia al campu ensin anicializar `$%d'" + +#: builtin.c:2009 +msgid "tolower: received non-string argument" +msgstr "tolower: recibióse un argumentu que nun ye una cadena" + +#: builtin.c:2039 +msgid "toupper: received non-string argument" +msgstr "toupper: recibióse un argumentu que nun ye una cadena" + +#: builtin.c:2072 +msgid "atan2: received non-numeric first argument" +msgstr "atan2: el primer argumentu recibíu nun ye un númberu" + +#: builtin.c:2074 +msgid "atan2: received non-numeric second argument" +msgstr "atan2: el segundu argumentu recibíu nun ye un númberu" + +#: builtin.c:2093 +msgid "sin: received non-numeric argument" +msgstr "sin: recibióse un argumentu que nun ye un númberu" + +#: builtin.c:2109 +msgid "cos: received non-numeric argument" +msgstr "cos: recibió un argumentu que nun ye un númberu" + +#: builtin.c:2162 +msgid "srand: received non-numeric argument" +msgstr "srand: recibió un argumentu que nun ye un númberu" + +#: builtin.c:2197 +msgid "match: third argument is not an array" +msgstr "match: el tercer argumentu nun ye una matriz" + +#: builtin.c:2744 +msgid "gensub: third argument of 0 treated as 1" +msgstr "gensub: el tercer argumentu de 0 tratase como 1" + +#: builtin.c:2860 +msgid "lshift: received non-numeric first argument" +msgstr "lshift: el primer argumentu recibíu nun ye un númberu" + +#: builtin.c:2862 +msgid "lshift: received non-numeric second argument" +msgstr "lshift: el segundu argumentu recibíu nun ye un númberu" + +#: builtin.c:2868 +#, c-format +msgid "lshift(%lf, %lf): negative values will give strange results" +msgstr "lshift(%lf, %lf): los valores negativos darán resultaos raros" + +#: builtin.c:2870 +#, c-format +msgid "lshift(%lf, %lf): fractional values will be truncated" +msgstr "lshift(%lf, %lf): los valores fraccionarios truncaránse" + +#: builtin.c:2872 +#, c-format +msgid "lshift(%lf, %lf): too large shift value will give strange results" +msgstr "" +"lshift(%lf, %lf): un valor de desplazamientu mui grande dará resultaos raros" + +#: builtin.c:2898 +msgid "rshift: received non-numeric first argument" +msgstr "rshift: el primer argumentu recibíu nun ye un númberu" + +#: builtin.c:2900 +msgid "rshift: received non-numeric second argument" +msgstr "rshift: el segundu argumentu recibíu nun ye un númberu" + +#: builtin.c:2906 +#, c-format +msgid "rshift(%lf, %lf): negative values will give strange results" +msgstr "rshift(%lf, %lf): los valores negativos darán resultaos raros" + +#: builtin.c:2908 +#, c-format +msgid "rshift(%lf, %lf): fractional values will be truncated" +msgstr "rshift(%lf, %lf): los valores fraccionarios serán truncaos" + +#: builtin.c:2910 +#, c-format +msgid "rshift(%lf, %lf): too large shift value will give strange results" +msgstr "" +"rshift(%lf, %lf): un valor de desplazamientu mui grande dará resultaos raros" + +#: builtin.c:2936 +msgid "and: received non-numeric first argument" +msgstr "and: el primer argumentu recibíu nun ye un númberu" + +#: builtin.c:2938 +msgid "and: received non-numeric second argument" +msgstr "and: el segundu argumentu recibíu nun ye un númberu" + +#: builtin.c:2944 +#, c-format +msgid "and(%lf, %lf): negative values will give strange results" +msgstr "and(%lf, %lf): los valores negativos darán resultaos raros" + +#: builtin.c:2946 +#, c-format +msgid "and(%lf, %lf): fractional values will be truncated" +msgstr "and(%lf, %lf): los valores fraccionarios serán truncaos" + +#: builtin.c:2972 +msgid "or: received non-numeric first argument" +msgstr "or: el primer argumentu recibíu nun ye un númberu" + +#: builtin.c:2974 +msgid "or: received non-numeric second argument" +msgstr "or: el segundu argumentu recibíu nun ye un númberu" + +#: builtin.c:2980 +#, c-format +msgid "or(%lf, %lf): negative values will give strange results" +msgstr "or(%lf, %lf): los valores negativos darán resultaos raros" + +#: builtin.c:2982 +#, c-format +msgid "or(%lf, %lf): fractional values will be truncated" +msgstr "or(%lf, %lf): los valores fraccionarios serán truncaos" + +#: builtin.c:3008 +msgid "xor: received non-numeric first argument" +msgstr "xor: el primer argumentu recibíu nun ye un númberu" + +#: builtin.c:3010 +msgid "xor: received non-numeric second argument" +msgstr "xor: el segundu argumentu recibíu nun ye un númberu" + +#: builtin.c:3016 +#, c-format +msgid "xor(%lf, %lf): negative values will give strange results" +msgstr "xor(%lf, %lf): los valores negativos darán resultaos raros" + +#: builtin.c:3018 +#, c-format +msgid "xor(%lf, %lf): fractional values will be truncated" +msgstr "xor(%lf, %lf): los valores fraccionarios truncaránse" + +#: builtin.c:3042 +msgid "compl: received non-numeric argument" +msgstr "compl: recibióse un argumentu que nun ye un númberu" + +#: builtin.c:3048 +#, c-format +msgid "compl(%lf): negative value will give strange results" +msgstr "compl(%lf): el valor negativu dará resultaos raros" + +#: builtin.c:3050 +#, c-format +msgid "compl(%lf): fractional value will be truncated" +msgstr "compl(%lf): el valor fraccionario truncaráse" + +#: builtin.c:3223 +#, c-format +msgid "dcgettext: `%s' is not a valid locale category" +msgstr "dcgettext: `%s' nun ye ua categoría llocal válida" + +#: eval.c:372 +#, c-format +msgid "unknown nodetype %d" +msgstr "triba de nodu %d desconocida" + +#: eval.c:422 +msgid "buffer overflow in genflags2str" +msgstr "desbordamientu d'almacenamientu temporal en genflags2str" + +#: eval.c:454 eval.c:460 profile.c:785 +#, c-format +msgid "attempt to use array `%s' in a scalar context" +msgstr "intentóse usar la matriz `%s' nun contestu escalar" + +#: eval.c:802 +#, c-format +msgid "for loop: array `%s' changed size from %ld to %ld during loop execution" +msgstr "" +"ciclo for: la matriz `%s' camudó de tamañu de %ld a %ld durante la execución " +"del ciclu" + +#: eval.c:823 +msgid "`break' outside a loop is not portable" +msgstr "`break' fuera d'un ciclu nun ye tresportable" + +#: eval.c:827 +msgid "`break' outside a loop is not allowed" +msgstr "nun se permite `break' fuera d'un ciclu" + +#: eval.c:844 +msgid "`continue' outside a loop is not portable" +msgstr "`continue' fuera d'un ciclu nun ye tresportable" + +#: eval.c:848 +msgid "`continue' outside a loop is not allowed" +msgstr "nun se permite `continue' fuera d'un ciclu" + +#: eval.c:882 +msgid "`next' cannot be called from a BEGIN rule" +msgstr "`next' nun puede llamase dende una regla BEGIN" + +#: eval.c:884 +msgid "`next' cannot be called from an END rule" +msgstr "`next' nun puede llamase dende una regla END" + +#: eval.c:893 +msgid "`nextfile' cannot be called from a BEGIN rule" +msgstr "`nextfile' nun puede llamase dende una regla BEGIN" + +#: eval.c:895 +msgid "`nextfile' cannot be called from an END rule" +msgstr "`nextfile' nun puede llamase dende una regla END" + +#: eval.c:952 +msgid "statement has no effect" +msgstr "la declaración nun tien efeutu" + +#: eval.c:1029 eval.c:2011 +#, c-format +msgid "can't use function name `%s' as variable or array" +msgstr "nun puede usase'l nome de la función `%s' como variable o matriz" + +#: eval.c:1036 eval.c:1042 +#, c-format +msgid "reference to uninitialized argument `%s'" +msgstr "referencia al argumentu ensin anicializar `%s'" + +#: eval.c:1051 eval.c:2020 +#, c-format +msgid "reference to uninitialized variable `%s'" +msgstr "referencia a la variable ensin anicializar `%s'" + +#: eval.c:1197 +msgid "" +"concatenation: side effects in one expression have changed the length of " +"another!" +msgstr "" +"concatenación: ¡Los efectos llaterales nuna espresión camudarón la llonxitú " +"d'otra!" + +#: eval.c:1301 +msgid "assignment used in conditional context" +msgstr "usóse una asignación nun contestu condicional" + +#: eval.c:1379 +msgid "division by zero attempted" +msgstr "intentóse una división por cero" + +#: eval.c:1409 profile.c:661 +#, c-format +msgid "illegal type (%s) in tree_eval" +msgstr "triba illegal (%s) en tree_eval" + +#: eval.c:1572 +msgid "division by zero attempted in `/='" +msgstr "intentóse una división por cero en `/='" + +#: eval.c:1594 +#, c-format +msgid "division by zero attempted in `%%='" +msgstr "intentóse una división por cero en `%%='" + +#: eval.c:1871 +#, c-format +msgid "function `%s' called with more arguments than declared" +msgstr "llamóse a la función `%s' con más argumentos de los declaraos" + +#: eval.c:1916 +#, c-format +msgid "function `%s' not defined" +msgstr "la función `%s' nun ta definida" + +#: eval.c:1983 +#, c-format +msgid "" +"\n" +"\t# Function Call Stack:\n" +"\n" +msgstr "" +"\n" +"\t# Pila de Llamaes de Funciones:\n" +"\n" + +#: eval.c:1986 +#, c-format +msgid "\t# -- main --\n" +msgstr "\t# -- principal --\n" + +#: eval.c:2141 +msgid "attempt to field reference from non-numeric value" +msgstr "intentóse una referencia de campu dende un valor que nun ye un númberu" + +#: eval.c:2143 +msgid "attempt to reference from null string" +msgstr "intentóse una referencia dende una cadena nula" + +#: eval.c:2149 +#, c-format +msgid "attempt to access field %d" +msgstr "intentóse acceder al campu %d" + +#: eval.c:2170 eval.c:2177 profile.c:840 +msgid "assignment is not allowed to result of builtin function" +msgstr "nun se permite l'asignación como resultáu d'una función interna" + +#: eval.c:2241 +msgid "`IGNORECASE' is a gawk extension" +msgstr "`IGNORECASE' ye una estensión de gawk" + +#: eval.c:2270 +msgid "`BINMODE' is a gawk extension" +msgstr "`BINMODE' ye una estensión de gawk" + +#: eval.c:2328 +#, c-format +msgid "BINMODE value `%s' is invalid, treated as 3" +msgstr "valor BINMODE `%s' nun ye válidu, tratáu como 3" + +#: eval.c:2418 +#, c-format +msgid "bad `%sFMT' specification `%s'" +msgstr "especificación `%sFMT' `%s' errónea" + +#: eval.c:2496 +msgid "turning off `--lint' due to assignment to `LINT'" +msgstr "desactivase `--lint' darréu d'una asignación a `LINT'" + +#: ext.c:62 ext.c:67 +msgid "`extension' is a gawk extension" +msgstr "`extension' ye una estensión de gawk" + +#: ext.c:77 +#, c-format +msgid "extension: cannot open `%s' (%s)\n" +msgstr "extension: nun puede abrise `%s' (%s)\n" + +#: ext.c:85 +#, c-format +msgid "extension: library `%s': cannot call function `%s' (%s)\n" +msgstr "" +"extension: la biblioteca `%s': nun puede llamase a la función `%s' (%s)\n" + +#: ext.c:105 +msgid "extension: missing function name" +msgstr "extension: falta'l nome de la función" + +#: ext.c:110 +#, c-format +msgid "extension: illegal character `%c' in function name `%s'" +msgstr "extension: caráuter illegal `%c' nel nome de la función `%s'" + +#: ext.c:116 +#, c-format +msgid "extension: can't redefine function `%s'" +msgstr "extension: nun puede redefinise la función `%s'" + +#: ext.c:120 +#, c-format +msgid "extension: function `%s' already defined" +msgstr "extension: la función `%s' ya ta definida" + +#: ext.c:125 +#, c-format +msgid "extension: can't use gawk built-in `%s' as function name" +msgstr "" +"extension: nun puede usase la orde interna de gawk `%s' como nome de función" + +#: ext.c:127 +#, c-format +msgid "extension: function name `%s' previously defined" +msgstr "extension: el nome de función `%s' definióse previamente" + +#: ext.c:204 +#, c-format +msgid "function `%s' defined to take no more than %d argument(s)" +msgstr "la función `%s' definióse pa tomar non más de %d argumentu(os)" + +#: ext.c:207 +#, c-format +msgid "function `%s': missing argument #%d" +msgstr "función `%s': falta l'argumentu #%d" + +#: ext.c:217 +#, c-format +msgid "function `%s': argument #%d: attempt to use scalar as an array" +msgstr "función `%s': argumentu #%d: intentóse usar un escalar como una matriz" + +#: ext.c:221 +#, c-format +msgid "function `%s': argument #%d: attempt to use array as a scalar" +msgstr "función `%s': argumentu #%d: intentóse usar una matriz como un escalar" + +#: ext.c:246 +msgid "Operation Not Supported" +msgstr "Operación Non Sofitada" + +#: field.c:330 +msgid "NF set to negative value" +msgstr "NF con un valor negativu" + +#: field.c:875 +msgid "split: second argument is not an array" +msgstr "split: el segundu argumentu nun ye una matriz" + +#: field.c:909 +msgid "split: null string for third arg is a gawk extension" +msgstr "split: la cadena nula pal tercer argumentu ye una estensión de gawk" + +#: field.c:961 +msgid "`FIELDWIDTHS' is a gawk extension" +msgstr "`FIELDWIDTHS' ye una estensión gawk" + +#: field.c:991 field.c:1005 +#, c-format +msgid "invalid FIELDWIDTHS value, near `%s'" +msgstr "valor de FIELDWIDTHS non válidu, cerca de `%s'" + +#: field.c:1088 +msgid "null string for `FS' is a gawk extension" +msgstr "la cadena nula pa `FS' ye una estensión de gawk" + +#: field.c:1092 +msgid "old awk does not support regexps as value of `FS'" +msgstr "l'awk antiguu nun almite espresiones regulares como valor de `FS'" + +#: getopt.c:574 getopt.c:590 +#, c-format +msgid "%s: option '%s' is ambiguous\n" +msgstr "%s: la opción '%s' ye ambigua\n" + +#: getopt.c:623 getopt.c:627 +#, c-format +msgid "%s: option '--%s' doesn't allow an argument\n" +msgstr "%s: la opción '--%s' nun almite dengún argumentu\n" + +#: getopt.c:636 getopt.c:641 +#, c-format +msgid "%s: option '%c%s' doesn't allow an argument\n" +msgstr "%s: la opción '%c%s' nun almite dengún argumentu\n" + +#: getopt.c:684 getopt.c:703 +#, fuzzy, c-format +msgid "%s: option '--%s' requires an argument\n" +msgstr "%s: la opción '%s' requier un argumentu\n" + +#: getopt.c:741 getopt.c:744 +#, c-format +msgid "%s: unrecognized option '--%s'\n" +msgstr "%s: nun se reconoz la opción '--%s'\n" + +#: getopt.c:752 getopt.c:755 +#, c-format +msgid "%s: unrecognized option '%c%s'\n" +msgstr "%s: nun se reconoz la opción '%c%s'\n" + +#: getopt.c:804 getopt.c:807 +#, c-format +msgid "%s: invalid option -- '%c'\n" +msgstr "%s: opción non válida -- '%c'\n" + +#: getopt.c:857 getopt.c:874 getopt.c:1082 getopt.c:1100 +#, c-format +msgid "%s: option requires an argument -- '%c'\n" +msgstr "%s: la opción requier un argumentu -- '%c'\n" + +#: getopt.c:930 getopt.c:946 +#, c-format +msgid "%s: option '-W %s' is ambiguous\n" +msgstr "%s: la opción '-W %s' ye ambigua\n" + +#: getopt.c:970 getopt.c:988 +#, c-format +msgid "%s: option '-W %s' doesn't allow an argument\n" +msgstr "%s: la opción '-W %s' nun almite dengún argumentu\n" + +#: getopt.c:1009 getopt.c:1027 +#, fuzzy, c-format +msgid "%s: option '-W %s' requires an argument\n" +msgstr "%s: la opción '%s' requier un argumentu\n" + +#: io.c:322 io.c:352 +#, c-format +msgid "cannot open file `%s' for reading (%s)" +msgstr "nun puede abrise'l ficheru `%s' pa llectura (%s)" + +#: io.c:443 +#, c-format +msgid "close of fd %d (`%s') failed (%s)" +msgstr "falló al zarrar el df %d (`%s') (%s)" + +#: io.c:583 +#, c-format +msgid "invalid tree type %s in redirect()" +msgstr "triba d'árbol %s non válidu en redirect()" + +#: io.c:589 +#, c-format +msgid "expression in `%s' redirection only has numeric value" +msgstr "la espresión na redirección `%s' namái tien un valor numbéricu" + +#: io.c:595 +#, c-format +msgid "expression for `%s' redirection has null string value" +msgstr "la espresión pa la redirección `%s' tien un valor de cadena nula" + +#: io.c:600 +#, c-format +msgid "filename `%s' for `%s' redirection may be result of logical expression" +msgstr "" +"el ficheru `%s' pa la redirección `%s' puede ser resultáu d'una espresión " +"llógica" + +#: io.c:638 +#, c-format +msgid "unnecessary mixing of `>' and `>>' for file `%.*s'" +msgstr "mezcla innecesaria de `>' y `>>' pal ficheru `%.*s'" + +#: io.c:685 +#, c-format +msgid "can't open pipe `%s' for output (%s)" +msgstr "nun puede abrise la tubería `%s' pa la salida (%s)" + +#: io.c:694 +#, c-format +msgid "can't open pipe `%s' for input (%s)" +msgstr "nun puede abrise la tubería `%s' pa la entrada (%s)" + +#: io.c:717 +#, c-format +msgid "can't open two way pipe `%s' for input/output (%s)" +msgstr "nun puede abrise la tubería de dos víes `%s' pa entrada/salida (%s)" + +#: io.c:795 +#, c-format +msgid "can't redirect from `%s' (%s)" +msgstr "nun puede redirixise dende `%s' (%s)" + +#: io.c:798 +#, c-format +msgid "can't redirect to `%s' (%s)" +msgstr "nun puede redirixise a `%s' (%s)" + +#: io.c:851 +msgid "" +"reached system limit for open files: starting to multiplex file descriptors" +msgstr "" +"alcanzóse'l llímite del sistema pa ficheros abiertos: entamando a " +"multiplexar los descriptores de ficheru" + +#: io.c:867 +#, c-format +msgid "close of `%s' failed (%s)." +msgstr "falló al zarrar `%s' (%s)." + +#: io.c:875 +msgid "too many pipes or input files open" +msgstr "demasiaes tuberíes o ficheros d'entrada abiertos" + +#: io.c:898 +msgid "close: second argument must be `to' or `from'" +msgstr "close: el segundu argumentu tien de ser `to' o `from'" + +#: io.c:912 +#, c-format +msgid "close: `%.*s' is not an open file, pipe or co-process" +msgstr "close: `%.*s' nun ye un ficheru abierto, tubería o co-procesu" + +#: io.c:917 +msgid "close of redirection that was never opened" +msgstr "zarráu d'una redirección qu'enxamás foi abierta" + +#: io.c:1014 +#, c-format +msgid "close: redirection `%s' not opened with `|&', second argument ignored" +msgstr "" +"close: la redirección `%s' nun s'abre con `|&', ignoróse'l segundu argumentu" + +#: io.c:1030 +#, c-format +msgid "failure status (%d) on pipe close of `%s' (%s)" +msgstr "estáu de fallu (%d) al zarrar la tubería de `%s' (%s)" + +#: io.c:1033 +#, c-format +msgid "failure status (%d) on file close of `%s' (%s)" +msgstr "estáu de fallu (%d) al zarrar el ficheru de `%s' (%s)" + +#: io.c:1053 +#, c-format +msgid "no explicit close of socket `%s' provided" +msgstr "nun se provee'l zarráu esplícitu del `socket' `%s'" + +#: io.c:1056 +#, c-format +msgid "no explicit close of co-process `%s' provided" +msgstr "nun se provee'l zarráu esplícitu del co-procesu `%s'" + +#: io.c:1059 +#, c-format +msgid "no explicit close of pipe `%s' provided" +msgstr "nun se provee'l zarráu esplícitu de la tubería `%s'" + +#: io.c:1062 +#, c-format +msgid "no explicit close of file `%s' provided" +msgstr "nun se provee'l zarráu explícitu del ficheru `%s'" + +#: io.c:1090 io.c:1145 main.c:781 main.c:823 +#, c-format +msgid "error writing standard output (%s)" +msgstr "fallu al escribir na salida standard (%s)" + +#: io.c:1094 io.c:1150 +#, c-format +msgid "error writing standard error (%s)" +msgstr "fallu al escribir na salida standard de fallu (%s)" + +#: io.c:1102 +#, c-format +msgid "pipe flush of `%s' failed (%s)." +msgstr "falló la limpieza de la tubería de `%s' (%s)." + +#: io.c:1105 +#, c-format +msgid "co-process flush of pipe to `%s' failed (%s)." +msgstr "falló la limpieza del co-procesu de la tubería a `%s' (%s)." + +#: io.c:1108 +#, c-format +msgid "file flush of `%s' failed (%s)." +msgstr "falló la limpieza del ficheru de `%s' (%s)." + +#: io.c:1222 +#, c-format +msgid "local port %s invalid in `/inet'" +msgstr "puertu llocal %s non válidu en `/inet'" + +#: io.c:1239 +#, c-format +msgid "remote host and port information (%s, %s) invalid" +msgstr "anfitrión remotu ya información de puertu (%s, %s) inválidos" + +#: io.c:1274 +msgid "/inet/raw client not ready yet, sorry" +msgstr "perdón, el veceru /inet/raw nun ta llistu entá" + +#: io.c:1277 io.c:1313 +msgid "only root may use `/inet/raw'." +msgstr "namái root puede usar `/inet/raw'." + +#: io.c:1311 +msgid "/inet/raw server not ready yet, sorry" +msgstr "perdón, el sirvidor /inet/raw nun ta llistu entá" + +#: io.c:1409 +#, c-format +msgid "no (known) protocol supplied in special filename `%s'" +msgstr "" +"nun se proporciona dalgún protocolu (conocíu) nel nome de ficheru especial `%" +"s'" + +#: io.c:1423 +#, c-format +msgid "special file name `%s' is incomplete" +msgstr "el nome de ficheru especial `%s' ta incompletu" + +#: io.c:1438 +msgid "must supply a remote hostname to `/inet'" +msgstr "tien d'apurrise a `/inet' un nome d'anfitrión remotu" + +#: io.c:1456 +msgid "must supply a remote port to `/inet'" +msgstr "tien d'apurrise a `/inet' un puertu remotu" + +#: io.c:1502 +msgid "TCP/IP communications are not supported" +msgstr "Nun tan sofitaes comunicaciones TCP/IP" + +#: io.c:1511 +#, c-format +msgid "file `%s' is a directory" +msgstr "el ficheru `%s' ye un direutoriu" + +#: io.c:1572 +#, c-format +msgid "use `PROCINFO[\"%s\"]' instead of `%s'" +msgstr "usa `PROCINFO[\\\"%s\\\"]' en llugar de `%s'" + +#: io.c:1610 +msgid "use `PROCINFO[...]' instead of `/dev/user'" +msgstr "usa `PROCINFO[...]' en llugar de `/dev/user'" + +#: io.c:1675 io.c:1872 +#, c-format +msgid "could not open `%s', mode `%s'" +msgstr "nun puede abrise `%s', mou `%s'" + +#: io.c:1923 +#, c-format +msgid "close of master pty failed (%s)" +msgstr "falló al zarrar el pty mayestru (%s)" + +#: io.c:1925 io.c:2077 io.c:2228 +#, c-format +msgid "close of stdout in child failed (%s)" +msgstr "falló al zarrar la salida standard nel fíu (%s)" + +#: io.c:1928 +#, c-format +msgid "moving slave pty to stdout in child failed (dup: %s)" +msgstr "" +"falló'l movimientu del pty esclavu a la salida standard nel fíu (dup: %s)" + +#: io.c:1930 io.c:2082 +#, c-format +msgid "close of stdin in child failed (%s)" +msgstr "falló al zarrar la entrada standard nel fíu (%s)" + +#: io.c:1933 +#, c-format +msgid "moving slave pty to stdin in child failed (dup: %s)" +msgstr "" +"falló'l movimientu del pty esclavu a la entrada standard nel fíu (dup: %s)" + +#: io.c:1935 io.c:1954 +#, c-format +msgid "close of slave pty failed (%s)" +msgstr "falló al zarrar el pty esclavu (%s)" + +#: io.c:2028 io.c:2080 io.c:2209 io.c:2231 +#, c-format +msgid "moving pipe to stdout in child failed (dup: %s)" +msgstr "falló'l movimientu a la salida standard nel fíu (dup: %s)" + +#: io.c:2032 io.c:2085 +#, c-format +msgid "moving pipe to stdin in child failed (dup: %s)" +msgstr "" +"falló'l movimiento de la tubería a la entrada standard nel fíu (dup: %s)" + +#: io.c:2049 io.c:2222 +msgid "restoring stdout in parent process failed\n" +msgstr "falló la restauración de la salida standard nel procesu padre\n" + +#: io.c:2054 +msgid "restoring stdin in parent process failed\n" +msgstr "falló la restauración de la entrada standard nel procesu padre\n" + +#: io.c:2088 io.c:2233 io.c:2244 +#, c-format +msgid "close of pipe failed (%s)" +msgstr "falló al zarrar la tubería (%s)" + +#: io.c:2133 +msgid "`|&' not supported" +msgstr "`|&' nun sofitao" + +#: io.c:2199 +#, c-format +msgid "cannot open pipe `%s' (%s)" +msgstr "nun puede abrise la tubería `%s' (%s)" + +#: io.c:2240 +#, c-format +msgid "cannot create child process for `%s' (fork: %s)" +msgstr "nun puede criase'l procesu fíu pa `%s' (fork: %s)" + +#: io.c:2622 +#, c-format +msgid "data file `%s' is empty" +msgstr "el ficheru de datos `%s' ta baleru" + +#: io.c:2663 io.c:2671 +msgid "could not allocate more input memory" +msgstr "nun puede reservase más memoria d'entrada" + +#: io.c:3039 io.c:3112 +#, c-format +msgid "error reading input file `%s': %s" +msgstr "fallu al lleer el ficheru d'entrada `%s': %s" + +#: io.c:3237 +msgid "multicharacter value of `RS' is a gawk extension" +msgstr "el valor multicarauter de `RS' ye una estensión de gawk" + +#: main.c:306 +msgid "out of memory" +msgstr "fuera de memoria" + +#: main.c:374 +msgid "`-m[fr]' option irrelevant in gawk" +msgstr "la opción -m[fr] ye irrelevante en gawk" + +#: main.c:376 +msgid "-m option usage: `-m[fr] nnn'" +msgstr "usu de la opción -m: `-m[fr]' nnn" + +#: main.c:393 +#, c-format +msgid "%s: option `-W %s' unrecognized, ignored\n" +msgstr "%s: nun se reconoz la opción `-W %s', ignorase\n" + +#: main.c:434 +msgid "empty argument to `--source' ignored" +msgstr "ignorase l'argumentu baleru pa `--source'" + +#: main.c:488 +#, c-format +msgid "%s: option requires an argument -- %c\n" +msgstr "%s: la opción requier un argumentu -- %c\n" + +#: main.c:509 +msgid "environment variable `POSIXLY_CORRECT' set: turning on `--posix'" +msgstr "" +"la variable d'ambiente `POSIXLY_CORRECT' ta afitada: activase `--posix'" + +#: main.c:515 +msgid "`--posix' overrides `--traditional'" +msgstr "`--posix' imponse a `--traditional'" + +#: main.c:526 +msgid "`--posix'/`--traditional' overrides `--non-decimal-data'" +msgstr "`--posix'/`--traditional' imponense a `--non-decimal-data'" + +#: main.c:530 +#, c-format +msgid "running %s setuid root may be a security problem" +msgstr "executar %s como setuid root puede ser un problema de seguridá" + +#: main.c:571 +#, c-format +msgid "can't set binary mode on stdin (%s)" +msgstr "nun puede afitase'l mou binariu na entrada standard (%s)" + +#: main.c:574 +#, c-format +msgid "can't set binary mode on stdout (%s)" +msgstr "nun puede afitase'l mou binariu na salida standard (%s)" + +#: main.c:576 +#, c-format +msgid "can't set binary mode on stderr (%s)" +msgstr "nun puede afitase'l mou binariu na salida standard de fallu (%s)" + +#: main.c:617 +msgid "no program text at all!" +msgstr "¡Non hai dengún programa de testu!" + +#: main.c:721 +#, c-format +msgid "Usage: %s [POSIX or GNU style options] -f progfile [--] file ...\n" +msgstr "" +"Mou d'emplegu: %s [opciones estilu POSIX o GNU] -f fichprog [--] " +"ficheru ...\n" + +#: main.c:723 +#, c-format +msgid "Usage: %s [POSIX or GNU style options] [--] %cprogram%c file ...\n" +msgstr "" +"Mou d'emplegu: %s [opciones estilu POSIX o GNU] [--] %cprograma%c " +"ficheru ...\n" + +#: main.c:728 +msgid "POSIX options:\t\tGNU long options:\n" +msgstr "Opciones POSIX:\t\tOpciones llargues GNU:\n" + +#: main.c:729 +msgid "\t-f progfile\t\t--file=progfile\n" +msgstr "\t-f fichprog\t\t--file=fichprog\n" + +#: main.c:730 +msgid "\t-F fs\t\t\t--field-separator=fs\n" +msgstr "\t-F sc\t\t\t--field-separator=sc\n" + +#: main.c:731 +msgid "\t-v var=val\t\t--assign=var=val\n" +msgstr "\t-v var=valor\t\t--assign=var=valor\n" + +#: main.c:732 +msgid "\t-m[fr] val\n" +msgstr "\t-m[fr] valor\n" + +#: main.c:733 +msgid "\t-O\t\t\t--optimize\n" +msgstr "\t-O\t\t\t--optimize\n" + +#: main.c:734 +msgid "\t-W compat\t\t--compat\n" +msgstr "\t-W compat\t\t--compat\n" + +#: main.c:735 +msgid "\t-W copyleft\t\t--copyleft\n" +msgstr "\t-W copyleft\t\t--copyleft\n" + +#: main.c:736 +msgid "\t-W copyright\t\t--copyright\n" +msgstr "\t-W copyright\t\t--copyright\n" + +#: main.c:737 +msgid "\t-W dump-variables[=file]\t--dump-variables[=file]\n" +msgstr "\t-W dump-variables[=ficheru]\t--dump-variables[=ficheru]\n" + +#: main.c:738 +msgid "\t-W exec=file\t\t--exec=file\n" +msgstr "\t-W exec=ficheru\t\t--exec=ficheru\n" + +#: main.c:739 +msgid "\t-W gen-po\t\t--gen-po\n" +msgstr "\t-W gen-po\t\t--gen-po\n" + +#: main.c:740 +msgid "\t-W help\t\t\t--help\n" +msgstr "\t-W help\t\t\t--help\n" + +#: main.c:741 +msgid "\t-W lint[=fatal]\t\t--lint[=fatal]\n" +msgstr "\t-W lint[=fatal]\t\t--lint[=fatal]\n" + +#: main.c:742 +msgid "\t-W lint-old\t\t--lint-old\n" +msgstr "\t-W lint-old\t\t--lint-old\n" + +#: main.c:743 +msgid "\t-W non-decimal-data\t--non-decimal-data\n" +msgstr "\t-W non-decimal-data\t--non-decimal-data\n" + +#: main.c:745 +msgid "\t-W nostalgia\t\t--nostalgia\n" +msgstr "\t-W nostalgia\t\t--nostalgia\n" + +#: main.c:748 +msgid "\t-W parsedebug\t\t--parsedebug\n" +msgstr "\t-W parsedebug\t\t--parsedebug\n" + +#: main.c:750 +msgid "\t-W profile[=file]\t--profile[=file]\n" +msgstr "\t-W profile[=ficheru]\t--profile[=ficheru]\n" + +#: main.c:751 +msgid "\t-W posix\t\t--posix\n" +msgstr "\t-W posix\t\t--posix\n" + +#: main.c:752 +msgid "\t-W re-interval\t\t--re-interval\n" +msgstr "\t-W re-interval\t\t--re-interval\n" + +# Esta es la llinia más larga de la llista de argumentos. +# Probar con gawk pa revisar tabuladores. cfuga +#: main.c:753 +msgid "\t-W source=program-text\t--source=program-text\n" +msgstr "\t-W source=testu-prog\t--source=testu-prog\n" + +#: main.c:754 +msgid "\t-W traditional\t\t--traditional\n" +msgstr "\t-W traditional\t\t--traditional\n" + +#: main.c:755 +msgid "\t-W usage\t\t--usage\n" +msgstr "\t-W usage\t\t--usage\n" + +#: main.c:756 +msgid "\t-W use-lc-numeric\t--use-lc-numeric\n" +msgstr "\t\\t-W usa-lc-numeric\\t--usa-lc-numeric\\n\n" + +#: main.c:757 +msgid "\t-W version\t\t--version\n" +msgstr "\t-W version\t\t--version\n" + +#. TRANSLATORS: --help output 5 (end) +#. TRANSLATORS: the placeholder indicates the bug-reporting address +#. for this application. Please add _another line_ with the +#. address for translation bugs. +#. no-wrap +#: main.c:766 +msgid "" +"\n" +"To report bugs, see node `Bugs' in `gawk.info', which is\n" +"section `Reporting Problems and Bugs' in the printed version.\n" +"\n" +msgstr "" +"\n" +"Pa reportar bugs, consulta'l nodu `Bugs' en `gawk.info', el cual\n" +"correspuende a la seición `Reporting Problems and Bugs' na versión impresa.\n" +"\n" + +#: main.c:770 +msgid "" +"gawk is a pattern scanning and processing language.\n" +"By default it reads standard input and writes standard output.\n" +"\n" +msgstr "" +"gawk ye una llingua de reconocimientu y procesamientu de patrones.\n" +"Por omisión llee la entrada standard y escribe na salida standard.\n" +"\n" + +#: main.c:774 +msgid "" +"Examples:\n" +"\tgawk '{ sum += $1 }; END { print sum }' file\n" +"\tgawk -F: '{ print $1 }' /etc/passwd\n" +msgstr "" +"Exemplos:\n" +"\tgawk '{ sum += $1 }; END { print sum }' ficheru\n" +"\tgawk -F: '{ print $1 }' /etc/passwd\n" + +#: main.c:794 +#, c-format +msgid "" +"Copyright (C) 1989, 1991-%d Free Software Foundation.\n" +"\n" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 3 of the License, or\n" +"(at your option) any later version.\n" +"\n" +msgstr "" +"Copyright (C) 1989, 1991-%d Free Software Foundation.\n" +"\n" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 3 of the License, or\n" +"(at your option) any later version.\n" +"\n" + +#: main.c:802 +msgid "" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +msgstr "" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" + +#: main.c:813 +msgid "" +"You should have received a copy of the GNU General Public License\n" +"along with this program. If not, see http://www.gnu.org/licenses/.\n" +msgstr "" +"You should have received a copy of the GNU General Public License\n" +"along with this program. If not, see http://www.gnu.org/licenses/.\n" + +#: main.c:848 +msgid "-Ft does not set FS to tab in POSIX awk" +msgstr "-Ft non afita FS a tabulador nel awk de POSIX" + +#: main.c:1122 +#, c-format +msgid "" +"%s: `%s' argument to `-v' not in `var=value' form\n" +"\n" +msgstr "" +"%s: l'argumentu `%s' pa `-v' nun ye de la forma `var=valor'\n" +"\n" + +#: main.c:1142 +#, c-format +msgid "`%s' is not a legal variable name" +msgstr "`%s' nun ye un nome de variable llegal" + +#: main.c:1145 +#, c-format +msgid "`%s' is not a variable name, looking for file `%s=%s'" +msgstr "`%s' nun ye un nome de variable, guetase'l ficheru `%s=%s'" + +#: main.c:1184 +msgid "floating point exception" +msgstr "escepción de coma flotante" + +#: main.c:1191 +msgid "fatal error: internal error" +msgstr "fallu fatal: fallu internu" + +#: main.c:1206 +msgid "fatal error: internal error: segfault" +msgstr "fallu fatal: fallu internu: segfault" + +#: main.c:1218 +msgid "fatal error: internal error: stack overflow" +msgstr "fallu fatal: fallu internu: stack overflow" + +#: main.c:1268 +#, c-format +msgid "no pre-opened fd %d" +msgstr "nun esiste'l df %d abiertu previamente" + +#: main.c:1275 +#, c-format +msgid "could not pre-open /dev/null for fd %d" +msgstr "nun puede abrise previamente /dev/null pal df %d" + +#: main.c:1298 main.c:1307 +#, c-format +msgid "could not find groups: %s" +msgstr "nun pueden atopase los grupos: %s" + +#: msg.c:54 +#, c-format +msgid "cmd. line:" +msgstr "llinia ord.:" + +#: msg.c:120 +msgid "warning: " +msgstr "avisu: " + +#: msg.c:142 +msgid "error: " +msgstr "fallu: " + +#: msg.c:178 +msgid "fatal: " +msgstr "fatal: " + +#: node.c:63 node.c:78 node.c:105 node.c:121 node.c:151 +msgid "can't convert string to float" +msgstr "nun puede convertise una cadena a coma flotante" + +#: node.c:465 +msgid "backslash at end of string" +msgstr "barra invertida al final de la cadena" + +#: node.c:609 +#, c-format +msgid "old awk does not support the `\\%c' escape sequence" +msgstr "l'awk antiguu nun almite la secuencia d'escape `\\%c'" + +#: node.c:660 +msgid "POSIX does not allow `\\x' escapes" +msgstr "POSIX nun permite escapes `\\x'" + +#: node.c:666 +msgid "no hex digits in `\\x' escape sequence" +msgstr "nun hai díxitos hexadecimales na secuencia d'escape `\\x'" + +#: node.c:688 +#, c-format +msgid "" +"hex escape \\x%.*s of %d characters probably not interpreted the way you " +"expect" +msgstr "" +"carauteres hexadecimales d'escape \\x%.*s de %d carauteres probablemente nun " +"s'interpreten como esperes" + +#: node.c:703 +#, c-format +msgid "escape sequence `\\%c' treated as plain `%c'" +msgstr "la secuencia d'escape `\\%c' tratase como una simple `%c'" + +#: posix/gawkmisc.c:172 +#, c-format +msgid "%s %s `%s': could not set close-on-exec: (fcntl: %s)" +msgstr "%s %s `%s': nun puede afitase close-on-exec: (fcntl: %s)" + +#: profile.c:94 +#, c-format +msgid "could not open `%s' for writing: %s" +msgstr "nun puede abrise `%s' pa escritura: %s" + +#: profile.c:457 +#, c-format +msgid "internal error: %s with null vname" +msgstr "fallu internu: %s con vname null" + +#: profile.c:521 +msgid "# treated internally as `delete'" +msgstr "# tratase internamente como `delete'" + +#: profile.c:1073 +#, c-format +msgid "# this is a dynamically loaded extension function" +msgstr "# esta ye una función d'estensión cargada dinámicamente" + +#: profile.c:1104 +#, c-format +msgid "\t# gawk profile, created %s\n" +msgstr "\t# perfil de gawk, criáu %s\n" + +#: profile.c:1107 +#, c-format +msgid "" +"\t# BEGIN block(s)\n" +"\n" +msgstr "" +"\t# bloque(s) BEGIN\n" +"\n" + +#: profile.c:1117 +#, c-format +msgid "" +"\t# Rule(s)\n" +"\n" +msgstr "" +"\t# Regla(es)\n" +"\n" + +#: profile.c:1123 +#, c-format +msgid "" +"\t# END block(s)\n" +"\n" +msgstr "" +"\t# bloque(s) END\n" +"\n" + +#: profile.c:1143 +#, c-format +msgid "" +"\n" +"\t# Functions, listed alphabetically\n" +msgstr "" +"\n" +"\t# Funciones, enumberaes alfabéticamente\n" + +#: profile.c:1405 +#, c-format +msgid "unexpected type %s in prec_level" +msgstr "triba %s inesperada en prec_level" + +#: profile.c:1527 +#, c-format +msgid "Unknown node type %s in pp_var" +msgstr "triba de nodu %s desconocida en pp_var" + +#: regcomp.c:132 +msgid "Success" +msgstr "Ésitu" + +#: regcomp.c:135 +msgid "No match" +msgstr "Nun hai coincidencia" + +#: regcomp.c:138 +msgid "Invalid regular expression" +msgstr "Espresión regular non válida" + +#: regcomp.c:141 +msgid "Invalid collation character" +msgstr "Carauter d'ordenación non válidu" + +#: regcomp.c:144 +msgid "Invalid character class name" +msgstr "Nome de clas de carauter non válidu" + +#: regcomp.c:147 +msgid "Trailing backslash" +msgstr "Barra invertida extra al final" + +#: regcomp.c:150 +msgid "Invalid back reference" +msgstr "Referencia p'atrás non válida" + +#: regcomp.c:153 +msgid "Unmatched [ or [^" +msgstr "[ o [^ desemparexaos" + +#: regcomp.c:156 +msgid "Unmatched ( or \\(" +msgstr "( o \\( desemparexaos" + +#: regcomp.c:159 +msgid "Unmatched \\{" +msgstr "\\{ desemparexáu" + +#: regcomp.c:162 +msgid "Invalid content of \\{\\}" +msgstr "Conteníu non válidu de \\{\\}" + +#: regcomp.c:165 +msgid "Invalid range end" +msgstr "Final de rangu non válidu" + +#: regcomp.c:168 +msgid "Memory exhausted" +msgstr "Memoria escosada" + +#: regcomp.c:171 +msgid "Invalid preceding regular expression" +msgstr "Espresión regular precedente non válida" + +#: regcomp.c:174 +msgid "Premature end of regular expression" +msgstr "Fin prematuru de la espresión regular" + +#: regcomp.c:177 +msgid "Regular expression too big" +msgstr "La espresión regular ye enforma grande" + +#: regcomp.c:180 +msgid "Unmatched ) or \\)" +msgstr ") o \\) desemparexaos" + +#: regcomp.c:699 +msgid "No previous regular expression" +msgstr "Nun hai una espresión regular previa" + +#~ msgid "can't open two way socket `%s' for input/output (%s)" +#~ msgstr "nun puede abrise'l `socket' de dos víes `%s' pa entrada/salida (%s)" + +#~ msgid "%s: illegal option -- %c\n" +#~ msgstr "%s: opción illegal -- %c\n" diff -urN gawk-3.1.7/po/ca.po gawk-3.1.8/po/ca.po --- gawk-3.1.7/po/ca.po 2009-07-21 23:23:45.000000000 +0300 +++ gawk-3.1.8/po/ca.po 2010-05-06 20:57:37.000000000 +0300 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: gawk 3.1.31\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2009-07-21 23:23+0300\n" +"POT-Creation-Date: 2010-05-06 20:57+0300\n" "PO-Revision-Date: 2003-05-07 21:13+0100\n" "Last-Translator: Antoni Bella Perez \n" "Language-Team: Catalan \n" @@ -35,42 +35,42 @@ msgid "from %s" msgstr "%s (de %s)" -#: array.c:514 -#, c-format -msgid "reference to uninitialized element `%s[\"%s\"]'" +#: array.c:513 +#, fuzzy, c-format +msgid "reference to uninitialized element `%s[\"%.*s\"]'" msgstr "referència a un element sense valor inicial «%s[\"%s\"]»" -#: array.c:520 +#: array.c:519 #, c-format msgid "subscript of array `%s' is null string" msgstr "el subscript de la matriu «%s» és una cadena nul·la" -#: array.c:624 +#: array.c:623 #, c-format msgid "delete: index `%s' not in array `%s'" msgstr "delete: l'índex «%s» no està en la matriu «%s»" -#: array.c:793 +#: array.c:792 #, c-format msgid "%s: empty (null)\n" msgstr "%s: buit (nul)\n" -#: array.c:798 +#: array.c:797 #, c-format msgid "%s: empty (zero)\n" msgstr "%s: buit (zero)\n" -#: array.c:802 +#: array.c:801 #, c-format msgid "%s: table_size = %d, array_size = %d\n" msgstr "%s: mida_taula = %d, mida_matriu = %d\n" -#: array.c:831 +#: array.c:830 #, fuzzy, c-format msgid "%s: is parameter\n" msgstr "%s: és un paràmetre\n" -#: array.c:836 +#: array.c:835 #, c-format msgid "%s: array_ref to %s\n" msgstr "%s: ref_matriu a %s\n" @@ -357,7 +357,7 @@ msgid "could not open `%s' for writing (%s)" msgstr "no es pot obrir «%s» per a escriptura (%s)" -#: awkgram.y:2748 profile.c:95 +#: awkgram.y:2748 profile.c:96 msgid "sending profile to standard error" msgstr "enviant el perfil a l'eixida d'error estàndard" @@ -414,7 +414,12 @@ "s'ha cridat a la funció «%s» amb espai entre el nom i el «(»,\n" "%s" -#: awkgram.y:3667 eval.c:1394 +#: awkgram.y:3664 +#, fuzzy +msgid "division by zero attempted in `/'" +msgstr "s'ha intentat una divisió per zero en «/=»" + +#: awkgram.y:3669 eval.c:1394 #, c-format msgid "division by zero attempted in `%%'" msgstr "s'ha intentat una divisió per zero en «%%»" @@ -477,168 +482,172 @@ msgid "`length(array)' is a gawk extension" msgstr "«delete array» és una extensió de gawk" -#: builtin.c:473 +#: builtin.c:471 +msgid "length: untyped parameter argument will be forced to scalar" +msgstr "" + +#: builtin.c:480 msgid "length: untyped argument will be forced to scalar" msgstr "" -#: builtin.c:477 +#: builtin.c:484 msgid "length: received non-string argument" msgstr "length: s'ha rebut un argument que no és una cadena" -#: builtin.c:508 +#: builtin.c:515 msgid "log: received non-numeric argument" msgstr "log: s'ha rebut un argument no numèric" -#: builtin.c:511 +#: builtin.c:518 #, c-format msgid "log: received negative argument %g" msgstr "log: s'ha rebut l'argument negatiu %g" -#: builtin.c:719 builtin.c:722 +#: builtin.c:726 builtin.c:729 msgid "must use `count$' on all formats or none" msgstr "" -#: builtin.c:783 +#: builtin.c:790 #, c-format msgid "field width is ignored for `%%%%' specifier" msgstr "" -#: builtin.c:785 +#: builtin.c:792 #, c-format msgid "precision is ignored for `%%%%' specifier" msgstr "" -#: builtin.c:787 +#: builtin.c:794 #, c-format msgid "field width and precision are ignored for `%%%%' specifier" msgstr "" -#: builtin.c:838 +#: builtin.c:845 msgid "`$' is not permitted in awk formats" msgstr "no es permeten «$» en els formats awk" -#: builtin.c:844 +#: builtin.c:851 msgid "arg count with `$' must be > 0" msgstr "el compte d'arguments amb «$» ha de ser > 0" -#: builtin.c:846 +#: builtin.c:853 #, fuzzy, c-format msgid "arg count %ld greater than total number of supplied arguments" msgstr "" "el comte d'arguments %d és major que el nombre total d'arguments " "proporcionats" -#: builtin.c:848 +#: builtin.c:855 msgid "`$' not permitted after period in format" msgstr "no es permet «$» després d'un punt en el format" -#: builtin.c:861 +#: builtin.c:868 msgid "no `$' supplied for positional field width or precision" msgstr "no es proporciona «$» per a l'ample o precisió del camp de posició" -#: builtin.c:927 +#: builtin.c:938 msgid "`l' is meaningless in awk formats; ignored" msgstr "«l» manca de significat en els formats awk; serà ignorat" -#: builtin.c:931 +#: builtin.c:942 msgid "`l' is not permitted in POSIX awk formats" msgstr "«l» no està permés en els formats POSIX de awk" -#: builtin.c:942 +#: builtin.c:953 msgid "`L' is meaningless in awk formats; ignored" msgstr "«L» manca de significat en els formats awk; serà ignorat" -#: builtin.c:946 +#: builtin.c:957 msgid "`L' is not permitted in POSIX awk formats" msgstr "«L» no està permés en els formats POSIX de awk" -#: builtin.c:957 +#: builtin.c:968 msgid "`h' is meaningless in awk formats; ignored" msgstr "«h» manca de significat en els formats awk; serà ignorat" -#: builtin.c:961 +#: builtin.c:972 msgid "`h' is not permitted in POSIX awk formats" msgstr "«h» no està permés en els formats POSIX de awk" -#: builtin.c:1236 +#: builtin.c:1252 #, c-format msgid "[s]printf: value %g is out of range for `%%%c' format" msgstr "" -#: builtin.c:1316 +#: builtin.c:1332 #, c-format msgid "ignoring unknown format specifier character `%c': no argument converted" msgstr "" -#: builtin.c:1322 +#: builtin.c:1338 msgid "not enough arguments to satisfy format string" msgstr "no hi ha prou arguments per a satisfer el format d'una cadena" -#: builtin.c:1324 +#: builtin.c:1340 msgid "^ ran out for this one" msgstr "^ desbordament per a aquest" -#: builtin.c:1330 +#: builtin.c:1346 msgid "[s]printf: format specifier does not have control letter" msgstr "[s]printf: l'especificador de format no conté lletra de control" -#: builtin.c:1333 +#: builtin.c:1349 msgid "too many arguments supplied for format string" msgstr "s'han proporcionat masses arguments per a la cadena de format" -#: builtin.c:1408 builtin.c:1411 +#: builtin.c:1424 builtin.c:1427 msgid "printf: no arguments" msgstr "printf: sense arguments" -#: builtin.c:1435 +#: builtin.c:1451 msgid "sqrt: received non-numeric argument" msgstr "sqrt: s'ha rebut un argument no numèric" -#: builtin.c:1439 +#: builtin.c:1455 #, c-format msgid "sqrt: called with negative argument %g" msgstr "sqrt: cridat amb l'argument negatiu %g" -#: builtin.c:1463 +#: builtin.c:1479 #, c-format msgid "substr: start index %g is invalid, using 1" msgstr "substr: l'índex d'inici %g no és vàlid, usant 1" -#: builtin.c:1468 +#: builtin.c:1484 #, c-format msgid "substr: non-integer start index %g will be truncated" msgstr "substr: l'índex d'inici no enter %g serà truncat" -#: builtin.c:1494 +#: builtin.c:1510 #, fuzzy, c-format msgid "substr: length %g is not >= 1" msgstr "substr: la longitud %g és <= 0" -#: builtin.c:1496 +#: builtin.c:1512 #, fuzzy, c-format msgid "substr: length %g is not >= 0" msgstr "substr: la longitud %g és <= 0" -#: builtin.c:1503 +#: builtin.c:1519 #, c-format msgid "substr: non-integer length %g will be truncated" msgstr "substr: la longitud sobre un nombre no enter %g serà truncada" -#: builtin.c:1508 +#: builtin.c:1524 #, c-format msgid "substr: length %g too big for string indexing, truncating to %g" msgstr "" -#: builtin.c:1520 +#: builtin.c:1536 msgid "substr: source string is zero length" msgstr "substr: la cadena font és de longitud zero" -#: builtin.c:1536 +#: builtin.c:1552 #, fuzzy, c-format msgid "substr: start index %g is past end of string" msgstr "substr: l'índex d'inici %d sobrepassa l'acabament de la cadena" -#: builtin.c:1544 +#: builtin.c:1560 #, fuzzy, c-format msgid "" "substr: length %g at start index %g exceeds length of first argument (%lu)" @@ -646,197 +655,201 @@ "substr: la longitud %d a l'índex d'inici %d excedeix la longitud del 1er " "argument (%d)" -#: builtin.c:1621 +#: builtin.c:1637 #, fuzzy msgid "strftime: received non-string first argument" msgstr "strftime: el primer argument rebut no és una cadena" -#: builtin.c:1627 +#: builtin.c:1643 msgid "strftime: received empty format string" msgstr "strftime: s'ha rebut una cadena de format buida" -#: builtin.c:1636 +#: builtin.c:1652 #, fuzzy msgid "strftime: received non-numeric second argument" msgstr "strftime: el segon argument rebut no és numèric" -#: builtin.c:1713 +#: builtin.c:1729 msgid "mktime: received non-string argument" msgstr "mktime: s'ha rebut un argument que no és una cadena" -#: builtin.c:1758 +#: builtin.c:1746 +msgid "mktime: at least one of the values is out of the default range" +msgstr "" + +#: builtin.c:1783 #, fuzzy msgid "system: received non-string argument" msgstr "system: s'ha rebut un argument que no és una cadena" -#: builtin.c:1879 eval.c:2145 +#: builtin.c:1904 eval.c:2157 #, fuzzy, c-format msgid "reference to uninitialized field `$%d'" msgstr "referència a una variable sense inicialitzar «%s»" -#: builtin.c:1984 +#: builtin.c:2009 #, fuzzy msgid "tolower: received non-string argument" msgstr "tolower: s'ha rebut un argument que no és una cadena" -#: builtin.c:2014 +#: builtin.c:2039 #, fuzzy msgid "toupper: received non-string argument" msgstr "toupper: s'ha rebut un argument que no és una cadena" -#: builtin.c:2047 +#: builtin.c:2072 msgid "atan2: received non-numeric first argument" msgstr "atan2: el primer argument rebut no és numèric" -#: builtin.c:2049 +#: builtin.c:2074 msgid "atan2: received non-numeric second argument" msgstr "atan2: el segon argument rebut no és numèric" -#: builtin.c:2068 +#: builtin.c:2093 msgid "sin: received non-numeric argument" msgstr "sin: s'ha rebut un argument que no és numèric" -#: builtin.c:2084 +#: builtin.c:2109 msgid "cos: received non-numeric argument" msgstr "cos: s'ha rebut un argument que no és numèric" -#: builtin.c:2137 +#: builtin.c:2162 msgid "srand: received non-numeric argument" msgstr "srand: s'ha rebut un argument que no és numèric" -#: builtin.c:2172 +#: builtin.c:2197 msgid "match: third argument is not an array" msgstr "match: el tercer argument no és una matriu" -#: builtin.c:2719 +#: builtin.c:2744 #, fuzzy msgid "gensub: third argument of 0 treated as 1" msgstr "gensub: el tercer argument de 0 és tractat com a 1" -#: builtin.c:2835 +#: builtin.c:2860 msgid "lshift: received non-numeric first argument" msgstr "lshift: el primer argument rebut no és numèric" -#: builtin.c:2837 +#: builtin.c:2862 #, fuzzy msgid "lshift: received non-numeric second argument" msgstr "atan2: el segon argument rebut no és numèric" -#: builtin.c:2843 +#: builtin.c:2868 #, c-format msgid "lshift(%lf, %lf): negative values will give strange results" msgstr "lshift(%lf, %lf): els valors negatius donaran resultats estranys" -#: builtin.c:2845 +#: builtin.c:2870 #, c-format msgid "lshift(%lf, %lf): fractional values will be truncated" msgstr "lshift(%lf, %lf): els valors fraccionaris sernn truncats" -#: builtin.c:2847 +#: builtin.c:2872 #, c-format msgid "lshift(%lf, %lf): too large shift value will give strange results" msgstr "" "lshift(%lf, %lf): un valor de desplaçament massa gran donarà resultats " "estranys" -#: builtin.c:2873 +#: builtin.c:2898 msgid "rshift: received non-numeric first argument" msgstr "rshift: el primer argument rebut no és numèric" -#: builtin.c:2875 +#: builtin.c:2900 #, fuzzy msgid "rshift: received non-numeric second argument" msgstr "atan2: el segon argument rebut no és numèric" -#: builtin.c:2881 +#: builtin.c:2906 #, c-format msgid "rshift(%lf, %lf): negative values will give strange results" msgstr "rshift(%lf, %lf): els valors negatius donaran resultats estranys" -#: builtin.c:2883 +#: builtin.c:2908 #, c-format msgid "rshift(%lf, %lf): fractional values will be truncated" msgstr "rshift(%lf, %lf): els valors fraccionaris seran truncats" -#: builtin.c:2885 +#: builtin.c:2910 #, c-format msgid "rshift(%lf, %lf): too large shift value will give strange results" msgstr "" "rshift(%lf, %lf): un valor de desplaçament massa gran donarà resultats " "estranys" -#: builtin.c:2911 +#: builtin.c:2936 msgid "and: received non-numeric first argument" msgstr "and: el primer argument rebut no és numèric" -#: builtin.c:2913 +#: builtin.c:2938 #, fuzzy msgid "and: received non-numeric second argument" msgstr "atan2: el segon argument rebut no és numèric" -#: builtin.c:2919 +#: builtin.c:2944 #, c-format msgid "and(%lf, %lf): negative values will give strange results" msgstr "and(%lf, %lf): els valors negatius donaran resultats estranys" -#: builtin.c:2921 +#: builtin.c:2946 #, c-format msgid "and(%lf, %lf): fractional values will be truncated" msgstr "and(%lf, %lf): els valors fraccionaris seran truncats" -#: builtin.c:2947 +#: builtin.c:2972 msgid "or: received non-numeric first argument" msgstr "or: el primer argument rebut no és numèric" -#: builtin.c:2949 +#: builtin.c:2974 #, fuzzy msgid "or: received non-numeric second argument" msgstr "atan2: el segon argument rebut no és numèric" -#: builtin.c:2955 +#: builtin.c:2980 #, c-format msgid "or(%lf, %lf): negative values will give strange results" msgstr "or(%lf, %lf): els valors negatius donaran resultats estranys" -#: builtin.c:2957 +#: builtin.c:2982 #, c-format msgid "or(%lf, %lf): fractional values will be truncated" msgstr "or(%lf, %lf): els valors fraccionaris seran truncats" -#: builtin.c:2983 +#: builtin.c:3008 msgid "xor: received non-numeric first argument" msgstr "xor: el primer argument rebut no és numèric" -#: builtin.c:2985 +#: builtin.c:3010 #, fuzzy msgid "xor: received non-numeric second argument" msgstr "atan2: el segon argument rebut no és numèric" -#: builtin.c:2991 +#: builtin.c:3016 #, c-format msgid "xor(%lf, %lf): negative values will give strange results" msgstr "xor(%lf, %lf): els valors negatius donaran resultats estranys" -#: builtin.c:2993 +#: builtin.c:3018 #, c-format msgid "xor(%lf, %lf): fractional values will be truncated" msgstr "xor(%lf, %lf): els valors fraccionaris seran truncats" -#: builtin.c:3017 +#: builtin.c:3042 msgid "compl: received non-numeric argument" msgstr "compl: s'ha rebut un argument que no és numèric" -#: builtin.c:3023 +#: builtin.c:3048 #, c-format msgid "compl(%lf): negative value will give strange results" msgstr "compl(%lf): el valor negatiu donarà resultats estranys" -#: builtin.c:3025 +#: builtin.c:3050 #, c-format msgid "compl(%lf): fractional value will be truncated" msgstr "compl(%lf): el valor fraccionari serà truncat" -#: builtin.c:3198 +#: builtin.c:3223 #, c-format msgid "dcgettext: `%s' is not a valid locale category" msgstr "dcgettext: «%s» no és una categoria local vàlida" @@ -850,7 +863,7 @@ msgid "buffer overflow in genflags2str" msgstr "desbordament del cau temporal en genflags2str" -#: eval.c:454 eval.c:460 profile.c:781 +#: eval.c:454 eval.c:460 profile.c:785 #, c-format msgid "attempt to use array `%s' in a scalar context" msgstr "s'ha intentat usar la matriu «%s» en un context escalar" @@ -898,7 +911,7 @@ msgid "statement has no effect" msgstr "la sentència no té efecte" -#: eval.c:1029 eval.c:1999 +#: eval.c:1029 eval.c:2011 #, c-format msgid "can't use function name `%s' as variable or array" msgstr "no es pot usar el nom de la funció «%s» com a variable o matriu" @@ -908,7 +921,7 @@ msgid "reference to uninitialized argument `%s'" msgstr "referència a un argument sense inicialitzar «%s»" -#: eval.c:1051 eval.c:2008 +#: eval.c:1051 eval.c:2020 #, c-format msgid "reference to uninitialized variable `%s'" msgstr "referència a una variable sense inicialitzar «%s»" @@ -929,7 +942,7 @@ msgid "division by zero attempted" msgstr "s'ha intentat una divisió per zero" -#: eval.c:1409 profile.c:657 +#: eval.c:1409 profile.c:661 #, c-format msgid "illegal type (%s) in tree_eval" msgstr "tipus il·legal (%s) en tree_eval" @@ -943,17 +956,17 @@ msgid "division by zero attempted in `%%='" msgstr "s'ha intentat una divisió per zero en «%%=»" -#: eval.c:1859 +#: eval.c:1871 #, c-format msgid "function `%s' called with more arguments than declared" msgstr "s'ha cridat a la funció «%s» amb més arguments dels declarats" -#: eval.c:1904 +#: eval.c:1916 #, c-format msgid "function `%s' not defined" msgstr "la funció «%s» no està definida" -#: eval.c:1971 +#: eval.c:1983 #, c-format msgid "" "\n" @@ -964,48 +977,48 @@ "\t# Pila de Crides a les Funcions:\n" "\n" -#: eval.c:1974 +#: eval.c:1986 #, c-format msgid "\t# -- main --\n" msgstr "\t# -- principal --\n" -#: eval.c:2129 +#: eval.c:2141 msgid "attempt to field reference from non-numeric value" msgstr "s'ha intentat una referència de camp a partir d'un valor no numèric" -#: eval.c:2131 +#: eval.c:2143 msgid "attempt to reference from null string" msgstr "s'ha intentat una referència a partir d'una cadena nul·la" -#: eval.c:2137 +#: eval.c:2149 #, c-format msgid "attempt to access field %d" msgstr "s'ha intentat accedir al camp %d" -#: eval.c:2158 eval.c:2165 profile.c:836 +#: eval.c:2170 eval.c:2177 profile.c:840 msgid "assignment is not allowed to result of builtin function" msgstr "" "no es permet l'assignació per a obtindre un resultat d'una funció interna" -#: eval.c:2229 +#: eval.c:2241 msgid "`IGNORECASE' is a gawk extension" msgstr "«IGNORECASE» és una extensió de gawk" -#: eval.c:2258 +#: eval.c:2270 msgid "`BINMODE' is a gawk extension" msgstr "«BINMODE» és una extensió de gawk" -#: eval.c:2316 +#: eval.c:2328 #, c-format msgid "BINMODE value `%s' is invalid, treated as 3" msgstr "" -#: eval.c:2406 +#: eval.c:2418 #, c-format msgid "bad `%sFMT' specification `%s'" msgstr "«%sFMT» especificació errònia «%s»" -#: eval.c:2484 +#: eval.c:2496 msgid "turning off `--lint' due to assignment to `LINT'" msgstr "desactivant «--lint» degut a una assignació a «LINT»" @@ -1106,56 +1119,61 @@ msgid "old awk does not support regexps as value of `FS'" msgstr "l'antic awk no suporta l'operador «**=»" -#: getopt.c:570 getopt.c:586 +#: getopt.c:574 getopt.c:590 #, fuzzy, c-format msgid "%s: option '%s' is ambiguous\n" msgstr "%s: l'opció «%s» és ambigua\n" -#: getopt.c:619 getopt.c:623 +#: getopt.c:623 getopt.c:627 #, fuzzy, c-format msgid "%s: option '--%s' doesn't allow an argument\n" msgstr "%s: l'opció «--%s» no admet cap argument\n" -#: getopt.c:632 getopt.c:637 +#: getopt.c:636 getopt.c:641 #, fuzzy, c-format msgid "%s: option '%c%s' doesn't allow an argument\n" msgstr "%s: l'opció «%c%s» no admet cap argument\n" -#: getopt.c:680 getopt.c:699 getopt.c:1002 getopt.c:1021 +#: getopt.c:684 getopt.c:703 #, fuzzy, c-format -msgid "%s: option '%s' requires an argument\n" +msgid "%s: option '--%s' requires an argument\n" msgstr "%s: l'opció «%s» requereix un argument\n" -#: getopt.c:737 getopt.c:740 +#: getopt.c:741 getopt.c:744 #, fuzzy, c-format msgid "%s: unrecognized option '--%s'\n" msgstr "%s: no es reconeix l'opció «--%s»\n" -#: getopt.c:748 getopt.c:751 +#: getopt.c:752 getopt.c:755 #, fuzzy, c-format msgid "%s: unrecognized option '%c%s'\n" msgstr "%s: no es reconeix l'opció «%c%s»\n" -#: getopt.c:800 getopt.c:803 +#: getopt.c:804 getopt.c:807 #, fuzzy, c-format msgid "%s: invalid option -- '%c'\n" msgstr "%s: opció no vàlida -- %c\n" -#: getopt.c:853 getopt.c:870 getopt.c:1073 getopt.c:1091 +#: getopt.c:857 getopt.c:874 getopt.c:1082 getopt.c:1100 #, fuzzy, c-format msgid "%s: option requires an argument -- '%c'\n" msgstr "%s: l'opció requereix un argument -- %c\n" -#: getopt.c:923 getopt.c:939 +#: getopt.c:930 getopt.c:946 #, fuzzy, c-format msgid "%s: option '-W %s' is ambiguous\n" msgstr "%s: l'opció «-W %s» és ambigua\n" -#: getopt.c:963 getopt.c:981 +#: getopt.c:970 getopt.c:988 #, fuzzy, c-format msgid "%s: option '-W %s' doesn't allow an argument\n" msgstr "%s: l'opció «-W %s» no admet cap argument\n" +#: getopt.c:1009 getopt.c:1027 +#, fuzzy, c-format +msgid "%s: option '-W %s' requires an argument\n" +msgstr "%s: l'opció «%s» requereix un argument\n" + #: io.c:322 io.c:352 #, c-format msgid "cannot open file `%s' for reading (%s)" @@ -1202,450 +1220,444 @@ msgid "can't open pipe `%s' for input (%s)" msgstr "no es pot obrir la canonada «%s» per a l'entrada (%s)" -#: io.c:712 -#, c-format -msgid "can't open two way socket `%s' for input/output (%s)" -msgstr "" -"no es pot obrir un socket bidireccional «%s» per a les entrades/eixides (%s)" - -#: io.c:716 +#: io.c:717 #, c-format msgid "can't open two way pipe `%s' for input/output (%s)" msgstr "" "no es pot obrir una canonada bidireccional «%s» per a les entrades/eixides (%" "s)" -#: io.c:793 +#: io.c:795 #, c-format msgid "can't redirect from `%s' (%s)" msgstr "no es pot redirigir des de «%s» (%s)" -#: io.c:796 +#: io.c:798 #, c-format msgid "can't redirect to `%s' (%s)" msgstr "no es pot redirigir cap a «%s» (%s)" -#: io.c:849 +#: io.c:851 msgid "" "reached system limit for open files: starting to multiplex file descriptors" msgstr "" "s'ha arribat al límit del sistema per a fitxers oberts: es començarà a " "multiplexar els descriptors de fitxer" -#: io.c:865 +#: io.c:867 #, c-format msgid "close of `%s' failed (%s)." msgstr "la finalització de «%s» ha fallat (%s)" -#: io.c:873 +#: io.c:875 msgid "too many pipes or input files open" msgstr "masses canonades o fitxers d'entrada oberts" -#: io.c:896 +#: io.c:898 msgid "close: second argument must be `to' or `from'" msgstr "close: el segon argument hauria de ser «to» o «from»" -#: io.c:910 +#: io.c:912 #, c-format msgid "close: `%.*s' is not an open file, pipe or co-process" msgstr "close: «%.*s» no és un fitxer obert, canonada o co-procés" -#: io.c:915 +#: io.c:917 msgid "close of redirection that was never opened" msgstr "finalització d'una redirecció que no s'ha obert" -#: io.c:1012 +#: io.c:1014 #, c-format msgid "close: redirection `%s' not opened with `|&', second argument ignored" msgstr "close: la redirecció «%s» no s'obre amb «|&», s'ignora el segon argument" -#: io.c:1028 +#: io.c:1030 #, c-format msgid "failure status (%d) on pipe close of `%s' (%s)" msgstr "estaus de falla (%d) en la finalització de la canonada «%s» (%s)" -#: io.c:1031 +#: io.c:1033 #, c-format msgid "failure status (%d) on file close of `%s' (%s)" msgstr "estatus de falla (%d) en la finalització del fitxer «%s» (%s)" -#: io.c:1051 +#: io.c:1053 #, c-format msgid "no explicit close of socket `%s' provided" msgstr "no s'aporta la finalització explícita del socket «%s»" -#: io.c:1054 +#: io.c:1056 #, c-format msgid "no explicit close of co-process `%s' provided" msgstr "no s'aporta la finalització explícita del co-procés «%s»" -#: io.c:1057 +#: io.c:1059 #, c-format msgid "no explicit close of pipe `%s' provided" msgstr "no s'aporta la finalització explícita de la canonada «%s»" -#: io.c:1060 +#: io.c:1062 #, c-format msgid "no explicit close of file `%s' provided" msgstr "no s'aporta la finalització explícita del fitxer «%s»" -#: io.c:1088 io.c:1143 main.c:776 main.c:818 +#: io.c:1090 io.c:1145 main.c:781 main.c:823 #, c-format msgid "error writing standard output (%s)" msgstr "error a l'escriure en l'eixida estàndard (%s)" -#: io.c:1092 io.c:1148 +#: io.c:1094 io.c:1150 #, c-format msgid "error writing standard error (%s)" msgstr "error a l'escriure en l'eixida d'error estàndard (%s)" -#: io.c:1100 +#: io.c:1102 #, c-format msgid "pipe flush of `%s' failed (%s)." msgstr "la neteja de la canonada de «%sx» ha fallat (%s)." -#: io.c:1103 +#: io.c:1105 #, c-format msgid "co-process flush of pipe to `%s' failed (%s)." msgstr "la neteja de la canonada per al co-procés de «%sx» ha fallat (%s)." -#: io.c:1106 +#: io.c:1108 #, c-format msgid "file flush of `%s' failed (%s)." msgstr "la neteja del fitxer «%sx» ha fallat (%s)." -#: io.c:1220 +#: io.c:1222 #, fuzzy, c-format msgid "local port %s invalid in `/inet'" msgstr "port local no vàlid en «%s»" -#: io.c:1237 +#: io.c:1239 #, c-format msgid "remote host and port information (%s, %s) invalid" msgstr "" -#: io.c:1272 +#: io.c:1274 msgid "/inet/raw client not ready yet, sorry" msgstr "el client /inet/raw encara no està a punt, ho sento" -#: io.c:1275 io.c:1311 +#: io.c:1277 io.c:1313 msgid "only root may use `/inet/raw'." msgstr "sols el root pot usar «/inet/raw»." -#: io.c:1309 +#: io.c:1311 msgid "/inet/raw server not ready yet, sorry" msgstr "el servidor /inet/raw encara no està a punt, ho sento" -#: io.c:1407 +#: io.c:1409 #, c-format msgid "no (known) protocol supplied in special filename `%s'" msgstr "no s'aporta cap protocol (conegut) en el nom del fitxer especial «%s»" -#: io.c:1421 +#: io.c:1423 #, c-format msgid "special file name `%s' is incomplete" msgstr "el nom del fitxer especial «%s» està incomplet" -#: io.c:1436 +#: io.c:1438 msgid "must supply a remote hostname to `/inet'" msgstr "s'ha de subministrar un nom de sistema remot a «/inet»" -#: io.c:1454 +#: io.c:1456 msgid "must supply a remote port to `/inet'" msgstr "s'ha de subministrar un port remot a «/inet»" -#: io.c:1485 +#: io.c:1502 msgid "TCP/IP communications are not supported" msgstr "les comunicacions TCP/IP no estan suportades" -#: io.c:1494 +#: io.c:1511 #, c-format msgid "file `%s' is a directory" msgstr "el fitxer «%s» és un directori" -#: io.c:1555 +#: io.c:1572 #, c-format msgid "use `PROCINFO[\"%s\"]' instead of `%s'" msgstr "useu «PROCINFO[\"%s\"]» en comptes de «%s»" -#: io.c:1593 +#: io.c:1610 msgid "use `PROCINFO[...]' instead of `/dev/user'" msgstr "useu «PROCINFO[...]» en comptes de «/dev/user»" -#: io.c:1658 io.c:1853 +#: io.c:1675 io.c:1872 #, c-format msgid "could not open `%s', mode `%s'" msgstr "no es pot obrir «%s», mode «%s»" -#: io.c:1904 +#: io.c:1923 #, fuzzy, c-format msgid "close of master pty failed (%s)" msgstr "ha fallat la finalització de la canonada (%s)" -#: io.c:1906 io.c:2058 io.c:2209 +#: io.c:1925 io.c:2077 io.c:2228 #, c-format msgid "close of stdout in child failed (%s)" msgstr "" "ha fallat la finalització de l'eixida estàndard en els processos fills (%s)" -#: io.c:1909 +#: io.c:1928 #, fuzzy, c-format msgid "moving slave pty to stdout in child failed (dup: %s)" msgstr "" "ha fallat la redirecció cap a l'eixida estàndard dels processos fills (dup: %" "s)" -#: io.c:1911 io.c:2063 +#: io.c:1930 io.c:2082 #, c-format msgid "close of stdin in child failed (%s)" msgstr "" "ha fallat la finalització de l'entrada estàndard en els processos fills (%s)" -#: io.c:1914 +#: io.c:1933 #, fuzzy, c-format msgid "moving slave pty to stdin in child failed (dup: %s)" msgstr "" "ha fallat la redirecció cap a l'entrada estàndard dels processos fills (dup: " "%s)" -#: io.c:1916 io.c:1935 +#: io.c:1935 io.c:1954 #, fuzzy, c-format msgid "close of slave pty failed (%s)" msgstr "ha fallat la finalització de la canonada (%s)" -#: io.c:2009 io.c:2061 io.c:2190 io.c:2212 +#: io.c:2028 io.c:2080 io.c:2209 io.c:2231 #, c-format msgid "moving pipe to stdout in child failed (dup: %s)" msgstr "" "ha fallat la redirecció cap a l'eixida estàndard dels processos fills (dup: %" "s)" -#: io.c:2013 io.c:2066 +#: io.c:2032 io.c:2085 #, c-format msgid "moving pipe to stdin in child failed (dup: %s)" msgstr "" "ha fallat la redirecció cap a l'entrada estàndard dels processos fills (dup: " "%s)" -#: io.c:2030 io.c:2203 +#: io.c:2049 io.c:2222 msgid "restoring stdout in parent process failed\n" msgstr "ha fallat la restauració de l'eixida estàndard en el procés pare\n" -#: io.c:2035 +#: io.c:2054 msgid "restoring stdin in parent process failed\n" msgstr "ha fallat la restauració de l'entrada estàndard en el procés pare\n" -#: io.c:2069 io.c:2214 io.c:2225 +#: io.c:2088 io.c:2233 io.c:2244 #, c-format msgid "close of pipe failed (%s)" msgstr "ha fallat la finalització de la canonada (%s)" -#: io.c:2114 +#: io.c:2133 msgid "`|&' not supported" msgstr "«|&» no està suportat" -#: io.c:2180 +#: io.c:2199 #, c-format msgid "cannot open pipe `%s' (%s)" msgstr "no es pot obrir la canonada «%s» (%s)" -#: io.c:2221 +#: io.c:2240 #, c-format msgid "cannot create child process for `%s' (fork: %s)" msgstr "no es pot crear el procés fill per a «%s» (fork: %s)" -#: io.c:2603 +#: io.c:2622 #, c-format msgid "data file `%s' is empty" msgstr "el fitxer de dades «%s» està buit" -#: io.c:2644 io.c:2652 +#: io.c:2663 io.c:2671 msgid "could not allocate more input memory" msgstr "" -#: io.c:3020 io.c:3093 +#: io.c:3039 io.c:3112 #, c-format msgid "error reading input file `%s': %s" msgstr "error en llegir el fitxer d'entrada «%s»: %s" -#: io.c:3218 +#: io.c:3237 msgid "multicharacter value of `RS' is a gawk extension" msgstr "el valor multicaràcter de «RS» és una extensió de gawk" -#: main.c:304 +#: main.c:306 msgid "out of memory" msgstr "memòria esgotada" -#: main.c:373 +#: main.c:374 msgid "`-m[fr]' option irrelevant in gawk" msgstr "l'opción «-m[fr]» és irrellevant en gawk" -#: main.c:375 +#: main.c:376 msgid "-m option usage: `-m[fr] nnn'" msgstr "ús de l'opció -m: «-m[fr] nnn»" -#: main.c:392 +#: main.c:393 #, c-format msgid "%s: option `-W %s' unrecognized, ignored\n" msgstr "%s: no es reconeix l'opció «-W %s», serà ignorada\n" -#: main.c:433 +#: main.c:434 msgid "empty argument to `--source' ignored" msgstr "s'igonarà l'argument buit per a l'opció «--source»" -#: main.c:487 +#: main.c:488 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: l'opció requereix un argument -- %c\n" -#: main.c:506 +#: main.c:509 msgid "environment variable `POSIXLY_CORRECT' set: turning on `--posix'" msgstr "la variable d'entorn «POSIXLY_CORRECT» està establerta: usant «--posix»" -#: main.c:512 +#: main.c:515 msgid "`--posix' overrides `--traditional'" msgstr "«--posix» solapa a «--traditional»" -#: main.c:523 +#: main.c:526 msgid "`--posix'/`--traditional' overrides `--non-decimal-data'" msgstr "«--posix» i «--traditional» solapen a «--non-decimal-data»" -#: main.c:527 +#: main.c:530 #, fuzzy, c-format msgid "running %s setuid root may be a security problem" msgstr "executar %s com a setuid root pot ser un problema de seguretat" -#: main.c:568 +#: main.c:571 #, fuzzy, c-format msgid "can't set binary mode on stdin (%s)" msgstr "no es pot establir el mode en l'entrada estàndard (%s)" -#: main.c:571 +#: main.c:574 #, fuzzy, c-format msgid "can't set binary mode on stdout (%s)" msgstr "no es pot establir el mode en l'eixida estàndard (%s)" -#: main.c:573 +#: main.c:576 #, fuzzy, c-format msgid "can't set binary mode on stderr (%s)" msgstr "no es pot establir el mode en l'eixida d'error estàndard (%s)" -#: main.c:612 +#: main.c:617 msgid "no program text at all!" msgstr "no hi ha cap text per al programa!" -#: main.c:716 +#: main.c:721 #, c-format msgid "Usage: %s [POSIX or GNU style options] -f progfile [--] file ...\n" msgstr "Ús: %s [opcions d'estil POSIX o GNU] -f fitx_prog [--] fitxer ...\n" -#: main.c:718 +#: main.c:723 #, c-format msgid "Usage: %s [POSIX or GNU style options] [--] %cprogram%c file ...\n" msgstr "Ús: %s [opcions d'estil POSIX o GNU] [--] %cprograma%c fitxer ...\n" -#: main.c:723 +#: main.c:728 msgid "POSIX options:\t\tGNU long options:\n" msgstr "Opcions POSIX:\t\tOpcions llargues GNU:\n" -#: main.c:724 +#: main.c:729 msgid "\t-f progfile\t\t--file=progfile\n" msgstr "\t-f fitx_prog\t\t--file=fitx_prog\n" -#: main.c:725 +#: main.c:730 msgid "\t-F fs\t\t\t--field-separator=fs\n" msgstr "\t-F fs\t\t\t--field-separator=fs (fs=sep_camp)\n" -#: main.c:726 +#: main.c:731 msgid "\t-v var=val\t\t--assign=var=val\n" msgstr "\t-v var=valor\t\t--assign=var=valor\n" -#: main.c:727 +#: main.c:732 msgid "\t-m[fr] val\n" msgstr "\t-m[fr] valor\n" -#: main.c:728 +#: main.c:733 msgid "\t-O\t\t\t--optimize\n" msgstr "" -#: main.c:729 +#: main.c:734 msgid "\t-W compat\t\t--compat\n" msgstr "\t-W compat\t\t--compat\n" -#: main.c:730 +#: main.c:735 msgid "\t-W copyleft\t\t--copyleft\n" msgstr "\t-W copyleft\t\t--copyleft\n" -#: main.c:731 +#: main.c:736 msgid "\t-W copyright\t\t--copyright\n" msgstr "\t-W copyright\t\t--copyright\n" -#: main.c:732 +#: main.c:737 msgid "\t-W dump-variables[=file]\t--dump-variables[=file]\n" msgstr "\t-W dump-variables[=fitxer] --dump-variables[=fitxer]\n" -#: main.c:733 +#: main.c:738 #, fuzzy msgid "\t-W exec=file\t\t--exec=file\n" msgstr "\t-W profile[=fitxer]\t--profile[=fitxer]\n" -#: main.c:734 +#: main.c:739 msgid "\t-W gen-po\t\t--gen-po\n" msgstr "\t-W gen-po\t\t--gen-po\n" -#: main.c:735 +#: main.c:740 msgid "\t-W help\t\t\t--help\n" msgstr "\t-W help\t\t\t--help\n" -#: main.c:736 +#: main.c:741 msgid "\t-W lint[=fatal]\t\t--lint[=fatal]\n" msgstr "\t-W lint[=fatal]\t\t--lint[=fatal]\n" -#: main.c:737 +#: main.c:742 msgid "\t-W lint-old\t\t--lint-old\n" msgstr "\t-W lint-old\t\t--lint-old\n" -#: main.c:738 +#: main.c:743 msgid "\t-W non-decimal-data\t--non-decimal-data\n" msgstr "\t-W non-decimal-data\t--non-decimal-data\n" -#: main.c:740 +#: main.c:745 msgid "\t-W nostalgia\t\t--nostalgia\n" msgstr "\t-W nostalgia\t\t--nostalgia\n" -#: main.c:743 +#: main.c:748 msgid "\t-W parsedebug\t\t--parsedebug\n" msgstr "\t-W parsedebug\t\t--parsedebug\n" -#: main.c:745 +#: main.c:750 msgid "\t-W profile[=file]\t--profile[=file]\n" msgstr "\t-W profile[=fitxer]\t--profile[=fitxer]\n" -#: main.c:746 +#: main.c:751 msgid "\t-W posix\t\t--posix\n" msgstr "\t-W posix\t\t--posix\n" -#: main.c:747 +#: main.c:752 msgid "\t-W re-interval\t\t--re-interval\n" msgstr "\t-W re-interval\t\t--re-interval\n" -#: main.c:748 +#: main.c:753 msgid "\t-W source=program-text\t--source=program-text\n" msgstr "\t-W source=text_prog\t--source=text_prog\n" -#: main.c:749 +#: main.c:754 msgid "\t-W traditional\t\t--traditional\n" msgstr "\t-W traditional\t\t--traditional\n" -#: main.c:750 +#: main.c:755 msgid "\t-W usage\t\t--usage\n" msgstr "\t-W usage\t\t--usage\n" -#: main.c:751 +#: main.c:756 msgid "\t-W use-lc-numeric\t--use-lc-numeric\n" msgstr "" -#: main.c:752 +#: main.c:757 msgid "\t-W version\t\t--version\n" msgstr "\t-W version\t\t--version\n" @@ -1654,7 +1666,7 @@ #. for this application. Please add _another line_ with the #. address for translation bugs. #. no-wrap -#: main.c:761 +#: main.c:766 #, fuzzy msgid "" "\n" @@ -1663,21 +1675,21 @@ "\n" msgstr "a la secció «Reporting Problems and Bugs» de la versió impresa.\n" -#: main.c:765 +#: main.c:770 msgid "" "gawk is a pattern scanning and processing language.\n" "By default it reads standard input and writes standard output.\n" "\n" msgstr "" -#: main.c:769 +#: main.c:774 msgid "" "Examples:\n" "\tgawk '{ sum += $1 }; END { print sum }' file\n" "\tgawk -F: '{ print $1 }' /etc/passwd\n" msgstr "" -#: main.c:789 +#: main.c:794 #, fuzzy, c-format msgid "" "Copyright (C) 1989, 1991-%d Free Software Foundation.\n" @@ -1696,7 +1708,7 @@ "Llicència, o (a la vostra elecció) qualsevol versió posterior.\n" "\n" -#: main.c:797 +#: main.c:802 msgid "" "This program is distributed in the hope that it will be useful,\n" "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" @@ -1710,7 +1722,7 @@ "Per a més detalls consulteu la Llicència Pública General de GNU.\n" "\n" -#: main.c:808 +#: main.c:813 #, fuzzy msgid "" "You should have received a copy of the GNU General Public License\n" @@ -1720,56 +1732,56 @@ "Pública General de GNU; si no és així, escriviu a la Free Software\n" "Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n" -#: main.c:843 +#: main.c:848 msgid "-Ft does not set FS to tab in POSIX awk" msgstr "-Ft no permet inicialitzar FS a un tabulador en la versió POSIX de awk" -#: main.c:1117 +#: main.c:1122 #, c-format msgid "" "%s: `%s' argument to `-v' not in `var=value' form\n" "\n" msgstr "" -#: main.c:1137 +#: main.c:1142 #, c-format msgid "`%s' is not a legal variable name" msgstr "" -#: main.c:1140 +#: main.c:1145 #, c-format msgid "`%s' is not a variable name, looking for file `%s=%s'" msgstr "" -#: main.c:1179 +#: main.c:1184 msgid "floating point exception" msgstr "excepció de coma flotant" -#: main.c:1186 +#: main.c:1191 msgid "fatal error: internal error" msgstr "error fatal: error intern" -#: main.c:1200 +#: main.c:1206 #, fuzzy msgid "fatal error: internal error: segfault" msgstr "error fatal: error intern" -#: main.c:1212 +#: main.c:1218 #, fuzzy msgid "fatal error: internal error: stack overflow" msgstr "error fatal: error intern" -#: main.c:1261 +#: main.c:1268 #, c-format msgid "no pre-opened fd %d" msgstr "no s'ha pre-obert el descriptor fd per a %d" -#: main.c:1268 +#: main.c:1275 #, c-format msgid "could not pre-open /dev/null for fd %d" msgstr "no es pot pre-obrir /dev/null per al descriptor fd %d" -#: main.c:1291 main.c:1300 +#: main.c:1298 main.c:1307 #, c-format msgid "could not find groups: %s" msgstr "no es poden trobar els grups: %s" @@ -1795,31 +1807,31 @@ msgid "can't convert string to float" msgstr "no es pot convertir la cadena a coma flotant" -#: node.c:462 +#: node.c:465 msgid "backslash at end of string" msgstr "barra invertida al final de la cadena" -#: node.c:606 +#: node.c:609 #, fuzzy, c-format msgid "old awk does not support the `\\%c' escape sequence" msgstr "l'antic awk no suporta l'operador «**=»" -#: node.c:657 +#: node.c:660 msgid "POSIX does not allow `\\x' escapes" msgstr "POSIX no permet seqüències d'escapada «\\x»" -#: node.c:663 +#: node.c:666 msgid "no hex digits in `\\x' escape sequence" msgstr "no hi ha dígits hexadecimals en la seqüència d'escapada «\\x»" -#: node.c:685 +#: node.c:688 #, c-format msgid "" "hex escape \\x%.*s of %d characters probably not interpreted the way you " "expect" msgstr "" -#: node.c:700 +#: node.c:703 #, c-format msgid "escape sequence `\\%c' treated as plain `%c'" msgstr "la seqüència d'escapada «\\%c» és tractada com a una simple «%c»" @@ -1829,31 +1841,31 @@ msgid "%s %s `%s': could not set close-on-exec: (fcntl: %s)" msgstr "%s %s «%s»: no es pot inicialitzar close-on-exec: (fcntl: %s)" -#: profile.c:93 +#: profile.c:94 #, c-format msgid "could not open `%s' for writing: %s" msgstr "no es pot obrir «%s» per a escriptura: %s" -#: profile.c:453 +#: profile.c:457 #, fuzzy, c-format msgid "internal error: %s with null vname" msgstr "error intern: Node_var amb vname nul" -#: profile.c:517 +#: profile.c:521 msgid "# treated internally as `delete'" msgstr "" -#: profile.c:1069 +#: profile.c:1073 #, c-format msgid "# this is a dynamically loaded extension function" msgstr "" -#: profile.c:1100 +#: profile.c:1104 #, c-format msgid "\t# gawk profile, created %s\n" msgstr "\t# perfil gawk, creat %s\n" -#: profile.c:1103 +#: profile.c:1107 #, c-format msgid "" "\t# BEGIN block(s)\n" @@ -1862,7 +1874,7 @@ "\t# Bloc(s) INICI\n" "\n" -#: profile.c:1113 +#: profile.c:1117 #, c-format msgid "" "\t# Rule(s)\n" @@ -1871,7 +1883,7 @@ "\t# Regla(es)\n" "\n" -#: profile.c:1119 +#: profile.c:1123 #, c-format msgid "" "\t# END block(s)\n" @@ -1880,7 +1892,7 @@ "\t# Bloc(s) FINAL\n" "\n" -#: profile.c:1139 +#: profile.c:1143 #, c-format msgid "" "\n" @@ -1889,91 +1901,88 @@ "\n" "\t# Funcions, llistades alfabèticament\n" -#: profile.c:1400 +#: profile.c:1405 #, c-format msgid "unexpected type %s in prec_level" msgstr "tipus %s inesperat en prec_level" -#: profile.c:1500 +#: profile.c:1527 #, fuzzy, c-format msgid "Unknown node type %s in pp_var" msgstr "tipo de node %d desconegut" -#: regcomp.c:133 +#: regcomp.c:132 msgid "Success" msgstr "Èxit" -#: regcomp.c:136 +#: regcomp.c:135 msgid "No match" msgstr "No hi ha concordança" -#: regcomp.c:139 +#: regcomp.c:138 msgid "Invalid regular expression" msgstr "Expressió regular no vàlida" -#: regcomp.c:142 +#: regcomp.c:141 msgid "Invalid collation character" msgstr "Caràcter de comparació no vàlid" -#: regcomp.c:145 +#: regcomp.c:144 msgid "Invalid character class name" msgstr "Nom de classe de caràcters no vàlid" -#: regcomp.c:148 +#: regcomp.c:147 msgid "Trailing backslash" msgstr "Barra invertida extra al final" -#: regcomp.c:151 +#: regcomp.c:150 msgid "Invalid back reference" msgstr "Referència cap enradera no vàlida" -#: regcomp.c:154 +#: regcomp.c:153 msgid "Unmatched [ or [^" msgstr "[ o [^ desemparellats" -#: regcomp.c:157 +#: regcomp.c:156 msgid "Unmatched ( or \\(" msgstr "( o \\( desemparellats" -#: regcomp.c:160 +#: regcomp.c:159 msgid "Unmatched \\{" msgstr "\\{ desemparellat" -#: regcomp.c:163 +#: regcomp.c:162 msgid "Invalid content of \\{\\}" msgstr "Contingut no vàlid de \\{\\}" -#: regcomp.c:166 +#: regcomp.c:165 msgid "Invalid range end" msgstr "Final de rang no vàlid" -#: regcomp.c:169 +#: regcomp.c:168 msgid "Memory exhausted" msgstr "Memòria exhaurida" -#: regcomp.c:172 +#: regcomp.c:171 msgid "Invalid preceding regular expression" msgstr "Expressió regular precedent no vàlida" -#: regcomp.c:175 +#: regcomp.c:174 msgid "Premature end of regular expression" msgstr "Fí prematura de l'expressió regular" -#: regcomp.c:178 +#: regcomp.c:177 msgid "Regular expression too big" msgstr "L'expressió regular és massa gran" -#: regcomp.c:181 +#: regcomp.c:180 msgid "Unmatched ) or \\)" msgstr ") o \\) desemparellats" -#: regcomp.c:700 +#: regcomp.c:699 msgid "No previous regular expression" msgstr "No hi ha una expressió regular prèvia" -#~ msgid "%s: illegal option -- %c\n" -#~ msgstr "%s: opció il·legal -- %c\n" - #~ msgid "delete: illegal use of variable `%s' as array" #~ msgstr "delete: ús il·legal de la variable «%s» com a una matriu" @@ -1983,6 +1992,9 @@ #~ msgid "asort: second argument is not an array" #~ msgstr "asort: el segon argument no és una matriu" +#~ msgid "%s: illegal option -- %c\n" +#~ msgstr "%s: opció il·legal -- %c\n" + #~ msgid "" #~ "\n" #~ "To report bugs, see node `Bugs' in `gawk.info', which is\n" @@ -2044,6 +2056,11 @@ #~ msgid "function %s called\n" #~ msgstr "s'ha cridat a la funció %s\n" +#~ msgid "can't open two way socket `%s' for input/output (%s)" +#~ msgstr "" +#~ "no es pot obrir un socket bidireccional «%s» per a les entrades/eixides (%" +#~ "s)" + #~ msgid "remote port invalid in `%s'" #~ msgstr "port remot no vàlid en «%s»" diff -urN gawk-3.1.7/po/da.po gawk-3.1.8/po/da.po --- gawk-3.1.7/po/da.po 2009-07-21 23:23:45.000000000 +0300 +++ gawk-3.1.8/po/da.po 2010-05-06 20:57:37.000000000 +0300 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: gawk 3.1.31\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2009-07-21 23:23+0300\n" +"POT-Creation-Date: 2010-05-06 20:57+0300\n" "PO-Revision-Date: 2002-11-09 10:09+0100\n" "Last-Translator: Keld Simonsen \n" "Language-Team: Danish \n" @@ -34,42 +34,42 @@ msgid "from %s" msgstr "%s (fra %s)" -#: array.c:514 -#, c-format -msgid "reference to uninitialized element `%s[\"%s\"]'" +#: array.c:513 +#, fuzzy, c-format +msgid "reference to uninitialized element `%s[\"%.*s\"]'" msgstr "reference til ikke-initieret element \"%s[\"%s\"]\"" -#: array.c:520 +#: array.c:519 #, c-format msgid "subscript of array `%s' is null string" msgstr "indeks i vektoren \"%s\" er en tom streng" -#: array.c:624 +#: array.c:623 #, c-format msgid "delete: index `%s' not in array `%s'" msgstr "delete: indeks \"%s\" findes ikke i vektoren \"%s\"" -#: array.c:793 +#: array.c:792 #, c-format msgid "%s: empty (null)\n" msgstr "%s: tom (nil)\n" -#: array.c:798 +#: array.c:797 #, c-format msgid "%s: empty (zero)\n" msgstr "%s: tom (nul)\n" -#: array.c:802 +#: array.c:801 #, c-format msgid "%s: table_size = %d, array_size = %d\n" msgstr "%s: tabelstørrelse = %d, vektorstørrelse = %d\n" -#: array.c:831 +#: array.c:830 #, fuzzy, c-format msgid "%s: is parameter\n" msgstr "%s: er en parameter\n" -#: array.c:836 +#: array.c:835 #, c-format msgid "%s: array_ref to %s\n" msgstr "%s: vektorreference til %s\n" @@ -357,7 +357,7 @@ msgid "could not open `%s' for writing (%s)" msgstr "kunne ikke åbne \"%s\" for skrivning (%s)" -#: awkgram.y:2748 profile.c:95 +#: awkgram.y:2748 profile.c:96 msgid "sending profile to standard error" msgstr "sender profilen til standard fejl" @@ -413,7 +413,12 @@ "funktionen \"%s\" kaldt med blanktegn mellem navnet og \"(\",\n" "%s" -#: awkgram.y:3667 eval.c:1394 +#: awkgram.y:3664 +#, fuzzy +msgid "division by zero attempted in `/'" +msgstr "forsøgte at dividere med nul i \"/=\"" + +#: awkgram.y:3669 eval.c:1394 #, c-format msgid "division by zero attempted in `%%'" msgstr "forsøgte at dividere med nul i \"%%\"" @@ -473,166 +478,170 @@ msgid "`length(array)' is a gawk extension" msgstr "\"delete array\" er en gawk-udvidelse" -#: builtin.c:473 +#: builtin.c:471 +msgid "length: untyped parameter argument will be forced to scalar" +msgstr "" + +#: builtin.c:480 msgid "length: untyped argument will be forced to scalar" msgstr "" -#: builtin.c:477 +#: builtin.c:484 msgid "length: received non-string argument" msgstr "length: fik et argument som ikke er en streng" -#: builtin.c:508 +#: builtin.c:515 msgid "log: received non-numeric argument" msgstr "log: fik et ikke-numerisk argument" -#: builtin.c:511 +#: builtin.c:518 #, c-format msgid "log: received negative argument %g" msgstr "log: fik et negativt argument %g" -#: builtin.c:719 builtin.c:722 +#: builtin.c:726 builtin.c:729 msgid "must use `count$' on all formats or none" msgstr "" -#: builtin.c:783 +#: builtin.c:790 #, c-format msgid "field width is ignored for `%%%%' specifier" msgstr "" -#: builtin.c:785 +#: builtin.c:792 #, c-format msgid "precision is ignored for `%%%%' specifier" msgstr "" -#: builtin.c:787 +#: builtin.c:794 #, c-format msgid "field width and precision are ignored for `%%%%' specifier" msgstr "" -#: builtin.c:838 +#: builtin.c:845 msgid "`$' is not permitted in awk formats" msgstr "\"$\" tillades ikke i awkformat" -#: builtin.c:844 +#: builtin.c:851 msgid "arg count with `$' must be > 0" msgstr "argumentantallet med \"$\" skal være > 0" -#: builtin.c:846 +#: builtin.c:853 #, fuzzy, c-format msgid "arg count %ld greater than total number of supplied arguments" msgstr "argumentantallet %d er større end antal givne argumenter" -#: builtin.c:848 +#: builtin.c:855 msgid "`$' not permitted after period in format" msgstr "\"$\" tillades ikke efter et punktum i formatet" -#: builtin.c:861 +#: builtin.c:868 msgid "no `$' supplied for positional field width or precision" msgstr "intet \"$\" angivet for positionsangivet feltbredde eller præcision" -#: builtin.c:927 +#: builtin.c:938 msgid "`l' is meaningless in awk formats; ignored" msgstr "\"l\" er meningsløst i awk-formater, ignoreret" -#: builtin.c:931 +#: builtin.c:942 msgid "`l' is not permitted in POSIX awk formats" msgstr "\"l\" tillades ikke i POSIX awk-formater" -#: builtin.c:942 +#: builtin.c:953 msgid "`L' is meaningless in awk formats; ignored" msgstr "\"L\" er meningsløst i awk-formater, ignoreret" -#: builtin.c:946 +#: builtin.c:957 msgid "`L' is not permitted in POSIX awk formats" msgstr "\"L\" tillades ikke i POSIX awk-formater" -#: builtin.c:957 +#: builtin.c:968 msgid "`h' is meaningless in awk formats; ignored" msgstr "\"h\" er meningsløst i awk-formater, ignoreret" -#: builtin.c:961 +#: builtin.c:972 msgid "`h' is not permitted in POSIX awk formats" msgstr "\"h\" tillades ikke i POSIX awk-formater" -#: builtin.c:1236 +#: builtin.c:1252 #, c-format msgid "[s]printf: value %g is out of range for `%%%c' format" msgstr "" -#: builtin.c:1316 +#: builtin.c:1332 #, c-format msgid "ignoring unknown format specifier character `%c': no argument converted" msgstr "" -#: builtin.c:1322 +#: builtin.c:1338 msgid "not enough arguments to satisfy format string" msgstr "for få argumenter til formatstrengen" -#: builtin.c:1324 +#: builtin.c:1340 msgid "^ ran out for this one" msgstr "^ sluttede her" -#: builtin.c:1330 +#: builtin.c:1346 msgid "[s]printf: format specifier does not have control letter" msgstr "[s]printf: formatspecifiereren har intet kommandobogstav" -#: builtin.c:1333 +#: builtin.c:1349 msgid "too many arguments supplied for format string" msgstr "for mange argumenter til formatstrengen" -#: builtin.c:1408 builtin.c:1411 +#: builtin.c:1424 builtin.c:1427 msgid "printf: no arguments" msgstr "printf: ingen argumenter" -#: builtin.c:1435 +#: builtin.c:1451 msgid "sqrt: received non-numeric argument" msgstr "sqrt: fik ikke-numerisk argument" -#: builtin.c:1439 +#: builtin.c:1455 #, c-format msgid "sqrt: called with negative argument %g" msgstr "sqrt: kaldt med negativt argument %g" -#: builtin.c:1463 +#: builtin.c:1479 #, c-format msgid "substr: start index %g is invalid, using 1" msgstr "substr: startindeks %g er ugyldigt, bruger 1" -#: builtin.c:1468 +#: builtin.c:1484 #, c-format msgid "substr: non-integer start index %g will be truncated" msgstr "substr: startindeks %g som ikke er et heltal bliver trunkeret" -#: builtin.c:1494 +#: builtin.c:1510 #, fuzzy, c-format msgid "substr: length %g is not >= 1" msgstr "substr: længden %g er <= 0" -#: builtin.c:1496 +#: builtin.c:1512 #, fuzzy, c-format msgid "substr: length %g is not >= 0" msgstr "substr: længden %g er <= 0" -#: builtin.c:1503 +#: builtin.c:1519 #, c-format msgid "substr: non-integer length %g will be truncated" msgstr "substr: længden %g som ikke er et heltal bliver trunkeret" -#: builtin.c:1508 +#: builtin.c:1524 #, c-format msgid "substr: length %g too big for string indexing, truncating to %g" msgstr "" -#: builtin.c:1520 +#: builtin.c:1536 msgid "substr: source string is zero length" msgstr "substr: kildestrengen er tom" -#: builtin.c:1536 +#: builtin.c:1552 #, fuzzy, c-format msgid "substr: start index %g is past end of string" msgstr "substr: startindeks %d er forbi slutningen på strengen" -#: builtin.c:1544 +#: builtin.c:1560 #, fuzzy, c-format msgid "" "substr: length %g at start index %g exceeds length of first argument (%lu)" @@ -640,195 +649,199 @@ "substr: længden %d ved startindeks %d overskrider længden af første argument " "(%d)" -#: builtin.c:1621 +#: builtin.c:1637 #, fuzzy msgid "strftime: received non-string first argument" msgstr "strftime: fik et første argument som ikke er en streng" -#: builtin.c:1627 +#: builtin.c:1643 msgid "strftime: received empty format string" msgstr "strftime: fik en tom formatstreng" -#: builtin.c:1636 +#: builtin.c:1652 #, fuzzy msgid "strftime: received non-numeric second argument" msgstr "strftime: fik et ikke-numerisk andet argument" -#: builtin.c:1713 +#: builtin.c:1729 msgid "mktime: received non-string argument" msgstr "mktime: fik et argument som ikke er en streng" -#: builtin.c:1758 +#: builtin.c:1746 +msgid "mktime: at least one of the values is out of the default range" +msgstr "" + +#: builtin.c:1783 #, fuzzy msgid "system: received non-string argument" msgstr "system: fik et argument som ikke er en streng" -#: builtin.c:1879 eval.c:2145 +#: builtin.c:1904 eval.c:2157 #, fuzzy, c-format msgid "reference to uninitialized field `$%d'" msgstr "reference til ikke-initieret variabel \"%s\"" -#: builtin.c:1984 +#: builtin.c:2009 #, fuzzy msgid "tolower: received non-string argument" msgstr "tolower: fik et argument som ikke er en streng" -#: builtin.c:2014 +#: builtin.c:2039 #, fuzzy msgid "toupper: received non-string argument" msgstr "toupper: fik et argument som ikke er en streng" -#: builtin.c:2047 +#: builtin.c:2072 msgid "atan2: received non-numeric first argument" msgstr "atan2: fik et ikke-numerisk første argument" -#: builtin.c:2049 +#: builtin.c:2074 msgid "atan2: received non-numeric second argument" msgstr "atan2: fik et ikke-numerisk andet argument" -#: builtin.c:2068 +#: builtin.c:2093 msgid "sin: received non-numeric argument" msgstr "sin: fik et ikke-numerisk argument" -#: builtin.c:2084 +#: builtin.c:2109 msgid "cos: received non-numeric argument" msgstr "cos: fik et ikke-numerisk argument" -#: builtin.c:2137 +#: builtin.c:2162 msgid "srand: received non-numeric argument" msgstr "srand: fik et ikke-numerisk argument" -#: builtin.c:2172 +#: builtin.c:2197 msgid "match: third argument is not an array" msgstr "match: tredje argument er ikke en vektor" -#: builtin.c:2719 +#: builtin.c:2744 #, fuzzy msgid "gensub: third argument of 0 treated as 1" msgstr "gensub: Nullet i tredje argument behandlet som et ét-tal" -#: builtin.c:2835 +#: builtin.c:2860 msgid "lshift: received non-numeric first argument" msgstr "lshift: fik et ikke-numerisk første argument" -#: builtin.c:2837 +#: builtin.c:2862 #, fuzzy msgid "lshift: received non-numeric second argument" msgstr "atan2: fik et ikke-numerisk andet argument" -#: builtin.c:2843 +#: builtin.c:2868 #, c-format msgid "lshift(%lf, %lf): negative values will give strange results" msgstr "lshift(%lf, %lf): negative værdier vil give mærkelige resultater" -#: builtin.c:2845 +#: builtin.c:2870 #, c-format msgid "lshift(%lf, %lf): fractional values will be truncated" msgstr "lshift(%lf, %lf): flydendetalsværdier vil blive trunkeret" -#: builtin.c:2847 +#: builtin.c:2872 #, c-format msgid "lshift(%lf, %lf): too large shift value will give strange results" msgstr "" "lshift(%lf, %lf): for store skifteværdier vil give mærkelige resultater" -#: builtin.c:2873 +#: builtin.c:2898 msgid "rshift: received non-numeric first argument" msgstr "rshift: fik et ikke-numerisk første argument" -#: builtin.c:2875 +#: builtin.c:2900 #, fuzzy msgid "rshift: received non-numeric second argument" msgstr "atan2: fik et ikke-numerisk andet argument" -#: builtin.c:2881 +#: builtin.c:2906 #, c-format msgid "rshift(%lf, %lf): negative values will give strange results" msgstr "rshift(%lf, %lf): negative værdier vil give mærkelige resultater" -#: builtin.c:2883 +#: builtin.c:2908 #, c-format msgid "rshift(%lf, %lf): fractional values will be truncated" msgstr "rshift(%lf, %lf): flydendetalsværdier vil blive trunkeret" -#: builtin.c:2885 +#: builtin.c:2910 #, c-format msgid "rshift(%lf, %lf): too large shift value will give strange results" msgstr "" "rshift(%lf, %lf): for store skifteværdier vil give mærkelige resultater" -#: builtin.c:2911 +#: builtin.c:2936 msgid "and: received non-numeric first argument" msgstr "and: fik et ikke-numerisk første argument" -#: builtin.c:2913 +#: builtin.c:2938 #, fuzzy msgid "and: received non-numeric second argument" msgstr "atan2: fik et ikke-numerisk andet argument" -#: builtin.c:2919 +#: builtin.c:2944 #, c-format msgid "and(%lf, %lf): negative values will give strange results" msgstr "and(%lf, %lf): negative værdier vil give mærkelige resultater" -#: builtin.c:2921 +#: builtin.c:2946 #, c-format msgid "and(%lf, %lf): fractional values will be truncated" msgstr "and(%lf, %lf): flydendetalsværdier vil blive trunkeret" -#: builtin.c:2947 +#: builtin.c:2972 msgid "or: received non-numeric first argument" msgstr "or: fik et ikke-numerisk første argument" -#: builtin.c:2949 +#: builtin.c:2974 #, fuzzy msgid "or: received non-numeric second argument" msgstr "atan2: fik et ikke-numerisk andet argument" -#: builtin.c:2955 +#: builtin.c:2980 #, c-format msgid "or(%lf, %lf): negative values will give strange results" msgstr "or(%lf, %lf): negative værdier vil give mærkelige resultater" -#: builtin.c:2957 +#: builtin.c:2982 #, c-format msgid "or(%lf, %lf): fractional values will be truncated" msgstr "or(%lf, %lf): flydendetalsværdier vil blive trunkeret" -#: builtin.c:2983 +#: builtin.c:3008 msgid "xor: received non-numeric first argument" msgstr "xor: fik et ikke-numerisk første argument" -#: builtin.c:2985 +#: builtin.c:3010 #, fuzzy msgid "xor: received non-numeric second argument" msgstr "atan2: fik et ikke-numerisk andet argument" -#: builtin.c:2991 +#: builtin.c:3016 #, c-format msgid "xor(%lf, %lf): negative values will give strange results" msgstr "xor(%lf, %lf): negative værdier vil give mærkelige resultater" -#: builtin.c:2993 +#: builtin.c:3018 #, c-format msgid "xor(%lf, %lf): fractional values will be truncated" msgstr "xor(%lf, %lf): flydendetalsværdier vil blive trunkeret" -#: builtin.c:3017 +#: builtin.c:3042 msgid "compl: received non-numeric argument" msgstr "compl: fik et ikke-numerisk argument" -#: builtin.c:3023 +#: builtin.c:3048 #, c-format msgid "compl(%lf): negative value will give strange results" msgstr "compl(%lf): negative værdier vil give mærkelige resultater" -#: builtin.c:3025 +#: builtin.c:3050 #, c-format msgid "compl(%lf): fractional value will be truncated" msgstr "compl(%lf): flydendetalsværdier vil blive trunkeret" -#: builtin.c:3198 +#: builtin.c:3223 #, c-format msgid "dcgettext: `%s' is not a valid locale category" msgstr "dcgettext: \"%s\" er ikke en gyldig lokalekategori" @@ -842,7 +855,7 @@ msgid "buffer overflow in genflags2str" msgstr "bufferoverløb i genflags2str" -#: eval.c:454 eval.c:460 profile.c:781 +#: eval.c:454 eval.c:460 profile.c:785 #, c-format msgid "attempt to use array `%s' in a scalar context" msgstr "forsøg på at bruge vektoren \"%s\" i skalarsammenhæng" @@ -890,7 +903,7 @@ msgid "statement has no effect" msgstr "kommandoen har ingen effekt" -#: eval.c:1029 eval.c:1999 +#: eval.c:1029 eval.c:2011 #, c-format msgid "can't use function name `%s' as variable or array" msgstr "kan ikke bruge funktionsnavnet \"%s\" som variabel eller vektor" @@ -900,7 +913,7 @@ msgid "reference to uninitialized argument `%s'" msgstr "reference til ikke-initieret argument \"%s\"" -#: eval.c:1051 eval.c:2008 +#: eval.c:1051 eval.c:2020 #, c-format msgid "reference to uninitialized variable `%s'" msgstr "reference til ikke-initieret variabel \"%s\"" @@ -920,7 +933,7 @@ msgid "division by zero attempted" msgstr "forsøgte at dividere med nul" -#: eval.c:1409 profile.c:657 +#: eval.c:1409 profile.c:661 #, c-format msgid "illegal type (%s) in tree_eval" msgstr "ikke tilladt type (%s) i tree_eval" @@ -934,17 +947,17 @@ msgid "division by zero attempted in `%%='" msgstr "forsøgte at dividere med nul i \"%%=\"" -#: eval.c:1859 +#: eval.c:1871 #, c-format msgid "function `%s' called with more arguments than declared" msgstr "funktionen \"%s\" kaldt med flere argumenter end deklareret" -#: eval.c:1904 +#: eval.c:1916 #, c-format msgid "function `%s' not defined" msgstr "funktionen \"%s\" er ikke defineret" -#: eval.c:1971 +#: eval.c:1983 #, c-format msgid "" "\n" @@ -955,47 +968,47 @@ "\t# Funktionskaldsstak:\n" "\n" -#: eval.c:1974 +#: eval.c:1986 #, c-format msgid "\t# -- main --\n" msgstr "\t# -- main --\n" -#: eval.c:2129 +#: eval.c:2141 msgid "attempt to field reference from non-numeric value" msgstr "forsøg på at feltreferere fra ikke-numerisk værdi" -#: eval.c:2131 +#: eval.c:2143 msgid "attempt to reference from null string" msgstr "forsøg på at referere fra tom streng" -#: eval.c:2137 +#: eval.c:2149 #, c-format msgid "attempt to access field %d" msgstr "forsøg på at få adgang til felt nummer %d" -#: eval.c:2158 eval.c:2165 profile.c:836 +#: eval.c:2170 eval.c:2177 profile.c:840 msgid "assignment is not allowed to result of builtin function" msgstr "tildeling er ikke tilladt til resultatet fra en indbygget funktion" -#: eval.c:2229 +#: eval.c:2241 msgid "`IGNORECASE' is a gawk extension" msgstr "\"IGNORECASE\" er en gawk-udvidelse" -#: eval.c:2258 +#: eval.c:2270 msgid "`BINMODE' is a gawk extension" msgstr "\"BINMODE\" er en gawk-udvidelse" -#: eval.c:2316 +#: eval.c:2328 #, c-format msgid "BINMODE value `%s' is invalid, treated as 3" msgstr "" -#: eval.c:2406 +#: eval.c:2418 #, c-format msgid "bad `%sFMT' specification `%s'" msgstr "fejlagtig \"%sFMT\"-specifikation \"%s\"" -#: eval.c:2484 +#: eval.c:2496 msgid "turning off `--lint' due to assignment to `LINT'" msgstr "deaktiverer \"--lint\" på grund af en tildeling til \"LINT\"" @@ -1096,56 +1109,61 @@ msgid "old awk does not support regexps as value of `FS'" msgstr "gamle awk understøtter ikke operatoren \"**\"" -#: getopt.c:570 getopt.c:586 +#: getopt.c:574 getopt.c:590 #, fuzzy, c-format msgid "%s: option '%s' is ambiguous\n" msgstr "%s: flaget \"%s\" er flertydigt\n" -#: getopt.c:619 getopt.c:623 +#: getopt.c:623 getopt.c:627 #, fuzzy, c-format msgid "%s: option '--%s' doesn't allow an argument\n" msgstr "%s: flaget \"--%s\" tillader ikke noget argument\n" -#: getopt.c:632 getopt.c:637 +#: getopt.c:636 getopt.c:641 #, fuzzy, c-format msgid "%s: option '%c%s' doesn't allow an argument\n" msgstr "%s: flaget \"%c%s\" tillader ikke noget argument\n" -#: getopt.c:680 getopt.c:699 getopt.c:1002 getopt.c:1021 +#: getopt.c:684 getopt.c:703 #, fuzzy, c-format -msgid "%s: option '%s' requires an argument\n" +msgid "%s: option '--%s' requires an argument\n" msgstr "%s: flaget \"%s\" kræver et argument\n" -#: getopt.c:737 getopt.c:740 +#: getopt.c:741 getopt.c:744 #, fuzzy, c-format msgid "%s: unrecognized option '--%s'\n" msgstr "%s: ukendt flag \"--%s\"\n" -#: getopt.c:748 getopt.c:751 +#: getopt.c:752 getopt.c:755 #, fuzzy, c-format msgid "%s: unrecognized option '%c%s'\n" msgstr "%s: ukendt flag \"%c%s\"\n" -#: getopt.c:800 getopt.c:803 +#: getopt.c:804 getopt.c:807 #, fuzzy, c-format msgid "%s: invalid option -- '%c'\n" msgstr "%s: ugyldig flag -- %c\n" -#: getopt.c:853 getopt.c:870 getopt.c:1073 getopt.c:1091 +#: getopt.c:857 getopt.c:874 getopt.c:1082 getopt.c:1100 #, fuzzy, c-format msgid "%s: option requires an argument -- '%c'\n" msgstr "%s: flaget kræver et argument -- %c\n" -#: getopt.c:923 getopt.c:939 +#: getopt.c:930 getopt.c:946 #, fuzzy, c-format msgid "%s: option '-W %s' is ambiguous\n" msgstr "%s: flaget \"-W %s\" er flertydigt\n" -#: getopt.c:963 getopt.c:981 +#: getopt.c:970 getopt.c:988 #, fuzzy, c-format msgid "%s: option '-W %s' doesn't allow an argument\n" msgstr "%s: flaget \"-W %s\" tillader ikke noget argument\n" +#: getopt.c:1009 getopt.c:1027 +#, fuzzy, c-format +msgid "%s: option '-W %s' requires an argument\n" +msgstr "%s: flaget \"%s\" kræver et argument\n" + #: io.c:322 io.c:352 #, c-format msgid "cannot open file `%s' for reading (%s)" @@ -1193,439 +1211,434 @@ msgid "can't open pipe `%s' for input (%s)" msgstr "kan ikke åbne røret \"%s\" for indtastning (%s)" -#: io.c:712 -#, c-format -msgid "can't open two way socket `%s' for input/output (%s)" -msgstr "kan ikke åbne tovejssoklen \"%s\" for ind-/uddata (%s)" - -#: io.c:716 +#: io.c:717 #, c-format msgid "can't open two way pipe `%s' for input/output (%s)" msgstr "kan ikke åbne tovejsrøret \"%s\" for ind-/uddata (%s)" -#: io.c:793 +#: io.c:795 #, c-format msgid "can't redirect from `%s' (%s)" msgstr "kan ikke omdirigere fra \"%s\" (%s)" -#: io.c:796 +#: io.c:798 #, c-format msgid "can't redirect to `%s' (%s)" msgstr "kan ikke omdirigere til \"%s\" (%s)" -#: io.c:849 +#: io.c:851 msgid "" "reached system limit for open files: starting to multiplex file descriptors" msgstr "" "nåede systembegrænsningen for åbne filer: begynder at multiplekse " "fildeskriptorer" -#: io.c:865 +#: io.c:867 #, c-format msgid "close of `%s' failed (%s)." msgstr "lukning af \"%s\" mislykkedes (%s)" -#: io.c:873 +#: io.c:875 msgid "too many pipes or input files open" msgstr "for mange rør eller inddatafiler åbne" -#: io.c:896 +#: io.c:898 msgid "close: second argument must be `to' or `from'" msgstr "close: andet argument skal være \"to\" eller \"from\"" -#: io.c:910 +#: io.c:912 #, c-format msgid "close: `%.*s' is not an open file, pipe or co-process" msgstr "close: \"%.*s\" er ikke en åben fil, datakanal eller ko-proces" -#: io.c:915 +#: io.c:917 msgid "close of redirection that was never opened" msgstr "lukning af omdirigering som aldrig åbnedes" -#: io.c:1012 +#: io.c:1014 #, c-format msgid "close: redirection `%s' not opened with `|&', second argument ignored" msgstr "" "close: omdirigeringen \"%s\" åbnedes ikke med \"|&\", andet argument " "ignoreret" -#: io.c:1028 +#: io.c:1030 #, c-format msgid "failure status (%d) on pipe close of `%s' (%s)" msgstr "fejlstatus (%d) fra rørlukning af \"%s\" (%s)" -#: io.c:1031 +#: io.c:1033 #, c-format msgid "failure status (%d) on file close of `%s' (%s)" msgstr "fejlstatus (%d) fra fillukning af \"%s\" (%s)" -#: io.c:1051 +#: io.c:1053 #, c-format msgid "no explicit close of socket `%s' provided" msgstr "ingen eksplicit lukning af soklen \"%s\" angivet" -#: io.c:1054 +#: io.c:1056 #, c-format msgid "no explicit close of co-process `%s' provided" msgstr "ingen eksplicit lukning af ko-processen \"%s\" angivet" -#: io.c:1057 +#: io.c:1059 #, c-format msgid "no explicit close of pipe `%s' provided" msgstr "ingen eksplicit lukning af røret \"%s\" angivet" -#: io.c:1060 +#: io.c:1062 #, c-format msgid "no explicit close of file `%s' provided" msgstr "ingen eksplicit lukning af filen \"%s\" angivet" -#: io.c:1088 io.c:1143 main.c:776 main.c:818 +#: io.c:1090 io.c:1145 main.c:781 main.c:823 #, c-format msgid "error writing standard output (%s)" msgstr "fejl ved skrivning til standard ud (%s)" -#: io.c:1092 io.c:1148 +#: io.c:1094 io.c:1150 #, c-format msgid "error writing standard error (%s)" msgstr "fejl ved skrivning til standard fejl (%s)" -#: io.c:1100 +#: io.c:1102 #, c-format msgid "pipe flush of `%s' failed (%s)." msgstr "rørspuling af \"%s\" mislykkedes (%s)" -#: io.c:1103 +#: io.c:1105 #, c-format msgid "co-process flush of pipe to `%s' failed (%s)." msgstr "ko-processpuling af røret til \"%s\" mislykkedes (%s)" -#: io.c:1106 +#: io.c:1108 #, c-format msgid "file flush of `%s' failed (%s)." msgstr "filspuling af \"%s\" mislykkedes (%s)" -#: io.c:1220 +#: io.c:1222 #, fuzzy, c-format msgid "local port %s invalid in `/inet'" msgstr "lokal port ugyldig i \"%s\"" -#: io.c:1237 +#: io.c:1239 #, c-format msgid "remote host and port information (%s, %s) invalid" msgstr "" -#: io.c:1272 +#: io.c:1274 msgid "/inet/raw client not ready yet, sorry" msgstr "/inet/raw-klient er desværre ikke klar endnu" -#: io.c:1275 io.c:1311 +#: io.c:1277 io.c:1313 msgid "only root may use `/inet/raw'." msgstr "kun root kan bruge \"/inet/raw\"." -#: io.c:1309 +#: io.c:1311 msgid "/inet/raw server not ready yet, sorry" msgstr "/inet/raw-server er desværre ikke klar endnu" -#: io.c:1407 +#: io.c:1409 #, c-format msgid "no (known) protocol supplied in special filename `%s'" msgstr "ingen (kendt) protokol opgivet i special-filnavn \"%s\"" -#: io.c:1421 +#: io.c:1423 #, c-format msgid "special file name `%s' is incomplete" msgstr "special-filnavn \"%s\" er ufuldstændigt" -#: io.c:1436 +#: io.c:1438 msgid "must supply a remote hostname to `/inet'" msgstr "skal angive et fjernmaskinenavn til \"/inet\"" -#: io.c:1454 +#: io.c:1456 msgid "must supply a remote port to `/inet'" msgstr "skal angive en fjernport til \"/inet\"" -#: io.c:1485 +#: io.c:1502 msgid "TCP/IP communications are not supported" msgstr "TCP/IP-kommunikation understøttes ikke" -#: io.c:1494 +#: io.c:1511 #, c-format msgid "file `%s' is a directory" msgstr "filen \"%s\" er et katalog" -#: io.c:1555 +#: io.c:1572 #, c-format msgid "use `PROCINFO[\"%s\"]' instead of `%s'" msgstr "brug \"PROCINFO[\"%s\"]\" i stedet for \"%s\"" -#: io.c:1593 +#: io.c:1610 msgid "use `PROCINFO[...]' instead of `/dev/user'" msgstr "brug \"PROCINFO[...]\" i stedet for \"dev/user\"" -#: io.c:1658 io.c:1853 +#: io.c:1675 io.c:1872 #, c-format msgid "could not open `%s', mode `%s'" msgstr "kunne ikke åbne \"%s\", tilstand \"%s\"" -#: io.c:1904 +#: io.c:1923 #, fuzzy, c-format msgid "close of master pty failed (%s)" msgstr "lukning af røret mislykkedes (%s)" -#: io.c:1906 io.c:2058 io.c:2209 +#: io.c:1925 io.c:2077 io.c:2228 #, c-format msgid "close of stdout in child failed (%s)" msgstr "lukning af standard ud i barnet mislykkedes (%s)" -#: io.c:1909 +#: io.c:1928 #, fuzzy, c-format msgid "moving slave pty to stdout in child failed (dup: %s)" msgstr "flytning af rør til standard ud i barnet mislykkedes (dup: %s)" -#: io.c:1911 io.c:2063 +#: io.c:1930 io.c:2082 #, c-format msgid "close of stdin in child failed (%s)" msgstr "lukning af standard ind i barnet mislykkedes (%s)" -#: io.c:1914 +#: io.c:1933 #, fuzzy, c-format msgid "moving slave pty to stdin in child failed (dup: %s)" msgstr "flytning af rør til standard ind i barnet mislykkedes (dup: %s)" -#: io.c:1916 io.c:1935 +#: io.c:1935 io.c:1954 #, fuzzy, c-format msgid "close of slave pty failed (%s)" msgstr "lukning af røret mislykkedes (%s)" -#: io.c:2009 io.c:2061 io.c:2190 io.c:2212 +#: io.c:2028 io.c:2080 io.c:2209 io.c:2231 #, c-format msgid "moving pipe to stdout in child failed (dup: %s)" msgstr "flytning af rør til standard ud i barnet mislykkedes (dup: %s)" -#: io.c:2013 io.c:2066 +#: io.c:2032 io.c:2085 #, c-format msgid "moving pipe to stdin in child failed (dup: %s)" msgstr "flytning af rør til standard ind i barnet mislykkedes (dup: %s)" -#: io.c:2030 io.c:2203 +#: io.c:2049 io.c:2222 msgid "restoring stdout in parent process failed\n" msgstr "genskabelse af standard ud i forælderprocessen mislykkedes\n" -#: io.c:2035 +#: io.c:2054 msgid "restoring stdin in parent process failed\n" msgstr "genskabelse af standard ind i forælderprocessen mislykkedes\n" -#: io.c:2069 io.c:2214 io.c:2225 +#: io.c:2088 io.c:2233 io.c:2244 #, c-format msgid "close of pipe failed (%s)" msgstr "lukning af røret mislykkedes (%s)" -#: io.c:2114 +#: io.c:2133 msgid "`|&' not supported" msgstr "\"|&\" understøttes ikke" -#: io.c:2180 +#: io.c:2199 #, c-format msgid "cannot open pipe `%s' (%s)" msgstr "kan ikke åbne røret \"%s\" (%s)" -#: io.c:2221 +#: io.c:2240 #, c-format msgid "cannot create child process for `%s' (fork: %s)" msgstr "kan ikke oprette barneproces for \"%s\" (fork: %s)" -#: io.c:2603 +#: io.c:2622 #, c-format msgid "data file `%s' is empty" msgstr "datafilen \"%s\" er tom" -#: io.c:2644 io.c:2652 +#: io.c:2663 io.c:2671 msgid "could not allocate more input memory" msgstr "" -#: io.c:3020 io.c:3093 +#: io.c:3039 io.c:3112 #, c-format msgid "error reading input file `%s': %s" msgstr "fejl ved læsning af inddatafilen \"%s\": %s" -#: io.c:3218 +#: io.c:3237 msgid "multicharacter value of `RS' is a gawk extension" msgstr "flertegnsværdien af \"RS\" er en gawk-udvidelse" -#: main.c:304 +#: main.c:306 msgid "out of memory" msgstr "slut på hukommelsen" -#: main.c:373 +#: main.c:374 msgid "`-m[fr]' option irrelevant in gawk" msgstr "\"-m[fr]\"-flaget er irrelevant i gawk" -#: main.c:375 +#: main.c:376 msgid "-m option usage: `-m[fr] nnn'" msgstr "-m-flagets brug: \"-m[fr] nnn\"" -#: main.c:392 +#: main.c:393 #, c-format msgid "%s: option `-W %s' unrecognized, ignored\n" msgstr "%s: flaget \"-W %s\" ukendt, ignoreret\n" -#: main.c:433 +#: main.c:434 msgid "empty argument to `--source' ignored" msgstr "tomt argument til \"--source\" ignoreret" -#: main.c:487 +#: main.c:488 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: flaget kræver et argument -- %c\n" -#: main.c:506 +#: main.c:509 msgid "environment variable `POSIXLY_CORRECT' set: turning on `--posix'" msgstr "miljøvariablen \"POSIXLY_CORRECT\" sat: aktiverer \"--posix\"" -#: main.c:512 +#: main.c:515 msgid "`--posix' overrides `--traditional'" msgstr "\"--posix\" tilsidesætter \"--traditional\"" -#: main.c:523 +#: main.c:526 msgid "`--posix'/`--traditional' overrides `--non-decimal-data'" msgstr "\"--posix\"/\"--traditional\" tilsidesætter \"--non-decimal-data\"" -#: main.c:527 +#: main.c:530 #, fuzzy, c-format msgid "running %s setuid root may be a security problem" msgstr "at køre %s setuid root kan være et sikkerhedsproblem" -#: main.c:568 +#: main.c:571 #, fuzzy, c-format msgid "can't set binary mode on stdin (%s)" msgstr "kan ikke sætte tilstand på standard ind (%s)" -#: main.c:571 +#: main.c:574 #, fuzzy, c-format msgid "can't set binary mode on stdout (%s)" msgstr "kan ikke sætte tilstand på standard ud (%s)" -#: main.c:573 +#: main.c:576 #, fuzzy, c-format msgid "can't set binary mode on stderr (%s)" msgstr "kan ikke sætte tilstand på standard fejl (%s)" -#: main.c:612 +#: main.c:617 msgid "no program text at all!" msgstr "ingen programtekst overhovedet!" -#: main.c:716 +#: main.c:721 #, c-format msgid "Usage: %s [POSIX or GNU style options] -f progfile [--] file ...\n" msgstr "Brug: %s [POSIX- eller GNU-stilflag] -f progfil [--] fil ...\n" -#: main.c:718 +#: main.c:723 #, c-format msgid "Usage: %s [POSIX or GNU style options] [--] %cprogram%c file ...\n" msgstr "Brug: %s [POSIX- eller GNU-stilflag] %cprogram%c fil ...\n" -#: main.c:723 +#: main.c:728 msgid "POSIX options:\t\tGNU long options:\n" msgstr "POSIX-flag:\t\tGNU lange flag:\n" -#: main.c:724 +#: main.c:729 msgid "\t-f progfile\t\t--file=progfile\n" msgstr "\t-f progfil\t\t--file=progfil\n" -#: main.c:725 +#: main.c:730 msgid "\t-F fs\t\t\t--field-separator=fs\n" msgstr "\t-F fs\t\t\t--field-separator=fs\n" -#: main.c:726 +#: main.c:731 msgid "\t-v var=val\t\t--assign=var=val\n" msgstr "\t-v var=værdi\t\t--assign=var=værdi\n" -#: main.c:727 +#: main.c:732 msgid "\t-m[fr] val\n" msgstr "\t-m[fr] værdi\n" -#: main.c:728 +#: main.c:733 msgid "\t-O\t\t\t--optimize\n" msgstr "" -#: main.c:729 +#: main.c:734 msgid "\t-W compat\t\t--compat\n" msgstr "\t-W compat\t\t--compat\n" -#: main.c:730 +#: main.c:735 msgid "\t-W copyleft\t\t--copyleft\n" msgstr "\t-W copyleft\t\t--copyleft\n" -#: main.c:731 +#: main.c:736 msgid "\t-W copyright\t\t--copyright\n" msgstr "\t-W copyright\t\t--copyright\n" -#: main.c:732 +#: main.c:737 msgid "\t-W dump-variables[=file]\t--dump-variables[=file]\n" msgstr "\t-W dump-variables[=fil]\t--dump-variables[=fil]\n" -#: main.c:733 +#: main.c:738 #, fuzzy msgid "\t-W exec=file\t\t--exec=file\n" msgstr "\t-W profile[=fil]\t--profile[=fil]\n" -#: main.c:734 +#: main.c:739 msgid "\t-W gen-po\t\t--gen-po\n" msgstr "\t-W gen-po\t\t--gen-po\n" -#: main.c:735 +#: main.c:740 msgid "\t-W help\t\t\t--help\n" msgstr "\t-W help\t\t\t--help\n" -#: main.c:736 +#: main.c:741 msgid "\t-W lint[=fatal]\t\t--lint[=fatal]\n" msgstr "\t-W lint[=fatal]\t\t--lint[=fatal]\n" -#: main.c:737 +#: main.c:742 msgid "\t-W lint-old\t\t--lint-old\n" msgstr "\t-W lint-old\t\t--lint-old\n" -#: main.c:738 +#: main.c:743 msgid "\t-W non-decimal-data\t--non-decimal-data\n" msgstr "\t-W non-decimal-data\t--non-decimal-data\n" -#: main.c:740 +#: main.c:745 msgid "\t-W nostalgia\t\t--nostalgia\n" msgstr "\t-W nostalgia\t\t--nostalgia\n" -#: main.c:743 +#: main.c:748 msgid "\t-W parsedebug\t\t--parsedebug\n" msgstr "\t-W parsedebug\t\t--parsedebug\n" -#: main.c:745 +#: main.c:750 msgid "\t-W profile[=file]\t--profile[=file]\n" msgstr "\t-W profile[=fil]\t--profile[=fil]\n" -#: main.c:746 +#: main.c:751 msgid "\t-W posix\t\t--posix\n" msgstr "\t-W posix\t\t--posix\n" -#: main.c:747 +#: main.c:752 msgid "\t-W re-interval\t\t--re-interval\n" msgstr "\t-W re-interval\t\t--re-interval\n" -#: main.c:748 +#: main.c:753 msgid "\t-W source=program-text\t--source=program-text\n" msgstr "\t-W source=programtekst\t--source=programtekst\n" -#: main.c:749 +#: main.c:754 msgid "\t-W traditional\t\t--traditional\n" msgstr "\t-W traditional\t\t--traditional\n" -#: main.c:750 +#: main.c:755 msgid "\t-W usage\t\t--usage\n" msgstr "\t-W usage\t\t--usage\n" -#: main.c:751 +#: main.c:756 msgid "\t-W use-lc-numeric\t--use-lc-numeric\n" msgstr "" -#: main.c:752 +#: main.c:757 msgid "\t-W version\t\t--version\n" msgstr "\t-W version\t\t--version\n" @@ -1634,7 +1647,7 @@ #. for this application. Please add _another line_ with the #. address for translation bugs. #. no-wrap -#: main.c:761 +#: main.c:766 #, fuzzy msgid "" "\n" @@ -1645,21 +1658,21 @@ "sektionen \"Reporting Problems and Bugs\" i den trykte version.\n" "Rapportér synpunkter på oversættelsen til .\n" -#: main.c:765 +#: main.c:770 msgid "" "gawk is a pattern scanning and processing language.\n" "By default it reads standard input and writes standard output.\n" "\n" msgstr "" -#: main.c:769 +#: main.c:774 msgid "" "Examples:\n" "\tgawk '{ sum += $1 }; END { print sum }' file\n" "\tgawk -F: '{ print $1 }' /etc/passwd\n" msgstr "" -#: main.c:789 +#: main.c:794 #, fuzzy, c-format msgid "" "Copyright (C) 1989, 1991-%d Free Software Foundation.\n" @@ -1678,7 +1691,7 @@ "enhver senere version.\n" "\n" -#: main.c:797 +#: main.c:802 msgid "" "This program is distributed in the hope that it will be useful,\n" "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" @@ -1692,7 +1705,7 @@ "General Public License for yderligere information.\n" "\n" -#: main.c:808 +#: main.c:813 #, fuzzy msgid "" "You should have received a copy of the GNU General Public License\n" @@ -1702,56 +1715,56 @@ "med dette program. Hvis ikke, så skriv til Free Software Foundation,\n" "Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n" -#: main.c:843 +#: main.c:848 msgid "-Ft does not set FS to tab in POSIX awk" msgstr "-Ft sætter ikke FS til tab i POSIX-awk" -#: main.c:1117 +#: main.c:1122 #, c-format msgid "" "%s: `%s' argument to `-v' not in `var=value' form\n" "\n" msgstr "" -#: main.c:1137 +#: main.c:1142 #, c-format msgid "`%s' is not a legal variable name" msgstr "" -#: main.c:1140 +#: main.c:1145 #, c-format msgid "`%s' is not a variable name, looking for file `%s=%s'" msgstr "" -#: main.c:1179 +#: main.c:1184 msgid "floating point exception" msgstr "flydendetalsundtagelse" -#: main.c:1186 +#: main.c:1191 msgid "fatal error: internal error" msgstr "fatal fejl: intern fejl" -#: main.c:1200 +#: main.c:1206 #, fuzzy msgid "fatal error: internal error: segfault" msgstr "fatal fejl: intern fejl" -#: main.c:1212 +#: main.c:1218 #, fuzzy msgid "fatal error: internal error: stack overflow" msgstr "fatal fejl: intern fejl" -#: main.c:1261 +#: main.c:1268 #, c-format msgid "no pre-opened fd %d" msgstr "ingen for-åbnet fd %d" -#: main.c:1268 +#: main.c:1275 #, c-format msgid "could not pre-open /dev/null for fd %d" msgstr "kunne ikke for-åbne /dev/null for fd %d" -#: main.c:1291 main.c:1300 +#: main.c:1298 main.c:1307 #, c-format msgid "could not find groups: %s" msgstr "kunne ikke finde grupper: %s" @@ -1777,31 +1790,31 @@ msgid "can't convert string to float" msgstr "kan ikke konvertere en streng til flydende tal" -#: node.c:462 +#: node.c:465 msgid "backslash at end of string" msgstr "omvendt skråstreg i slutningen af strengen" -#: node.c:606 +#: node.c:609 #, fuzzy, c-format msgid "old awk does not support the `\\%c' escape sequence" msgstr "gamle awk understøtter ikke operatoren \"**\"" -#: node.c:657 +#: node.c:660 msgid "POSIX does not allow `\\x' escapes" msgstr "POSIX tillader ikke \"\\x\"-kontrolsekvenser" -#: node.c:663 +#: node.c:666 msgid "no hex digits in `\\x' escape sequence" msgstr "ingen heksadecimale cifre i \"\\x\"-kontrolsekvenser" -#: node.c:685 +#: node.c:688 #, c-format msgid "" "hex escape \\x%.*s of %d characters probably not interpreted the way you " "expect" msgstr "" -#: node.c:700 +#: node.c:703 #, c-format msgid "escape sequence `\\%c' treated as plain `%c'" msgstr "kontrolsekvensen \"\\%c\" behandlet som kun \"%c\"" @@ -1811,31 +1824,31 @@ msgid "%s %s `%s': could not set close-on-exec: (fcntl: %s)" msgstr "%s %s \"%s\": kunne ikke sætte luk-ved-exec (fcntl: %s)" -#: profile.c:93 +#: profile.c:94 #, c-format msgid "could not open `%s' for writing: %s" msgstr "kunne ikke åbne \"%s\" for skrivning: %s" -#: profile.c:453 +#: profile.c:457 #, fuzzy, c-format msgid "internal error: %s with null vname" msgstr "intern fejl: Node_var med null vname" -#: profile.c:517 +#: profile.c:521 msgid "# treated internally as `delete'" msgstr "" -#: profile.c:1069 +#: profile.c:1073 #, c-format msgid "# this is a dynamically loaded extension function" msgstr "" -#: profile.c:1100 +#: profile.c:1104 #, c-format msgid "\t# gawk profile, created %s\n" msgstr "\t# gawkprofil, oprettet %s\n" -#: profile.c:1103 +#: profile.c:1107 #, c-format msgid "" "\t# BEGIN block(s)\n" @@ -1844,7 +1857,7 @@ "\t# BEGIN-blok\n" "\n" -#: profile.c:1113 +#: profile.c:1117 #, c-format msgid "" "\t# Rule(s)\n" @@ -1853,7 +1866,7 @@ "\t# Regel/regler\n" "\n" -#: profile.c:1119 +#: profile.c:1123 #, c-format msgid "" "\t# END block(s)\n" @@ -1862,7 +1875,7 @@ "\t# END-blok\n" "\n" -#: profile.c:1139 +#: profile.c:1143 #, c-format msgid "" "\n" @@ -1871,91 +1884,88 @@ "\n" "\t# Funktioner, listede alfabetisk\n" -#: profile.c:1400 +#: profile.c:1405 #, c-format msgid "unexpected type %s in prec_level" msgstr "uventet type %s i prec_level" -#: profile.c:1500 +#: profile.c:1527 #, fuzzy, c-format msgid "Unknown node type %s in pp_var" msgstr "ukendt nodetype %d" -#: regcomp.c:133 +#: regcomp.c:132 msgid "Success" msgstr "Lykkedes" -#: regcomp.c:136 +#: regcomp.c:135 msgid "No match" msgstr "Mislykkedes" -#: regcomp.c:139 +#: regcomp.c:138 msgid "Invalid regular expression" msgstr "Ugyldigt regulært udtryk" -#: regcomp.c:142 +#: regcomp.c:141 msgid "Invalid collation character" msgstr "Ugyldigt kollationeringstegn" -#: regcomp.c:145 +#: regcomp.c:144 msgid "Invalid character class name" msgstr "Ugyldigt tegnklassenavn" -#: regcomp.c:148 +#: regcomp.c:147 msgid "Trailing backslash" msgstr "Efterfølgende omvendt skråstreg" -#: regcomp.c:151 +#: regcomp.c:150 msgid "Invalid back reference" msgstr "Ugyldig bagudreference" -#: regcomp.c:154 +#: regcomp.c:153 msgid "Unmatched [ or [^" msgstr "Ubalanceret [ eller [^" -#: regcomp.c:157 +#: regcomp.c:156 msgid "Unmatched ( or \\(" msgstr "Ubalanceret ( eller \\(" -#: regcomp.c:160 +#: regcomp.c:159 msgid "Unmatched \\{" msgstr "Ubalanceret \\{" -#: regcomp.c:163 +#: regcomp.c:162 msgid "Invalid content of \\{\\}" msgstr "Ugyldigt indhold i \\{\\}" -#: regcomp.c:166 +#: regcomp.c:165 msgid "Invalid range end" msgstr "Ugyldig intervalslutning" -#: regcomp.c:169 +#: regcomp.c:168 msgid "Memory exhausted" msgstr "Hukommelsen opbrugt" -#: regcomp.c:172 +#: regcomp.c:171 msgid "Invalid preceding regular expression" msgstr "Ugyldigt foregående regulært udtryk" -#: regcomp.c:175 +#: regcomp.c:174 msgid "Premature end of regular expression" msgstr "For tidligt slut på regulært udtryk" -#: regcomp.c:178 +#: regcomp.c:177 msgid "Regular expression too big" msgstr "Regulært udtryk for stort" -#: regcomp.c:181 +#: regcomp.c:180 msgid "Unmatched ) or \\)" msgstr "Ubalanceret ) eller \\)" -#: regcomp.c:700 +#: regcomp.c:699 msgid "No previous regular expression" msgstr "Intet foregående regulært udtryk" -#~ msgid "%s: illegal option -- %c\n" -#~ msgstr "%s: ikke tilladt flag -- %c\n" - #~ msgid "delete: illegal use of variable `%s' as array" #~ msgstr "delete: ikke tilladt brug af variablen \"%s\" som vektor" @@ -1965,6 +1975,9 @@ #~ msgid "asort: second argument is not an array" #~ msgstr "asort: andet argument er ikke en vektor" +#~ msgid "%s: illegal option -- %c\n" +#~ msgstr "%s: ikke tilladt flag -- %c\n" + #~ msgid "" #~ "\n" #~ "To report bugs, see node `Bugs' in `gawk.info', which is\n" @@ -2027,6 +2040,9 @@ #~ msgid "function %s called\n" #~ msgstr "funktionen %s kaldt\n" +#~ msgid "can't open two way socket `%s' for input/output (%s)" +#~ msgstr "kan ikke åbne tovejssoklen \"%s\" for ind-/uddata (%s)" + #~ msgid "remote port invalid in `%s'" #~ msgstr "fjernporten ugyldig i \"%s\"" diff -urN gawk-3.1.7/po/de.po gawk-3.1.8/po/de.po --- gawk-3.1.7/po/de.po 2009-07-21 23:23:44.000000000 +0300 +++ gawk-3.1.8/po/de.po 2010-05-06 20:57:37.000000000 +0300 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: gawk 3.1.0\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2009-07-21 23:23+0300\n" +"POT-Creation-Date: 2010-05-06 20:57+0300\n" "PO-Revision-Date: 2002-04-03 18:55+02:00\n" "Last-Translator: Christian Kirsch \n" "Language-Team: German \n" @@ -34,42 +34,42 @@ msgid "from %s" msgstr "%s (von %s)" -#: array.c:514 -#, c-format -msgid "reference to uninitialized element `%s[\"%s\"]'" +#: array.c:513 +#, fuzzy, c-format +msgid "reference to uninitialized element `%s[\"%.*s\"]'" msgstr "Bezug auf nicht-initialisiertes Element »%s[\"%s\"]«" -#: array.c:520 +#: array.c:519 #, c-format msgid "subscript of array `%s' is null string" msgstr "Index in Array »%s« ist Nullstring." -#: array.c:624 +#: array.c:623 #, c-format msgid "delete: index `%s' not in array `%s'" msgstr "delete: Index »%s« nicht in Feld »%s« vorhanden." -#: array.c:793 +#: array.c:792 #, c-format msgid "%s: empty (null)\n" msgstr "%s: leer (Null)\n" -#: array.c:798 +#: array.c:797 #, c-format msgid "%s: empty (zero)\n" msgstr "%s: leer (0)\n" -#: array.c:802 +#: array.c:801 #, c-format msgid "%s: table_size = %d, array_size = %d\n" msgstr "%s: Table_size = %d, array_size = %d\n" -#: array.c:831 +#: array.c:830 #, fuzzy, c-format msgid "%s: is parameter\n" msgstr "%s: ist ein Parameter\n" -#: array.c:836 +#: array.c:835 #, c-format msgid "%s: array_ref to %s\n" msgstr "%s: Array-Referenz auf %s\n" @@ -363,7 +363,7 @@ msgid "could not open `%s' for writing (%s)" msgstr "Kann '%s' nicht zum Schreiben öffnen (%s)." -#: awkgram.y:2748 profile.c:95 +#: awkgram.y:2748 profile.c:96 msgid "sending profile to standard error" msgstr "Schicke Profile auf Stadard-Fehlerausgabe." @@ -420,7 +420,12 @@ "Funktion '%s' mit Leerzeichen zwischen Name und '(' aufgerufen, \n" "%s" -#: awkgram.y:3667 eval.c:1394 +#: awkgram.y:3664 +#, fuzzy +msgid "division by zero attempted in `/'" +msgstr "Division durch Null versucht in '/='." + +#: awkgram.y:3669 eval.c:1394 #, c-format msgid "division by zero attempted in `%%'" msgstr "Division durch Null versucht in '%%'." @@ -482,167 +487,171 @@ msgid "`length(array)' is a gawk extension" msgstr "'delete array' ist eine gawk-Erweiterung." -#: builtin.c:473 +#: builtin.c:471 +msgid "length: untyped parameter argument will be forced to scalar" +msgstr "" + +#: builtin.c:480 msgid "length: untyped argument will be forced to scalar" msgstr "" -#: builtin.c:477 +#: builtin.c:484 msgid "length: received non-string argument" msgstr "length: Argument ist kein String." -#: builtin.c:508 +#: builtin.c:515 msgid "log: received non-numeric argument" msgstr "log: Argument ist keine Zahl." -#: builtin.c:511 +#: builtin.c:518 #, c-format msgid "log: received negative argument %g" msgstr "log: Negatives Argument %g." -#: builtin.c:719 builtin.c:722 +#: builtin.c:726 builtin.c:729 msgid "must use `count$' on all formats or none" msgstr "" -#: builtin.c:783 +#: builtin.c:790 #, c-format msgid "field width is ignored for `%%%%' specifier" msgstr "" -#: builtin.c:785 +#: builtin.c:792 #, c-format msgid "precision is ignored for `%%%%' specifier" msgstr "" -#: builtin.c:787 +#: builtin.c:794 #, c-format msgid "field width and precision are ignored for `%%%%' specifier" msgstr "" -#: builtin.c:838 +#: builtin.c:845 msgid "`$' is not permitted in awk formats" msgstr "»$« ist in awk-Formaten nicht zulässig." -#: builtin.c:844 +#: builtin.c:851 msgid "arg count with `$' must be > 0" msgstr "Argumentnummer bei »$« muss > 0 sein." -#: builtin.c:846 +#: builtin.c:853 #, fuzzy, c-format msgid "arg count %ld greater than total number of supplied arguments" msgstr "Argumentnummer %d ist größer als Anzahl angegebener Argumente." -#: builtin.c:848 +#: builtin.c:855 msgid "`$' not permitted after period in format" msgstr "»$« nach Punkt in Formatangabe nicht zulässig." -#: builtin.c:861 +#: builtin.c:868 msgid "no `$' supplied for positional field width or precision" msgstr "»$« fehlt in positionsabhängiger Feldbreite oder Genauigkeit." # -#: builtin.c:927 +#: builtin.c:938 msgid "`l' is meaningless in awk formats; ignored" msgstr "»l« ist in awk-Formaten bedeutungslos, ignoriert." -#: builtin.c:931 +#: builtin.c:942 msgid "`l' is not permitted in POSIX awk formats" msgstr "»l« in POSIX-awk-Formaten nicht zulässig." -#: builtin.c:942 +#: builtin.c:953 msgid "`L' is meaningless in awk formats; ignored" msgstr "»L« ist in awk-Formaten bedeutungslos, ignoriert." -#: builtin.c:946 +#: builtin.c:957 msgid "`L' is not permitted in POSIX awk formats" msgstr "»L« in POSIX-awk-Formaten nicht zulässig." -#: builtin.c:957 +#: builtin.c:968 msgid "`h' is meaningless in awk formats; ignored" msgstr "»h« ist in awk-Formaten bedeutungslos, ignoriert." -#: builtin.c:961 +#: builtin.c:972 msgid "`h' is not permitted in POSIX awk formats" msgstr "»h« in POSIX-awk-Formaten nicht zulässig.<" -#: builtin.c:1236 +#: builtin.c:1252 #, c-format msgid "[s]printf: value %g is out of range for `%%%c' format" msgstr "" -#: builtin.c:1316 +#: builtin.c:1332 #, c-format msgid "ignoring unknown format specifier character `%c': no argument converted" msgstr "" -#: builtin.c:1322 +#: builtin.c:1338 msgid "not enough arguments to satisfy format string" msgstr "Nicht genügend Argumente für Formatangabe." -#: builtin.c:1324 +#: builtin.c:1340 msgid "^ ran out for this one" msgstr "^ ran out for this one" -#: builtin.c:1330 +#: builtin.c:1346 msgid "[s]printf: format specifier does not have control letter" msgstr "[s]printf: Format-Specifier hat keinen Controlcode." -#: builtin.c:1333 +#: builtin.c:1349 msgid "too many arguments supplied for format string" msgstr "Zu viele Argumente für Formatstring." -#: builtin.c:1408 builtin.c:1411 +#: builtin.c:1424 builtin.c:1427 msgid "printf: no arguments" msgstr "printf: Keine Argumente" -#: builtin.c:1435 +#: builtin.c:1451 msgid "sqrt: received non-numeric argument" msgstr "sqrt: Argument ist keine Zahl." -#: builtin.c:1439 +#: builtin.c:1455 #, c-format msgid "sqrt: called with negative argument %g" msgstr "sqrt: Argument %g ist negativ." -#: builtin.c:1463 +#: builtin.c:1479 #, c-format msgid "substr: start index %g is invalid, using 1" msgstr "substr: Start-Index %g ist ungültig, 1 wird benutzt." -#: builtin.c:1468 +#: builtin.c:1484 #, c-format msgid "substr: non-integer start index %g will be truncated" msgstr "substr: Start-Wert %g wird abgeschnitten." -#: builtin.c:1494 +#: builtin.c:1510 #, fuzzy, c-format msgid "substr: length %g is not >= 1" msgstr "substr: Länge %g ist kleiner oder gleich 0." -#: builtin.c:1496 +#: builtin.c:1512 #, fuzzy, c-format msgid "substr: length %g is not >= 0" msgstr "substr: Länge %g ist kleiner oder gleich 0." -#: builtin.c:1503 +#: builtin.c:1519 #, c-format msgid "substr: non-integer length %g will be truncated" msgstr "substr: Länge %g wird abgeschnitten." -#: builtin.c:1508 +#: builtin.c:1524 #, c-format msgid "substr: length %g too big for string indexing, truncating to %g" msgstr "" -#: builtin.c:1520 +#: builtin.c:1536 msgid "substr: source string is zero length" msgstr "substr: String ist leer." -#: builtin.c:1536 +#: builtin.c:1552 #, fuzzy, c-format msgid "substr: start index %g is past end of string" msgstr "substr: Start-Wert %d liegt hinter dem Ende des Strings." -#: builtin.c:1544 +#: builtin.c:1560 #, fuzzy, c-format msgid "" "substr: length %g at start index %g exceeds length of first argument (%lu)" @@ -650,197 +659,201 @@ "substr: Länge %d am Start-Wert %d überschreitet Länge des ersten Arguments (%" "d)." -#: builtin.c:1621 +#: builtin.c:1637 #, fuzzy msgid "strftime: received non-string first argument" msgstr "strftime: Erstes Argument ist kein String." -#: builtin.c:1627 +#: builtin.c:1643 msgid "strftime: received empty format string" msgstr "strftime: Format-String ist leer." -#: builtin.c:1636 +#: builtin.c:1652 #, fuzzy msgid "strftime: received non-numeric second argument" msgstr "strftime. Zweites Argument ist keine Zahl." -#: builtin.c:1713 +#: builtin.c:1729 msgid "mktime: received non-string argument" msgstr "mktime: Argument ist kein String." -#: builtin.c:1758 +#: builtin.c:1746 +msgid "mktime: at least one of the values is out of the default range" +msgstr "" + +#: builtin.c:1783 #, fuzzy msgid "system: received non-string argument" msgstr "system: Argument ist kein String." -#: builtin.c:1879 eval.c:2145 +#: builtin.c:1904 eval.c:2157 #, fuzzy, c-format msgid "reference to uninitialized field `$%d'" msgstr "Referenz auf die nicht-initialisierte Variable '%s'." -#: builtin.c:1984 +#: builtin.c:2009 #, fuzzy msgid "tolower: received non-string argument" msgstr "tolower: Argument ist kein String." -#: builtin.c:2014 +#: builtin.c:2039 #, fuzzy msgid "toupper: received non-string argument" msgstr "toupper: Argument ist kein String." -#: builtin.c:2047 +#: builtin.c:2072 msgid "atan2: received non-numeric first argument" msgstr "atan2: Erstes Argument ist keine Zahl." -#: builtin.c:2049 +#: builtin.c:2074 msgid "atan2: received non-numeric second argument" msgstr "atan2: Zweites Argument ist keine Zahl." -#: builtin.c:2068 +#: builtin.c:2093 msgid "sin: received non-numeric argument" msgstr "sin: Argument istk eine Zahl." -#: builtin.c:2084 +#: builtin.c:2109 msgid "cos: received non-numeric argument" msgstr "cos: Argument ist keine Zahl." -#: builtin.c:2137 +#: builtin.c:2162 msgid "srand: received non-numeric argument" msgstr "srand: Argument ist keine Zahl." -#: builtin.c:2172 +#: builtin.c:2197 msgid "match: third argument is not an array" msgstr "match: Drittes Argument ist kein Array." -#: builtin.c:2719 +#: builtin.c:2744 #, fuzzy msgid "gensub: third argument of 0 treated as 1" msgstr "gensub: Drittes Argument 0 als 1 interpretiert" -#: builtin.c:2835 +#: builtin.c:2860 msgid "lshift: received non-numeric first argument" msgstr "lshift: Erstes Argument ist keine Zahl." -#: builtin.c:2837 +#: builtin.c:2862 #, fuzzy msgid "lshift: received non-numeric second argument" msgstr "atan2: Zweites Argument ist keine Zahl." -#: builtin.c:2843 +#: builtin.c:2868 #, c-format msgid "lshift(%lf, %lf): negative values will give strange results" msgstr "" "lshift(%lf, %lf): Negative Werte werden merkwürdige Ergebnisse liefern." -#: builtin.c:2845 +#: builtin.c:2870 #, c-format msgid "lshift(%lf, %lf): fractional values will be truncated" msgstr "lshift(%lf, %lf): Dezimalteil wird abgeschnitten." -#: builtin.c:2847 +#: builtin.c:2872 #, c-format msgid "lshift(%lf, %lf): too large shift value will give strange results" msgstr "" "lshift(%lf, %lf): Zu große Shift-Werte werden merkwürdige Ergebnisse liefern." -#: builtin.c:2873 +#: builtin.c:2898 msgid "rshift: received non-numeric first argument" msgstr "rshift: Erstes Argument ist keine Zahl." -#: builtin.c:2875 +#: builtin.c:2900 #, fuzzy msgid "rshift: received non-numeric second argument" msgstr "atan2: Zweites Argument ist keine Zahl." -#: builtin.c:2881 +#: builtin.c:2906 #, c-format msgid "rshift(%lf, %lf): negative values will give strange results" msgstr "" "rshift (%lf, %lf): Negative Werte werden merkwürdige Ergebnisse liefern." -#: builtin.c:2883 +#: builtin.c:2908 #, c-format msgid "rshift(%lf, %lf): fractional values will be truncated" msgstr "rshift(%lf, %lf): Dezimalteil wird abgeschnitten." -#: builtin.c:2885 +#: builtin.c:2910 #, c-format msgid "rshift(%lf, %lf): too large shift value will give strange results" msgstr "" "rshift(%lf, %lf): Zu große Shift-Werte werden merkwürdige Ergebnisse liefern." -#: builtin.c:2911 +#: builtin.c:2936 msgid "and: received non-numeric first argument" msgstr "and: Erstes Argument ist keine Zahl." -#: builtin.c:2913 +#: builtin.c:2938 #, fuzzy msgid "and: received non-numeric second argument" msgstr "atan2: Zweites Argument ist keine Zahl." -#: builtin.c:2919 +#: builtin.c:2944 #, c-format msgid "and(%lf, %lf): negative values will give strange results" msgstr "and(%lf, %lf): Negative Werte werden merkwürdige Ergebnisse liefern." -#: builtin.c:2921 +#: builtin.c:2946 #, c-format msgid "and(%lf, %lf): fractional values will be truncated" msgstr "and(%lf, %lf): Dezimalteil wird abgeschnitten." -#: builtin.c:2947 +#: builtin.c:2972 msgid "or: received non-numeric first argument" msgstr "or: Erstes Argument ist keine Zahl." -#: builtin.c:2949 +#: builtin.c:2974 #, fuzzy msgid "or: received non-numeric second argument" msgstr "atan2: Zweites Argument ist keine Zahl." -#: builtin.c:2955 +#: builtin.c:2980 #, c-format msgid "or(%lf, %lf): negative values will give strange results" msgstr "or(%lf, %lf): Negative Werte werden merkwürdige Ergebnisse liefern." -#: builtin.c:2957 +#: builtin.c:2982 #, c-format msgid "or(%lf, %lf): fractional values will be truncated" msgstr "or(%lf, %lf): Dezimalteil wird abgeschnitten." -#: builtin.c:2983 +#: builtin.c:3008 msgid "xor: received non-numeric first argument" msgstr "xor: Erstes Argument ist keine Zahl." -#: builtin.c:2985 +#: builtin.c:3010 #, fuzzy msgid "xor: received non-numeric second argument" msgstr "atan2: Zweites Argument ist keine Zahl." -#: builtin.c:2991 +#: builtin.c:3016 #, c-format msgid "xor(%lf, %lf): negative values will give strange results" msgstr "xor(%lf, %lf: Negative Werte werden merkwürdige Ergebnisse liefern." -#: builtin.c:2993 +#: builtin.c:3018 #, c-format msgid "xor(%lf, %lf): fractional values will be truncated" msgstr "xor(%lf, %lf): Dezimalteil wird abgeschnitten." -#: builtin.c:3017 +#: builtin.c:3042 msgid "compl: received non-numeric argument" msgstr "compl: Erstes Argument ist keine Zahl." -#: builtin.c:3023 +#: builtin.c:3048 #, c-format msgid "compl(%lf): negative value will give strange results" msgstr "compl(%lf): Negativer Wert wird merkwürdige Ergebnisse liefern." -#: builtin.c:3025 +#: builtin.c:3050 #, c-format msgid "compl(%lf): fractional value will be truncated" msgstr "compl(%lf): Dezimalteil wird abgeschnitten." -#: builtin.c:3198 +#: builtin.c:3223 #, c-format msgid "dcgettext: `%s' is not a valid locale category" msgstr "dcgettext: '%s' ist keine gültige Locale-Kategorie." @@ -854,7 +867,7 @@ msgid "buffer overflow in genflags2str" msgstr "Pufferüberlauf in genflags2str." -#: eval.c:454 eval.c:460 profile.c:781 +#: eval.c:454 eval.c:460 profile.c:785 #, c-format msgid "attempt to use array `%s' in a scalar context" msgstr "Versuch, das Array '%s' in Skalarkontext zu verwenden." @@ -901,7 +914,7 @@ msgid "statement has no effect" msgstr "Anweisung hat keinen Effekt." -#: eval.c:1029 eval.c:1999 +#: eval.c:1029 eval.c:2011 #, c-format msgid "can't use function name `%s' as variable or array" msgstr "Kann Funktion '%s' nicht als Variable oder Array verwenden." @@ -911,7 +924,7 @@ msgid "reference to uninitialized argument `%s'" msgstr "Referenz auf nicht-initialisiertes Argument '%s'." -#: eval.c:1051 eval.c:2008 +#: eval.c:1051 eval.c:2020 #, c-format msgid "reference to uninitialized variable `%s'" msgstr "Referenz auf die nicht-initialisierte Variable '%s'." @@ -932,7 +945,7 @@ msgid "division by zero attempted" msgstr "Division durch Null versucht." -#: eval.c:1409 profile.c:657 +#: eval.c:1409 profile.c:661 #, c-format msgid "illegal type (%s) in tree_eval" msgstr "Illegaler Typ (%s) in tree_eval" @@ -946,17 +959,17 @@ msgid "division by zero attempted in `%%='" msgstr "Division durch Null versucht in '%%='." -#: eval.c:1859 +#: eval.c:1871 #, c-format msgid "function `%s' called with more arguments than declared" msgstr "Funktion '%s' mit zu vielen Argumenten aufgerufen." -#: eval.c:1904 +#: eval.c:1916 #, c-format msgid "function `%s' not defined" msgstr "Funktion '%s' ist nicht definiert." -#: eval.c:1971 +#: eval.c:1983 #, c-format msgid "" "\n" @@ -967,48 +980,48 @@ "\t# Funktion Aufruf-Stack\n" "\n" -#: eval.c:1974 +#: eval.c:1986 #, c-format msgid "\t# -- main --\n" msgstr "\t# -- main --\n" -#: eval.c:2129 +#: eval.c:2141 msgid "attempt to field reference from non-numeric value" msgstr "Nicht-numerischer Wert für Feldreferenz verwendet." -#: eval.c:2131 +#: eval.c:2143 msgid "attempt to reference from null string" msgstr "Referenz von einem Null-String" -#: eval.c:2137 +#: eval.c:2149 #, c-format msgid "attempt to access field %d" msgstr "Versuch des Zugriffs auf Feld %d." -#: eval.c:2158 eval.c:2165 profile.c:836 +#: eval.c:2170 eval.c:2177 profile.c:840 msgid "assignment is not allowed to result of builtin function" msgstr "" "Zuweisungen an das Ergebnis einer eingebauten Funktion sind nicht erlaubt." -#: eval.c:2229 +#: eval.c:2241 msgid "`IGNORECASE' is a gawk extension" msgstr "'IGNORECASE' ist eine gawk-Erweiterung" -#: eval.c:2258 +#: eval.c:2270 msgid "`BINMODE' is a gawk extension" msgstr "'BINMODE' ist eine gawk-Erweiterung." -#: eval.c:2316 +#: eval.c:2328 #, c-format msgid "BINMODE value `%s' is invalid, treated as 3" msgstr "" -#: eval.c:2406 +#: eval.c:2418 #, c-format msgid "bad `%sFMT' specification `%s'" msgstr "Falsche '%sFMT'-Angabe '%s'" -#: eval.c:2484 +#: eval.c:2496 msgid "turning off `--lint' due to assignment to `LINT'" msgstr "'--lint' wird abgeschaltet, da 'LINT' gesetzt ist." @@ -1109,56 +1122,61 @@ msgid "old awk does not support regexps as value of `FS'" msgstr "Das alte awk erlaubt den Operator '**' nicht." -#: getopt.c:570 getopt.c:586 +#: getopt.c:574 getopt.c:590 #, fuzzy, c-format msgid "%s: option '%s' is ambiguous\n" msgstr "%s: Option '%s' ist mehrdeutig.\n" -#: getopt.c:619 getopt.c:623 +#: getopt.c:623 getopt.c:627 #, fuzzy, c-format msgid "%s: option '--%s' doesn't allow an argument\n" msgstr "%s: Option '--%s' erlaubt kein Argument.\n" -#: getopt.c:632 getopt.c:637 +#: getopt.c:636 getopt.c:641 #, fuzzy, c-format msgid "%s: option '%c%s' doesn't allow an argument\n" msgstr "%s: Option '%c%s\" erlaubt kein Argument.\n" -#: getopt.c:680 getopt.c:699 getopt.c:1002 getopt.c:1021 +#: getopt.c:684 getopt.c:703 #, fuzzy, c-format -msgid "%s: option '%s' requires an argument\n" +msgid "%s: option '--%s' requires an argument\n" msgstr "%s: Option '%s' erfordert ein Argument.\n" -#: getopt.c:737 getopt.c:740 +#: getopt.c:741 getopt.c:744 #, fuzzy, c-format msgid "%s: unrecognized option '--%s'\n" msgstr "%s: Unbekannte Option '--%s'.\n" -#: getopt.c:748 getopt.c:751 +#: getopt.c:752 getopt.c:755 #, fuzzy, c-format msgid "%s: unrecognized option '%c%s'\n" msgstr "%s: Unbekannte Option '%c%s'.\n" -#: getopt.c:800 getopt.c:803 +#: getopt.c:804 getopt.c:807 #, fuzzy, c-format msgid "%s: invalid option -- '%c'\n" msgstr "%s: Ungültige Option -- %c.\n" -#: getopt.c:853 getopt.c:870 getopt.c:1073 getopt.c:1091 +#: getopt.c:857 getopt.c:874 getopt.c:1082 getopt.c:1100 #, fuzzy, c-format msgid "%s: option requires an argument -- '%c'\n" msgstr "%s Option erfordert ein Argument -- %c.\n" -#: getopt.c:923 getopt.c:939 +#: getopt.c:930 getopt.c:946 #, fuzzy, c-format msgid "%s: option '-W %s' is ambiguous\n" msgstr "%s: Option '-W %s' ist mehrdeutig.\n" -#: getopt.c:963 getopt.c:981 +#: getopt.c:970 getopt.c:988 #, fuzzy, c-format msgid "%s: option '-W %s' doesn't allow an argument\n" msgstr "%s. Option '-W %s' erlaubt kein Argument.\n" +#: getopt.c:1009 getopt.c:1027 +#, fuzzy, c-format +msgid "%s: option '-W %s' requires an argument\n" +msgstr "%s: Option '%s' erfordert ein Argument.\n" + #: io.c:322 io.c:352 #, c-format msgid "cannot open file `%s' for reading (%s)" @@ -1206,440 +1224,435 @@ msgid "can't open pipe `%s' for input (%s)" msgstr "Kann Pipe '%s' nicht für Eingabe öffnen (%s)." -#: io.c:712 -#, c-format -msgid "can't open two way socket `%s' for input/output (%s)" -msgstr "Kann bidirektionalen Socket '%s' nicht für Ein-/Ausgabe öffnen (%s)." - -#: io.c:716 +#: io.c:717 #, c-format msgid "can't open two way pipe `%s' for input/output (%s)" msgstr "Kann bidirektionale Pipe '%s' nicht für Ein-/Ausgabe öffnen (%s)." -#: io.c:793 +#: io.c:795 #, c-format msgid "can't redirect from `%s' (%s)" msgstr "Kann nicht von '%s' umlenken (%s)." -#: io.c:796 +#: io.c:798 #, c-format msgid "can't redirect to `%s' (%s)" msgstr "Kann nicht auf '%s' umlenken (%s)." -#: io.c:849 +#: io.c:851 msgid "" "reached system limit for open files: starting to multiplex file descriptors" msgstr "" "Systemgrenze offener Dateien erreicht; beginne mit Multiplexing von " "Dateideskriptoren." -#: io.c:865 +#: io.c:867 #, c-format msgid "close of `%s' failed (%s)." msgstr "Schließen von '%s' gescheitert (%s)." -#: io.c:873 +#: io.c:875 msgid "too many pipes or input files open" msgstr "Zu viele Pipes oder Eingabedateien offen." -#: io.c:896 +#: io.c:898 msgid "close: second argument must be `to' or `from'" msgstr "close: Zweites Argument muss 'to' oder 'from' sein." -#: io.c:910 +#: io.c:912 #, c-format msgid "close: `%.*s' is not an open file, pipe or co-process" msgstr "close: '%.*s' ist keine offene Datei, Pipe oder Ko-Prozess." -#: io.c:915 +#: io.c:917 msgid "close of redirection that was never opened" msgstr "'close' für eine Umlenkung, die nie geöffnet wurde." -#: io.c:1012 +#: io.c:1014 #, c-format msgid "close: redirection `%s' not opened with `|&', second argument ignored" msgstr "" "close: Umlenkung '%s' nicht mit '[&' geöffnet, zweites Argument wird " "ignoriert." -#: io.c:1028 +#: io.c:1030 #, c-format msgid "failure status (%d) on pipe close of `%s' (%s)" msgstr "Fehlerstatus (%d) beim Schließen der Pipe '%s' (%s)." -#: io.c:1031 +#: io.c:1033 #, c-format msgid "failure status (%d) on file close of `%s' (%s)" msgstr "Fehlerstatus (%d) beim Schließen de rDatei '%s' (%s)." -#: io.c:1051 +#: io.c:1053 #, c-format msgid "no explicit close of socket `%s' provided" msgstr "Das explizite des Sockets '%s' fehlt." -#: io.c:1054 +#: io.c:1056 #, c-format msgid "no explicit close of co-process `%s' provided" msgstr "Das explizite Schließen des Ko-Prozesses '%s' fehlt." -#: io.c:1057 +#: io.c:1059 #, c-format msgid "no explicit close of pipe `%s' provided" msgstr "Das explizite Schließen der Pipe '%s' fehlt." -#: io.c:1060 +#: io.c:1062 #, c-format msgid "no explicit close of file `%s' provided" msgstr "Das explizite Schließen der Datei '%s' fehlt." -#: io.c:1088 io.c:1143 main.c:776 main.c:818 +#: io.c:1090 io.c:1145 main.c:781 main.c:823 #, c-format msgid "error writing standard output (%s)" msgstr "Fehler beim Schreiben auf stdout (%s)." -#: io.c:1092 io.c:1148 +#: io.c:1094 io.c:1150 #, c-format msgid "error writing standard error (%s)" msgstr "Fehler beim Schreiben auf stderr (%s)." -#: io.c:1100 +#: io.c:1102 #, c-format msgid "pipe flush of `%s' failed (%s)." msgstr "Leeren der Pipe '%s' gescheitert (%s)." -#: io.c:1103 +#: io.c:1105 #, c-format msgid "co-process flush of pipe to `%s' failed (%s)." msgstr "Ko-Prozess: Leeren der Pipe zu '%s' gescheitert (%s)." -#: io.c:1106 +#: io.c:1108 #, c-format msgid "file flush of `%s' failed (%s)." msgstr "Flush der Datei '%s' gescheitert (%s)." -#: io.c:1220 +#: io.c:1222 #, fuzzy, c-format msgid "local port %s invalid in `/inet'" msgstr "Lokaler Port in '%s' ist ungültig." -#: io.c:1237 +#: io.c:1239 #, c-format msgid "remote host and port information (%s, %s) invalid" msgstr "" -#: io.c:1272 +#: io.c:1274 msgid "/inet/raw client not ready yet, sorry" msgstr "/inet/raw Client noch nicht fertig." -#: io.c:1275 io.c:1311 +#: io.c:1277 io.c:1313 msgid "only root may use `/inet/raw'." msgstr "Nur root darf '/inet/raw' benutzen" -#: io.c:1309 +#: io.c:1311 msgid "/inet/raw server not ready yet, sorry" msgstr "'/inet/raw'-Server noch nicht fertig." -#: io.c:1407 +#: io.c:1409 #, c-format msgid "no (known) protocol supplied in special filename `%s'" msgstr "Kein bekanntes Protokoll in Dateinamen '%s' angegeben." -#: io.c:1421 +#: io.c:1423 #, c-format msgid "special file name `%s' is incomplete" msgstr "Dateiname '%s' ist unvollständig." -#: io.c:1436 +#: io.c:1438 msgid "must supply a remote hostname to `/inet'" msgstr "Sie müssen einen Rechnernamen in '/inet' angeben." -#: io.c:1454 +#: io.c:1456 msgid "must supply a remote port to `/inet'" msgstr "Sie müssen einen Port in '/inet' angeben." -#: io.c:1485 +#: io.c:1502 msgid "TCP/IP communications are not supported" msgstr "TCP/IP-Verbindungen sind nicht möglich." -#: io.c:1494 +#: io.c:1511 #, c-format msgid "file `%s' is a directory" msgstr "Datei '%s' ist ein Verzeichnis." -#: io.c:1555 +#: io.c:1572 #, c-format msgid "use `PROCINFO[\"%s\"]' instead of `%s'" msgstr "Benutzen Sie 'PROCINFO[\"%s\"]' statt '%s'" -#: io.c:1593 +#: io.c:1610 msgid "use `PROCINFO[...]' instead of `/dev/user'" msgstr "Benutzen Sie 'PROCINFO[...] statt '/dev/user'." -#: io.c:1658 io.c:1853 +#: io.c:1675 io.c:1872 #, c-format msgid "could not open `%s', mode `%s'" msgstr "Konnte '%s' nicht öffnen, Mode '%s'." -#: io.c:1904 +#: io.c:1923 #, fuzzy, c-format msgid "close of master pty failed (%s)" msgstr "Schließen der Pipe gescheitert (%s)." -#: io.c:1906 io.c:2058 io.c:2209 +#: io.c:1925 io.c:2077 io.c:2228 #, c-format msgid "close of stdout in child failed (%s)" msgstr "Schließen von stdout in Kindprozess gescheitert (%s)." -#: io.c:1909 +#: io.c:1928 #, fuzzy, c-format msgid "moving slave pty to stdout in child failed (dup: %s)" msgstr "Verschieben der Pipe zu stdout in Kindprozess gescheitert (dup: %s)." -#: io.c:1911 io.c:2063 +#: io.c:1930 io.c:2082 #, c-format msgid "close of stdin in child failed (%s)" msgstr "Schließen von stdin im Kindprozess gescheitert (%s)." -#: io.c:1914 +#: io.c:1933 #, fuzzy, c-format msgid "moving slave pty to stdin in child failed (dup: %s)" msgstr "Verschieben der Pipe zu stdin in Kindprozess gescheitert (dup: %s)." -#: io.c:1916 io.c:1935 +#: io.c:1935 io.c:1954 #, fuzzy, c-format msgid "close of slave pty failed (%s)" msgstr "Schließen der Pipe gescheitert (%s)." -#: io.c:2009 io.c:2061 io.c:2190 io.c:2212 +#: io.c:2028 io.c:2080 io.c:2209 io.c:2231 #, c-format msgid "moving pipe to stdout in child failed (dup: %s)" msgstr "Verschieben der Pipe zu stdout in Kindprozess gescheitert (dup: %s)." -#: io.c:2013 io.c:2066 +#: io.c:2032 io.c:2085 #, c-format msgid "moving pipe to stdin in child failed (dup: %s)" msgstr "Verschieben der Pipe zu stdin in Kindprozess gescheitert (dup: %s)." -#: io.c:2030 io.c:2203 +#: io.c:2049 io.c:2222 msgid "restoring stdout in parent process failed\n" msgstr "" -#: io.c:2035 +#: io.c:2054 msgid "restoring stdin in parent process failed\n" msgstr "" -#: io.c:2069 io.c:2214 io.c:2225 +#: io.c:2088 io.c:2233 io.c:2244 #, c-format msgid "close of pipe failed (%s)" msgstr "Schließen der Pipe gescheitert (%s)." -#: io.c:2114 +#: io.c:2133 msgid "`|&' not supported" msgstr "'|&' nicht möglich." -#: io.c:2180 +#: io.c:2199 #, c-format msgid "cannot open pipe `%s' (%s)" msgstr "Kann Pipe '%s' nicht öffnen (%s)." -#: io.c:2221 +#: io.c:2240 #, c-format msgid "cannot create child process for `%s' (fork: %s)" msgstr "Kann Kindprozess für '%s' nicht erzeugen (fork: %s)." -#: io.c:2603 +#: io.c:2622 #, c-format msgid "data file `%s' is empty" msgstr "Datei '%s' ist leer." -#: io.c:2644 io.c:2652 +#: io.c:2663 io.c:2671 msgid "could not allocate more input memory" msgstr "" -#: io.c:3020 io.c:3093 +#: io.c:3039 io.c:3112 #, c-format msgid "error reading input file `%s': %s" msgstr "Fehler beim Lesen der Eingabedatei '%s': %s." -#: io.c:3218 +#: io.c:3237 msgid "multicharacter value of `RS' is a gawk extension" msgstr "Multicharacter-Wert von 'RS' ist eine gawk-Erweiterung." -#: main.c:304 +#: main.c:306 msgid "out of memory" msgstr "Kein Speicher mehr." -#: main.c:373 +#: main.c:374 msgid "`-m[fr]' option irrelevant in gawk" msgstr "Option '-m[fr]' ist in gawk bedeutungslos." -#: main.c:375 +#: main.c:376 msgid "-m option usage: `-m[fr] nnn'" msgstr "Anwendung der Option -m: '-m[fr] nnn'" -#: main.c:392 +#: main.c:393 #, c-format msgid "%s: option `-W %s' unrecognized, ignored\n" msgstr "%s: Option '-W %s' unbekannt, ignoriert.\n" -#: main.c:433 +#: main.c:434 msgid "empty argument to `--source' ignored" msgstr "Leeres Argument für '--source' ignoriert." -#: main.c:487 +#: main.c:488 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s Option erfordert ein Argument -- %c.\n" -#: main.c:506 +#: main.c:509 msgid "environment variable `POSIXLY_CORRECT' set: turning on `--posix'" msgstr "" "Umgebungsvariable 'POSIXLY_CORRECT' ist gesetzt: '--posix' angeschaltet." -#: main.c:512 +#: main.c:515 msgid "`--posix' overrides `--traditional'" msgstr "'--posix' hat Vorrang vor '--traditional'" -#: main.c:523 +#: main.c:526 msgid "`--posix'/`--traditional' overrides `--non-decimal-data'" msgstr "'--posix' /'--traditional' hat Vorrang vor '--non-decimal-data'." -#: main.c:527 +#: main.c:530 #, fuzzy, c-format msgid "running %s setuid root may be a security problem" msgstr "%s als setuid root auszuführen, kann zu Sicherheitsproblemen führen." -#: main.c:568 +#: main.c:571 #, fuzzy, c-format msgid "can't set binary mode on stdin (%s)" msgstr "Kann Mode für stdin nicht setzen (%s)." -#: main.c:571 +#: main.c:574 #, fuzzy, c-format msgid "can't set binary mode on stdout (%s)" msgstr "Kann Mode für stdout nicht setzen (%s)." -#: main.c:573 +#: main.c:576 #, fuzzy, c-format msgid "can't set binary mode on stderr (%s)" msgstr "Kann Mode für stderr nicht setzen (%s)." -#: main.c:612 +#: main.c:617 msgid "no program text at all!" msgstr "Kein Programmtext." -#: main.c:716 +#: main.c:721 #, c-format msgid "Usage: %s [POSIX or GNU style options] -f progfile [--] file ...\n" msgstr "Anwendung: %s [POSIX- oder GNU-Optionen] -f PROGRAM [--] Datei ...\n" -#: main.c:718 +#: main.c:723 #, c-format msgid "Usage: %s [POSIX or GNU style options] [--] %cprogram%c file ...\n" msgstr "Anwendung: %s [POSIX- oder GNU-Optionen] -- %cPROGRAM%c Datei ...\n" -#: main.c:723 +#: main.c:728 msgid "POSIX options:\t\tGNU long options:\n" msgstr "POSIX-Optionen\t\tGNU-Optionen (lang):\n" -#: main.c:724 +#: main.c:729 msgid "\t-f progfile\t\t--file=progfile\n" msgstr "\t-f PROGRAM\t\t--file=PROGRAM\n" -#: main.c:725 +#: main.c:730 msgid "\t-F fs\t\t\t--field-separator=fs\n" msgstr "\t-F Feldtrenner\t\t\t--field-separator=Feldtrenner\n" -#: main.c:726 +#: main.c:731 msgid "\t-v var=val\t\t--assign=var=val\n" msgstr "\t-v var=Wert\t\t--assign=var=Wert\n" -#: main.c:727 +#: main.c:732 msgid "\t-m[fr] val\n" msgstr "\t-m[fr] Wert\n" -#: main.c:728 +#: main.c:733 msgid "\t-O\t\t\t--optimize\n" msgstr "" -#: main.c:729 +#: main.c:734 msgid "\t-W compat\t\t--compat\n" msgstr "\t-W compat\t\t--compat\n" -#: main.c:730 +#: main.c:735 msgid "\t-W copyleft\t\t--copyleft\n" msgstr "\t-W copyleft\t\t--copyleft\n" -#: main.c:731 +#: main.c:736 msgid "\t-W copyright\t\t--copyright\n" msgstr "\t-W copyright\t\t--copyright\n" -#: main.c:732 +#: main.c:737 msgid "\t-W dump-variables[=file]\t--dump-variables[=file]\n" msgstr "\t-W dump-variables[=Datei]\t--dump-variables[=Datei]\n" -#: main.c:733 +#: main.c:738 #, fuzzy msgid "\t-W exec=file\t\t--exec=file\n" msgstr "\t-W profile[=Datei]\t--profile[=Datei]\n" -#: main.c:734 +#: main.c:739 msgid "\t-W gen-po\t\t--gen-po\n" msgstr "\t-W gen-po\t\t--gen-po\n" -#: main.c:735 +#: main.c:740 msgid "\t-W help\t\t\t--help\n" msgstr "\t-W help\t\t\t--help\n" -#: main.c:736 +#: main.c:741 msgid "\t-W lint[=fatal]\t\t--lint[=fatal]\n" msgstr "\t-W lint[=fatal]\t\t--lint[=fatal]\n" -#: main.c:737 +#: main.c:742 msgid "\t-W lint-old\t\t--lint-old\n" msgstr "\t-W lint-old\t\t--lint-old\n" -#: main.c:738 +#: main.c:743 msgid "\t-W non-decimal-data\t--non-decimal-data\n" msgstr "\t-W non-decimal-data\t--non-decimal-data\n" -#: main.c:740 +#: main.c:745 msgid "\t-W nostalgia\t\t--nostalgia\n" msgstr "\t-W nostalgia\t\t--nostalgia\n" -#: main.c:743 +#: main.c:748 msgid "\t-W parsedebug\t\t--parsedebug\n" msgstr "\t-W parsedebug\t\t--parsedebug\n" -#: main.c:745 +#: main.c:750 msgid "\t-W profile[=file]\t--profile[=file]\n" msgstr "\t-W profile[=Datei]\t--profile[=Datei]\n" -#: main.c:746 +#: main.c:751 msgid "\t-W posix\t\t--posix\n" msgstr "\t-W posix\t\t--posix\n" -#: main.c:747 +#: main.c:752 msgid "\t-W re-interval\t\t--re-interval\n" msgstr "\t-W re-interval\t\t--re-interval\n" -#: main.c:748 +#: main.c:753 msgid "\t-W source=program-text\t--source=program-text\n" msgstr "\t-W source=Programmtext\t--source=Programmtext\n" -#: main.c:749 +#: main.c:754 msgid "\t-W traditional\t\t--traditional\n" msgstr "\t-W traditional\t\t--traditional\n" -#: main.c:750 +#: main.c:755 msgid "\t-W usage\t\t--usage\n" msgstr "\t-W usage\t\t--usage\n" -#: main.c:751 +#: main.c:756 msgid "\t-W use-lc-numeric\t--use-lc-numeric\n" msgstr "" -#: main.c:752 +#: main.c:757 msgid "\t-W version\t\t--version\n" msgstr "\t-W version\t\t--version\n" @@ -1648,7 +1661,7 @@ #. for this application. Please add _another line_ with the #. address for translation bugs. #. no-wrap -#: main.c:761 +#: main.c:766 #, fuzzy msgid "" "\n" @@ -1659,21 +1672,21 @@ "den Sie im Kapitel 'Reporting Problems and Bugs' in der \n" "gedruckten Version finden.\n" -#: main.c:765 +#: main.c:770 msgid "" "gawk is a pattern scanning and processing language.\n" "By default it reads standard input and writes standard output.\n" "\n" msgstr "" -#: main.c:769 +#: main.c:774 msgid "" "Examples:\n" "\tgawk '{ sum += $1 }; END { print sum }' file\n" "\tgawk -F: '{ print $1 }' /etc/passwd\n" msgstr "" -#: main.c:789 +#: main.c:794 #, fuzzy, c-format msgid "" "Copyright (C) 1989, 1991-%d Free Software Foundation.\n" @@ -1693,7 +1706,7 @@ "spätere Version.\n" "\n" -#: main.c:797 +#: main.c:802 msgid "" "This program is distributed in the hope that it will be useful,\n" "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" @@ -1707,7 +1720,7 @@ "GNU General Public License for more details.\n" "\n" -#: main.c:808 +#: main.c:813 #, fuzzy msgid "" "You should have received a copy of the GNU General Public License\n" @@ -1718,56 +1731,56 @@ "Software Foundation, Inc., 59 Temple Place - Suite 330, Boston MA 02111-" "1307, USA.\n" -#: main.c:843 +#: main.c:848 msgid "-Ft does not set FS to tab in POSIX awk" msgstr "-Ft setzt FS im POSIX-awk nicht auf Tab." -#: main.c:1117 +#: main.c:1122 #, c-format msgid "" "%s: `%s' argument to `-v' not in `var=value' form\n" "\n" msgstr "" -#: main.c:1137 +#: main.c:1142 #, c-format msgid "`%s' is not a legal variable name" msgstr "" -#: main.c:1140 +#: main.c:1145 #, c-format msgid "`%s' is not a variable name, looking for file `%s=%s'" msgstr "" -#: main.c:1179 +#: main.c:1184 msgid "floating point exception" msgstr "Floating point exception" -#: main.c:1186 +#: main.c:1191 msgid "fatal error: internal error" msgstr "Fataler Fehler: interner Fehler" -#: main.c:1200 +#: main.c:1206 #, fuzzy msgid "fatal error: internal error: segfault" msgstr "Fataler Fehler: interner Fehler" -#: main.c:1212 +#: main.c:1218 #, fuzzy msgid "fatal error: internal error: stack overflow" msgstr "Fataler Fehler: interner Fehler" -#: main.c:1261 +#: main.c:1268 #, c-format msgid "no pre-opened fd %d" msgstr "Kein geöffneter Dateideskriptor %d" -#: main.c:1268 +#: main.c:1275 #, c-format msgid "could not pre-open /dev/null for fd %d" msgstr "Konnte /dev/null nicht für Dateideskriptor %d öffnen." -#: main.c:1291 main.c:1300 +#: main.c:1298 main.c:1307 #, c-format msgid "could not find groups: %s" msgstr "Konnte Gruppen nicht finden: %s" @@ -1793,31 +1806,31 @@ msgid "can't convert string to float" msgstr "Kann String nicht in Gleitkommazahl konvertieren." -#: node.c:462 +#: node.c:465 msgid "backslash at end of string" msgstr "Backslash am String-Ende." -#: node.c:606 +#: node.c:609 #, fuzzy, c-format msgid "old awk does not support the `\\%c' escape sequence" msgstr "Das alte awk erlaubt den Operator '**' nicht." -#: node.c:657 +#: node.c:660 msgid "POSIX does not allow `\\x' escapes" msgstr "POSIX erlabut keine '\\x'-Escapes." -#: node.c:663 +#: node.c:666 msgid "no hex digits in `\\x' escape sequence" msgstr "Keine Hex-Ziffern in '\\x'-Escape." -#: node.c:685 +#: node.c:688 #, c-format msgid "" "hex escape \\x%.*s of %d characters probably not interpreted the way you " "expect" msgstr "" -#: node.c:700 +#: node.c:703 #, c-format msgid "escape sequence `\\%c' treated as plain `%c'" msgstr "Escape-Sequenz '\\%c' als '%c' behandelt." @@ -1827,31 +1840,31 @@ msgid "%s %s `%s': could not set close-on-exec: (fcntl: %s)" msgstr "%s %s '%s': Konnte close-on-exec nicht setzen: %s" -#: profile.c:93 +#: profile.c:94 #, c-format msgid "could not open `%s' for writing: %s" msgstr "Konnte '%s' nicht zum Schreiben öffnen: %s" -#: profile.c:453 +#: profile.c:457 #, fuzzy, c-format msgid "internal error: %s with null vname" msgstr "Interner Fehler: Node_var with null vname." -#: profile.c:517 +#: profile.c:521 msgid "# treated internally as `delete'" msgstr "" -#: profile.c:1069 +#: profile.c:1073 #, c-format msgid "# this is a dynamically loaded extension function" msgstr "" -#: profile.c:1100 +#: profile.c:1104 #, c-format msgid "\t# gawk profile, created %s\n" msgstr "\t# gawk-Profil, erzeugt %s\n" -#: profile.c:1103 +#: profile.c:1107 #, c-format msgid "" "\t# BEGIN block(s)\n" @@ -1860,7 +1873,7 @@ "\t# BEGIN block(s)\n" "\n" -#: profile.c:1113 +#: profile.c:1117 #, c-format msgid "" "\t# Rule(s)\n" @@ -1869,7 +1882,7 @@ "\t# Rule(s)\n" "\n" -#: profile.c:1119 +#: profile.c:1123 #, c-format msgid "" "\t# END block(s)\n" @@ -1878,7 +1891,7 @@ "\t# END block(s)\n" "\n" -#: profile.c:1139 +#: profile.c:1143 #, c-format msgid "" "\n" @@ -1887,91 +1900,88 @@ "\n" "\t# Functionen, alphabetisch sortiert\n" -#: profile.c:1400 +#: profile.c:1405 #, c-format msgid "unexpected type %s in prec_level" msgstr "Unerwarteter Typ %s in prec_level." -#: profile.c:1500 +#: profile.c:1527 #, fuzzy, c-format msgid "Unknown node type %s in pp_var" msgstr "Unbekannter Knotentyp %d" -#: regcomp.c:133 +#: regcomp.c:132 msgid "Success" msgstr "Erfolg" -#: regcomp.c:136 +#: regcomp.c:135 msgid "No match" msgstr "Kein Treffer" -#: regcomp.c:139 +#: regcomp.c:138 msgid "Invalid regular expression" msgstr "Ungültiger Regulärer Ausdruck." -#: regcomp.c:142 +#: regcomp.c:141 msgid "Invalid collation character" msgstr "Ungültiges Zeichen." -#: regcomp.c:145 +#: regcomp.c:144 msgid "Invalid character class name" msgstr "Ungültier Name für Zeichenklasse." -#: regcomp.c:148 +#: regcomp.c:147 msgid "Trailing backslash" msgstr "Angehängter Backslash" -#: regcomp.c:151 +#: regcomp.c:150 msgid "Invalid back reference" msgstr "Ungültige Referenze" -#: regcomp.c:154 +#: regcomp.c:153 msgid "Unmatched [ or [^" msgstr "[ oder [^ nicht geschlossen" -#: regcomp.c:157 +#: regcomp.c:156 msgid "Unmatched ( or \\(" msgstr "( oder \\( nicht geschlossen" -#: regcomp.c:160 +#: regcomp.c:159 msgid "Unmatched \\{" msgstr "\\{ nicht geschlossen" -#: regcomp.c:163 +#: regcomp.c:162 msgid "Invalid content of \\{\\}" msgstr "Ungültiger Inhalt von \\{\\}" -#: regcomp.c:166 +#: regcomp.c:165 msgid "Invalid range end" msgstr "Ungültiges Bereichsende" -#: regcomp.c:169 +#: regcomp.c:168 msgid "Memory exhausted" msgstr "Kein Speicher mehr." -#: regcomp.c:172 +#: regcomp.c:171 msgid "Invalid preceding regular expression" msgstr "Vorangehender Regulärer Ausdruck ist ungültig." -#: regcomp.c:175 +#: regcomp.c:174 msgid "Premature end of regular expression" msgstr "Vorzeitiges Ende des Regulären Ausdrucks." -#: regcomp.c:178 +#: regcomp.c:177 msgid "Regular expression too big" msgstr "Regulärer Ausdruck zu groß." -#: regcomp.c:181 +#: regcomp.c:180 msgid "Unmatched ) or \\)" msgstr ") oder \\) nicht geöffnet" -#: regcomp.c:700 +#: regcomp.c:699 msgid "No previous regular expression" msgstr "Kein vorangehender Regulärer Ausdruck." -#~ msgid "%s: illegal option -- %c\n" -#~ msgstr "%s: Illegale Option -- %c.\n" - #~ msgid "delete: illegal use of variable `%s' as array" #~ msgstr "delete: Benutzung der Variablen »%s« als Array ist nicht zulässig." @@ -1981,6 +1991,9 @@ #~ msgid "asort: second argument is not an array" #~ msgstr "asort: Zweites Argument ist kein array." +#~ msgid "%s: illegal option -- %c\n" +#~ msgstr "%s: Illegale Option -- %c.\n" + #~ msgid "" #~ "\n" #~ "To report bugs, see node `Bugs' in `gawk.info', which is\n" @@ -2045,6 +2058,10 @@ #~ msgid "function %s called\n" #~ msgstr "Funktion %s aufgerufen\n" +#~ msgid "can't open two way socket `%s' for input/output (%s)" +#~ msgstr "" +#~ "Kann bidirektionalen Socket '%s' nicht für Ein-/Ausgabe öffnen (%s)." + #~ msgid "remote port invalid in `%s'" #~ msgstr "Port-Angabe in '%s' ist ungültig." diff -urN gawk-3.1.7/po/es.po gawk-3.1.8/po/es.po --- gawk-3.1.7/po/es.po 2009-07-21 23:23:44.000000000 +0300 +++ gawk-3.1.8/po/es.po 2010-05-06 20:57:36.000000000 +0300 @@ -1,14 +1,14 @@ -# Mensajes en español para gawk-3.1.6d. -# Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. +# Mensajes en español para gawk-3.1.7i. +# Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. # This file is distributed under the same license as the gawk package. -# Cristian Othón Martínez Vera , 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009. +# Cristian Othón Martínez Vera , 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010. # msgid "" msgstr "" -"Project-Id-Version: gawk 3.1.6d\n" +"Project-Id-Version: gawk 3.1.7i\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2009-07-21 23:23+0300\n" -"PO-Revision-Date: 2009-06-24 09:29-0500\n" +"POT-Creation-Date: 2010-05-06 20:57+0300\n" +"PO-Revision-Date: 2010-04-30 12:18-0500\n" "Last-Translator: Cristian Othón Martínez Vera \n" "Language-Team: Spanish \n" "MIME-Version: 1.0\n" @@ -35,42 +35,42 @@ msgid "from %s" msgstr "desde %s" -#: array.c:514 +#: array.c:513 #, c-format -msgid "reference to uninitialized element `%s[\"%s\"]'" -msgstr "referencia al elemento sin inicializar `%s[\"%s\"]'" +msgid "reference to uninitialized element `%s[\"%.*s\"]'" +msgstr "referencia al elemento sin inicializar `%s[\"%.*s\"]'" -#: array.c:520 +#: array.c:519 #, c-format msgid "subscript of array `%s' is null string" msgstr "el subíndice de la matriz `%s' es la cadena nula" -#: array.c:624 +#: array.c:623 #, c-format msgid "delete: index `%s' not in array `%s'" msgstr "delete: el índice `%s' no está en la matriz `%s'" -#: array.c:793 +#: array.c:792 #, c-format msgid "%s: empty (null)\n" msgstr "%s: vacío (nulo)\n" -#: array.c:798 +#: array.c:797 #, c-format msgid "%s: empty (zero)\n" msgstr "%s: vacío (cero)\n" -#: array.c:802 +#: array.c:801 #, c-format msgid "%s: table_size = %d, array_size = %d\n" msgstr "%s: tamaño_tabla = %d, tamaño_matriz = %d\n" -#: array.c:831 +#: array.c:830 #, c-format msgid "%s: is parameter\n" msgstr "%s: es un parámetro\n" -#: array.c:836 +#: array.c:835 #, c-format msgid "%s: array_ref to %s\n" msgstr "%s: array_ref a %s\n" @@ -356,7 +356,7 @@ msgid "could not open `%s' for writing (%s)" msgstr "no se puede abrir `%s' para escritura (%s)" -#: awkgram.y:2748 profile.c:95 +#: awkgram.y:2748 profile.c:96 msgid "sending profile to standard error" msgstr "se envía el perfil a la salida estándar de error" @@ -416,7 +416,11 @@ "se llamó la función `%s' con espacio entre el nombre y el `(',\n" "o se usó como una variable o una matriz" -#: awkgram.y:3667 eval.c:1394 +#: awkgram.y:3664 +msgid "division by zero attempted in `/'" +msgstr "se intentó una división por cero en `/'" + +#: awkgram.y:3669 eval.c:1394 #, c-format msgid "division by zero attempted in `%%'" msgstr "se intentó una división por cero en `%%'" @@ -478,174 +482,178 @@ msgid "`length(array)' is a gawk extension" msgstr "`length(array)' es una extensión de gawk" -#: builtin.c:473 +#: builtin.c:471 +msgid "length: untyped parameter argument will be forced to scalar" +msgstr "length: un argumento de parámetro sin tipo se forzará a escalar" + +#: builtin.c:480 msgid "length: untyped argument will be forced to scalar" msgstr "length: un argumento sin tipo se forzará a escalar" -#: builtin.c:477 +#: builtin.c:484 msgid "length: received non-string argument" msgstr "length: se recibió un argumento que no es una cadena" -#: builtin.c:508 +#: builtin.c:515 msgid "log: received non-numeric argument" msgstr "log: se recibió un argumento que no es un número" -#: builtin.c:511 +#: builtin.c:518 #, c-format msgid "log: received negative argument %g" msgstr "log: se recibió el argumento negativo %g" -#: builtin.c:719 builtin.c:722 +#: builtin.c:726 builtin.c:729 msgid "must use `count$' on all formats or none" msgstr "se debe utilizar `count$' en todos los formatos o en ninguno" -#: builtin.c:783 +#: builtin.c:790 #, c-format msgid "field width is ignored for `%%%%' specifier" msgstr "se descarta la anchura del campo para el especificador `%%%%'" -#: builtin.c:785 +#: builtin.c:792 #, c-format msgid "precision is ignored for `%%%%' specifier" msgstr "se descarta la precisión para el especificador `%%%%'" -#: builtin.c:787 +#: builtin.c:794 #, c-format msgid "field width and precision are ignored for `%%%%' specifier" msgstr "" "se descartan la anchura del campo y la precisión para el especificador `%%%%'" -#: builtin.c:838 +#: builtin.c:845 msgid "`$' is not permitted in awk formats" msgstr "no se permite `$' en los formatos de awk" -#: builtin.c:844 +#: builtin.c:851 msgid "arg count with `$' must be > 0" msgstr "la cuenta de argumentos con `$' debe ser > 0" -#: builtin.c:846 +#: builtin.c:853 #, c-format msgid "arg count %ld greater than total number of supplied arguments" msgstr "" "la cuenta de argumentos %ld es mayor que el número total de argumentos " "proporcionados" -#: builtin.c:848 +#: builtin.c:855 msgid "`$' not permitted after period in format" msgstr "no se permite `$' después de un punto en el formato" -#: builtin.c:861 +#: builtin.c:868 msgid "no `$' supplied for positional field width or precision" msgstr "" "no se proporciona `$' para el ancho o la precisión del campo posicional" -#: builtin.c:927 +#: builtin.c:938 msgid "`l' is meaningless in awk formats; ignored" msgstr "`l' no tiene significado en los formatos de awk; se descarta" -#: builtin.c:931 +#: builtin.c:942 msgid "`l' is not permitted in POSIX awk formats" msgstr "no se permite `l' en los formatos POSIX de awk" -#: builtin.c:942 +#: builtin.c:953 msgid "`L' is meaningless in awk formats; ignored" msgstr "`L' no tiene significado en los formatos de awk; se descarta" -#: builtin.c:946 +#: builtin.c:957 msgid "`L' is not permitted in POSIX awk formats" msgstr "no se permite `L' en los formatos POSIX de awk" -#: builtin.c:957 +#: builtin.c:968 msgid "`h' is meaningless in awk formats; ignored" msgstr "`h' no tiene significado en los formatos de awk; se descarta" -#: builtin.c:961 +#: builtin.c:972 msgid "`h' is not permitted in POSIX awk formats" msgstr "no se permite `h' en los formatos POSIX de awk" -#: builtin.c:1236 +#: builtin.c:1252 #, c-format msgid "[s]printf: value %g is out of range for `%%%c' format" msgstr "[s]printf: el valor %g está fuera del rango para el formato `%%%c'" -#: builtin.c:1316 +#: builtin.c:1332 #, c-format msgid "ignoring unknown format specifier character `%c': no argument converted" msgstr "" "se descarta el carácter especificador de formato `%c' desconocido: no se " "convirtió ningún argumento" -#: builtin.c:1322 +#: builtin.c:1338 msgid "not enough arguments to satisfy format string" msgstr "no hay suficientes argumentos para satisfacer a la cadena de formato" -#: builtin.c:1324 +#: builtin.c:1340 msgid "^ ran out for this one" msgstr "se acabó ^ para éste" -#: builtin.c:1330 +#: builtin.c:1346 msgid "[s]printf: format specifier does not have control letter" msgstr "[s]printf: el especificador de formato no tiene letras de control" -#: builtin.c:1333 +#: builtin.c:1349 msgid "too many arguments supplied for format string" msgstr "se proporcionaron demasiados argumentos para la cadena de formato" -#: builtin.c:1408 builtin.c:1411 +#: builtin.c:1424 builtin.c:1427 msgid "printf: no arguments" msgstr "printf: sin argumentos" -#: builtin.c:1435 +#: builtin.c:1451 msgid "sqrt: received non-numeric argument" msgstr "sqrt: se recibió un argumento que no es un número" -#: builtin.c:1439 +#: builtin.c:1455 #, c-format msgid "sqrt: called with negative argument %g" msgstr "sqrt: se llamó con el argumento negativo %g" -#: builtin.c:1463 +#: builtin.c:1479 #, c-format msgid "substr: start index %g is invalid, using 1" msgstr "substr: el índice de inicio %g es inválido, se usa 1" -#: builtin.c:1468 +#: builtin.c:1484 #, c-format msgid "substr: non-integer start index %g will be truncated" msgstr "substr: se truncará el índice de inicio no entero %g" -#: builtin.c:1494 +#: builtin.c:1510 #, c-format msgid "substr: length %g is not >= 1" msgstr "substr: la longitud %g no es >= 1" -#: builtin.c:1496 +#: builtin.c:1512 #, c-format msgid "substr: length %g is not >= 0" msgstr "substr: la longitud %g no es >= 0" -#: builtin.c:1503 +#: builtin.c:1519 #, c-format msgid "substr: non-integer length %g will be truncated" msgstr "substr: se truncará la longitud no entera %g" -#: builtin.c:1508 +#: builtin.c:1524 #, c-format msgid "substr: length %g too big for string indexing, truncating to %g" msgstr "" "substr: la longitud %g es demasiado grande para ser índice de cadena, se " "trunca a %g" -#: builtin.c:1520 +#: builtin.c:1536 msgid "substr: source string is zero length" msgstr "substr: la cadena de origen es de longitud cero" -#: builtin.c:1536 +#: builtin.c:1552 #, c-format msgid "substr: start index %g is past end of string" msgstr "substr: el índice de inicio %g está después del fin de la cadena" -#: builtin.c:1544 +#: builtin.c:1560 #, c-format msgid "" "substr: length %g at start index %g exceeds length of first argument (%lu)" @@ -653,186 +661,191 @@ "substr: la cadena %g en el índice de inicio %g excede la longitud del primer " "argumento (%lu)" -#: builtin.c:1621 +#: builtin.c:1637 msgid "strftime: received non-string first argument" msgstr "strftime: el primer argumento recibido no es una cadena" -#: builtin.c:1627 +#: builtin.c:1643 msgid "strftime: received empty format string" msgstr "strftime: se recibió una cadena de formato vacía" -#: builtin.c:1636 +#: builtin.c:1652 msgid "strftime: received non-numeric second argument" msgstr "strftime: el segundo argumento recibido no es un número" -#: builtin.c:1713 +#: builtin.c:1729 msgid "mktime: received non-string argument" msgstr "mktime: se recibió un argumento que no es una cadena" -#: builtin.c:1758 +#: builtin.c:1746 +msgid "mktime: at least one of the values is out of the default range" +msgstr "" +"mktime: por lo menos uno de los valores está fuera del rango por defecto" + +#: builtin.c:1783 msgid "system: received non-string argument" msgstr "system: se recibió un argumento que no es una cadena" -#: builtin.c:1879 eval.c:2145 +#: builtin.c:1904 eval.c:2157 #, c-format msgid "reference to uninitialized field `$%d'" msgstr "referencia al campo sin inicializar `$%d'" -#: builtin.c:1984 +#: builtin.c:2009 msgid "tolower: received non-string argument" msgstr "tolower: se recibió un argumento que no es una cadena" -#: builtin.c:2014 +#: builtin.c:2039 msgid "toupper: received non-string argument" msgstr "toupper: se recibió un argumento que no es una cadena" -#: builtin.c:2047 +#: builtin.c:2072 msgid "atan2: received non-numeric first argument" msgstr "atan2: el primer argumento recibido no es un número" -#: builtin.c:2049 +#: builtin.c:2074 msgid "atan2: received non-numeric second argument" msgstr "atan2: el segundo argumento recibido no es un número" -#: builtin.c:2068 +#: builtin.c:2093 msgid "sin: received non-numeric argument" msgstr "sin: se recibió un argumento que no es un número" -#: builtin.c:2084 +#: builtin.c:2109 msgid "cos: received non-numeric argument" msgstr "cos: se recibió un argumento que no es un número" -#: builtin.c:2137 +#: builtin.c:2162 msgid "srand: received non-numeric argument" msgstr "srand: se recibió un argumento que no es un número" -#: builtin.c:2172 +#: builtin.c:2197 msgid "match: third argument is not an array" msgstr "match: el tercer argumento no es una matriz" -#: builtin.c:2719 +#: builtin.c:2744 msgid "gensub: third argument of 0 treated as 1" msgstr "gensub: el tercer argumento de 0 se trata como 1" -#: builtin.c:2835 +#: builtin.c:2860 msgid "lshift: received non-numeric first argument" msgstr "lshift: el primer argumento recibido no es un número" -#: builtin.c:2837 +#: builtin.c:2862 msgid "lshift: received non-numeric second argument" msgstr "lshift: el segundo argumento recibido no es un número" -#: builtin.c:2843 +#: builtin.c:2868 #, c-format msgid "lshift(%lf, %lf): negative values will give strange results" msgstr "lshift(%lf, %lf): los valores negativos darán resultados extraños" -#: builtin.c:2845 +#: builtin.c:2870 #, c-format msgid "lshift(%lf, %lf): fractional values will be truncated" msgstr "lshift(%lf, %lf): los valores fraccionarios se truncarán" -#: builtin.c:2847 +#: builtin.c:2872 #, c-format msgid "lshift(%lf, %lf): too large shift value will give strange results" msgstr "" "lshift(%lf, %lf): un valor de desplazamiento muy grande dará resultados " "extraños" -#: builtin.c:2873 +#: builtin.c:2898 msgid "rshift: received non-numeric first argument" msgstr "rshift: el primer argumento recibido no es un número" -#: builtin.c:2875 +#: builtin.c:2900 msgid "rshift: received non-numeric second argument" msgstr "rshift: el segundo argumento recibido no es un número" -#: builtin.c:2881 +#: builtin.c:2906 #, c-format msgid "rshift(%lf, %lf): negative values will give strange results" msgstr "rshift(%lf, %lf): los valores negativos darán resultados extraños" -#: builtin.c:2883 +#: builtin.c:2908 #, c-format msgid "rshift(%lf, %lf): fractional values will be truncated" msgstr "rshift(%lf, %lf): los valores fraccionarios serán truncados" -#: builtin.c:2885 +#: builtin.c:2910 #, c-format msgid "rshift(%lf, %lf): too large shift value will give strange results" msgstr "" "rshift(%lf, %lf): un valor de desplazamiento muy grande dará resultados " "extraños" -#: builtin.c:2911 +#: builtin.c:2936 msgid "and: received non-numeric first argument" msgstr "and: el primer argumento recibido no es un número" -#: builtin.c:2913 +#: builtin.c:2938 msgid "and: received non-numeric second argument" msgstr "and: el segundo argumento recibido no es un número" -#: builtin.c:2919 +#: builtin.c:2944 #, c-format msgid "and(%lf, %lf): negative values will give strange results" msgstr "and(%lf, %lf): los valores negativos darán resultados extraños" -#: builtin.c:2921 +#: builtin.c:2946 #, c-format msgid "and(%lf, %lf): fractional values will be truncated" msgstr "and(%lf, %lf): los valores fraccionarios serán truncados" -#: builtin.c:2947 +#: builtin.c:2972 msgid "or: received non-numeric first argument" msgstr "or: el primer argumento recibido no es un número" -#: builtin.c:2949 +#: builtin.c:2974 msgid "or: received non-numeric second argument" msgstr "or: el segundo argumento recibido no es un número" -#: builtin.c:2955 +#: builtin.c:2980 #, c-format msgid "or(%lf, %lf): negative values will give strange results" msgstr "or(%lf, %lf): los valores negativos darán resultados extraños" -#: builtin.c:2957 +#: builtin.c:2982 #, c-format msgid "or(%lf, %lf): fractional values will be truncated" msgstr "or(%lf, %lf): los valores fraccionarios serán truncados" -#: builtin.c:2983 +#: builtin.c:3008 msgid "xor: received non-numeric first argument" msgstr "xor: el primer argumento recibido no es un número" -#: builtin.c:2985 +#: builtin.c:3010 msgid "xor: received non-numeric second argument" msgstr "xor: el segundo argumento recibido no es un número" -#: builtin.c:2991 +#: builtin.c:3016 #, c-format msgid "xor(%lf, %lf): negative values will give strange results" msgstr "xor(%lf, %lf): los valores negativos darán resultados extraños" -#: builtin.c:2993 +#: builtin.c:3018 #, c-format msgid "xor(%lf, %lf): fractional values will be truncated" msgstr "xor(%lf, %lf): los valores fraccionarios se truncarán" -#: builtin.c:3017 +#: builtin.c:3042 msgid "compl: received non-numeric argument" msgstr "compl: se recibió un argumento que no es un número" -#: builtin.c:3023 +#: builtin.c:3048 #, c-format msgid "compl(%lf): negative value will give strange results" msgstr "compl(%lf): el valor negativo dará resultados extraños" -#: builtin.c:3025 +#: builtin.c:3050 #, c-format msgid "compl(%lf): fractional value will be truncated" msgstr "compl(%lf): el valor fraccionario se truncará" -#: builtin.c:3198 +#: builtin.c:3223 #, c-format msgid "dcgettext: `%s' is not a valid locale category" msgstr "dcgettext: `%s' no es una categoría local válida" @@ -846,7 +859,7 @@ msgid "buffer overflow in genflags2str" msgstr "desbordamiento de almacenamiento temporal en genflags2str" -#: eval.c:454 eval.c:460 profile.c:781 +#: eval.c:454 eval.c:460 profile.c:785 #, c-format msgid "attempt to use array `%s' in a scalar context" msgstr "se intentó usar la matriz `%s' en un contexto escalar" @@ -894,7 +907,7 @@ msgid "statement has no effect" msgstr "la declaración no tiene efecto" -#: eval.c:1029 eval.c:1999 +#: eval.c:1029 eval.c:2011 #, c-format msgid "can't use function name `%s' as variable or array" msgstr "no se puede usar el nombre de la función `%s' como variable o matriz" @@ -904,7 +917,7 @@ msgid "reference to uninitialized argument `%s'" msgstr "referencia al argumento sin inicializar `%s'" -#: eval.c:1051 eval.c:2008 +#: eval.c:1051 eval.c:2020 #, c-format msgid "reference to uninitialized variable `%s'" msgstr "referencia a la variable sin inicializar `%s'" @@ -925,7 +938,7 @@ msgid "division by zero attempted" msgstr "se intentó una división por cero" -#: eval.c:1409 profile.c:657 +#: eval.c:1409 profile.c:661 #, c-format msgid "illegal type (%s) in tree_eval" msgstr "tipo ilegal (%s) en tree_eval" @@ -939,17 +952,17 @@ msgid "division by zero attempted in `%%='" msgstr "se intentó una división por cero en `%%='" -#: eval.c:1859 +#: eval.c:1871 #, c-format msgid "function `%s' called with more arguments than declared" msgstr "se llamó a la función `%s' con más argumentos de los declarados" -#: eval.c:1904 +#: eval.c:1916 #, c-format msgid "function `%s' not defined" msgstr "la función `%s' no está definida" -#: eval.c:1971 +#: eval.c:1983 #, c-format msgid "" "\n" @@ -960,47 +973,47 @@ "\t# Pila de Llamadas de Funciones:\n" "\n" -#: eval.c:1974 +#: eval.c:1986 #, c-format msgid "\t# -- main --\n" msgstr "\t# -- principal --\n" -#: eval.c:2129 +#: eval.c:2141 msgid "attempt to field reference from non-numeric value" msgstr "se intentó una referencia de campo desde un valor que no es un número" -#: eval.c:2131 +#: eval.c:2143 msgid "attempt to reference from null string" msgstr "se intentó una referencia desde una cadena nula" -#: eval.c:2137 +#: eval.c:2149 #, c-format msgid "attempt to access field %d" msgstr "se intentó accesar al campo %d" -#: eval.c:2158 eval.c:2165 profile.c:836 +#: eval.c:2170 eval.c:2177 profile.c:840 msgid "assignment is not allowed to result of builtin function" msgstr "no se permite la asignación como resultado de una función interna" -#: eval.c:2229 +#: eval.c:2241 msgid "`IGNORECASE' is a gawk extension" msgstr "`IGNORECASE' es una extensión de gawk" -#: eval.c:2258 +#: eval.c:2270 msgid "`BINMODE' is a gawk extension" msgstr "`BINMODE' es una extensión de gawk" -#: eval.c:2316 +#: eval.c:2328 #, c-format msgid "BINMODE value `%s' is invalid, treated as 3" msgstr "el valor BINMODE `%s' es inválido; se trata como 3" -#: eval.c:2406 +#: eval.c:2418 #, c-format msgid "bad `%sFMT' specification `%s'" msgstr "especificación `%sFMT' `%s' errónea" -#: eval.c:2484 +#: eval.c:2496 msgid "turning off `--lint' due to assignment to `LINT'" msgstr "se desactiva `--lint' debido a una asignación a `LINT'" @@ -1106,56 +1119,61 @@ msgid "old awk does not support regexps as value of `FS'" msgstr "el awk antiguo no admite expresiones regulares como valor de `FS'" -#: getopt.c:570 getopt.c:586 +#: getopt.c:574 getopt.c:590 #, c-format msgid "%s: option '%s' is ambiguous\n" msgstr "%s: la opción '%s' es ambigua\n" -#: getopt.c:619 getopt.c:623 +#: getopt.c:623 getopt.c:627 #, c-format msgid "%s: option '--%s' doesn't allow an argument\n" msgstr "%s: la opción '--%s' no admite ningún argumento\n" -#: getopt.c:632 getopt.c:637 +#: getopt.c:636 getopt.c:641 #, c-format msgid "%s: option '%c%s' doesn't allow an argument\n" msgstr "%s: la opción '%c%s' no admite ningún argumento\n" -#: getopt.c:680 getopt.c:699 getopt.c:1002 getopt.c:1021 +#: getopt.c:684 getopt.c:703 #, c-format -msgid "%s: option '%s' requires an argument\n" -msgstr "%s: la opción '%s' requiere un argumento\n" +msgid "%s: option '--%s' requires an argument\n" +msgstr "%s: la opción '--%s' requiere un argumento\n" -#: getopt.c:737 getopt.c:740 +#: getopt.c:741 getopt.c:744 #, c-format msgid "%s: unrecognized option '--%s'\n" msgstr "%s: no se reconoce la opción '--%s'\n" -#: getopt.c:748 getopt.c:751 +#: getopt.c:752 getopt.c:755 #, c-format msgid "%s: unrecognized option '%c%s'\n" msgstr "%s: no se reconoce la opción '%c%s'\n" -#: getopt.c:800 getopt.c:803 +#: getopt.c:804 getopt.c:807 #, c-format msgid "%s: invalid option -- '%c'\n" msgstr "%s: opción inválida -- '%c'\n" -#: getopt.c:853 getopt.c:870 getopt.c:1073 getopt.c:1091 +#: getopt.c:857 getopt.c:874 getopt.c:1082 getopt.c:1100 #, c-format msgid "%s: option requires an argument -- '%c'\n" msgstr "%s: la opción requiere un argumento -- '%c'\n" -#: getopt.c:923 getopt.c:939 +#: getopt.c:930 getopt.c:946 #, c-format msgid "%s: option '-W %s' is ambiguous\n" msgstr "%s: la opción '-W %s' es ambigua\n" -#: getopt.c:963 getopt.c:981 +#: getopt.c:970 getopt.c:988 #, c-format msgid "%s: option '-W %s' doesn't allow an argument\n" msgstr "%s: la opción '-W %s' no admite ningún argumento\n" +#: getopt.c:1009 getopt.c:1027 +#, c-format +msgid "%s: option '-W %s' requires an argument\n" +msgstr "%s: la opción '-W %s' requiere un argumento\n" + #: io.c:322 io.c:352 #, c-format msgid "cannot open file `%s' for reading (%s)" @@ -1203,454 +1221,448 @@ msgid "can't open pipe `%s' for input (%s)" msgstr "no se puede abrir la tubería `%s' para la entrada (%s)" -#: io.c:712 -#, c-format -msgid "can't open two way socket `%s' for input/output (%s)" -msgstr "" -"no se puede abrir el `socket' de dos vías `%s' para entrada/salida (%s)" - -#: io.c:716 +#: io.c:717 #, c-format msgid "can't open two way pipe `%s' for input/output (%s)" msgstr "no se puede abrir la tubería de dos vías `%s' para entrada/salida (%s)" -#: io.c:793 +#: io.c:795 #, c-format msgid "can't redirect from `%s' (%s)" msgstr "no se puede redirigir desde `%s' (%s)" -#: io.c:796 +#: io.c:798 #, c-format msgid "can't redirect to `%s' (%s)" msgstr "no se puede redirigir a `%s' (%s)" -#: io.c:849 +#: io.c:851 msgid "" "reached system limit for open files: starting to multiplex file descriptors" msgstr "" "se alcanzó el límite del sistema para ficheros abiertos: comenzando a " "multiplexar los descriptores de fichero" -#: io.c:865 +#: io.c:867 #, c-format msgid "close of `%s' failed (%s)." msgstr "falló al cerrar `%s' (%s)." -#: io.c:873 +#: io.c:875 msgid "too many pipes or input files open" msgstr "demasiadas tuberías o ficheros de entrada abiertos" -#: io.c:896 +#: io.c:898 msgid "close: second argument must be `to' or `from'" msgstr "close: el segundo argumento debe ser `to' o `from'" -#: io.c:910 +#: io.c:912 #, c-format msgid "close: `%.*s' is not an open file, pipe or co-process" msgstr "close: `%.*s' no es un fichero abierto, tubería o co-proceso" -#: io.c:915 +#: io.c:917 msgid "close of redirection that was never opened" msgstr "cerrado de una redirección que nunca fue abierta" -#: io.c:1012 +#: io.c:1014 #, c-format msgid "close: redirection `%s' not opened with `|&', second argument ignored" msgstr "" "close: la redirección `%s' no se abre con `|&', se ignoró el segundo " "argumento" -#: io.c:1028 +#: io.c:1030 #, c-format msgid "failure status (%d) on pipe close of `%s' (%s)" msgstr "estado de fallo (%d) al cerrar la tubería de `%s' (%s)" -#: io.c:1031 +#: io.c:1033 #, c-format msgid "failure status (%d) on file close of `%s' (%s)" msgstr "estado de fallo (%d) al cerrar el fichero de `%s' (%s)" -#: io.c:1051 +#: io.c:1053 #, c-format msgid "no explicit close of socket `%s' provided" msgstr "no se provee el cerrado explícito del `socket' `%s'" -#: io.c:1054 +#: io.c:1056 #, c-format msgid "no explicit close of co-process `%s' provided" msgstr "no se provee el cerrado explícito del co-proceso `%s'" -#: io.c:1057 +#: io.c:1059 #, c-format msgid "no explicit close of pipe `%s' provided" msgstr "no se provee el cerrado explícito del la tubería `%s'" -#: io.c:1060 +#: io.c:1062 #, c-format msgid "no explicit close of file `%s' provided" msgstr "no se provee el cerrado explícito del fichero `%s'" -#: io.c:1088 io.c:1143 main.c:776 main.c:818 +#: io.c:1090 io.c:1145 main.c:781 main.c:823 #, c-format msgid "error writing standard output (%s)" msgstr "error al escribir en la salida estándar (%s)" -#: io.c:1092 io.c:1148 +#: io.c:1094 io.c:1150 #, c-format msgid "error writing standard error (%s)" msgstr "error al escribir en la salida estándar de error (%s)" -#: io.c:1100 +#: io.c:1102 #, c-format msgid "pipe flush of `%s' failed (%s)." msgstr "falló la limpieza de la tubería de `%s' (%s)." -#: io.c:1103 +#: io.c:1105 #, c-format msgid "co-process flush of pipe to `%s' failed (%s)." msgstr "falló la limpieza del co-proceso de la tubería a `%s' (%s)." -#: io.c:1106 +#: io.c:1108 #, c-format msgid "file flush of `%s' failed (%s)." msgstr "falló la limpieza del fichero de `%s' (%s)." -#: io.c:1220 +#: io.c:1222 #, c-format msgid "local port %s invalid in `/inet'" msgstr "puerto local %s inválido en `/inet'" -#: io.c:1237 +#: io.c:1239 #, c-format msgid "remote host and port information (%s, %s) invalid" msgstr "anfitrión remoto e información de puerto (%s, %s) inválidos" -#: io.c:1272 +#: io.c:1274 msgid "/inet/raw client not ready yet, sorry" msgstr "el cliente /inet/raw no está listo aún, perdón" -#: io.c:1275 io.c:1311 +#: io.c:1277 io.c:1313 msgid "only root may use `/inet/raw'." msgstr "sólo root puede utilizar `/inet/raw'." -#: io.c:1309 +#: io.c:1311 msgid "/inet/raw server not ready yet, sorry" msgstr "el servidor /inet/raw no está listo aún, perdón" -#: io.c:1407 +#: io.c:1409 #, c-format msgid "no (known) protocol supplied in special filename `%s'" msgstr "" "no se proporciona algún protocolo (conocido) en el nombre de fichero " "especial `%s'" -#: io.c:1421 +#: io.c:1423 #, c-format msgid "special file name `%s' is incomplete" msgstr "el nombre de fichero especial `%s' está incompleto" -#: io.c:1436 +#: io.c:1438 msgid "must supply a remote hostname to `/inet'" msgstr "se debe proporcionar a `/inet' un nombre de anfitrión remoto" -#: io.c:1454 +#: io.c:1456 msgid "must supply a remote port to `/inet'" msgstr "se debe proporcionar a `/inet' un puerto remoto" -#: io.c:1485 +#: io.c:1502 msgid "TCP/IP communications are not supported" msgstr "No se admiten las comunicaciones TCP/IP" -#: io.c:1494 +#: io.c:1511 #, c-format msgid "file `%s' is a directory" msgstr "el fichero `%s' es un directorio" -#: io.c:1555 +#: io.c:1572 #, c-format msgid "use `PROCINFO[\"%s\"]' instead of `%s'" msgstr "use `PROCINFO[\"%s\"]' en lugar de `%s'" -#: io.c:1593 +#: io.c:1610 msgid "use `PROCINFO[...]' instead of `/dev/user'" msgstr "use `PROCINFO[...]' en lugar de `/dev/user'" -#: io.c:1658 io.c:1853 +#: io.c:1675 io.c:1872 #, c-format msgid "could not open `%s', mode `%s'" msgstr "no se puede abrir `%s', modo `%s'" -#: io.c:1904 +#: io.c:1923 #, c-format msgid "close of master pty failed (%s)" msgstr "falló al cerrar el pty maestro (%s)" -#: io.c:1906 io.c:2058 io.c:2209 +#: io.c:1925 io.c:2077 io.c:2228 #, c-format msgid "close of stdout in child failed (%s)" msgstr "falló al cerrar la salida estándar en el hijo (%s)" -#: io.c:1909 +#: io.c:1928 #, c-format msgid "moving slave pty to stdout in child failed (dup: %s)" msgstr "" "falló el movimiento del pty esclavo a la salida estándar en el hijo (dup: %s)" -#: io.c:1911 io.c:2063 +#: io.c:1930 io.c:2082 #, c-format msgid "close of stdin in child failed (%s)" msgstr "falló al cerrar la entrada estándar en el hijo (%s)" -#: io.c:1914 +#: io.c:1933 #, c-format msgid "moving slave pty to stdin in child failed (dup: %s)" msgstr "" "falló el movimiento del pty esclavo a la entrada estándar en el hijo (dup: %" "s)" -#: io.c:1916 io.c:1935 +#: io.c:1935 io.c:1954 #, c-format msgid "close of slave pty failed (%s)" msgstr "falló al cerrar el pty esclavo (%s)" -#: io.c:2009 io.c:2061 io.c:2190 io.c:2212 +#: io.c:2028 io.c:2080 io.c:2209 io.c:2231 #, c-format msgid "moving pipe to stdout in child failed (dup: %s)" msgstr "falló el movimiento a la salida estándar en el hijo (dup: %s)" -#: io.c:2013 io.c:2066 +#: io.c:2032 io.c:2085 #, c-format msgid "moving pipe to stdin in child failed (dup: %s)" msgstr "" "falló el movimiento de la tubería a la entrada estándar en el hijo (dup: %s)" -#: io.c:2030 io.c:2203 +#: io.c:2049 io.c:2222 msgid "restoring stdout in parent process failed\n" msgstr "falló la restauración de la salida estándar en el proceso padre\n" -#: io.c:2035 +#: io.c:2054 msgid "restoring stdin in parent process failed\n" msgstr "falló la restauración de la entrada estándar en el proceso padre\n" -#: io.c:2069 io.c:2214 io.c:2225 +#: io.c:2088 io.c:2233 io.c:2244 #, c-format msgid "close of pipe failed (%s)" msgstr "falló al cerrar la tubería (%s)" -#: io.c:2114 +#: io.c:2133 msgid "`|&' not supported" msgstr "`|&' no se admite" -#: io.c:2180 +#: io.c:2199 #, c-format msgid "cannot open pipe `%s' (%s)" msgstr "no se puede abrir la tubería `%s' (%s)" -#: io.c:2221 +#: io.c:2240 #, c-format msgid "cannot create child process for `%s' (fork: %s)" msgstr "no se puede crear el proceso hijo para `%s' (fork: %s)" -#: io.c:2603 +#: io.c:2622 #, c-format msgid "data file `%s' is empty" msgstr "el fichero de datos `%s' está vacío" -#: io.c:2644 io.c:2652 +#: io.c:2663 io.c:2671 msgid "could not allocate more input memory" msgstr "no se puede reservar más memoria de entrada" -#: io.c:3020 io.c:3093 +#: io.c:3039 io.c:3112 #, c-format msgid "error reading input file `%s': %s" msgstr "error al leer el fichero de entrada `%s': %s" -#: io.c:3218 +#: io.c:3237 msgid "multicharacter value of `RS' is a gawk extension" msgstr "el valor multicaracter de `RS' es una extensión de gawk" -#: main.c:304 +#: main.c:306 msgid "out of memory" msgstr "memoria agotada" -#: main.c:373 +#: main.c:374 msgid "`-m[fr]' option irrelevant in gawk" msgstr "la opción -m[fr] es irrelevante en gawk" -#: main.c:375 +#: main.c:376 msgid "-m option usage: `-m[fr] nnn'" msgstr "uso de la opción -m: `-m[fr]' nnn" -#: main.c:392 +#: main.c:393 #, c-format msgid "%s: option `-W %s' unrecognized, ignored\n" msgstr "%s: no se reconoce la opción `-W %s', se ignora\n" -#: main.c:433 +#: main.c:434 msgid "empty argument to `--source' ignored" msgstr "se ignora el argumento vacío para `--source'" -#: main.c:487 +#: main.c:488 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: la opción requiere un argumento -- %c\n" -#: main.c:506 +#: main.c:509 msgid "environment variable `POSIXLY_CORRECT' set: turning on `--posix'" msgstr "" "la variable de ambiente `POSIXLY_CORRECT' está establecida: se activa `--" "posix'" -#: main.c:512 +#: main.c:515 msgid "`--posix' overrides `--traditional'" msgstr "`--posix' se impone a `--traditional'" -#: main.c:523 +#: main.c:526 msgid "`--posix'/`--traditional' overrides `--non-decimal-data'" msgstr "`--posix'/`--traditional' se imponen a `--non-decimal-data'" -#: main.c:527 +#: main.c:530 #, c-format msgid "running %s setuid root may be a security problem" msgstr "ejecutar %s como setuid root puede ser un problema de seguridad" -#: main.c:568 +#: main.c:571 #, c-format msgid "can't set binary mode on stdin (%s)" msgstr "no se puede establecer el modo binario en la entrada estándar (%s)" -#: main.c:571 +#: main.c:574 #, c-format msgid "can't set binary mode on stdout (%s)" msgstr "no se puede establecer el modo binario en la salida estándar (%s)" -#: main.c:573 +#: main.c:576 #, c-format msgid "can't set binary mode on stderr (%s)" msgstr "" "no se puede establecer el modo binario en la salida estándar de error (%s)" -#: main.c:612 +#: main.c:617 msgid "no program text at all!" msgstr "¡No hay ningún programa de texto!" -#: main.c:716 +#: main.c:721 #, c-format msgid "Usage: %s [POSIX or GNU style options] -f progfile [--] file ...\n" msgstr "" "Modo de empleo: %s [opciones estilo POSIX o GNU] -f fichprog [--] " "fichero ...\n" -#: main.c:718 +#: main.c:723 #, c-format msgid "Usage: %s [POSIX or GNU style options] [--] %cprogram%c file ...\n" msgstr "" "Modo de empleo: %s [opciones estilo POSIX o GNU] [--] %cprograma%c " "fichero ...\n" -#: main.c:723 +#: main.c:728 msgid "POSIX options:\t\tGNU long options:\n" msgstr "Opciones POSIX:\t\tOpciones largas GNU:\n" -#: main.c:724 +#: main.c:729 msgid "\t-f progfile\t\t--file=progfile\n" msgstr "\t-f fichprog\t\t--file=fichprog\n" -#: main.c:725 +#: main.c:730 msgid "\t-F fs\t\t\t--field-separator=fs\n" msgstr "\t-F sc\t\t\t--field-separator=sc\n" -#: main.c:726 +#: main.c:731 msgid "\t-v var=val\t\t--assign=var=val\n" msgstr "\t-v var=valor\t\t--assign=var=valor\n" -#: main.c:727 +#: main.c:732 msgid "\t-m[fr] val\n" msgstr "\t-m[fr] valor\n" -#: main.c:728 +#: main.c:733 msgid "\t-O\t\t\t--optimize\n" msgstr "\t-O\t\t\t--optimize\n" -#: main.c:729 +#: main.c:734 msgid "\t-W compat\t\t--compat\n" msgstr "\t-W compat\t\t--compat\n" -#: main.c:730 +#: main.c:735 msgid "\t-W copyleft\t\t--copyleft\n" msgstr "\t-W copyleft\t\t--copyleft\n" -#: main.c:731 +#: main.c:736 msgid "\t-W copyright\t\t--copyright\n" msgstr "\t-W copyright\t\t--copyright\n" -#: main.c:732 +#: main.c:737 msgid "\t-W dump-variables[=file]\t--dump-variables[=file]\n" msgstr "\t-W dump-variables[=fichero]\t--dump-variables[=fichero]\n" -#: main.c:733 +#: main.c:738 msgid "\t-W exec=file\t\t--exec=file\n" msgstr "\t-W exec=fichero\t\t--exec=fichero\n" -#: main.c:734 +#: main.c:739 msgid "\t-W gen-po\t\t--gen-po\n" msgstr "\t-W gen-po\t\t--gen-po\n" -#: main.c:735 +#: main.c:740 msgid "\t-W help\t\t\t--help\n" msgstr "\t-W help\t\t\t--help\n" -#: main.c:736 +#: main.c:741 msgid "\t-W lint[=fatal]\t\t--lint[=fatal]\n" msgstr "\t-W lint[=fatal]\t\t--lint[=fatal]\n" -#: main.c:737 +#: main.c:742 msgid "\t-W lint-old\t\t--lint-old\n" msgstr "\t-W lint-old\t\t--lint-old\n" -#: main.c:738 +#: main.c:743 msgid "\t-W non-decimal-data\t--non-decimal-data\n" msgstr "\t-W non-decimal-data\t--non-decimal-data\n" -#: main.c:740 +#: main.c:745 msgid "\t-W nostalgia\t\t--nostalgia\n" msgstr "\t-W nostalgia\t\t--nostalgia\n" -#: main.c:743 +#: main.c:748 msgid "\t-W parsedebug\t\t--parsedebug\n" msgstr "\t-W parsedebug\t\t--parsedebug\n" -#: main.c:745 +#: main.c:750 msgid "\t-W profile[=file]\t--profile[=file]\n" msgstr "\t-W profile[=fichero]\t--profile[=fichero]\n" -#: main.c:746 +#: main.c:751 msgid "\t-W posix\t\t--posix\n" msgstr "\t-W posix\t\t--posix\n" -#: main.c:747 +#: main.c:752 msgid "\t-W re-interval\t\t--re-interval\n" msgstr "\t-W re-interval\t\t--re-interval\n" # Esta es la línea más larga de la lista de argumentos. # Probar con gawk para revisar tabuladores. cfuga -#: main.c:748 +#: main.c:753 msgid "\t-W source=program-text\t--source=program-text\n" msgstr "\t-W source=texto-prog\t--source=texto-prog\n" -#: main.c:749 +#: main.c:754 msgid "\t-W traditional\t\t--traditional\n" msgstr "\t-W traditional\t\t--traditional\n" -#: main.c:750 +#: main.c:755 msgid "\t-W usage\t\t--usage\n" msgstr "\t-W usage\t\t--usage\n" -#: main.c:751 +#: main.c:756 msgid "\t-W use-lc-numeric\t--use-lc-numeric\n" msgstr "\t-W use-lc-numeric\t--use-lc-numeric\n" -#: main.c:752 +#: main.c:757 msgid "\t-W version\t\t--version\n" msgstr "\t-W version\t\t--version\n" @@ -1659,7 +1671,7 @@ #. for this application. Please add _another line_ with the #. address for translation bugs. #. no-wrap -#: main.c:761 +#: main.c:766 msgid "" "\n" "To report bugs, see node `Bugs' in `gawk.info', which is\n" @@ -1673,7 +1685,7 @@ "Reporte los errores de los mensajes en español a .\n" "\n" -#: main.c:765 +#: main.c:770 msgid "" "gawk is a pattern scanning and processing language.\n" "By default it reads standard input and writes standard output.\n" @@ -1683,7 +1695,7 @@ "Por omisión lee la entrada estándar y escribe en la salida estándar.\n" "\n" -#: main.c:769 +#: main.c:774 msgid "" "Examples:\n" "\tgawk '{ sum += $1 }; END { print sum }' file\n" @@ -1693,7 +1705,7 @@ "\tgawk '{ sum += $1 }; END { print sum }' fichero\n" "\tgawk -F: '{ print $1 }' /etc/passwd\n" -#: main.c:789 +#: main.c:794 #, c-format msgid "" "Copyright (C) 1989, 1991-%d Free Software Foundation.\n" @@ -1713,7 +1725,7 @@ "(a su elección) cualquier versión posterior.\n" "\n" -#: main.c:797 +#: main.c:802 msgid "" "This program is distributed in the hope that it will be useful,\n" "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" @@ -1727,7 +1739,7 @@ "Licencia Pública General de GNU para más detalles.\n" "\n" -#: main.c:808 +#: main.c:813 msgid "" "You should have received a copy of the GNU General Public License\n" "along with this program. If not, see http://www.gnu.org/licenses/.\n" @@ -1736,11 +1748,11 @@ "junto con este programa. Si no es así, consulte\n" "http://www.gnu.org/licenses/.\n" -#: main.c:843 +#: main.c:848 msgid "-Ft does not set FS to tab in POSIX awk" msgstr "-Ft no establece FS a tabulador en el awk de POSIX" -#: main.c:1117 +#: main.c:1122 #, c-format msgid "" "%s: `%s' argument to `-v' not in `var=value' form\n" @@ -1749,43 +1761,43 @@ "%s: el argumento `%s' para `-v' no es de la forma `var=valor'\n" "\n" -#: main.c:1137 +#: main.c:1142 #, c-format msgid "`%s' is not a legal variable name" msgstr "`%s' no es un nombre de variable legal" -#: main.c:1140 +#: main.c:1145 #, c-format msgid "`%s' is not a variable name, looking for file `%s=%s'" msgstr "`%s' no es un nombre de variable, se busca el fichero `%s=%s'" -#: main.c:1179 +#: main.c:1184 msgid "floating point exception" msgstr "excepción de coma flotante" -#: main.c:1186 +#: main.c:1191 msgid "fatal error: internal error" msgstr "error fatal: error interno" -#: main.c:1200 +#: main.c:1206 msgid "fatal error: internal error: segfault" msgstr "error fatal: error interno: falla de segmentación" -#: main.c:1212 +#: main.c:1218 msgid "fatal error: internal error: stack overflow" msgstr "error fatal: error interno: desbordamiento de pila" -#: main.c:1261 +#: main.c:1268 #, c-format msgid "no pre-opened fd %d" msgstr "no existe el df %d abierto previamente" -#: main.c:1268 +#: main.c:1275 #, c-format msgid "could not pre-open /dev/null for fd %d" msgstr "no se puede abrir previamente /dev/null para el df %d" -#: main.c:1291 main.c:1300 +#: main.c:1298 main.c:1307 #, c-format msgid "could not find groups: %s" msgstr "no se pueden encontrar los grupos: %s" @@ -1811,24 +1823,24 @@ msgid "can't convert string to float" msgstr "no se puede convertir una cadena a coma flotante" -#: node.c:462 +#: node.c:465 msgid "backslash at end of string" msgstr "barra invertida al final de la cadena" -#: node.c:606 +#: node.c:609 #, c-format msgid "old awk does not support the `\\%c' escape sequence" msgstr "el awk antiguo no admite la secuencia de escape `\\%c'" -#: node.c:657 +#: node.c:660 msgid "POSIX does not allow `\\x' escapes" msgstr "POSIX no permite escapes `\\x'" -#: node.c:663 +#: node.c:666 msgid "no hex digits in `\\x' escape sequence" msgstr "no hay dígitos hexadecimales en la secuencia de escape `\\x'" -#: node.c:685 +#: node.c:688 #, c-format msgid "" "hex escape \\x%.*s of %d characters probably not interpreted the way you " @@ -1837,7 +1849,7 @@ "en el escape hexadecimal \\x%.*s de %d caracteres tal vez no se interpreten " "de la forma esperada" -#: node.c:700 +#: node.c:703 #, c-format msgid "escape sequence `\\%c' treated as plain `%c'" msgstr "la secuencia de escape `\\%c' se trata como una simple `%c'" @@ -1847,32 +1859,31 @@ msgid "%s %s `%s': could not set close-on-exec: (fcntl: %s)" msgstr "%s %s `%s': no se puede establecer close-on-exec: (fcntl: %s)" -#: profile.c:93 +#: profile.c:94 #, c-format msgid "could not open `%s' for writing: %s" msgstr "no se puede abrir `%s' para escritura: %s" -#: profile.c:453 +#: profile.c:457 #, c-format msgid "internal error: %s with null vname" msgstr "error interno: %s con vname nulo" -#: profile.c:517 -#, fuzzy +#: profile.c:521 msgid "# treated internally as `delete'" -msgstr "# se trata internamente como `delete" +msgstr "# se trata internamente como `delete'" -#: profile.c:1069 +#: profile.c:1073 #, c-format msgid "# this is a dynamically loaded extension function" msgstr "# esta es una función de extensión cargada dinámicamente" -#: profile.c:1100 +#: profile.c:1104 #, c-format msgid "\t# gawk profile, created %s\n" msgstr "\t# perfil de gawk, creado %s\n" -#: profile.c:1103 +#: profile.c:1107 #, c-format msgid "" "\t# BEGIN block(s)\n" @@ -1881,7 +1892,7 @@ "\t# bloque(s) BEGIN\n" "\n" -#: profile.c:1113 +#: profile.c:1117 #, c-format msgid "" "\t# Rule(s)\n" @@ -1890,7 +1901,7 @@ "\t# Regla(s)\n" "\n" -#: profile.c:1119 +#: profile.c:1123 #, c-format msgid "" "\t# END block(s)\n" @@ -1899,7 +1910,7 @@ "\t# bloque(s) END\n" "\n" -#: profile.c:1139 +#: profile.c:1143 #, c-format msgid "" "\n" @@ -1908,88 +1919,92 @@ "\n" "\t# Funciones, enumeradas alfabéticamente\n" -#: profile.c:1400 +#: profile.c:1405 #, c-format msgid "unexpected type %s in prec_level" msgstr "tipo %s inesperado en prec_level" -#: profile.c:1500 +#: profile.c:1527 #, c-format msgid "Unknown node type %s in pp_var" msgstr "Tipo de nodo %s desconocido en pp_var" -#: regcomp.c:133 +#: regcomp.c:132 msgid "Success" msgstr "Éxito" -#: regcomp.c:136 +#: regcomp.c:135 msgid "No match" msgstr "No hay coincidencia" -#: regcomp.c:139 +#: regcomp.c:138 msgid "Invalid regular expression" msgstr "Expresión regular inválida" -#: regcomp.c:142 +#: regcomp.c:141 msgid "Invalid collation character" msgstr "Caracter de ordenación inválido" -#: regcomp.c:145 +#: regcomp.c:144 msgid "Invalid character class name" msgstr "Nombre de clase de caracter inválido" -#: regcomp.c:148 +#: regcomp.c:147 msgid "Trailing backslash" msgstr "Barra invertida extra al final" -#: regcomp.c:151 +#: regcomp.c:150 msgid "Invalid back reference" msgstr "Referencia hacia atrás inválida" -#: regcomp.c:154 +#: regcomp.c:153 msgid "Unmatched [ or [^" msgstr "[ o [^ desemparejados" -#: regcomp.c:157 +#: regcomp.c:156 msgid "Unmatched ( or \\(" msgstr "( o \\( desemparejados" -#: regcomp.c:160 +#: regcomp.c:159 msgid "Unmatched \\{" msgstr "\\{ desemparejado" -#: regcomp.c:163 +#: regcomp.c:162 msgid "Invalid content of \\{\\}" msgstr "Contenido inválido de \\{\\}" -#: regcomp.c:166 +#: regcomp.c:165 msgid "Invalid range end" msgstr "Final de rango inválido" -#: regcomp.c:169 +#: regcomp.c:168 msgid "Memory exhausted" msgstr "Memoria agotada" -#: regcomp.c:172 +#: regcomp.c:171 msgid "Invalid preceding regular expression" msgstr "Expresión regular precedente inválida" -#: regcomp.c:175 +#: regcomp.c:174 msgid "Premature end of regular expression" msgstr "Fin prematuro de la expresión regular" -#: regcomp.c:178 +#: regcomp.c:177 msgid "Regular expression too big" msgstr "La expresión regular es demasiado grande" -#: regcomp.c:181 +#: regcomp.c:180 msgid "Unmatched ) or \\)" msgstr ") o \\) desemparejados" -#: regcomp.c:700 +#: regcomp.c:699 msgid "No previous regular expression" msgstr "No hay una expresión regular previa" +#~ msgid "can't open two way socket `%s' for input/output (%s)" +#~ msgstr "" +#~ "no se puede abrir el `socket' de dos vías `%s' para entrada/salida (%s)" + #~ msgid "%s: illegal option -- %c\n" #~ msgstr "%s: opción ilegal -- %c\n" diff -urN gawk-3.1.7/po/fr.po gawk-3.1.8/po/fr.po --- gawk-3.1.7/po/fr.po 2009-07-21 23:23:44.000000000 +0300 +++ gawk-3.1.8/po/fr.po 2010-05-06 20:57:36.000000000 +0300 @@ -1,415 +1,412 @@ -# Messages français pour gawk. -# Copyright © 2004 Free Software Foundation, Inc. -# Michel Robitaille , 1996. -# +# Messages français pour gawk. +# This file is distributed under the same license as the gawk package. +# Ce fichier est distribué sous la même licence que le paquet gawk. +# Copyright © 2004 Free Software Foundation, Inc. +# Michel Robitaille , 1996-2005. +# Jean-Philippe Guérard , 2010. msgid "" msgstr "" -"Project-Id-Version: gawk 3.1.4l\n" +"Project-Id-Version: gawk 3.1.7i\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2009-07-21 23:23+0300\n" -"PO-Revision-Date: 2005-06-29 08:00-0500\n" -"Last-Translator: Michel Robitaille \n" +"POT-Creation-Date: 2010-05-06 20:57+0300\n" +"PO-Revision-Date: 2010-05-01 00:08+0200\n" +"Last-Translator: Jean-Philippe Guérard \n" "Language-Team: French \n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #: array.c:112 #, c-format msgid "attempt to use function `%s' as an array" -msgstr "tentative d'utilisation de la fonction « %s » comme un tableau" +msgstr "tentative d'utiliser la fonction « %s » comme tableau" #: array.c:115 #, c-format msgid "attempt to use scalar parameter `%s' as an array" -msgstr "tentative d'utilisation d'un paramètre scalaire « %s » comme un tableau" +msgstr "tentative d'utiliser le paramètre scalaire « %s » comme tableau" #: array.c:118 #, c-format msgid "attempt to use scalar `%s' as array" -msgstr "tentative d'utilisation du scalaire « %s » comme un tableau" +msgstr "tentative d'utiliser le scalaire « %s » comme tableau" #: array.c:156 #, c-format msgid "from %s" -msgstr "à partir de %s" +msgstr "de %s" -#: array.c:514 +#: array.c:513 #, c-format -msgid "reference to uninitialized element `%s[\"%s\"]'" -msgstr "référence à un élément non initialisé « %s[\"%s\"] »" +msgid "reference to uninitialized element `%s[\"%.*s\"]'" +msgstr "référence à un élément non initialisé « %s[\"%.*s\"] »" -#: array.c:520 +#: array.c:519 #, c-format msgid "subscript of array `%s' is null string" -msgstr "sous-description du tableau « %s » contient une chaîne nulle" +msgstr "l'indice du tableau « %s » est une chaîne vide" -#: array.c:624 +#: array.c:623 #, c-format msgid "delete: index `%s' not in array `%s'" -msgstr "destruction: index « %s » n'est pas dans le tableau « %s »" +msgstr "delete : l'indice « %s » est absent du tableau « %s »" -#: array.c:793 +#: array.c:792 #, c-format msgid "%s: empty (null)\n" -msgstr "%s: vide (null)\n" +msgstr "%s : vide (non défini)\n" -#: array.c:798 +#: array.c:797 #, c-format msgid "%s: empty (zero)\n" -msgstr "%s: vide (zéro)\n" +msgstr "%s : vide (vide)\n" -#: array.c:802 +#: array.c:801 #, c-format msgid "%s: table_size = %d, array_size = %d\n" -msgstr "%s: table_size = %d, array_size = %d\n" +msgstr "%s : table_size = %d, array_size = %d\n" -#: array.c:831 +#: array.c:830 #, c-format msgid "%s: is parameter\n" -msgstr "%s: est un paramètre\n" +msgstr "%s : est un paramètre\n" -#: array.c:836 +#: array.c:835 #, c-format msgid "%s: array_ref to %s\n" -msgstr "%s: array_ref de %s\n" +msgstr "%s : array_ref à %s\n" #: awkgram.y:218 #, c-format msgid "%s blocks must have an action part" -msgstr "Les blocs %s doivent avoir une partie action" +msgstr "les blocs %s doivent avoir une partie action" #: awkgram.y:221 msgid "each rule must have a pattern or an action part" -msgstr "chaqque règle doit avoir un patron ou une partie action" +msgstr "chaque règle doit avoir au moins une partie motif ou action" #: awkgram.y:257 awkgram.y:266 -#, fuzzy msgid "old awk does not support multiple `BEGIN' or `END' rules" -msgstr "l'ancien awk ne supporte pas l'opérateur « ** »" +msgstr "l'ancien awk ne permet pas les « BEGIN » ou « END » multiples" #: awkgram.y:285 #, c-format msgid "`%s' is a built-in function, it cannot be redefined" -msgstr "« %s » est une fonction interne, elle ne peut être redéfinie" +msgstr "« %s » est une fonction interne, elle ne peut être redéfinie" #: awkgram.y:331 msgid "regexp constant `//' looks like a C++ comment, but is not" -msgstr "" -"la constante d'expression régulière « // » ressemble à un commentaire en C, " -"mais ne l'est pas" +msgstr "l'expression rationnelle constante « // » n'est pas un commentaire C++" #: awkgram.y:334 #, c-format msgid "regexp constant `/%s/' looks like a C comment, but is not" -msgstr "" -"la constante d'expression régulière « /%s/ » ressemble à un commentaire en C, " -"mais ne l'est pas" +msgstr "l'expression rationnelle constante « /%s/ » n'est pas un commentaire C" #: awkgram.y:361 awkgram.y:656 msgid "statement may have no effect" -msgstr "la déclaration peut n'avoir aucun effet" +msgstr "la déclaration peut ne pas avoir d'effet" #: awkgram.y:458 awkgram.y:482 #, c-format msgid "`%s' used in %s action" -msgstr "« %s » utilisé dans l'action %s" +msgstr "« %s » est utilisé dans l'action %s" #: awkgram.y:473 awkgram.y:477 msgid "`nextfile' is a gawk extension" -msgstr "« nextfile » est une extension de gawk" +msgstr "« nextfile » est une extension de gawk" #: awkgram.y:492 msgid "`return' used outside function context" -msgstr "« return » utilisé en dehors du contexte d'une fonction" +msgstr "« return » est utilisé hors du contexte d'une fonction" #: awkgram.y:534 msgid "plain `print' in BEGIN or END rule should probably be `print \"\"'" msgstr "" -"utilisation de « print » dans une règle BEGIN ou END doit être probablement « " -"print \"\" »" +"dans BEGIN ou END, un « print » devrait sans doute être un « print \"\" »" #: awkgram.y:550 awkgram.y:558 msgid "`delete array' is a gawk extension" -msgstr "« delete array » est une extension de gawk" +msgstr "« delete array » est une extension de gawk" #: awkgram.y:572 awkgram.y:580 msgid "`delete(array)' is a non-portable tawk extension" -msgstr "« delete(array) » est une extension de tawk qui n'est pas portable" +msgstr "« delete(array) » est une extension non portable de tawk" #: awkgram.y:624 #, c-format msgid "duplicate case values in switch body: %s" -msgstr "duplicata de valeur de case dans le corps du switch: %s" +msgstr "le corps du switch comporte des cas répétés : %s" #: awkgram.y:634 msgid "Duplicate `default' detected in switch body" -msgstr "duplicata de « default » détecté dans le corps du switch" +msgstr "le corps du switch comporte plusieurs « default »" #: awkgram.y:723 msgid "multistage two-way pipelines don't work" -msgstr "pipelines bidirectionnel à multi-étapes ne fonctionnent pas" +msgstr "impossible d'utiliser des tubes bidirectionnels en série" #: awkgram.y:814 msgid "regular expression on right of assignment" -msgstr "expression régulière à la droite de l'affectation" +msgstr "expression rationnelle à droite d'une affectation" #: awkgram.y:824 msgid "regular expression on left of `~' or `!~' operator" -msgstr "expression régulière sur la gauche de l'opérateur « ~ » ou « !~ »" +msgstr "expression rationnelle à gauche d'un opérateur « ~ » ou « !~ »" #: awkgram.y:830 awkgram.y:903 -#, fuzzy msgid "old awk does not support the keyword `in' except after `for'" -msgstr "l'ancien awk ne supporte pas l'opérateur « ** »" +msgstr "l'ancien awk n'autorise le mot-clef « in » qu'après « for »" #: awkgram.y:836 msgid "regular expression on right of comparison" -msgstr "expression régulière sur la droite de la comparaison" +msgstr "expression rationnelle à droite d'une comparaison" #: awkgram.y:893 msgid "non-redirected `getline' undefined inside END action" -msgstr "« getline » non redirigé indéfini à l'intérieur de l'action END" +msgstr "un « getline » non redirigé n'est pas défini dans une action END" #: awkgram.y:904 -#, fuzzy msgid "old awk does not support multidimensional arrays" -msgstr "l'ancien awk ne supporte pas l'opérateur « ** »" +msgstr "l'ancien awk ne dispose pas des tableaux multidimensionnels" #: awkgram.y:950 msgid "call of `length' without parentheses is not portable" -msgstr "l'appel de « length » sans les parenthèses n'est pas portable" +msgstr "l'appel de « length » sans parenthèses n'est pas portable" #: awkgram.y:955 msgid "call of `length' without parentheses is deprecated by POSIX" -msgstr "l'appel de « length » sans les parenthèses est déprécié par POSIX" +msgstr "l'appel de « length » sans parenthèses est obsolète pour POSIX" #: awkgram.y:1009 msgid "use of non-array as array" -msgstr "utilisation d'une entité qui n'est pas un tableau comme tableau" +msgstr "utilisation d'un non tableau comme tableau" #: awkgram.y:1012 msgid "invalid subscript expression" -msgstr "sous-expression invalide" +msgstr "expression indice non valide" #: awkgram.y:1257 msgid "unexpected newline or end of string" -msgstr "nouvelle ligne inattendue ou fin de la chaîne" +msgstr "fin de chaîne ou passage à la ligne inattendu" #: awkgram.y:1374 msgid "empty program text on command line" -msgstr "texte du programme sur la ligne de commande est vide" +msgstr "le programme indiqué en ligne de commande est vide" #: awkgram.y:1430 #, c-format msgid "can't open source file `%s' for reading (%s)" -msgstr "ne peut ouvrir le fichier source « %s » pour lecture (%s)" +msgstr "impossible d'ouvrir le fichier source « %s » en lecture (%s)" #: awkgram.y:1528 #, c-format msgid "can't read sourcefile `%s' (%s)" -msgstr "ne peut lire le fichier source « %s » (%s)" +msgstr "impossible de lire le fichier source « %s » (%s)" #: awkgram.y:1536 #, c-format msgid "source file `%s' is empty" -msgstr "fichier source « %s » est vide" +msgstr "le fichier source « %s » est vide" #: awkgram.y:1728 awkgram.y:1850 awkgram.y:1868 awkgram.y:2243 awkgram.y:2330 msgid "source file does not end in newline" -msgstr "fichier source ne se termine pas par un retour de chariot" +msgstr "le fichier source ne se termine pas par un passage à la ligne" #: awkgram.y:1790 msgid "unterminated regexp ends with `\\' at end of file" msgstr "" -"expression régulière non termineé se terminant par « \\ » à la fin du fichier" +"expression rationnelle non refermée terminée par un « \\ » en fin de fichier" #: awkgram.y:1814 #, c-format msgid "%s: %d: tawk regex modifier `/.../%c' doesn't work in gawk" msgstr "" -"%s: %d: modificateur d'exp. rég. tawk `/.../%c' ne peut opérer dans gawk" +"%s : %d : le modificateur d'expressions rationnelles « /.../%c » de tawk ne " +"marche pas dans gawk" #: awkgram.y:1818 #, c-format msgid "tawk regex modifier `/.../%c' doesn't work in gawk" -msgstr "modificateur d'exp. rég. tawk `/.../%c' ne peut opérer dans gawk" +msgstr "" +"le modificateur d'expressions rationnelles « /.../%c » de tawk ne marche pas " +"dans gawk" #: awkgram.y:1825 msgid "unterminated regexp" -msgstr "expression régulière non terminée" +msgstr "expression rationnelle non refermée" #: awkgram.y:1828 msgid "unterminated regexp at end of file" -msgstr "expression régulière non terminée à la fin du fichier" +msgstr "expression rationnelle non refermée en fin de fichier" #: awkgram.y:1897 msgid "use of `\\ #...' line continuation is not portable" msgstr "" -"utilisation de « \\ #... » comme continuation de ligne n'est pas portable" +"l'utilisation de « \\ #... » pour prolonger une ligne n'est pas portable" #: awkgram.y:1910 msgid "backslash not last character on line" -msgstr "la barre oblique inverse n'est pas le dernier caractère sur la ligne" +msgstr "la barre oblique inverse n'est pas le dernier caractère de la ligne" #: awkgram.y:1955 msgid "POSIX does not allow operator `**='" -msgstr "POSIX ne permet un opérateur « **= »" +msgstr "POSIX n'autorise pas l'opérateur « **= »" #: awkgram.y:1957 msgid "old awk does not support operator `**='" -msgstr "l'ancien awk ne supporte pas l'opérateur « **= »" +msgstr "l'ancien awk ne dispose pas de l'opérateur « **= »" #: awkgram.y:1966 msgid "POSIX does not allow operator `**'" -msgstr "POSIX ne permet pas l'opérateur « ** »" +msgstr "POSIX n'autorise pas l'opérateur « ** »" #: awkgram.y:1968 msgid "old awk does not support operator `**'" -msgstr "l'ancien awk ne supporte pas l'opérateur « ** »" +msgstr "l'ancien awk ne dispose pas de l'opérateur « ** »" #: awkgram.y:1999 msgid "operator `^=' is not supported in old awk" -msgstr "l'opérateur « ^= » n'est pas supporté dans l'ancien awk" +msgstr "l'ancien awk ne dispose pas de l'opérateur « ^= »" #: awkgram.y:2007 msgid "operator `^' is not supported in old awk" -msgstr "l'opérateur « ^ » n'est pas supporté dans l'ancien awk" +msgstr "l'ancien awk ne dispose pas de l'opérateur « ^ »" #: awkgram.y:2091 awkgram.y:2106 msgid "unterminated string" -msgstr "chaîne non complétée" +msgstr "chaîne non refermée" #: awkgram.y:2291 #, c-format msgid "invalid char '%c' in expression" -msgstr "caractère invalide « %c » dans l'expression" +msgstr "caractère non valide « %c » dans l'expression" #: awkgram.y:2339 #, c-format msgid "`%s' is a gawk extension" -msgstr "« %s » est une extension de gawk" +msgstr "« %s » est une extension de gawk" #: awkgram.y:2342 #, c-format msgid "`%s' is a Bell Labs extension" -msgstr "« %s » est une extension de Bell Labs" +msgstr "« %s » est une extension Bell Labs" #: awkgram.y:2345 #, c-format msgid "POSIX does not allow `%s'" -msgstr "POSIX ne permet pas « %s »" +msgstr "POSIX n'autorise pas « %s »" #: awkgram.y:2349 #, c-format msgid "`%s' is not supported in old awk" -msgstr "« %s » n'est pas supporté dans l'ancien awk" +msgstr "l'ancien awk ne dispose pas de « %s »" #: awkgram.y:2375 msgid "`goto' considered harmful!\n" -msgstr "« goto » considéré néfaste!\n" +msgstr "« goto est jugé dangereux ! » (Edsger W. Dijkstra)\n" #: awkgram.y:2437 #, c-format msgid "%d is invalid as number of arguments for %s" -msgstr "%d est invalide comme nombre d'arguments pour %s" +msgstr "%d n'est pas un nombre d'arguments valide de %s" #: awkgram.y:2456 awkgram.y:2459 msgid "match: third argument is a gawk extension" -msgstr "match: 3e argument est une extension de gawk" +msgstr "match : le 3e argument est une extension gawk" #: awkgram.y:2472 #, c-format msgid "%s: string literal as last arg of substitute has no effect" msgstr "" -"%s: la chaîne litérale comme dernier arguement d'une substitution n'a aucun " +"%s : une chaîne littérale en dernier argument d'une substitution est sans " "effet" #: awkgram.y:2475 #, c-format msgid "%s third parameter is not a changeable object" -msgstr "3e paramètre %s n'est pas un objet interchangeable" +msgstr "le 3e paramètre de %s n'est pas un objet modifiable" #: awkgram.y:2502 awkgram.y:2505 msgid "close: second argument is a gawk extension" -msgstr "close: 2e argument est une extension de gawk" +msgstr "close : le 2e argument est une extension de gawk" #: awkgram.y:2515 msgid "use of dcgettext(_\"...\") is incorrect: remove leading underscore" msgstr "" -"utilisation de dcgettext(_\"...\") est incorrect: enlever les soulignés en " -"en-tête" +"utilisation incorrecte de dcgettext(_\"...\") : enlevez le souligné de tête" #: awkgram.y:2530 msgid "use of dcngettext(_\"...\") is incorrect: remove leading underscore" msgstr "" -"utilisation de dcngettext(_\"...\") est incorrect: enlever les soulignés en " -"en-tête" +"utilisation incorrecte de dcngettext(_\"...\") : enlevez le souligné de tête" #: awkgram.y:2602 #, c-format msgid "function `%s': parameter #%d, `%s', duplicates parameter #%d" -msgstr "fonction « %s »: paramètre #%d, « %s » est un double du paramètre #%d" +msgstr "fonction « %s » : paramètre #%d, « %s » est un doublon du paramètre #%d" #: awkgram.y:2635 #, c-format msgid "function `%s': parameter `%s' shadows global variable" -msgstr "fonction « %s »: paramètre « %s » porte ombrage à la variable globale" +msgstr "fonction « %s » : le paramètre « %s » masque la variable globale" #: awkgram.y:2747 #, c-format msgid "could not open `%s' for writing (%s)" -msgstr "ne peut ourvrir « %s » en écriture (%s)" +msgstr "impossible d'ouvrir « %s » en écriture (%s)" -#: awkgram.y:2748 profile.c:95 +#: awkgram.y:2748 profile.c:96 msgid "sending profile to standard error" -msgstr "redirection du profile vers stderr" +msgstr "envoi du profil vers la sortie d'erreur standard" #: awkgram.y:2780 #, c-format msgid "%s: close failed (%s)" -msgstr "%s: échec de fermeture (%s)" +msgstr "%s : échec de la fermeture (%s)" #: awkgram.y:2901 msgid "shadow_funcs() called twice!" -msgstr "shadows_funcs() appelé deux fois!" +msgstr "shadows_funcs() a été appelé deux fois !" #: awkgram.y:2928 msgid "there were shadowed variables." -msgstr "il y avait des variables ombragées" +msgstr "il y avait des variables masquées." #: awkgram.y:3001 #, c-format msgid "function `%s': can't use function name as parameter name" -msgstr "fonction « %s »: ne peut utilise le nom de la fonction comme paramètre" +msgstr "" +"fonction « %s » : impossible d'utiliser un nom de fonction comme paramètre" #: awkgram.y:3004 -#, fuzzy, c-format +#, c-format msgid "function `%s': can't use special variable `%s' as a function parameter" -msgstr "fonction « %s »: ne peut utilise le nom de la fonction comme paramètre" +msgstr "" +"fonction « %s » : impossible d'utiliser la variable spéciale « %s » comme " +"paramètre d'une fonction" #: awkgram.y:3014 #, c-format msgid "function name `%s' previously defined" -msgstr "nom de la fonction « %s » définie précédemment" +msgstr "nom de fonction « %s » déjà défini" #: awkgram.y:3165 awkgram.y:3171 #, c-format msgid "function `%s' called but never defined" -msgstr "fonction « %s » appelé mais jamais définie" +msgstr "fonction « %s » appelée sans être définie" #: awkgram.y:3174 #, c-format msgid "function `%s' defined but never called" -msgstr "fonction « %s » définie mais jamais utilisée" +msgstr "fonction « %s » définie mais non utilisée" #: awkgram.y:3201 #, c-format msgid "regexp constant for parameter #%d yields boolean value" -msgstr "" -"expression régulière constante pour le paramètre #%d conduit à une valeur " -"booléenne" +msgstr "le paramètre #%d, une expr. rationnelle constante, fourni un booléen" #: awkgram.y:3245 #, c-format @@ -417,18 +414,22 @@ "function `%s' called with space between name and `(',\n" "or used as a variable or an array" msgstr "" -"fonction « %s » appelée avec un espace entre le nom et « ( »,\n" -"ou utilisé comme variable ou comme un tableau" +"fonction « %s » appelée avec un espace entre son nom\n" +"et « ( », ou utilisée comme variable ou tableau" + +#: awkgram.y:3664 +msgid "division by zero attempted in `/'" +msgstr "tentative de division par zéro dans « / »" -#: awkgram.y:3667 eval.c:1394 +#: awkgram.y:3669 eval.c:1394 #, c-format msgid "division by zero attempted in `%%'" -msgstr "tentative de division par zéro dans « %% »" +msgstr "tentative de division par zéro dans « %% »" #: builtin.c:122 #, c-format msgid "%s to \"%s\" failed (%s)" -msgstr "%s vers « %s » échec (%s)" +msgstr "échec de %s vers « %s » (%s)" #: builtin.c:123 msgid "standard output" @@ -440,510 +441,523 @@ #: builtin.c:137 msgid "exp: received non-numeric argument" -msgstr "exp: argument n'est pas numérique" +msgstr "exponentielle : l'argument n'est pas numérique" #: builtin.c:143 #, c-format msgid "exp: argument %g is out of range" -msgstr "exp: argument %g est hors limite" +msgstr "exponentielle : l'argument %g est hors limite" #: builtin.c:201 #, c-format msgid "fflush: cannot flush: pipe `%s' opened for reading, not writing" msgstr "" -"fflush: ne peut vider: le pipe « %s » est oouvert en lecture, pas en écriture" +"fflush : vidage impossible : le tube « %s » est ouvert en lecture et non en " +"écriture" #: builtin.c:204 #, c-format msgid "fflush: cannot flush: file `%s' opened for reading, not writing" msgstr "" -"fflush: ne peut vider: fichier « %s » ouvert en lecture, pas en écriture" +"fflush : vidage impossible : fichier « %s » ouvert en lecture, pas en écriture" #: builtin.c:216 #, c-format msgid "fflush: `%s' is not an open file, pipe or co-process" msgstr "" -"fflush: « %s » n'est pas ni un fichier ouvert, un pipe ou un co-processus" +"fflush : « %s » n'est ni un fichier ouvert, ni un tube ou ni un co-processus" #: builtin.c:310 msgid "index: received non-string first argument" -msgstr "index: premier argument n'est pas une chaîne" +msgstr "index : le premier argument n'est pas une chaîne" #: builtin.c:312 msgid "index: received non-string second argument" -msgstr "index: second argument n'est pas une chaîne" +msgstr "index : le second argument n'est pas une chaîne" #: builtin.c:434 msgid "int: received non-numeric argument" -msgstr "int: argument n'est pas numérique" +msgstr "int : l'argument n'est pas numérique" #: builtin.c:464 -#, fuzzy msgid "`length(array)' is a gawk extension" -msgstr "« delete array » est une extension de gawk" +msgstr "« length(tableau) » est une extension de gawk" -#: builtin.c:473 +#: builtin.c:471 +msgid "length: untyped parameter argument will be forced to scalar" +msgstr "length : le paramètre non typé sera converti en scalaire" + +#: builtin.c:480 msgid "length: untyped argument will be forced to scalar" -msgstr "" +msgstr "length : l'argument non typé sera converti en scalaire" -#: builtin.c:477 +#: builtin.c:484 msgid "length: received non-string argument" -msgstr "length: argument n'est pas une chaîne" +msgstr "length : l'argument n'est pas une chaîne" -#: builtin.c:508 +#: builtin.c:515 msgid "log: received non-numeric argument" -msgstr "log: argument n'est pas numérique" +msgstr "log : l'argument n'est pas numérique" -#: builtin.c:511 +#: builtin.c:518 #, c-format msgid "log: received negative argument %g" -msgstr "log: argument négatif %g" +msgstr "log : l'argument est négatif %g" -#: builtin.c:719 builtin.c:722 +#: builtin.c:726 builtin.c:729 msgid "must use `count$' on all formats or none" -msgstr "doit utiliser « count$ » sur tous les formats ou aucun" +msgstr "" +"« numéro$ » doit être utilisé pour toutes les spécifications ou pour aucune" -#: builtin.c:783 +#: builtin.c:790 #, c-format msgid "field width is ignored for `%%%%' specifier" -msgstr "" +msgstr "taille du champ de la spécification « %%%% » ignorée" -#: builtin.c:785 +#: builtin.c:792 #, c-format msgid "precision is ignored for `%%%%' specifier" -msgstr "" +msgstr "précision de la spécification « %%%% » ignorée" -#: builtin.c:787 +#: builtin.c:794 #, c-format msgid "field width and precision are ignored for `%%%%' specifier" -msgstr "" +msgstr "taille du champ et précision de la spécification « %%%% » ignorées" -#: builtin.c:838 +#: builtin.c:845 msgid "`$' is not permitted in awk formats" -msgstr "« $ » n'est pas permis dans les formats awk" +msgstr "« $ » n'est pas un format awk valide" -#: builtin.c:844 +#: builtin.c:851 msgid "arg count with `$' must be > 0" -msgstr "décompte d'arguments avec « $ » doit être > 0" +msgstr "le numéro de l'argument attaché à « $ » doit être > 0" -#: builtin.c:846 +#: builtin.c:853 #, c-format msgid "arg count %ld greater than total number of supplied arguments" -msgstr "compteur d'arguments %ld est > que le nombre total d'arguments fournis" +msgstr "le numéro d'argument %ld est > au nombre total d'arguments fournis" -#: builtin.c:848 +#: builtin.c:855 msgid "`$' not permitted after period in format" -msgstr "« $ » n'est pas permis après le point" +msgstr "dans un format, « $ » doit précéder le point" -#: builtin.c:861 +#: builtin.c:868 msgid "no `$' supplied for positional field width or precision" -msgstr "aucun « $ » fourni dans le champ positionnel (longueur ou précision)" +msgstr "aucun « $ » fourni pour positionner la taille du champ ou la précision" -#: builtin.c:927 +#: builtin.c:938 msgid "`l' is meaningless in awk formats; ignored" -msgstr "« l » n'a aucun sens dans les formats de awk; ignoré" +msgstr "« l » n'a aucun sens dans une spécification de format awk ; ignoré" -#: builtin.c:931 +#: builtin.c:942 msgid "`l' is not permitted in POSIX awk formats" -msgstr "« l » n'est pas permis dans les format POSIX de awk" +msgstr "« l » est interdit dans une spécification de format awk POSIX" -#: builtin.c:942 +#: builtin.c:953 msgid "`L' is meaningless in awk formats; ignored" -msgstr "« L » n'a aucun sens dans les formats s de awk; ignoré" +msgstr "« L » n'a aucun sens dans une spécification de format awk ; ignoré" -#: builtin.c:946 +#: builtin.c:957 msgid "`L' is not permitted in POSIX awk formats" -msgstr "« L » n'est pas permis dans les formats POSIX de awk" +msgstr "« L » est interdit dans une spécification de format awk POSIX" -#: builtin.c:957 +#: builtin.c:968 msgid "`h' is meaningless in awk formats; ignored" -msgstr "« h » n'a aucun send dans les formats de awk; ignoré" +msgstr "« h » n'a aucun sens dans une spécification de format awk ; ignoré" -#: builtin.c:961 +#: builtin.c:972 msgid "`h' is not permitted in POSIX awk formats" -msgstr "« h » n'est pas permis dans les formats POSIX de awk" +msgstr "« h » est interdit dans une spécification de format awk POSIX" -#: builtin.c:1236 +#: builtin.c:1252 #, c-format msgid "[s]printf: value %g is out of range for `%%%c' format" -msgstr "[s]printf: valeur %g est hors limite pour le format « %%%c »" +msgstr "[s]printf : valeur %g hors limite pour la spécification « %%%c »" -#: builtin.c:1316 +#: builtin.c:1332 #, c-format msgid "ignoring unknown format specifier character `%c': no argument converted" msgstr "" +"caractère de spécification inconnu « %c » ignoré : aucun argument converti" -#: builtin.c:1322 +#: builtin.c:1338 msgid "not enough arguments to satisfy format string" -msgstr "pas assez d'arguments pour satisfaire le format d'une chaîne" +msgstr "pas assez d'arguments pour satisfaire la chaîne de format" -#: builtin.c:1324 +#: builtin.c:1340 msgid "^ ran out for this one" -msgstr "^ débordement pour celle-ci" +msgstr "^ à court pour celui-ci" -#: builtin.c:1330 +#: builtin.c:1346 msgid "[s]printf: format specifier does not have control letter" -msgstr "" -"[s]printf: spécificateur de format ne contient pas de lettre de contrôle" +msgstr "[s]printf : spécification de format sans lettre de contrôle" -#: builtin.c:1333 +#: builtin.c:1349 msgid "too many arguments supplied for format string" -msgstr "trop d'arguments pour la chaîne de format" +msgstr "trop d'arguments pour la chaîne de format" -#: builtin.c:1408 builtin.c:1411 +#: builtin.c:1424 builtin.c:1427 msgid "printf: no arguments" -msgstr "printf: aucun argument" +msgstr "printf : aucun argument" -#: builtin.c:1435 +#: builtin.c:1451 msgid "sqrt: received non-numeric argument" -msgstr "sqrt: argument n'est pas numérique" +msgstr "sqrt : l'argument n'est pas numérique" -#: builtin.c:1439 +#: builtin.c:1455 #, c-format msgid "sqrt: called with negative argument %g" -msgstr "sqrt: appelé avec un argument négatif %g" +msgstr "sqrt : appelé avec un argument négatif %g" -#: builtin.c:1463 +#: builtin.c:1479 #, c-format msgid "substr: start index %g is invalid, using 1" -msgstr "substr: début de l'index %g est invalide, utilise 1" +msgstr "substr : l'index de début %g n'est pas valide, utilisation de 1" -#: builtin.c:1468 +#: builtin.c:1484 #, c-format msgid "substr: non-integer start index %g will be truncated" -msgstr "substr: début avec un nombre non entier %g sera tronqué" +msgstr "substr : l'index de début %g n'est pas un entier, il sera tronqué" -#: builtin.c:1494 +#: builtin.c:1510 #, c-format msgid "substr: length %g is not >= 1" -msgstr "substr: longueur %g n'est pas >= 1" +msgstr "substr : la longueur %g n'est pas >= 1" -#: builtin.c:1496 +#: builtin.c:1512 #, c-format msgid "substr: length %g is not >= 0" -msgstr "substr: longueur %g n'est pas >= 0" +msgstr "substr : la longueur %g n'est pas >= 0" -#: builtin.c:1503 +#: builtin.c:1519 #, c-format msgid "substr: non-integer length %g will be truncated" -msgstr "substr: longueur avec un nombre non entier %g sera tronqué" +msgstr "substr : la longueur %g n'est pas entière, elle sera tronquée" -#: builtin.c:1508 +#: builtin.c:1524 #, c-format msgid "substr: length %g too big for string indexing, truncating to %g" -msgstr "" -"substr: longueur %g trop grande pour l'indexation de chaînes, truncation à %g" +msgstr "substr : la longueur %g est trop grande, tronquée à %g" -#: builtin.c:1520 +#: builtin.c:1536 msgid "substr: source string is zero length" -msgstr "substr: chaîne de départ est de longueur zéro" +msgstr "substr : la chaîne source est de longueur nulle" -#: builtin.c:1536 +#: builtin.c:1552 #, c-format msgid "substr: start index %g is past end of string" -msgstr "substr: début de l'index %g dépasse la fin de la chaîne" +msgstr "substr : l'index de début %g est au-delà de la fin de la chaîne" -#: builtin.c:1544 +#: builtin.c:1560 #, c-format msgid "" "substr: length %g at start index %g exceeds length of first argument (%lu)" msgstr "" -"substr: longueur %g début avec l'index %g déborde la longueur du 1er " -"arguement (%lu)" +"substr : la longueur %g à partir de %g dépasse la fin du 1er argument (%lu)" -#: builtin.c:1621 +#: builtin.c:1637 msgid "strftime: received non-string first argument" -msgstr "strftim: premier argument reçu n'est pas une chaîne" +msgstr "strftim : le premier argument n'est pas une chaîne" -#: builtin.c:1627 +#: builtin.c:1643 msgid "strftime: received empty format string" -msgstr "strftime: chaîne de format vide" +msgstr "strftime : la chaîne de format est vide" -#: builtin.c:1636 +#: builtin.c:1652 msgid "strftime: received non-numeric second argument" -msgstr "strftime: second argument reçu n'est pas numérique" +msgstr "strftime : le second argument n'est pas numérique" -#: builtin.c:1713 +#: builtin.c:1729 msgid "mktime: received non-string argument" -msgstr "mktime: argument n'est pas une chaîne" +msgstr "mktime : l'argument n'est pas une chaîne" -#: builtin.c:1758 +#: builtin.c:1746 +msgid "mktime: at least one of the values is out of the default range" +msgstr "" +"mktime : au moins l'une des valeurs est en dehors de la plage par défaut" + +#: builtin.c:1783 msgid "system: received non-string argument" -msgstr "system: argument reçu n'est pas une chaîne" +msgstr "system : l'argument n'est pas une chaîne" -#: builtin.c:1879 eval.c:2145 +#: builtin.c:1904 eval.c:2157 #, c-format msgid "reference to uninitialized field `$%d'" -msgstr "référence à un champ non initialisé « $%d »" +msgstr "référence à un champ non initialisé « $%d »" -#: builtin.c:1984 +#: builtin.c:2009 msgid "tolower: received non-string argument" -msgstr "tolower: argument reçu n'est pas une chaîne" +msgstr "tolower : l'argument n'est pas une chaîne" -#: builtin.c:2014 +#: builtin.c:2039 msgid "toupper: received non-string argument" -msgstr "toupper: argument reçu n'est pas une chaîne" +msgstr "toupper : l'argument n'est pas une chaîne" -#: builtin.c:2047 +#: builtin.c:2072 msgid "atan2: received non-numeric first argument" -msgstr "atan2: premier argument n'est pas numérique" +msgstr "atan2 : le premier argument n'est pas numérique" -#: builtin.c:2049 +#: builtin.c:2074 msgid "atan2: received non-numeric second argument" -msgstr "atan2: second argument n'est pas numérique" +msgstr "atan2 : le second argument n'est pas numérique" -#: builtin.c:2068 +#: builtin.c:2093 msgid "sin: received non-numeric argument" -msgstr "sin: argument n'est pas numérique" +msgstr "sin : l'argument n'est pas numérique" -#: builtin.c:2084 +#: builtin.c:2109 msgid "cos: received non-numeric argument" -msgstr "cos: argument n'est pas numérique" +msgstr "cos : l'argument n'est pas numérique" -#: builtin.c:2137 +#: builtin.c:2162 msgid "srand: received non-numeric argument" -msgstr "srand: argument n'est pas numérique" +msgstr "srand : l'argument n'est pas numérique" -#: builtin.c:2172 +#: builtin.c:2197 msgid "match: third argument is not an array" -msgstr "match: le 3e argument n'est pas un tableau" +msgstr "match : le 3e argument n'est pas un tableau" -#: builtin.c:2719 +#: builtin.c:2744 msgid "gensub: third argument of 0 treated as 1" -msgstr "gensub: le 3e argument de 0 traité comme un 1" +msgstr "gensub : le 3e argument vaut 0, il sera traité comme un 1" -#: builtin.c:2835 +#: builtin.c:2860 msgid "lshift: received non-numeric first argument" -msgstr "lshift: premier argument n'est pas numérique" +msgstr "lshift : le premier argument n'est pas numérique" -#: builtin.c:2837 +#: builtin.c:2862 msgid "lshift: received non-numeric second argument" -msgstr "lshift: second argument reçu n'est pas numérique" +msgstr "lshift : le second argument reçu n'est pas numérique" -#: builtin.c:2843 +#: builtin.c:2868 #, c-format msgid "lshift(%lf, %lf): negative values will give strange results" -msgstr "lshift(%lf, %lf): valeurs négatives donneront d'étranges résultats" +msgstr "" +"lshift(%lf, %lf) : les valeurs négatives donneront des résultats inattendus" -#: builtin.c:2845 +#: builtin.c:2870 #, c-format msgid "lshift(%lf, %lf): fractional values will be truncated" -msgstr "lshift(%lf, %lf): valeurs fractionnaires seront tronquées" +msgstr "lshift(%lf, %lf) : les valeurs non entières seront tronquées" -#: builtin.c:2847 +#: builtin.c:2872 #, c-format msgid "lshift(%lf, %lf): too large shift value will give strange results" -msgstr "lshift(%lf, %lf): trop grand déplacement donnera d'étranges résultats" +msgstr "" +"lshift(%lf, %lf) : un décalage trop grand donnera des résultats inattendus" -#: builtin.c:2873 +#: builtin.c:2898 msgid "rshift: received non-numeric first argument" -msgstr "rshift: premier argument n'est pas numérique" +msgstr "rshift : le premier argument n'est pas numérique" -#: builtin.c:2875 +#: builtin.c:2900 msgid "rshift: received non-numeric second argument" -msgstr "rshift: second argument reçu n'est pas numérique" +msgstr "rshift : le second argument reçu n'est pas numérique" -#: builtin.c:2881 +#: builtin.c:2906 #, c-format msgid "rshift(%lf, %lf): negative values will give strange results" -msgstr "rshift(%lf, %lf): valeurs négatives donneront d'étranges résultats" +msgstr "" +"rshift(%lf, %lf) : les valeurs négatives donneront des résultats inattendus" -#: builtin.c:2883 +#: builtin.c:2908 #, c-format msgid "rshift(%lf, %lf): fractional values will be truncated" -msgstr "rshift(%lf, %lf): valeurs fractionnaires seront tronquées" +msgstr "rshift(%lf, %lf) : les valeurs non entières seront tronquées" -#: builtin.c:2885 +#: builtin.c:2910 #, c-format msgid "rshift(%lf, %lf): too large shift value will give strange results" -msgstr "rshift(%lf, %lf): trop grand déplacement donnera d'étranges résultats" +msgstr "" +"rshift(%lf, %lf) : un décalage trop grand donnera des résultats inattendus" -#: builtin.c:2911 +#: builtin.c:2936 msgid "and: received non-numeric first argument" -msgstr "and: premier argument n'est pas numérique" +msgstr "and : le premier argument n'est pas numérique" -#: builtin.c:2913 +#: builtin.c:2938 msgid "and: received non-numeric second argument" -msgstr "and: second argument reçu n'est pas numérique" +msgstr "and : le second argument reçu n'est pas numérique" -#: builtin.c:2919 +#: builtin.c:2944 #, c-format msgid "and(%lf, %lf): negative values will give strange results" -msgstr "and(%lf, %lf): valeurs négatives donneront d'étranges résultats" +msgstr "" +"and(%lf, %lf) : les valeurs négatives donneront des résultats inattendus" -#: builtin.c:2921 +#: builtin.c:2946 #, c-format msgid "and(%lf, %lf): fractional values will be truncated" -msgstr "and(%lf, %lf): valeurs fractionnaires seront tronquées" +msgstr "and(%lf, %lf): les valeurs non entières seront tronquées" -#: builtin.c:2947 +#: builtin.c:2972 msgid "or: received non-numeric first argument" -msgstr "or: premier argument n'est pas numérique" +msgstr "or : le premier argument n'est pas numérique" -#: builtin.c:2949 +#: builtin.c:2974 msgid "or: received non-numeric second argument" -msgstr "or: second argument reçu n'est pas numérique" +msgstr "or : le second argument reçu n'est pas numérique" -#: builtin.c:2955 +#: builtin.c:2980 #, c-format msgid "or(%lf, %lf): negative values will give strange results" -msgstr "or(%lf, %lf): valeurs négatives donneront d'étranges résultats" +msgstr "" +"or(%lf, %lf) : les valeurs négatives donneront des résultats inattendus" -#: builtin.c:2957 +#: builtin.c:2982 #, c-format msgid "or(%lf, %lf): fractional values will be truncated" -msgstr "or(%lf, %lf): valeurs fractionnaires seront tronquées" +msgstr "or(%lf, %lf) : les valeurs non entières seront tronquées" -#: builtin.c:2983 +#: builtin.c:3008 msgid "xor: received non-numeric first argument" -msgstr "xor: premier argument n'est pas numérique" +msgstr "xor : le premier argument n'est pas numérique" -#: builtin.c:2985 +#: builtin.c:3010 msgid "xor: received non-numeric second argument" -msgstr "xor: second argument reçu n'est pas numérique" +msgstr "xor : le second argument reçu n'est pas numérique" -#: builtin.c:2991 +#: builtin.c:3016 #, c-format msgid "xor(%lf, %lf): negative values will give strange results" -msgstr "xor(%lf, %lf): valeurs négatives donneront d'étranges résultats" +msgstr "" +"xor(%lf, %lf) : les valeurs négatives donneront des résultats inattendus" -#: builtin.c:2993 +#: builtin.c:3018 #, c-format msgid "xor(%lf, %lf): fractional values will be truncated" -msgstr "xor(%lf, %lf): valeurs fractionnaires seront tronquées" +msgstr "xor(%lf, %lf) : les valeurs non entières seront tronquées" -#: builtin.c:3017 +#: builtin.c:3042 msgid "compl: received non-numeric argument" -msgstr "compl: argument n'est pas numérique" +msgstr "compl : l'argument n'est pas numérique" -#: builtin.c:3023 +#: builtin.c:3048 #, c-format msgid "compl(%lf): negative value will give strange results" -msgstr "compl(%lf): valeurs négatives donneront d'étranges résultats" +msgstr "compl(%lf) : les valeurs négatives donneront des résultats inattendus" -#: builtin.c:3025 +#: builtin.c:3050 #, c-format msgid "compl(%lf): fractional value will be truncated" -msgstr "compl(%lf): valeurs fractionnaires seront tronquées" +msgstr "compl(%lf) : les valeurs non entières seront tronquées" -#: builtin.c:3198 +#: builtin.c:3223 #, c-format msgid "dcgettext: `%s' is not a valid locale category" -msgstr "dcgettext: « %s » n'est pas dans un catégorie de localisation valide" +msgstr "dcgettext : « %s » n'est pas dans un catégorie valide de la locale" #: eval.c:372 #, c-format msgid "unknown nodetype %d" -msgstr "type de noeud inconnu %d" +msgstr "type de nÅ“ud %d inconnu" #: eval.c:422 msgid "buffer overflow in genflags2str" -msgstr "débordement de tampo dans genflag2str" +msgstr "débordement de tampon dans genflag2str" -#: eval.c:454 eval.c:460 profile.c:781 +#: eval.c:454 eval.c:460 profile.c:785 #, c-format msgid "attempt to use array `%s' in a scalar context" -msgstr "tentative d'utilisation du tableau « %s » dans un contexte scalaire" +msgstr "tentative d'utilisation du tableau « %s » dans un contexte scalaire" #: eval.c:802 #, c-format msgid "for loop: array `%s' changed size from %ld to %ld during loop execution" -msgstr "" -"for loop: tableau « %s » a changé de taille de %ld à %ld durant l'exécution " -"de la boucle" +msgstr "boucle for : la taille du tableau « %s » est passée de %ld à %ld" #: eval.c:823 msgid "`break' outside a loop is not portable" -msgstr "« break » en dehors de la boucle n'est pas portable" +msgstr "« break » hors d'une boucle n'est pas portable" #: eval.c:827 msgid "`break' outside a loop is not allowed" -msgstr "« break » en dehors de la boucle n'est pas permis" +msgstr "« break » est interdit en dehors d'une boucle" #: eval.c:844 msgid "`continue' outside a loop is not portable" -msgstr "« continue » en dehors de la boucle n'est pas portable" +msgstr "« continue » hors d'une boucle n'est pas portable" #: eval.c:848 msgid "`continue' outside a loop is not allowed" -msgstr "« continue » en dehors de la boucle n'est pas permis" +msgstr "« continue » est interdit en dehors d'une boucle" #: eval.c:882 msgid "`next' cannot be called from a BEGIN rule" -msgstr "« next » ne peut être appelé depuis une règle BEGIN" +msgstr "« next » ne peut être appelé depuis une règle BEGIN" #: eval.c:884 msgid "`next' cannot be called from an END rule" -msgstr "« next » ne peut être appelé depuis une règle END" +msgstr "« next » ne peut être appelé depuis une règle END" #: eval.c:893 msgid "`nextfile' cannot be called from a BEGIN rule" -msgstr "« nextfile » ne peut être appelé depuis une règle BEGIN" +msgstr "« nextfile » ne peut être appelé depuis une règle BEGIN" #: eval.c:895 msgid "`nextfile' cannot be called from an END rule" -msgstr "« nextfile » ne peut être appelé depuis une règle END" +msgstr "« nextfile » ne peut être appelé depuis une règle END" #: eval.c:952 msgid "statement has no effect" -msgstr "la déclaration n'a aucun effet" +msgstr "la déclaration est sans effet" -#: eval.c:1029 eval.c:1999 +#: eval.c:1029 eval.c:2011 #, c-format msgid "can't use function name `%s' as variable or array" -msgstr "ne peut utiliser le nom de la fonction « %s » comme variable ou tableau" +msgstr "impossible d'utiliser la fonction « %s » comme variable ou tableau" #: eval.c:1036 eval.c:1042 #, c-format msgid "reference to uninitialized argument `%s'" -msgstr "référence à un argument non initialisé « %s »" +msgstr "référence à un argument non initialisé « %s »" -#: eval.c:1051 eval.c:2008 +#: eval.c:1051 eval.c:2020 #, c-format msgid "reference to uninitialized variable `%s'" -msgstr "référence à une variable non initialisée « %s »" +msgstr "référence à une variable non initialisée « %s »" #: eval.c:1197 msgid "" "concatenation: side effects in one expression have changed the length of " "another!" msgstr "" -"concaténation: effects de bord dans une expression a modifié la longueur " -"d'une autre!" +"concaténation : un effet secondaire de l'une des expressions à modifié la " +"longueur d'une autre !" #: eval.c:1301 msgid "assignment used in conditional context" -msgstr "affectation utilisé dans un contexte conditionnel" +msgstr "affectation utilisée dans un contexte conditionnel" #: eval.c:1379 msgid "division by zero attempted" -msgstr "tentative de division par zéro" +msgstr "tentative de division par zéro" -#: eval.c:1409 profile.c:657 +#: eval.c:1409 profile.c:661 #, c-format msgid "illegal type (%s) in tree_eval" -msgstr "type illégal (%s) dans tree_eval" +msgstr "type illégal (%s) dans tree_eval" #: eval.c:1572 msgid "division by zero attempted in `/='" -msgstr "tentative de division par zéro dans « /= »" +msgstr "tentative de division par zéro dans « /= »" #: eval.c:1594 #, c-format msgid "division by zero attempted in `%%='" -msgstr "tentative de division par zéro dans « %%= »" +msgstr "tentative de division par zéro dans « %%= »" -#: eval.c:1859 +#: eval.c:1871 #, c-format msgid "function `%s' called with more arguments than declared" -msgstr "fonction « %s » appelée avec plus d'arguments que déclarées" +msgstr "la fonction « %s » a été appelée avec trop d'arguments" -#: eval.c:1904 +#: eval.c:1916 #, c-format msgid "function `%s' not defined" -msgstr "fonction « %s » non définie" +msgstr "fonction « %s » non définie" -#: eval.c:1971 +#: eval.c:1983 #, c-format msgid "" "\n" @@ -951,698 +965,702 @@ "\n" msgstr "" "\n" -"\t# Appel d'une fonction sur la pile:\n" +"\t# Pile des appels de fonctions :\n" "\n" -#: eval.c:1974 +#: eval.c:1986 #, c-format msgid "\t# -- main --\n" -msgstr "#t# -- main --\n" +msgstr "\t# -- programme principal --\n" -#: eval.c:2129 +#: eval.c:2141 msgid "attempt to field reference from non-numeric value" -msgstr "tentative de référence un champ à partir d'une valeur non numérique" +msgstr "tentative de référence à un champ via une valeur non numérique" -#: eval.c:2131 +#: eval.c:2143 msgid "attempt to reference from null string" -msgstr "tentative de référence à partir d'une chaîne nulle" +msgstr "tentative de référence à un champ via une chaîne nulle" -#: eval.c:2137 +#: eval.c:2149 #, c-format msgid "attempt to access field %d" -msgstr "tentative d'accès du champ %d" +msgstr "tentative d'accès au champ %d" -#: eval.c:2158 eval.c:2165 profile.c:836 +#: eval.c:2170 eval.c:2177 profile.c:840 msgid "assignment is not allowed to result of builtin function" -msgstr "" -"l'affectation n'est pas permise pour obtenir un résultat d'une fonction " -"interne" +msgstr "impossible d'affecter au résultat d'une fonction interne" -#: eval.c:2229 +#: eval.c:2241 msgid "`IGNORECASE' is a gawk extension" -msgstr "« IGNORECASE » est une extension de gawk" +msgstr "« IGNORECASE » est une extension gawk" -#: eval.c:2258 +#: eval.c:2270 msgid "`BINMODE' is a gawk extension" -msgstr "« BINMODE » est une extension de gawk" +msgstr "« BINMODE » est une extension gawk" -#: eval.c:2316 +#: eval.c:2328 #, c-format msgid "BINMODE value `%s' is invalid, treated as 3" -msgstr "" +msgstr "la valeur « %s » de BINMODE n'est pas valide, 3 utilisé à la place" -#: eval.c:2406 +#: eval.c:2418 #, c-format msgid "bad `%sFMT' specification `%s'" -msgstr "« %sFMT » spécification erronée « %s »" +msgstr "spécification de « %sFMT » erronée « %s »" -#: eval.c:2484 +#: eval.c:2496 msgid "turning off `--lint' due to assignment to `LINT'" -msgstr "désactivation « --lint » en raison d'une affectation à « LINT »" +msgstr "désactivation de « --lint » en raison d'une affectation à « LINT »" #: ext.c:62 ext.c:67 msgid "`extension' is a gawk extension" -msgstr "« extension » est une extension de gawk" +msgstr "« extension » est une extension de gawk" #: ext.c:77 #, c-format msgid "extension: cannot open `%s' (%s)\n" -msgstr "extension: ne peut ouvrir « %s » (%s)\n" +msgstr "extension : impossible d'ouvrir « %s » (%s)\n" #: ext.c:85 #, c-format msgid "extension: library `%s': cannot call function `%s' (%s)\n" -msgstr "extension: librairie « %s »: ne peut appeler la fonction « %s » (%s)\n" +msgstr "" +"extension : bibliothèque « %s » : impossible d'appeler la fonction « %s » (%" +"s)\n" #: ext.c:105 msgid "extension: missing function name" -msgstr "extension: nom de fonction manquant" +msgstr "extension : nom de fonction manquant" #: ext.c:110 #, c-format msgid "extension: illegal character `%c' in function name `%s'" -msgstr "extension: caractère illégal « %c » dans le nom de la fonction « %s »" +msgstr "extension : caractère illégal « %c » dans le nom de la fonction « %s »" #: ext.c:116 #, c-format msgid "extension: can't redefine function `%s'" -msgstr "extension: ne peut redéfinir la fonction « %s »" +msgstr "extension : impossible de redéfinir la fonction « %s »" #: ext.c:120 #, c-format msgid "extension: function `%s' already defined" -msgstr "extension: fonction « %s » est déjà définie" +msgstr "extension : fonction « %s » est déjà définie" #: ext.c:125 #, c-format msgid "extension: can't use gawk built-in `%s' as function name" msgstr "" -"extension: ne peut utilisé la fonction interne gawk « %s » comme nom de " -"fonction" +"extension : impossible d'utiliser la fonction interne gawk « %s » comme nom " +"de fonction" #: ext.c:127 #, c-format msgid "extension: function name `%s' previously defined" -msgstr "extension: nom de la fonction « %s » définie précédemment" +msgstr "extension : nom de la fonction « %s » déjà défini" #: ext.c:204 #, c-format msgid "function `%s' defined to take no more than %d argument(s)" -msgstr "" -"fonction « %s » est définie pour ne prendre pas plus de « %d » argument(s)" +msgstr "fonction « %s » définie comme ayant au maximum« %d » argument(s)" #: ext.c:207 #, c-format msgid "function `%s': missing argument #%d" -msgstr "fonction « %s »: argument #%d manquant" +msgstr "fonction « %s » : argument #%d manquant" #: ext.c:217 #, c-format msgid "function `%s': argument #%d: attempt to use scalar as an array" msgstr "" -"fonction « %s »: argument #%d: tentative d'utilisation du scalaire comme un " +"fonction « %s » : argument #%d : tentative d'utilisation d'un scalaire comme " "tableau" #: ext.c:221 #, c-format msgid "function `%s': argument #%d: attempt to use array as a scalar" msgstr "" -"fonction « %s »: argument #%d: tentative d'utiliser un tableau comme un " +"fonction « %s » : argument #%d : tentative d'utiliser un tableau comme " "scalaire" #: ext.c:246 msgid "Operation Not Supported" -msgstr "Opération non supportée" +msgstr "Opération non disponible" #: field.c:330 msgid "NF set to negative value" -msgstr "NF initialisé avec une valeur négative" +msgstr "une valeur négative a été assignée à NF" #: field.c:875 msgid "split: second argument is not an array" -msgstr "split: 2e argument n'est pas un tableau" +msgstr "split : le second argument n'est pas un tableau" #: field.c:909 msgid "split: null string for third arg is a gawk extension" -msgstr "split: chaîne vide pour le 3e argument est une extension de gawk" +msgstr "split : utiliser une chaîne vide en 3e argument est une extension gawk" #: field.c:961 msgid "`FIELDWIDTHS' is a gawk extension" -msgstr "« FIELDWIDTHS » est une extension de gawk" +msgstr "« FIELDWIDTHS » est une extension gawk" #: field.c:991 field.c:1005 #, c-format msgid "invalid FIELDWIDTHS value, near `%s'" -msgstr "valeur de FIELDWIDTHS invalide, près de `%s'" +msgstr "valeur de FIELDWIDTHS non valide, près de « %s »" #: field.c:1088 msgid "null string for `FS' is a gawk extension" -msgstr "chaîne vide pour « FS » est une extension de gawk" +msgstr "utiliser une chaîne vide pour « FS » est une extension gawk" #: field.c:1092 -#, fuzzy msgid "old awk does not support regexps as value of `FS'" -msgstr "l'ancien awk ne supporte pas l'opérateur « ** »" +msgstr "" +"l'ancien awk n'accepte pas les expr. rationnelles comme valeur de « FS »" -#: getopt.c:570 getopt.c:586 -#, fuzzy, c-format +#: getopt.c:574 getopt.c:590 +#, c-format msgid "%s: option '%s' is ambiguous\n" -msgstr "%s: option « %s » est ambiguë\n" +msgstr "%s : l'option « %s » est ambiguë\n" -#: getopt.c:619 getopt.c:623 -#, fuzzy, c-format +#: getopt.c:623 getopt.c:627 +#, c-format msgid "%s: option '--%s' doesn't allow an argument\n" -msgstr "%s: option « --%s » n'admet pas d'arguement\n" +msgstr "%s : l'option « --%s » n'accepte pas d'argument\n" -#: getopt.c:632 getopt.c:637 -#, fuzzy, c-format +#: getopt.c:636 getopt.c:641 +#, c-format msgid "%s: option '%c%s' doesn't allow an argument\n" -msgstr "%s: l'option « %c%s » ne requiert pas d'arguement\n" +msgstr "%s : l'option « %c%s » n'accepte pas d'argument\n" -#: getopt.c:680 getopt.c:699 getopt.c:1002 getopt.c:1021 -#, fuzzy, c-format -msgid "%s: option '%s' requires an argument\n" -msgstr "%s: l'option « %s » requiert un argument\n" +#: getopt.c:684 getopt.c:703 +#, c-format +msgid "%s: option '--%s' requires an argument\n" +msgstr "%s : l'option « --%s » nécessite un argument\n" -#: getopt.c:737 getopt.c:740 -#, fuzzy, c-format +#: getopt.c:741 getopt.c:744 +#, c-format msgid "%s: unrecognized option '--%s'\n" -msgstr "%s: option non reconnue « --%s »\n" +msgstr "%s : option non reconnue « --%s »\n" -#: getopt.c:748 getopt.c:751 -#, fuzzy, c-format +#: getopt.c:752 getopt.c:755 +#, c-format msgid "%s: unrecognized option '%c%s'\n" -msgstr "%s: option non reconnue « %c%s »\n" +msgstr "%s : option non reconnue « %c%s »\n" -#: getopt.c:800 getopt.c:803 -#, fuzzy, c-format +#: getopt.c:804 getopt.c:807 +#, c-format msgid "%s: invalid option -- '%c'\n" -msgstr "%s: option invalide -- %c\n" +msgstr "%s : option non valide -- « %c »\n" -#: getopt.c:853 getopt.c:870 getopt.c:1073 getopt.c:1091 -#, fuzzy, c-format +#: getopt.c:857 getopt.c:874 getopt.c:1082 getopt.c:1100 +#, c-format msgid "%s: option requires an argument -- '%c'\n" -msgstr "%s: l'option requiert un arguement -- %c\n" +msgstr "%s : l'option requiert un argument -- « %c »\n" -#: getopt.c:923 getopt.c:939 -#, fuzzy, c-format +#: getopt.c:930 getopt.c:946 +#, 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" -#: getopt.c:963 getopt.c:981 -#, fuzzy, c-format +#: getopt.c:970 getopt.c:988 +#, c-format msgid "%s: option '-W %s' doesn't allow an argument\n" -msgstr "%s: l'option « -W %s » ne requiert pas d'arguement\n" +msgstr "%s : l'option « -W %s » n'accepte pas d'argument\n" + +#: getopt.c:1009 getopt.c:1027 +#, c-format +msgid "%s: option '-W %s' requires an argument\n" +msgstr "%s : l'option « -W %s » nécessite un argument\n" #: io.c:322 io.c:352 #, c-format msgid "cannot open file `%s' for reading (%s)" -msgstr "ne peut ouvrir le fichier « %s » en lecture (%s)" +msgstr "impossible d'ouvrir le fichier « %s » en lecture (%s)" #: io.c:443 #, c-format msgid "close of fd %d (`%s') failed (%s)" -msgstr "fermeture de fd %d (« %s ») en échec (%s)" +msgstr "échec de la fermeture du fd %d (« %s ») : %s" #: io.c:583 #, c-format msgid "invalid tree type %s in redirect()" -msgstr "type d'arbre invalide %s dans redirect()" +msgstr "type d'arbre %s non valide dans redirect()" #: io.c:589 #, c-format msgid "expression in `%s' redirection only has numeric value" -msgstr "" -"l'expression de la redirection de « %s » a seulement une valeur numérique" +msgstr "l'expression dans la redirection « %s » n'a qu'une valeur numérique" #: io.c:595 #, c-format msgid "expression for `%s' redirection has null string value" -msgstr "" -"l'expression de la redirection de « %s » a une valeur nulle pour la chaîne" +msgstr "l'expression dans la redirection « %s » donne une chaîne nulle" #: io.c:600 #, c-format msgid "filename `%s' for `%s' redirection may be result of logical expression" msgstr "" -"nom de fichier « %s » pour le redirection « %s » peut être le résultat d'une " -"expression logique" +"le fichier « %s » de la redirection « %s » pourrait être le résultat d'une " +"expression booléenne" #: io.c:638 #, c-format msgid "unnecessary mixing of `>' and `>>' for file `%.*s'" -msgstr "mélange non nécessaire de « > » et de « >> » pour le fichier « %.*s »" +msgstr "mélange non nécessaire de « > » et « >> » pour le fichier « %.*s »" #: io.c:685 #, c-format msgid "can't open pipe `%s' for output (%s)" -msgstr "ne peut ouvrir un pipe « %s » en sortie (%s)" +msgstr "impossible d'ouvrir le tube « %s » en sortie (%s)" #: io.c:694 #, c-format msgid "can't open pipe `%s' for input (%s)" -msgstr "ne peut ouvrir un pipe « %s » en entrée (%s)" +msgstr "impossible d'ouvrir le tube « %s » en entrée (%s)" -#: io.c:712 -#, c-format -msgid "can't open two way socket `%s' for input/output (%s)" -msgstr "" -"ne peut ouvrir un socket bidirectionnel « %s » pour les entrées/sorties (%s)" - -#: io.c:716 +#: io.c:717 #, c-format msgid "can't open two way pipe `%s' for input/output (%s)" msgstr "" -"ne peut ouvrir un pipe bidirectionnel « %s » pour les entrées/sorties (%s)" +"impossible d'ouvrir un tube bidirectionnel « %s » en entrées-sorties (%s)" -#: io.c:793 +#: io.c:795 #, c-format msgid "can't redirect from `%s' (%s)" -msgstr "ne peut rediriger de « %s » (%s)" +msgstr "impossible de rediriger depuis « %s » (%s)" -#: io.c:796 +#: io.c:798 #, c-format msgid "can't redirect to `%s' (%s)" -msgstr "ne peut rediriger vers « %s » (%s)" +msgstr "impossible de rediriger vers « %s » (%s)" -#: io.c:849 +#: io.c:851 msgid "" "reached system limit for open files: starting to multiplex file descriptors" msgstr "" -"limite système atteinte pour l'ouverture des fichiers: début du multiplexage " -"des descripteurs de fichiers" +"limite système du nombre de fichiers ouverts atteinte : début du " +"multiplexage des descripteurs de fichiers" -#: io.c:865 +#: io.c:867 #, c-format msgid "close of `%s' failed (%s)." -msgstr "fermeture de « %s » en échec (%s)" +msgstr "échec de la fermeture de « %s » (%s)" -#: io.c:873 +#: io.c:875 msgid "too many pipes or input files open" -msgstr "trop de pipes ou de fichiers en lecture ouverts" +msgstr "trop de fichiers d'entrées ou de tubes ouverts" -#: io.c:896 +#: io.c:898 msgid "close: second argument must be `to' or `from'" -msgstr "close: 2e argument doit être « to » ou « from »" +msgstr "close : le second argument doit être « to » ou « from »" -#: io.c:910 +#: io.c:912 #, c-format msgid "close: `%.*s' is not an open file, pipe or co-process" -msgstr "close: « %.*s » n'est pas ni un fichier ouvert, pipe ou co-processus" +msgstr "" +"close : « %.*s » n'est ni un fichier ouvert, ni un tube ou un co-processus" -#: io.c:915 +#: io.c:917 msgid "close of redirection that was never opened" -msgstr "fermeture de la redirection qui n'a jamais été ouverte" +msgstr "fermeture d'une redirection qui n'a jamais été ouverte" -#: io.c:1012 +#: io.c:1014 #, c-format msgid "close: redirection `%s' not opened with `|&', second argument ignored" msgstr "" -"close: redirection « %s » n'a pas été ouverte ave « |& » 2e argument ignoré" +"close : la redirection « %s » n'a pas été ouverte avec « |& », second argument " +"ignoré" -#: io.c:1028 +#: io.c:1030 #, c-format msgid "failure status (%d) on pipe close of `%s' (%s)" -msgstr "constat d'échec (%d) lors de la fermeture du pipe « %s » (%s)" +msgstr "résultat d'échec (%d) sur la fermeture du tube « %s » (%s)" -#: io.c:1031 +#: io.c:1033 #, c-format msgid "failure status (%d) on file close of `%s' (%s)" -msgstr "constat d'échec (%d) lors de la fermeture du fichier « %s » (%s)" +msgstr "résultat d'échec (%d) sur la fermeture du fichier « %s » (%s)" -#: io.c:1051 +#: io.c:1053 #, c-format msgid "no explicit close of socket `%s' provided" -msgstr "aucune fermeture explicite du socket « %s » fournie" +msgstr "aucune fermeture explicite du connecteur « %s » fournie" -#: io.c:1054 +#: io.c:1056 #, c-format msgid "no explicit close of co-process `%s' provided" -msgstr "aucune fermeture explicite du co-processus « %s » fournie" +msgstr "aucune fermeture explicite du co-processus « %s » fournie" -#: io.c:1057 +#: io.c:1059 #, c-format msgid "no explicit close of pipe `%s' provided" -msgstr "aucune fermeture explicite du pipe « %s » fournie" +msgstr "aucune fermeture explicite du tube « %s » fournie" -#: io.c:1060 +#: io.c:1062 #, c-format msgid "no explicit close of file `%s' provided" -msgstr "aucune fermeture explicite du fichier « %s » fournie" +msgstr "aucune fermeture explicite du fichier « %s » fournie" -#: io.c:1088 io.c:1143 main.c:776 main.c:818 +#: io.c:1090 io.c:1145 main.c:781 main.c:823 #, c-format msgid "error writing standard output (%s)" -msgstr "erreur lors de l'écriture vers stdout (%s)" +msgstr "erreur lors de l'écriture vers la sortie standard (%s)" -#: io.c:1092 io.c:1148 +#: io.c:1094 io.c:1150 #, c-format msgid "error writing standard error (%s)" -msgstr "erreur lors de l'écriture vers stderr (%s)" +msgstr "erreur lors de l'écriture vers l'erreur standard (%s)" -#: io.c:1100 +#: io.c:1102 #, c-format msgid "pipe flush of `%s' failed (%s)." -msgstr "vidange du pipie de « %s » en échec (%s)" +msgstr "échec du vidage du tube « %s » (%s)." -#: io.c:1103 +#: io.c:1105 #, c-format msgid "co-process flush of pipe to `%s' failed (%s)." -msgstr "vidange du pipe par le co-processus vers « %s » en échec (%s)" +msgstr "échec du vidage du tube vers « %s » par le co-processus (%s)." -#: io.c:1106 +#: io.c:1108 #, c-format msgid "file flush of `%s' failed (%s)." -msgstr "vidange du fichier « %s » en échec (%s)" +msgstr "échec du vidage vers le fichier « %s » (%s)" -#: io.c:1220 -#, fuzzy, c-format +#: io.c:1222 +#, c-format msgid "local port %s invalid in `/inet'" -msgstr "port local invalide dans « %s »" +msgstr "le port local %s n'est pas valide dans « /inet »" -#: io.c:1237 +#: io.c:1239 #, c-format msgid "remote host and port information (%s, %s) invalid" msgstr "" +"les informations sur l'hôte et le port distants (%s, %s) ne sont pas valides" -#: io.c:1272 +#: io.c:1274 msgid "/inet/raw client not ready yet, sorry" -msgstr "le client /inet/raw n'est pas encore prêt, désolé" +msgstr "le client /inet/raw n'est pas encore prêt, désolé" -#: io.c:1275 io.c:1311 +#: io.c:1277 io.c:1313 msgid "only root may use `/inet/raw'." -msgstr "seul root peut utiliser « /inet/raw »" +msgstr "seul root peut utiliser « /inet/raw »" -#: io.c:1309 +#: io.c:1311 msgid "/inet/raw server not ready yet, sorry" -msgstr "le serveur /inet/raw n'est pas encore prêt, désolé" +msgstr "le serveur /inet/raw n'est pas encore prêt, désolé" -#: io.c:1407 +#: io.c:1409 #, c-format msgid "no (known) protocol supplied in special filename `%s'" -msgstr "aucun protocole (connu) fourni dans le nom de fichier spécial « %s »" +msgstr "" +"aucun protocole (connu) n'a été fourni dans le nom de fichier spécial « %s »" -#: io.c:1421 +#: io.c:1423 #, c-format msgid "special file name `%s' is incomplete" -msgstr "nom spécial de fichier « %s » est incomplet" +msgstr "nom de fichier spécial « %s » incomplet" -#: io.c:1436 +#: io.c:1438 msgid "must supply a remote hostname to `/inet'" -msgstr "un nom de hôte distant doit être fourni à « /inet »" +msgstr "un nom d'hôte distant doit être fourni à « /inet »" -#: io.c:1454 +#: io.c:1456 msgid "must supply a remote port to `/inet'" -msgstr "un port distant doit être fournis à « /inet »" +msgstr "un port distant doit être fourni à « /inet »" -#: io.c:1485 +#: io.c:1502 msgid "TCP/IP communications are not supported" -msgstr "les communications TCP/IP ne sont pas supportées" +msgstr "les communications TCP/IP ne sont pas disponibles" -#: io.c:1494 +#: io.c:1511 #, c-format msgid "file `%s' is a directory" -msgstr "le fichier « %s » est un répertoire" +msgstr "le fichier « %s » est un répertoire" -#: io.c:1555 +#: io.c:1572 #, c-format msgid "use `PROCINFO[\"%s\"]' instead of `%s'" -msgstr "utliser « PROCINFO[\"%s\"] » au lieu de « %s »" +msgstr "utilisez « PROCINFO[\"%s\"] » au lieu de « %s »" -#: io.c:1593 +#: io.c:1610 msgid "use `PROCINFO[...]' instead of `/dev/user'" -msgstr "utliser « PROCINFO[\"%s\"] » au lieu de « /dev/user »" +msgstr "utlisez « PROCINFO[\"%s\"] » au lieu de « /dev/user »" -#: io.c:1658 io.c:1853 +#: io.c:1675 io.c:1872 #, c-format msgid "could not open `%s', mode `%s'" -msgstr "ne peut ouvrir « %s », mode « %s »" +msgstr "impossible d'ouvrir « %s », mode « %s »" -#: io.c:1904 +#: io.c:1923 #, c-format msgid "close of master pty failed (%s)" -msgstr "échec de la fermeture du pty maître (%s)" +msgstr "échec de la fermeture du pty maître (%s)" -#: io.c:1906 io.c:2058 io.c:2209 +#: io.c:1925 io.c:2077 io.c:2228 #, c-format msgid "close of stdout in child failed (%s)" -msgstr "échec de fermeture de stdout du processus fils (%s)" +msgstr "échec de la fermeture de stdout du processus fils (%s)" -#: io.c:1909 +#: io.c:1928 #, c-format msgid "moving slave pty to stdout in child failed (dup: %s)" msgstr "" -"échec de redirection de pty esclave vers stdout du processus fils (dup: %s)" +"échec du déplacement du pty esclave vers le stdout du processus fils (dup : %" +"s)" -#: io.c:1911 io.c:2063 +#: io.c:1930 io.c:2082 #, c-format msgid "close of stdin in child failed (%s)" -msgstr "échec de fermeture de stdin du processus fils (%s)" +msgstr "échec de fermeture du stdin du processus fils (%s)" -#: io.c:1914 +#: io.c:1933 #, c-format msgid "moving slave pty to stdin in child failed (dup: %s)" msgstr "" -"échec de redirection du pty esclave vers stdin du processus fils (dup: %s)" +"échec du déplacement du pty esclave vers le stdin du processus fils (dup : %" +"s)" -#: io.c:1916 io.c:1935 +#: io.c:1935 io.c:1954 #, c-format msgid "close of slave pty failed (%s)" -msgstr "échec de la fermeture du pty esclave (%s)" +msgstr "échec de la fermeture du pty esclave (%s)" -#: io.c:2009 io.c:2061 io.c:2190 io.c:2212 +#: io.c:2028 io.c:2080 io.c:2209 io.c:2231 #, c-format msgid "moving pipe to stdout in child failed (dup: %s)" -msgstr "échec de redirection du pipe vers stdout du processus fils (dup: %s)" +msgstr "échec du déplacement du tube vers stdout du processus fils (dup : %s)" -#: io.c:2013 io.c:2066 +#: io.c:2032 io.c:2085 #, c-format msgid "moving pipe to stdin in child failed (dup: %s)" -msgstr "échec de redirection du pipe vers stdin du processus fils (dup: %s)" +msgstr "échec de déplacement du tube vers stdin du processus fils (dup : %s)" -#: io.c:2030 io.c:2203 +#: io.c:2049 io.c:2222 msgid "restoring stdout in parent process failed\n" -msgstr "restauration de stdout par le processus parent a échoué\n" +msgstr "échec de la restauration du stdout dans le processus parent\n" -#: io.c:2035 +#: io.c:2054 msgid "restoring stdin in parent process failed\n" -msgstr "restauration de stdin par le processus parent a échoué\n" +msgstr "échec de la restauration du stdin dans le processus parent\n" -#: io.c:2069 io.c:2214 io.c:2225 +#: io.c:2088 io.c:2233 io.c:2244 #, c-format msgid "close of pipe failed (%s)" -msgstr "échec de la fermeture du pipe (%s)" +msgstr "échec de la fermeture du tube (%s)" -#: io.c:2114 +#: io.c:2133 msgid "`|&' not supported" -msgstr "« |& » non supporté" +msgstr "« |& » non disponible" -#: io.c:2180 +#: io.c:2199 #, c-format msgid "cannot open pipe `%s' (%s)" -msgstr "ne ouvrir un pipe « %s » (%s)" +msgstr "impossible d'ouvrir le tube « %s » (%s)" -#: io.c:2221 +#: io.c:2240 #, c-format msgid "cannot create child process for `%s' (fork: %s)" -msgstr "ne créer le processus fils pour « %s » (fork: %s)" +msgstr "impossible de créer le processus fils pour « %s » (fork : %s)" -#: io.c:2603 +#: io.c:2622 #, c-format msgid "data file `%s' is empty" -msgstr "le fichier de données « %s » est vide" +msgstr "le fichier de données « %s » est vide" -#: io.c:2644 io.c:2652 +#: io.c:2663 io.c:2671 msgid "could not allocate more input memory" -msgstr "ne peut allouer plus de mémoire pour l'entrée" +msgstr "impossible d'allouer plus de mémoire d'entrée" -#: io.c:3020 io.c:3093 +#: io.c:3039 io.c:3112 #, c-format msgid "error reading input file `%s': %s" -msgstr "erreur lors de la lecture du fichier source « %s »: %s" +msgstr "erreur lors de la lecture du fichier en entrée « %s » : %s" -#: io.c:3218 +#: io.c:3237 msgid "multicharacter value of `RS' is a gawk extension" -msgstr "valeur de « RS » avec multiple caractères est une extension gawk" +msgstr "" +"l'utilisation d'un « RS » de plusieurs caractères est une extension gawk" -#: main.c:304 +#: main.c:306 msgid "out of memory" -msgstr "Mémoire épuisée" +msgstr "mémoire épuisée" -#: main.c:373 +#: main.c:374 msgid "`-m[fr]' option irrelevant in gawk" -msgstr "« -m[fr] » est une option non pertinente en gawk" +msgstr "l'option « -m[fr] » n'est pas pertinente en gawk" -#: main.c:375 +#: main.c:376 msgid "-m option usage: `-m[fr] nnn'" -msgstr "-m usage de l'option: « -m[fr] nnn »" +msgstr "utilisation de l'option « -m » : « -m[fr] nnn »" -#: main.c:392 +#: main.c:393 #, c-format msgid "%s: option `-W %s' unrecognized, ignored\n" -msgstr "%s: l'option « -W %s » n'est pas reconnue, ignorée\n" +msgstr "%s : option « -W %s » non reconnue, ignorée\n" -#: main.c:433 +#: main.c:434 msgid "empty argument to `--source' ignored" -msgstr "argument vide à l'option « --source », ignorée" +msgstr "argument de l'option « --source » vide, ignorée" -#: main.c:487 +#: main.c:488 #, c-format msgid "%s: option requires an argument -- %c\n" -msgstr "%s: l'option requiert un arguement -- %c\n" +msgstr "%s : l'option requiert un argument -- %c\n" -#: main.c:506 +#: main.c:509 msgid "environment variable `POSIXLY_CORRECT' set: turning on `--posix'" msgstr "" -"variable d'environnement « POSIXLY__CORRECT » initialisée: utilisation de « --" -"posix »" +"variable d'environnement « POSIXLY__CORRECT » définie : activation de « --" +"posix »" -#: main.c:512 +#: main.c:515 msgid "`--posix' overrides `--traditional'" -msgstr "« --posix » écrase « --traditional »" +msgstr "« --posix » prend le pas sur « --traditional »" -#: main.c:523 +#: main.c:526 msgid "`--posix'/`--traditional' overrides `--non-decimal-data'" -msgstr "« --posix »/« --traditional » écrase « --non-decimal-data »" +msgstr "" +"« --posix » et « --traditional » prennent le pas sur « --non-decimal-data »" -#: main.c:527 +#: main.c:530 #, c-format msgid "running %s setuid root may be a security problem" msgstr "" -"exécution de %s en mode setuid root peut causer un problème de sécurité" +"l'exécution de %s en mode setuid root peut être un problème de sécurité" -#: main.c:568 +#: main.c:571 #, c-format msgid "can't set binary mode on stdin (%s)" -msgstr "ne peut initialiser le mode binaire sur stdin (%s)" +msgstr "impossible d'activer le mode binaire sur stdin (%s)" -#: main.c:571 +#: main.c:574 #, c-format msgid "can't set binary mode on stdout (%s)" -msgstr "ne peut initialiser le mode binaire sur stdout (%s)" +msgstr "impossible d'activer le mode binaire sur stdout (%s)" -#: main.c:573 +#: main.c:576 #, c-format msgid "can't set binary mode on stderr (%s)" -msgstr "ne peut initialiser le mode binaire sur stderr (%s)" +msgstr "impossible d'activer le mode binaire sur stderr (%s)" -#: main.c:612 +#: main.c:617 msgid "no program text at all!" -msgstr "aucun programme!" +msgstr "aucun programme !" -#: main.c:716 +#: main.c:721 #, c-format msgid "Usage: %s [POSIX or GNU style options] -f progfile [--] file ...\n" msgstr "" -"Usage: %s [style des options POSIX ou GNU] -f fichierprog [--] fichier ...\n" +"Utilisation : %s [options GNU ou POSIX] -f fichier_prog [--] fichier ...\n" -#: main.c:718 +#: main.c:723 #, c-format msgid "Usage: %s [POSIX or GNU style options] [--] %cprogram%c file ...\n" msgstr "" -"Usage: %s [style des options POSIX ou GNU] [--] %cprogram%c fichier ...\n" +"Utilisation : %s [options GNU ou POSIX] [--] %cprogramme%c fichier ...\n" -#: main.c:723 +#: main.c:728 msgid "POSIX options:\t\tGNU long options:\n" -msgstr "Options POSIX:\t\toptions de long format GNU:\n" +msgstr "Options POSIX :\t\tOptions longues GNU :\n" -#: main.c:724 +#: main.c:729 msgid "\t-f progfile\t\t--file=progfile\n" -msgstr "\t-f fichierprog\t\t--file=fichierprog\n" +msgstr "\t-f fichier_prog\t\t--file=fichier_prog\n" -#: main.c:725 +#: main.c:730 msgid "\t-F fs\t\t\t--field-separator=fs\n" -msgstr "#t-F fs\t\t\t--field-separator=fs\n" +msgstr "\t-F fs\t\t\t--field-separator=fs\n" -#: main.c:726 +#: main.c:731 msgid "\t-v var=val\t\t--assign=var=val\n" -msgstr "#t-v var=valeur\t\t--assign=var=valeur\n" +msgstr "\t-v var=valeur\t\t--assign=var=valeur\n" -#: main.c:727 +#: main.c:732 msgid "\t-m[fr] val\n" msgstr "\t-m[fr] valeur\n" -#: main.c:728 +#: main.c:733 msgid "\t-O\t\t\t--optimize\n" -msgstr "" +msgstr "\t-O\t\t\t--optimize\n" -#: main.c:729 +#: main.c:734 msgid "\t-W compat\t\t--compat\n" msgstr "\t-W compat\t\t--compat\n" -#: main.c:730 +#: main.c:735 msgid "\t-W copyleft\t\t--copyleft\n" msgstr "\t-W copyleft\t\t--copyleft\n" -#: main.c:731 +#: main.c:736 msgid "\t-W copyright\t\t--copyright\n" msgstr "\t-W copyright\t\t--copyright\n" -#: main.c:732 +#: main.c:737 msgid "\t-W dump-variables[=file]\t--dump-variables[=file]\n" msgstr "\t-W dump-variables[=fichier]\t--dump-variables[=fichier]\n" -#: main.c:733 +#: main.c:738 msgid "\t-W exec=file\t\t--exec=file\n" msgstr "\t-W exec=fichier\t\t--exec=fichier\n" -#: main.c:734 +#: main.c:739 msgid "\t-W gen-po\t\t--gen-po\n" msgstr "\t-W gen-po\t\t--gen-po\n" -#: main.c:735 +#: main.c:740 msgid "\t-W help\t\t\t--help\n" msgstr "\t-W help\t\t\t--help\n" -#: main.c:736 +#: main.c:741 msgid "\t-W lint[=fatal]\t\t--lint[=fatal]\n" msgstr "\t-W lint[=fatal]\t\t--lint[=fatal]\n" -#: main.c:737 +#: main.c:742 msgid "\t-W lint-old\t\t--lint-old\n" msgstr "\t-W lint-old\t\t--lint-old\n" -#: main.c:738 +#: main.c:743 msgid "\t-W non-decimal-data\t--non-decimal-data\n" msgstr "\t-W non-decimal-data\t--non-decimal-data\n" -#: main.c:740 +#: main.c:745 msgid "\t-W nostalgia\t\t--nostalgia\n" msgstr "\t-W nostalgia\t\t--nostalgia\n" -#: main.c:743 +#: main.c:748 msgid "\t-W parsedebug\t\t--parsedebug\n" msgstr "\t-W parsedebug\t\t--parsedebug\n" -#: main.c:745 +#: main.c:750 msgid "\t-W profile[=file]\t--profile[=file]\n" msgstr "\t-W profile[=fichier]\t--profile[=fichier]\n" -#: main.c:746 +#: main.c:751 msgid "\t-W posix\t\t--posix\n" msgstr "\t-W posix\t\t--posix\n" -#: main.c:747 +#: main.c:752 msgid "\t-W re-interval\t\t--re-interval\n" msgstr "\t-W re-interval\t\t--re-interval\n" -#: main.c:748 +#: main.c:753 msgid "\t-W source=program-text\t--source=program-text\n" -msgstr "\t-W source=program-text\t--source=program-text\n" +msgstr "\t-W source='programme'\t--source='programme'\n" -#: main.c:749 +#: main.c:754 msgid "\t-W traditional\t\t--traditional\n" msgstr "\t-W traditional\t\t--traditional\n" -#: main.c:750 +#: main.c:755 msgid "\t-W usage\t\t--usage\n" msgstr "\t-W usage\t\t--usage\n" -#: main.c:751 +#: main.c:756 msgid "\t-W use-lc-numeric\t--use-lc-numeric\n" -msgstr "" +msgstr "\t-W use-lc-numeric\t--use-lc-numeric\n" -#: main.c:752 +#: main.c:757 msgid "\t-W version\t\t--version\n" msgstr "\t-W version\t\t--version\n" @@ -1651,7 +1669,7 @@ #. for this application. Please add _another line_ with the #. address for translation bugs. #. no-wrap -#: main.c:761 +#: main.c:766 msgid "" "\n" "To report bugs, see node `Bugs' in `gawk.info', which is\n" @@ -1659,32 +1677,35 @@ "\n" msgstr "" "\n" -"Pour rapporter une anomalies, voir la section « Bugs » dans « gawk.info » de " -"la section\n" -"« Problems and Bugs » dans la version imprimée.\n" +"Pour signaler une anomalie, consultez la section « Bugs » du fichier\n" +"« gawk.info », qui est dans la section « Reporting Problems and Bugs »\n" +"de la version imprimée.\n" +"Pour signaler une erreur de traduction, envoyez un message à la liste\n" +".\n" +"\n" -#: main.c:765 +#: main.c:770 msgid "" "gawk is a pattern scanning and processing language.\n" "By default it reads standard input and writes standard output.\n" "\n" msgstr "" -"gawk est un langage de gtraitement et de scrutation de patrons de chaînes.\n" -"Par défaut, il lit de l'entrée standard et écrit sur la sortie standard.\n" +"gawk est un langage de recherche et de traitement des motifs.\n" +"Par défaut, il lit l'entrée standard et écrit sur la sortie standard.\n" "\n" -#: main.c:769 +#: main.c:774 msgid "" "Examples:\n" "\tgawk '{ sum += $1 }; END { print sum }' file\n" "\tgawk -F: '{ print $1 }' /etc/passwd\n" msgstr "" -"Exemples:\n" -"\tgawk '{ sum += $1 }; END { print sum }' file\n" +"Exemples :\n" +"\tgawk '{ somme += $1 }; END { print somme }' fichier\n" "\tgawk -F: '{ print $1 }' /etc/passwd\n" -#: main.c:789 -#, fuzzy, c-format +#: main.c:794 +#, c-format msgid "" "Copyright (C) 1989, 1991-%d Free Software Foundation.\n" "\n" @@ -1694,15 +1715,16 @@ "(at your option) any later version.\n" "\n" msgstr "" -"Copyright © 1998, 1991-%d Free Software Foundation, Inc.\n" +"Copyright © 1998, 1991-%d Free Software Foundation.\n" "\n" -"Ce programme est un logiciel libre; vous pouvez le redistribuer ou le\n" -"modifier selon les termes de la License Publique Générale de GNU, publiée\n" -"par la Free Software Foundation; soit la version 2 de la Licence ou,\n" -"soit (selon vos préférences) toute version ultérieure.\n" +"Ce programme est un logiciel libre ; vous pouvez le redistribuer et le\n" +"modifier selon les termes de la Licence publique générale GNU [GNU\n" +"General Public License], telle que publiée par la Free Software\n" +"Foundation ; soit selon la version 3 de cette licence, soit selon une\n" +"version ultérieure de votre choix.\n" "\n" -#: main.c:797 +#: main.c:802 msgid "" "This program is distributed in the hope that it will be useful,\n" "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" @@ -1710,344 +1732,361 @@ "GNU General Public License for more details.\n" "\n" msgstr "" -"Ce logiciel est distribué en espérant qu'il soit utile,\n" -"mais sans AUCUNE garantie; sans la garantie liée à des raisons\n" -"COMMERCIALES ou pour RÉPONDRE À UN BESOIN PARTICULIER.\n" -"selon les termes de la « GNU General Public License ».\n" -"Pour plus d'informations à ce sujet, consulter la « GNU General Public " -"License ».\n" +"Ce logiciel est distribué en espérant qu'il sera utile, mais SANS AUCUNE\n" +"GARANTIE, y compris les garanties implicites D'ADAPTATION À UN BUT\n" +"SPÉCIFIQUE et de COMMERCIALISATION. Pour plus d'informations à ce\n" +"sujet, consultez le texte de la Licence publique générale GNU [GNU\n" +"General Public License].\n" +"\n" -#: main.c:808 -#, fuzzy +#: main.c:813 msgid "" "You should have received a copy of the GNU General Public License\n" "along with this program. If not, see http://www.gnu.org/licenses/.\n" msgstr "" -"Vous devriez avoir reçu copie de la Licence Publique Générale de GNU\n" -"avec ce programme; sinon, sinon écrire à la Free Software Foundation, Inc.,\n" -"51 Franklin Street, FIth Floor, Boston, MA 02110-1301, USA.\n" +"Vous devriez avoir reçu copie de la Licence publique générale de GNU\n" +"[GNU General Public License] avec ce programme. Sinon, consultez\n" +"http://www.gnu.org/licenses/.\n" -#: main.c:843 +#: main.c:848 msgid "-Ft does not set FS to tab in POSIX awk" -msgstr "" -"-Ft ne permet pas d'initialiser FS à un tabulateur dans la version POSIX de " -"awk" +msgstr "-Ft ne définit pas le FS comme étant une tabulation en awk POSIX" -#: main.c:1117 +#: main.c:1122 #, c-format msgid "" "%s: `%s' argument to `-v' not in `var=value' form\n" "\n" msgstr "" -"%s: « %s » argument pour « -v » n'utilise pas la formulation « var=valeur »\n" +"%s : « %s » l'argument de « -v » ne respecte pas la forme « var=valeur »\n" "\n" -#: main.c:1137 +#: main.c:1142 #, c-format msgid "`%s' is not a legal variable name" -msgstr "« %s » n'est pas un nom légal de variable" +msgstr "« %s » n'est pas un nom de variable valide" -#: main.c:1140 +#: main.c:1145 #, c-format msgid "`%s' is not a variable name, looking for file `%s=%s'" -msgstr "« %s » n'est pas un nom de variable, recherche du fichier « %s=%s »" +msgstr "« %s » n'est pas un nom de variable, recherche du fichier « %s=%s »" -#: main.c:1179 +#: main.c:1184 msgid "floating point exception" -msgstr "exception de la virgule flottante" +msgstr "exception du traitement en virgule flottante" -#: main.c:1186 +#: main.c:1191 msgid "fatal error: internal error" -msgstr "erreur fatale: erreur interne" +msgstr "erreur fatale : erreur interne" -#: main.c:1200 -#, fuzzy +#: main.c:1206 msgid "fatal error: internal error: segfault" -msgstr "erreur fatale: erreur interne" +msgstr "erreur fatale : erreur interne : erreur de segmentation" -#: main.c:1212 -#, fuzzy +#: main.c:1218 msgid "fatal error: internal error: stack overflow" -msgstr "erreur fatale: erreur interne" +msgstr "erreur fatale : erreur interne : débordement de la pile" -#: main.c:1261 +#: main.c:1268 #, c-format msgid "no pre-opened fd %d" -msgstr "aucun fd pré-ouvert pour %d" +msgstr "aucun descripteur fd %d pré-ouvert" -#: main.c:1268 +#: main.c:1275 #, c-format msgid "could not pre-open /dev/null for fd %d" -msgstr "ne peut pré-ouvrir /dev/null pour le descripteud fd %d" +msgstr "impossible de pré-ouvrir /dev/null pour le descripteud fd %d" -#: main.c:1291 main.c:1300 +#: main.c:1298 main.c:1307 #, c-format msgid "could not find groups: %s" -msgstr "n'a pu trouvé les groupes: %s" +msgstr "impossible de trouver les groupes : %s" #: msg.c:54 #, c-format msgid "cmd. line:" -msgstr "cmd. ligne:" +msgstr "ligne de commande :" #: msg.c:120 msgid "warning: " -msgstr "AVERTISSEMENT:" +msgstr "avertissement : " #: msg.c:142 msgid "error: " -msgstr "Erreur: " +msgstr "erreur : " #: msg.c:178 msgid "fatal: " -msgstr "Fatal: " +msgstr "erreur fatale : " #: node.c:63 node.c:78 node.c:105 node.c:121 node.c:151 msgid "can't convert string to float" -msgstr "ne peut convertir la chaîne en nombre flottant" +msgstr "impossible de convertir la chaîne en nombre flottant" -#: node.c:462 +#: node.c:465 msgid "backslash at end of string" -msgstr "barre oblique inverse à la fin de la chaîne" +msgstr "barre oblique inverse à la fin de la chaîne" -#: node.c:606 -#, fuzzy, c-format +#: node.c:609 +#, c-format msgid "old awk does not support the `\\%c' escape sequence" -msgstr "l'ancien awk ne supporte pas l'opérateur « ** »" +msgstr "l'ancien awk ne dispose pas de la séquence d'échappement « \\%c »" -#: node.c:657 +#: node.c:660 msgid "POSIX does not allow `\\x' escapes" -msgstr "POSIX ne permet pas de séquence d'échappement « \\x »" +msgstr "POSIX n'autorise pas les séquences d'échappement « \\x »" -#: node.c:663 +#: node.c:666 msgid "no hex digits in `\\x' escape sequence" -msgstr "aucun chiffre hexadécimal dans la séquence d'échappement « \\x » " +msgstr "aucun chiffre hexadécimal dans la séquence d'échappement « \\x » " -#: node.c:685 +#: node.c:688 #, c-format msgid "" "hex escape \\x%.*s of %d characters probably not interpreted the way you " "expect" msgstr "" +"la séquence d'échappement hexa. \\x%.*s de %d caractères ne sera " +"probablement pas interprétée comme vous l'imaginez" -#: node.c:700 +#: node.c:703 #, c-format msgid "escape sequence `\\%c' treated as plain `%c'" -msgstr "séquence d'échappement « \\%c » traitée simplement comme « %c »" +msgstr "séquence d'échappement « \\%c » traitée comme un simple « %c »" #: posix/gawkmisc.c:172 #, c-format msgid "%s %s `%s': could not set close-on-exec: (fcntl: %s)" -msgstr "%s %s « %s »: ne peut initialiser close-on-exec: (fcntl: %s)" +msgstr "%s %s « %s »: impossible de positionner close-on-exec: (fcntl: %s)" -#: profile.c:93 +#: profile.c:94 #, c-format msgid "could not open `%s' for writing: %s" -msgstr "ne peut ouvrir « %s » en écriture: %s" +msgstr "impossible d'ouvrir « %s » en écriture : %s" -#: profile.c:453 +#: profile.c:457 #, c-format msgid "internal error: %s with null vname" -msgstr "erreur interne: %s avec un vname nul" +msgstr "erreur interne : %s avec un vname nul" -#: profile.c:517 -#, fuzzy +#: profile.c:521 msgid "# treated internally as `delete'" -msgstr "# traité de manière interne comme « delete »" +msgstr "# traité en interne comme un « delete »" -#: profile.c:1069 +#: profile.c:1073 #, c-format msgid "# this is a dynamically loaded extension function" -msgstr "# cela est un extension d'une fonction chargée dynamiquement" +msgstr "# ceci est une fonction d'extension chargée dynamiquement" -#: profile.c:1100 +#: profile.c:1104 #, c-format msgid "\t# gawk profile, created %s\n" -msgstr "\t# profile gawk, créé %s\n" +msgstr "\t# profile gawk, créé %s\n" -#: profile.c:1103 +#: profile.c:1107 #, c-format msgid "" "\t# BEGIN block(s)\n" "\n" msgstr "" -"#t# DÉBUT de bloc(s)\n" +"\t# Bloc(s) BEGIN\n" "\n" -#: profile.c:1113 +#: profile.c:1117 #, c-format msgid "" "\t# Rule(s)\n" "\n" msgstr "" -"\t# Règle(s)\n" +"\t# Règle(s)\n" "\n" -#: profile.c:1119 +#: profile.c:1123 #, c-format msgid "" "\t# END block(s)\n" "\n" msgstr "" -"\t# FIN de bloc(s)\n" +"\t# Bloc(s) END\n" "\n" -#: profile.c:1139 +#: profile.c:1143 #, c-format msgid "" "\n" "\t# Functions, listed alphabetically\n" msgstr "" "\n" -"\t# Liste alphabétique des fonctions\n" +"\t# Fonctions, par ordre alphabétique\n" -#: profile.c:1400 +#: profile.c:1405 #, c-format msgid "unexpected type %s in prec_level" msgstr "type %s inattendu dans prec_level" -#: profile.c:1500 -#, fuzzy, c-format +#: profile.c:1527 +#, c-format msgid "Unknown node type %s in pp_var" -msgstr "type de noeud inconnu %d" +msgstr "Type de nÅ“ud inconnu %s dans pp_var" -#: regcomp.c:133 +#: regcomp.c:132 msgid "Success" -msgstr "Succès" +msgstr "Succès" -#: regcomp.c:136 +#: regcomp.c:135 msgid "No match" msgstr "Aucune concordance" -#: regcomp.c:139 +#: regcomp.c:138 msgid "Invalid regular expression" -msgstr "Expression régulière invalide" +msgstr "Expression rationnelle non valide" -#: regcomp.c:142 +#: regcomp.c:141 msgid "Invalid collation character" -msgstr "Caractère de collation invalide" +msgstr "Caractère d'interclassement non valide" -#: regcomp.c:145 +#: regcomp.c:144 msgid "Invalid character class name" -msgstr "Nom de classe de caractères invalide" +msgstr "Nom de classe de caractères non valide" -#: regcomp.c:148 +#: regcomp.c:147 msgid "Trailing backslash" -msgstr "Barre oblique inverse de terminaison" +msgstr "Barre oblique inverse finale" -#: regcomp.c:151 +#: regcomp.c:150 msgid "Invalid back reference" -msgstr "Mauvaise référence arrière" +msgstr "Référence arrière non valide" -#: regcomp.c:154 +#: regcomp.c:153 msgid "Unmatched [ or [^" -msgstr "Non appariement de [ ou [^" +msgstr "[ ou [^ sans correspondance" -#: regcomp.c:157 +#: regcomp.c:156 msgid "Unmatched ( or \\(" -msgstr "Non appariement de ( ou \\(" +msgstr "( ou \\( sans correspondance" -#: regcomp.c:160 +#: regcomp.c:159 msgid "Unmatched \\{" -msgstr "Non appariement de \\{" +msgstr "\\{ sans correspondance" -#: regcomp.c:163 +#: regcomp.c:162 msgid "Invalid content of \\{\\}" -msgstr "Contenu invalide de \\{\\}" +msgstr "Contenu de \\{\\} non valide" -#: regcomp.c:166 +#: regcomp.c:165 msgid "Invalid range end" -msgstr "Borne finale invalide" +msgstr "Borne finale non valide" -#: regcomp.c:169 +#: regcomp.c:168 msgid "Memory exhausted" -msgstr "Mémoire épuisée" +msgstr "Mémoire épuisée" -#: regcomp.c:172 +#: regcomp.c:171 msgid "Invalid preceding regular expression" -msgstr "Expression régulière précédente invalide" +msgstr "Expression rationnelle précédente non valide" -#: regcomp.c:175 +#: regcomp.c:174 msgid "Premature end of regular expression" -msgstr "Fin prématurée de l'expression régulière" +msgstr "Fin prématurée de l'expression rationnelle" -#: regcomp.c:178 +#: regcomp.c:177 msgid "Regular expression too big" -msgstr "Expression régulière trop grande" +msgstr "Expression rationnelle trop grande" -#: regcomp.c:181 +#: regcomp.c:180 msgid "Unmatched ) or \\)" -msgstr "Non appariement de ) ou \\)" +msgstr ") ou \\) sans correspondance" -#: regcomp.c:700 +#: regcomp.c:699 msgid "No previous regular expression" -msgstr "Aucune expression régulière antérieure" +msgstr "Aucune expression rationnelle précédente" + +#~ msgid "can't open two way socket `%s' for input/output (%s)" +#~ msgstr "" +#~ "impossible d'ouvrir un connecteur bidirectionnel « %s » en entrées-sorties " +#~ "(%s)" #~ msgid "%s: illegal option -- %c\n" -#~ msgstr "%s: option illégale -- %c\n" +#~ msgstr "%s : option illégale -- %c\n" +#, fuzzy #~ msgid "remote port invalid in `%s'" -#~ msgstr "port distant invalide dans « %s »" +#~ msgstr "port local non valide dans « %s »" +#, fuzzy #~ msgid "function %s called\n" -#~ msgstr "fonction %s appelée\n" +#~ msgstr "fonction « %s » non définie" #~ msgid "field %d in FIELDWIDTHS, must be > 0" -#~ msgstr "champ %d dans FIELDWIDTHS, doit être > 0" +#~ msgstr "champ %d dans FIELDWIDTHS, doit être > 0" +#, fuzzy #~ msgid "delete: illegal use of variable `%s' as array" -#~ msgstr "" -#~ "destruction: utilisation illégale d'une variable « %s » comme tableau" +#~ msgstr "tentative d'utiliser le scalaire « %s » comme tableau" +#, fuzzy #~ msgid "asort: first argument is not an array" -#~ msgstr "asort(): le premier argument n'est pas dans le tableau" +#~ msgstr "match : le 3e argument n'est pas un tableau" +#, fuzzy #~ msgid "asort: second argument is not an array" -#~ msgstr "asort(): le scond argument n'est pas dans le tableau" +#~ msgstr "split : 2e argument n'est pas un tableau" +#, fuzzy #~ msgid "" #~ "\n" #~ "To report bugs, see node `Bugs' in `gawk.info', which is\n" #~ msgstr "" #~ "\n" -#~ "Pour rapporter une anomalie, voir « Bugs » dans « gawk.info », dans la\n" +#~ "Pour signaler une anomalie, consultez la section « Bugs » du\n" +#~ "fichier « gawk.info », qui est dans la section « Problems and Bugs »\n" +#~ "de la version imprimée.\n" +#~ "Pour signaler une erreur de traduction, envoyez un message à la\n" +#~ "liste .\n" +#~ "\n" #~ msgid "invalid syntax in name `%s' for variable assignment" -#~ msgstr "syntaxe invalide dans le nom « %s » pour l'affectation de variable" +#~ msgstr "syntaxe invalide dans le nom « %s » pour l'affectation de variable" +#, fuzzy #~ msgid "internal error: Node_var_array with null vname" -#~ msgstr "erreur interne: Node_var_array avec un vname nul" +#~ msgstr "erreur interne: %s avec un vname nul" +#, fuzzy #~ msgid "or used in other expression context" -#~ msgstr "ou utilisée dans un autre contexte d'expression" +#~ msgstr "« return » est utilisé hors du contexte d'une fonction" +#, fuzzy #~ msgid "`%s' is a function, assignment is not allowed" -#~ msgstr "« %s » est une fonction, l'affectation n'est pas permise" +#~ msgstr "« %s » est une fonction interne, elle ne peut être redéfinie" +#, fuzzy #~ msgid "BEGIN blocks must have an action part" -#~ msgstr "Les blocs de DÉBUT doitvent avoir une partie action" +#~ msgstr "les blocs %s doivent avoir une partie action" +#, fuzzy #~ msgid "`nextfile' used in BEGIN or END action" -#~ msgstr "« nextfile » utilisé dans l'action BEGIN ou END" +#~ msgstr "« %s » est utilisé dans l'action %s" +#, fuzzy #~ msgid "non-redirected `getline' undefined inside BEGIN or END action" -#~ msgstr "" -#~ "« getline » non redirigé indéfini à l'intérieur de l'action BEGIN ou END" +#~ msgstr "un « getline » non redirigé n'est pas défini dans une action END" #~ msgid "fptr %x not in tokentab\n" #~ msgstr "fptr %x n'est pas dans la table des jetons\n" +#, fuzzy #~ msgid "gsub third parameter is not a changeable object" -#~ msgstr "gsub: 3e paramètre n'est pas un objet interchangeable" +#~ msgstr "le 3e paramètre de %s n'est pas un objet modifiable" #~ msgid "Unfinished \\ escape" -#~ msgstr "séquence d'échappement \\ non terminée" +#~ msgstr "séquence d'échappement \\ non terminée" #~ msgid "unfinished repeat count" -#~ msgstr "répétition de compteur non terminé" +#~ msgstr "répétition de compteur non terminé" #~ msgid "malformed repeat count" -#~ msgstr "compteur de répétition mal composé" +#~ msgstr "compteur de répétition mal composé" #~ msgid "Unbalanced [" #~ msgstr "Non appariement de [" @@ -2056,16 +2095,19 @@ #~ msgstr "Non appariement de (" #~ msgid "No regexp syntax bits specified" -#~ msgstr "Aucune syntaxe d'expression régulière des bits fournie" +#~ msgstr "Aucune syntaxe d'expression régulière des bits fournie" #~ msgid "Unbalanced )" #~ msgstr "Non appariement de )" +#, fuzzy #~ msgid "internal error: file `%s', line %d\n" -#~ msgstr "erreur interne: fichier « %s », ligne %d\n" +#~ msgstr "erreur interne: %s avec un vname nul" +#, fuzzy #~ msgid "pipe from `%s': could not set close-on-exec (fcntl: %s)" -#~ msgstr "pipe de `%s': ne peut initialiser close-on-exec (fcntl: %s)" +#~ msgstr "%s %s « %s »: ne peut initialiser close-on-exec: (fcntl: %s)" +#, fuzzy #~ msgid "pipe to `%s': could not set close-on-exec (fcntl: %s)" -#~ msgstr "pipe vers «%s»: ne peut initialiser close-on-exec (fcntl: %s)" +#~ msgstr "%s %s « %s »: ne peut initialiser close-on-exec: (fcntl: %s)" diff -urN gawk-3.1.7/po/ga.po gawk-3.1.8/po/ga.po --- gawk-3.1.7/po/ga.po 2009-07-21 23:23:45.000000000 +0300 +++ gawk-3.1.8/po/ga.po 2010-05-06 20:57:38.000000000 +0300 @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: gawk 3.1.5h\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2009-07-21 23:23+0300\n" +"POT-Creation-Date: 2010-05-06 20:57+0300\n" "PO-Revision-Date: 2007-10-01 13:47-0500\n" "Last-Translator: Peadar Ó Guilín \n" "Language-Team: Irish \n" @@ -35,42 +35,42 @@ msgid "from %s" msgstr "ó %s" -#: array.c:514 -#, c-format -msgid "reference to uninitialized element `%s[\"%s\"]'" +#: array.c:513 +#, fuzzy, c-format +msgid "reference to uninitialized element `%s[\"%.*s\"]'" msgstr "tagairt d'eilimint gan túsú `%s[\"%s\"]'" -#: array.c:520 +#: array.c:519 #, c-format msgid "subscript of array `%s' is null string" msgstr "is teaghrán folamh é foscript an eagair `%s'" -#: array.c:624 +#: array.c:623 #, c-format msgid "delete: index `%s' not in array `%s'" msgstr "delete: níl innéacs `%s' san eagar `%s'" -#: array.c:793 +#: array.c:792 #, c-format msgid "%s: empty (null)\n" msgstr "%s: folamh (neamhní)\n" -#: array.c:798 +#: array.c:797 #, c-format msgid "%s: empty (zero)\n" msgstr "%s: folamh (nialas)\n" -#: array.c:802 +#: array.c:801 #, c-format msgid "%s: table_size = %d, array_size = %d\n" msgstr "%s: méid_tábla = %d, méid_eagair = %d\n" -#: array.c:831 +#: array.c:830 #, c-format msgid "%s: is parameter\n" msgstr "%s: is paraiméadar é\n" -#: array.c:836 +#: array.c:835 #, c-format msgid "%s: array_ref to %s\n" msgstr "%s: tagairt_eagair do %s\n" @@ -347,7 +347,7 @@ msgid "could not open `%s' for writing (%s)" msgstr "níorbh fhéidir `%s' a oscailt chun scríobh (%s)" -#: awkgram.y:2748 profile.c:95 +#: awkgram.y:2748 profile.c:96 msgid "sending profile to standard error" msgstr "próifíl á seoladh go hearráid chaighdeánach" @@ -403,7 +403,12 @@ "glaodh feidhm `%s' le spás idir ainm agus `(',\n" "nó úsáideadh é mar athróg nó mar eagar" -#: awkgram.y:3667 eval.c:1394 +#: awkgram.y:3664 +#, fuzzy +msgid "division by zero attempted in `/'" +msgstr "iarracht roinnt le nialas a dhéanamh i `/='" + +#: awkgram.y:3669 eval.c:1394 #, c-format msgid "division by zero attempted in `%%'" msgstr "iarracht roinnt le nialas a dhéanamh i `%%'" @@ -461,351 +466,359 @@ msgid "`length(array)' is a gawk extension" msgstr "is feabhsúchán gawk é `length(array)'" -#: builtin.c:473 +#: builtin.c:471 +msgid "length: untyped parameter argument will be forced to scalar" +msgstr "" + +#: builtin.c:480 msgid "length: untyped argument will be forced to scalar" msgstr "" -#: builtin.c:477 +#: builtin.c:484 msgid "length: received non-string argument" msgstr "length: fuarthas argóint nach teaghrán é" -#: builtin.c:508 +#: builtin.c:515 msgid "log: received non-numeric argument" msgstr "log: fuarthas argóint neamhuimhriúil" -#: builtin.c:511 +#: builtin.c:518 #, c-format msgid "log: received negative argument %g" msgstr "log: fuarthas argóint diúltach %g" -#: builtin.c:719 builtin.c:722 +#: builtin.c:726 builtin.c:729 msgid "must use `count$' on all formats or none" msgstr "" "má úsáidtear `count$' i bhformáid ar bith, caithfidh é a úsáid i ngach " "formáid é" -#: builtin.c:783 +#: builtin.c:790 #, c-format msgid "field width is ignored for `%%%%' specifier" msgstr "" -#: builtin.c:785 +#: builtin.c:792 #, c-format msgid "precision is ignored for `%%%%' specifier" msgstr "" -#: builtin.c:787 +#: builtin.c:794 #, c-format msgid "field width and precision are ignored for `%%%%' specifier" msgstr "" -#: builtin.c:838 +#: builtin.c:845 msgid "`$' is not permitted in awk formats" msgstr "Níl `$' ceadaithe i bhformáidí awk" -#: builtin.c:844 +#: builtin.c:851 msgid "arg count with `$' must be > 0" msgstr "caithfidh áireamh na harg. le `$' bheith > 0" -#: builtin.c:846 +#: builtin.c:853 #, c-format msgid "arg count %ld greater than total number of supplied arguments" msgstr "áireamh na harg. %ld níos mó ná na hargóintí faighte" -#: builtin.c:848 +#: builtin.c:855 msgid "`$' not permitted after period in format" msgstr "níl `$' ceadaithe i bhformáid théis punc" -#: builtin.c:861 +#: builtin.c:868 msgid "no `$' supplied for positional field width or precision" msgstr "níor thugadh `$' do leithead nó beachtas an réimse ionaid" -#: builtin.c:927 +#: builtin.c:938 msgid "`l' is meaningless in awk formats; ignored" msgstr "níl ciall ag `l' i bhformáidí awk; neamhairdithe" -#: builtin.c:931 +#: builtin.c:942 msgid "`l' is not permitted in POSIX awk formats" msgstr "ní cheadaítear `l' i bhformáidí awk POSIX" -#: builtin.c:942 +#: builtin.c:953 msgid "`L' is meaningless in awk formats; ignored" msgstr "níl ciall ag `L' i bhformáidí awk; neamhairdithe" -#: builtin.c:946 +#: builtin.c:957 msgid "`L' is not permitted in POSIX awk formats" msgstr "ní cheadaítear `L' i bhformáidí awk POSIX" -#: builtin.c:957 +#: builtin.c:968 msgid "`h' is meaningless in awk formats; ignored" msgstr "níl ciall ag `h' i bhformáidí awk; neamhairdithe" -#: builtin.c:961 +#: builtin.c:972 msgid "`h' is not permitted in POSIX awk formats" msgstr "ní cheadaítear `h' i bhformáidí awk POSIX" -#: builtin.c:1236 +#: builtin.c:1252 #, c-format msgid "[s]printf: value %g is out of range for `%%%c' format" msgstr "[s]printf: tá luach %g as raon don bhformáid `%%%c'" -#: builtin.c:1316 +#: builtin.c:1332 #, c-format msgid "ignoring unknown format specifier character `%c': no argument converted" msgstr "" -#: builtin.c:1322 +#: builtin.c:1338 msgid "not enough arguments to satisfy format string" msgstr "ní leor argóintí le haghaidh an teaghráin formáide" -#: builtin.c:1324 +#: builtin.c:1340 msgid "^ ran out for this one" msgstr "^ imithe thar bráid don cheann seo" -#: builtin.c:1330 +#: builtin.c:1346 msgid "[s]printf: format specifier does not have control letter" msgstr "[s]printf: níl litir rialúcháin ag an sonraitheoir formáide" -#: builtin.c:1333 +#: builtin.c:1349 msgid "too many arguments supplied for format string" msgstr "fuarthas an iomarca argóintí don teaghrán formáide" -#: builtin.c:1408 builtin.c:1411 +#: builtin.c:1424 builtin.c:1427 msgid "printf: no arguments" msgstr "printf: níl aon argóint" -#: builtin.c:1435 +#: builtin.c:1451 msgid "sqrt: received non-numeric argument" msgstr "sqrt: fuarthas argóint neamhuimhriúil" -#: builtin.c:1439 +#: builtin.c:1455 #, c-format msgid "sqrt: called with negative argument %g" msgstr "sqrt: glaodh le argóint diúltach %g" -#: builtin.c:1463 +#: builtin.c:1479 #, c-format msgid "substr: start index %g is invalid, using 1" msgstr "substr: tá tús innéacs %g neamhbhailí, ag úsáid a 1" -#: builtin.c:1468 +#: builtin.c:1484 #, c-format msgid "substr: non-integer start index %g will be truncated" msgstr "substr: teascfar tús neamhuimhriúil an innéacs %g" -#: builtin.c:1494 +#: builtin.c:1510 #, c-format msgid "substr: length %g is not >= 1" msgstr "substr: níl fad %g >= 1" -#: builtin.c:1496 +#: builtin.c:1512 #, c-format msgid "substr: length %g is not >= 0" msgstr "substr: níl fad %g >= 0" -#: builtin.c:1503 +#: builtin.c:1519 #, c-format msgid "substr: non-integer length %g will be truncated" msgstr "ubstr: teascfar an fad neamhuimhriúil %g" -#: builtin.c:1508 +#: builtin.c:1524 #, c-format msgid "substr: length %g too big for string indexing, truncating to %g" msgstr "substr: fad %g ró-mhór d'innéacsú teaghráin, ag teascadh go %g" -#: builtin.c:1520 +#: builtin.c:1536 msgid "substr: source string is zero length" msgstr "substr: tá an teaghrán foinse folamh" -#: builtin.c:1536 +#: builtin.c:1552 #, c-format msgid "substr: start index %g is past end of string" msgstr "substr: innéacs tosaithe %g tar éis deireadh an teaghráin" -#: builtin.c:1544 +#: builtin.c:1560 #, c-format msgid "" "substr: length %g at start index %g exceeds length of first argument (%lu)" msgstr "substr: fad %g ag innéacs tosaithe %g rófhada don chéad argóint (%lu)" -#: builtin.c:1621 +#: builtin.c:1637 msgid "strftime: received non-string first argument" msgstr "strftime: ní teaghrán í an chéad argóint" -#: builtin.c:1627 +#: builtin.c:1643 msgid "strftime: received empty format string" msgstr "strftime: fuarthas teaghrán formáide folamh" -#: builtin.c:1636 +#: builtin.c:1652 msgid "strftime: received non-numeric second argument" msgstr "strftime: fuarthas dara hargóint neamhuimhriúil" -#: builtin.c:1713 +#: builtin.c:1729 msgid "mktime: received non-string argument" msgstr "mktime: ní teaghrán é an argóint" -#: builtin.c:1758 +#: builtin.c:1746 +msgid "mktime: at least one of the values is out of the default range" +msgstr "" + +#: builtin.c:1783 msgid "system: received non-string argument" msgstr "system: fuarthas argóint nach teaghrán í" -#: builtin.c:1879 eval.c:2145 +#: builtin.c:1904 eval.c:2157 #, c-format msgid "reference to uninitialized field `$%d'" msgstr "tagairt d'athróg nach bhfuil túsaithe `$%d'" -#: builtin.c:1984 +#: builtin.c:2009 msgid "tolower: received non-string argument" msgstr "tolower: fuarthas argóint nach teaghrán í" -#: builtin.c:2014 +#: builtin.c:2039 msgid "toupper: received non-string argument" msgstr "toupper: fuarthas argóint nach teaghrán í" -#: builtin.c:2047 +#: builtin.c:2072 msgid "atan2: received non-numeric first argument" msgstr "atan2: ní huimhir é an chéad argóint" -#: builtin.c:2049 +#: builtin.c:2074 msgid "atan2: received non-numeric second argument" msgstr "atan2: ní huimhir é an dara hargóint" -#: builtin.c:2068 +#: builtin.c:2093 msgid "sin: received non-numeric argument" msgstr "sin: fuarthas argóint neamhuimhriúil" -#: builtin.c:2084 +#: builtin.c:2109 msgid "cos: received non-numeric argument" msgstr "cos: fuarthas argóint neamhuimhriúil" -#: builtin.c:2137 +#: builtin.c:2162 msgid "srand: received non-numeric argument" msgstr "srand: fuarthas argóint neamhuimhriúil" -#: builtin.c:2172 +#: builtin.c:2197 msgid "match: third argument is not an array" msgstr "match: ní eagar é an tríú hargóint" -#: builtin.c:2719 +#: builtin.c:2744 msgid "gensub: third argument of 0 treated as 1" msgstr "gensub: 3ú hargóint 0 úsáidte mar 1" -#: builtin.c:2835 +#: builtin.c:2860 msgid "lshift: received non-numeric first argument" msgstr "lshift: ní huimhir é an chéad argóint" -#: builtin.c:2837 +#: builtin.c:2862 msgid "lshift: received non-numeric second argument" msgstr "lshift: ní huimhir é an dara hargóint" -#: builtin.c:2843 +#: builtin.c:2868 #, c-format msgid "lshift(%lf, %lf): negative values will give strange results" msgstr "lshift(%lf, %lf): tiocfaidh torthaí aisteacha as luachanna diúltacha" -#: builtin.c:2845 +#: builtin.c:2870 #, c-format msgid "lshift(%lf, %lf): fractional values will be truncated" msgstr "lshift(%lf, %lf): teascfar luachanna codánacha" -#: builtin.c:2847 +#: builtin.c:2872 #, c-format msgid "lshift(%lf, %lf): too large shift value will give strange results" msgstr "" "lshift(%lf, %lf): gheobhfar torthaí aisteacha le luach iomlaoideach ró-mhór" -#: builtin.c:2873 +#: builtin.c:2898 msgid "rshift: received non-numeric first argument" msgstr "rshift: ní huimhir é an chéad argóint" -#: builtin.c:2875 +#: builtin.c:2900 msgid "rshift: received non-numeric second argument" msgstr "rshift: ní huimhir é an dara hargóint" -#: builtin.c:2881 +#: builtin.c:2906 #, c-format msgid "rshift(%lf, %lf): negative values will give strange results" msgstr "rshift(%lf, %lf): gheobhfar torthaí aisteacha le luachanna diúltacha" -#: builtin.c:2883 +#: builtin.c:2908 #, c-format msgid "rshift(%lf, %lf): fractional values will be truncated" msgstr "rshift(%lf, %lf): teascfar luachanna codánacha" -#: builtin.c:2885 +#: builtin.c:2910 #, c-format msgid "rshift(%lf, %lf): too large shift value will give strange results" msgstr "" "rshift(%lf, %lf): gheobhfar torthaí aisteacha le luach iomlaoideach ró-mhór" -#: builtin.c:2911 +#: builtin.c:2936 msgid "and: received non-numeric first argument" msgstr "and: ní huimhir é an chéad argóint" -#: builtin.c:2913 +#: builtin.c:2938 msgid "and: received non-numeric second argument" msgstr "and: ní huimhir é an dara hargóint" -#: builtin.c:2919 +#: builtin.c:2944 #, c-format msgid "and(%lf, %lf): negative values will give strange results" msgstr "and(%lf, %lf): gheobhfar torthaí aisteacha le luachanna diúltacha" -#: builtin.c:2921 +#: builtin.c:2946 #, c-format msgid "and(%lf, %lf): fractional values will be truncated" msgstr "and(%lf, %lf): teascfar luachanna codánacha" -#: builtin.c:2947 +#: builtin.c:2972 msgid "or: received non-numeric first argument" msgstr "or: ní huimhir é an chéad argóint" -#: builtin.c:2949 +#: builtin.c:2974 msgid "or: received non-numeric second argument" msgstr "or: ní huimhir é an dara hargóint" -#: builtin.c:2955 +#: builtin.c:2980 #, c-format msgid "or(%lf, %lf): negative values will give strange results" msgstr "or(%lf, %lf): gheobhfar torthaí aisteacha le luachanna diúltacha" -#: builtin.c:2957 +#: builtin.c:2982 #, c-format msgid "or(%lf, %lf): fractional values will be truncated" msgstr "or(%lf, %lf): teascfar luachanna codánacha" -#: builtin.c:2983 +#: builtin.c:3008 msgid "xor: received non-numeric first argument" msgstr "xor: ní huimhir é an chéad argóint" -#: builtin.c:2985 +#: builtin.c:3010 msgid "xor: received non-numeric second argument" msgstr "xor: ní huimhir é an dara hargóint" -#: builtin.c:2991 +#: builtin.c:3016 #, c-format msgid "xor(%lf, %lf): negative values will give strange results" msgstr "xor(%lf, %lf): gheobhfar torthaí aisteacha le luachanna diúltacha" -#: builtin.c:2993 +#: builtin.c:3018 #, c-format msgid "xor(%lf, %lf): fractional values will be truncated" msgstr "xor(%lf, %lf): teascfar luachanna codánacha" -#: builtin.c:3017 +#: builtin.c:3042 msgid "compl: received non-numeric argument" msgstr "compl: fuarthas argóint neamhuimhriúil" -#: builtin.c:3023 +#: builtin.c:3048 #, c-format msgid "compl(%lf): negative value will give strange results" msgstr "compl(%lf): gheobhfar torthaí aisteacha le luachanna diúltacha" -#: builtin.c:3025 +#: builtin.c:3050 #, c-format msgid "compl(%lf): fractional value will be truncated" msgstr "compl(%lf): teascfar luachanna codánacha" -#: builtin.c:3198 +#: builtin.c:3223 #, c-format msgid "dcgettext: `%s' is not a valid locale category" msgstr "dcgettext: ní catagóir logánach ceart é `%s'" @@ -819,7 +832,7 @@ msgid "buffer overflow in genflags2str" msgstr "maolán thar maoil i genflags2str" -#: eval.c:454 eval.c:460 profile.c:781 +#: eval.c:454 eval.c:460 profile.c:785 #, c-format msgid "attempt to use array `%s' in a scalar context" msgstr "iarracht eagar `%s' a úsáid i gcomhthéacs scálach" @@ -865,7 +878,7 @@ msgid "statement has no effect" msgstr "níl aon éifeacht ag an ráiteas" -#: eval.c:1029 eval.c:1999 +#: eval.c:1029 eval.c:2011 #, c-format msgid "can't use function name `%s' as variable or array" msgstr "ní féidir ainm feidhme `%s' a úsáid mar athróg nó eagar" @@ -875,7 +888,7 @@ msgid "reference to uninitialized argument `%s'" msgstr "tagairt d'argóint nach bhfuil túsaithe `%s'" -#: eval.c:1051 eval.c:2008 +#: eval.c:1051 eval.c:2020 #, c-format msgid "reference to uninitialized variable `%s'" msgstr "tagairt d'athróg nach bhfuil túsaithe `%s'" @@ -894,7 +907,7 @@ msgid "division by zero attempted" msgstr "iarracht roinnt le nialas a dhéanamh" -#: eval.c:1409 profile.c:657 +#: eval.c:1409 profile.c:661 #, c-format msgid "illegal type (%s) in tree_eval" msgstr "cineál neamhcheadaithe (%s) i tree_eval" @@ -908,17 +921,17 @@ msgid "division by zero attempted in `%%='" msgstr "iarracht roinnt le nialas a dhéanamh i `%%='" -#: eval.c:1859 +#: eval.c:1871 #, c-format msgid "function `%s' called with more arguments than declared" msgstr "glaodh ar fheidhm `%s' le níos mó argóintí nó mar a bhí fógartha" -#: eval.c:1904 +#: eval.c:1916 #, c-format msgid "function `%s' not defined" msgstr "feidhm `%s' gan sainmhíniú" -#: eval.c:1971 +#: eval.c:1983 #, c-format msgid "" "\n" @@ -929,47 +942,47 @@ "\t# Cruach an Glaoigh ar an bhFeidhm:\n" "\n" -#: eval.c:1974 +#: eval.c:1986 #, c-format msgid "\t# -- main --\n" msgstr "\t# -- príomh --\n" -#: eval.c:2129 +#: eval.c:2141 msgid "attempt to field reference from non-numeric value" msgstr "iarracht tagairt a fháil ó luach neamhuimhriúil" -#: eval.c:2131 +#: eval.c:2143 msgid "attempt to reference from null string" msgstr "iarracht tagairt a fháil ó theaghrán neamhnitheach" -#: eval.c:2137 +#: eval.c:2149 #, c-format msgid "attempt to access field %d" msgstr "iarracht rochtain a dhéanamh ar réimse %d" -#: eval.c:2158 eval.c:2165 profile.c:836 +#: eval.c:2170 eval.c:2177 profile.c:840 msgid "assignment is not allowed to result of builtin function" msgstr "ní féidir sannachán a dhéanamh le toradh ó fheidhm insuite" -#: eval.c:2229 +#: eval.c:2241 msgid "`IGNORECASE' is a gawk extension" msgstr "is feabhsúchán gawk é `IGNORECASE'" -#: eval.c:2258 +#: eval.c:2270 msgid "`BINMODE' is a gawk extension" msgstr "is feabhsúchán gawk é `BINMODE'" -#: eval.c:2316 +#: eval.c:2328 #, c-format msgid "BINMODE value `%s' is invalid, treated as 3" msgstr "" -#: eval.c:2406 +#: eval.c:2418 #, c-format msgid "bad `%sFMT' specification `%s'" msgstr "drochshonraíocht`%sFMT' `%s'" -#: eval.c:2484 +#: eval.c:2496 msgid "turning off `--lint' due to assignment to `LINT'" msgstr "`--lint' á mhúchadh de bharr sannachán go `LINT'" @@ -1070,56 +1083,61 @@ msgid "old awk does not support regexps as value of `FS'" msgstr "ní thacaíonn sean-awk le slonn ionadaíochta mar luach de `FS'" -#: getopt.c:570 getopt.c:586 +#: getopt.c:574 getopt.c:590 #, fuzzy, c-format msgid "%s: option '%s' is ambiguous\n" msgstr "%s: Tá an rogha `%s' débhríoch\n" -#: getopt.c:619 getopt.c:623 +#: getopt.c:623 getopt.c:627 #, fuzzy, c-format msgid "%s: option '--%s' doesn't allow an argument\n" msgstr "%s: ní cheadaítear argóint i ndiaidh na rogha `--%s'\n" -#: getopt.c:632 getopt.c:637 +#: getopt.c:636 getopt.c:641 #, fuzzy, c-format msgid "%s: option '%c%s' doesn't allow an argument\n" msgstr "%s: ní cheadaítear argóint i ndiaidh na rogha `%c%s'\n" -#: getopt.c:680 getopt.c:699 getopt.c:1002 getopt.c:1021 +#: getopt.c:684 getopt.c:703 #, fuzzy, c-format -msgid "%s: option '%s' requires an argument\n" +msgid "%s: option '--%s' requires an argument\n" msgstr "%s: tá argóint de dhíth i ndiaidh na rogha `%s'\n" -#: getopt.c:737 getopt.c:740 +#: getopt.c:741 getopt.c:744 #, fuzzy, c-format msgid "%s: unrecognized option '--%s'\n" msgstr "%s: rogha anaithnid `--%s'\n" -#: getopt.c:748 getopt.c:751 +#: getopt.c:752 getopt.c:755 #, fuzzy, c-format msgid "%s: unrecognized option '%c%s'\n" msgstr "%s: rogha anaithnid `%c%s'\n" -#: getopt.c:800 getopt.c:803 +#: getopt.c:804 getopt.c:807 #, fuzzy, c-format msgid "%s: invalid option -- '%c'\n" msgstr "%s: rogha neamhbhailí -- %c\n" -#: getopt.c:853 getopt.c:870 getopt.c:1073 getopt.c:1091 +#: getopt.c:857 getopt.c:874 getopt.c:1082 getopt.c:1100 #, fuzzy, c-format msgid "%s: option requires an argument -- '%c'\n" msgstr "%s: tá argóint de dhíth i ndiaidh na rogha -- %c\n" -#: getopt.c:923 getopt.c:939 +#: getopt.c:930 getopt.c:946 #, fuzzy, c-format msgid "%s: option '-W %s' is ambiguous\n" msgstr "%s: Tá an rogha `-W %s' débhríoch\n" -#: getopt.c:963 getopt.c:981 +#: getopt.c:970 getopt.c:988 #, fuzzy, c-format msgid "%s: option '-W %s' doesn't allow an argument\n" msgstr "%s: ní cheadaítear argóint i ndiaidh na rogha `-W %s'\n" +#: getopt.c:1009 getopt.c:1027 +#, fuzzy, c-format +msgid "%s: option '-W %s' requires an argument\n" +msgstr "%s: tá argóint de dhíth i ndiaidh na rogha `%s'\n" + #: io.c:322 io.c:352 #, c-format msgid "cannot open file `%s' for reading (%s)" @@ -1166,442 +1184,437 @@ msgid "can't open pipe `%s' for input (%s)" msgstr "ní féidir píopa `%s' a oscailt d'ionchur (%s)" -#: io.c:712 -#, c-format -msgid "can't open two way socket `%s' for input/output (%s)" -msgstr "ní féidir an soicéad déthreo `%s' a oscailt d'ionchur/aschur (%s)" - -#: io.c:716 +#: io.c:717 #, c-format msgid "can't open two way pipe `%s' for input/output (%s)" msgstr "ní féidir an píopa déthreo `%s' a oscailt d'ionchur/aschur (%s)" -#: io.c:793 +#: io.c:795 #, c-format msgid "can't redirect from `%s' (%s)" msgstr "ní féidir atreorú ó `%s' (%s)" -#: io.c:796 +#: io.c:798 #, c-format msgid "can't redirect to `%s' (%s)" msgstr "ní féidir atreorú go `%s' (%s)" -#: io.c:849 +#: io.c:851 msgid "" "reached system limit for open files: starting to multiplex file descriptors" msgstr "" "tagtha chuig teorainn an chórais do chomhadlanna oscailte: ag tosú " "tuairisceoirí na gcomhadlann a ilphléacsadh" -#: io.c:865 +#: io.c:867 #, c-format msgid "close of `%s' failed (%s)." msgstr "dúnadh `%s' teipthe (%s)." -#: io.c:873 +#: io.c:875 msgid "too many pipes or input files open" msgstr "tá an iomarca píopaí nó comhadlanna ionchuir oscailte" -#: io.c:896 +#: io.c:898 msgid "close: second argument must be `to' or `from'" msgstr "close: tá `to' nó `from' de dhíth mar dara hargóint" -#: io.c:910 +#: io.c:912 #, c-format msgid "close: `%.*s' is not an open file, pipe or co-process" msgstr "close: ní comhad oscailte, píopa nó comhphróiseas é `%.*s'" -#: io.c:915 +#: io.c:917 msgid "close of redirection that was never opened" msgstr "dúnadh atreoraithe nach n-osclóadh riamh" -#: io.c:1012 +#: io.c:1014 #, c-format msgid "close: redirection `%s' not opened with `|&', second argument ignored" msgstr "" "close: níl atreorú `%s' oscailte le `|&', rinneadh neamhaird ar an dara " "hargóint" -#: io.c:1028 +#: io.c:1030 #, c-format msgid "failure status (%d) on pipe close of `%s' (%s)" msgstr "stádas teipfhulangach (%d) ar dúnadh an phíopa `%s' (%s)" -#: io.c:1031 +#: io.c:1033 #, c-format msgid "failure status (%d) on file close of `%s' (%s)" msgstr "stádas teipfhulangach (%d) ar dúnadh an chomhaid `%s' (%s)" -#: io.c:1051 +#: io.c:1053 #, c-format msgid "no explicit close of socket `%s' provided" msgstr "ní fhuarthas dúnadh léir an tsoicéid `%s'" -#: io.c:1054 +#: io.c:1056 #, c-format msgid "no explicit close of co-process `%s' provided" msgstr "ní fhuarthas dúnadh léir an chomhphróisis `%s'" -#: io.c:1057 +#: io.c:1059 #, c-format msgid "no explicit close of pipe `%s' provided" msgstr "ní fhuarthas dúnadh léir an phíopa `%s'" -#: io.c:1060 +#: io.c:1062 #, c-format msgid "no explicit close of file `%s' provided" msgstr "ní fhuarthas dúnadh léir an chomhaid `%s'" -#: io.c:1088 io.c:1143 main.c:776 main.c:818 +#: io.c:1090 io.c:1145 main.c:781 main.c:823 #, c-format msgid "error writing standard output (%s)" msgstr "earráid agus aschur caighdeánach á scríobh (%s)" -#: io.c:1092 io.c:1148 +#: io.c:1094 io.c:1150 #, c-format msgid "error writing standard error (%s)" msgstr "earráid agus earráid caighdeánach á scríobh (%s)" -#: io.c:1100 +#: io.c:1102 #, c-format msgid "pipe flush of `%s' failed (%s)." msgstr "sruthladh píopa `%s' teipthe (%s)." -#: io.c:1103 +#: io.c:1105 #, c-format msgid "co-process flush of pipe to `%s' failed (%s)." msgstr "sruthladh comhphróisis an phíopa go `%s' teipthe (%s)." -#: io.c:1106 +#: io.c:1108 #, c-format msgid "file flush of `%s' failed (%s)." msgstr "sruthladh comhaid `%s' teipthe (%s)." -#: io.c:1220 +#: io.c:1222 #, c-format msgid "local port %s invalid in `/inet'" msgstr "port logánta %s neamhbhailí i `/inet'" -#: io.c:1237 +#: io.c:1239 #, c-format msgid "remote host and port information (%s, %s) invalid" msgstr "eolas neamhbhailí faoin chianósta agus port (%s, %s)" -#: io.c:1272 +#: io.c:1274 msgid "/inet/raw client not ready yet, sorry" msgstr "tá brón orm, níl an cliant /inet/raw réidh go fóill" -#: io.c:1275 io.c:1311 +#: io.c:1277 io.c:1313 msgid "only root may use `/inet/raw'." msgstr "`/inet/raw' ceadaithe do root amháin." -#: io.c:1309 +#: io.c:1311 msgid "/inet/raw server not ready yet, sorry" msgstr "tá brón orm, níl an freastalaí /inet/raw ré go fóill" -#: io.c:1407 +#: io.c:1409 #, c-format msgid "no (known) protocol supplied in special filename `%s'" msgstr "ní fhuarthas fíor phrótacal sa chomhadainm speisialta `%s'" -#: io.c:1421 +#: io.c:1423 #, c-format msgid "special file name `%s' is incomplete" msgstr "níl an comhadainm speisialta `%s' iomlán" -#: io.c:1436 +#: io.c:1438 msgid "must supply a remote hostname to `/inet'" msgstr "tá ainm cianóstaigh de dhíth ag `/inet'" -#: io.c:1454 +#: io.c:1456 msgid "must supply a remote port to `/inet'" msgstr "tá cianphort de dhíth ag `/inet'" -#: io.c:1485 +#: io.c:1502 msgid "TCP/IP communications are not supported" msgstr "cumarsáid TCP/IP gan tacaíocht" -#: io.c:1494 +#: io.c:1511 #, c-format msgid "file `%s' is a directory" msgstr "ní comhadlann é an comhad `%s'" -#: io.c:1555 +#: io.c:1572 #, c-format msgid "use `PROCINFO[\"%s\"]' instead of `%s'" msgstr "úsáid `PROCINFO[\"%s\"]' in ionad `%s'" -#: io.c:1593 +#: io.c:1610 msgid "use `PROCINFO[...]' instead of `/dev/user'" msgstr "úsáid `PROCINFO[...]' in ionad `/dev/user'" -#: io.c:1658 io.c:1853 +#: io.c:1675 io.c:1872 #, c-format msgid "could not open `%s', mode `%s'" msgstr "níorbh fhéidir `%s' a oscailt, mód `%s'" -#: io.c:1904 +#: io.c:1923 #, c-format msgid "close of master pty failed (%s)" msgstr "theip ar dúnadh máistir-pty (%s)" -#: io.c:1906 io.c:2058 io.c:2209 +#: io.c:1925 io.c:2077 io.c:2228 #, c-format msgid "close of stdout in child failed (%s)" msgstr "theip ar dúnadh aschuir caighdeánach i mac teipthe (%s)" -#: io.c:1909 +#: io.c:1928 #, c-format msgid "moving slave pty to stdout in child failed (dup: %s)" msgstr "" "theip ar bogadh an pty sclábhánta go haschur caighdeánach sa mhac (dup: %s)" -#: io.c:1911 io.c:2063 +#: io.c:1930 io.c:2082 #, c-format msgid "close of stdin in child failed (%s)" msgstr "theip ar dúnadh ionchuir caighdeánach i mac (%s)" -#: io.c:1914 +#: io.c:1933 #, c-format msgid "moving slave pty to stdin in child failed (dup: %s)" msgstr "" "theip ar bogadh an pty sclábhánta go hionchuir caighdeánach sa mhac (dup: %s)" -#: io.c:1916 io.c:1935 +#: io.c:1935 io.c:1954 #, c-format msgid "close of slave pty failed (%s)" msgstr "theip ar dúnadh an pty sclábhánta (%s)" -#: io.c:2009 io.c:2061 io.c:2190 io.c:2212 +#: io.c:2028 io.c:2080 io.c:2209 io.c:2231 #, c-format msgid "moving pipe to stdout in child failed (dup: %s)" msgstr "theip ar bhogadh píopa go haschur caighdeánach i mac (dup: %s)" -#: io.c:2013 io.c:2066 +#: io.c:2032 io.c:2085 #, c-format msgid "moving pipe to stdin in child failed (dup: %s)" msgstr "theip ar bhogadh píopa go hionchur caighdeánach i mac (dup: %s)" -#: io.c:2030 io.c:2203 +#: io.c:2049 io.c:2222 msgid "restoring stdout in parent process failed\n" msgstr "theip ar dhul ar ais go haschur caighdeánach i máthair teipthe\n" -#: io.c:2035 +#: io.c:2054 msgid "restoring stdin in parent process failed\n" msgstr "theip ar dhul ar ais go hionchur caighdeánach i máthair teipthe\n" -#: io.c:2069 io.c:2214 io.c:2225 +#: io.c:2088 io.c:2233 io.c:2244 #, c-format msgid "close of pipe failed (%s)" msgstr "theip ar dúnadh phíopa (%s)" -#: io.c:2114 +#: io.c:2133 msgid "`|&' not supported" msgstr "`|&' gan tacaíocht" -#: io.c:2180 +#: io.c:2199 #, c-format msgid "cannot open pipe `%s' (%s)" msgstr "ní féidir píopa `%s' a oscailt (%s)" -#: io.c:2221 +#: io.c:2240 #, c-format msgid "cannot create child process for `%s' (fork: %s)" msgstr "ní féidir mac a dhéanamh do `%s' (fork: %s)" -#: io.c:2603 +#: io.c:2622 #, c-format msgid "data file `%s' is empty" msgstr "tá comhad sonraí `%s' folamh" -#: io.c:2644 io.c:2652 +#: io.c:2663 io.c:2671 msgid "could not allocate more input memory" msgstr "níorbh fhéidir níos mó cuimhne ionchuir a leithdháileadh" -#: io.c:3020 io.c:3093 +#: io.c:3039 io.c:3112 #, c-format msgid "error reading input file `%s': %s" msgstr "earráid ag léamh comhad aschuir `%s': %s" -#: io.c:3218 +#: io.c:3237 msgid "multicharacter value of `RS' is a gawk extension" msgstr "is feabhsúchán gawk é an luach ilcharachtar 'RS'" -#: main.c:304 +#: main.c:306 msgid "out of memory" msgstr "cuimhne ídithe" -#: main.c:373 +#: main.c:374 msgid "`-m[fr]' option irrelevant in gawk" msgstr "`-m[fr]' rogha neamhábhartha i ngawk" -#: main.c:375 +#: main.c:376 msgid "-m option usage: `-m[fr] nnn'" msgstr "úsáid rogha -m: `-m[fr] nnn'" -#: main.c:392 +#: main.c:393 #, c-format msgid "%s: option `-W %s' unrecognized, ignored\n" msgstr "%s: rogha `-W %s' anaithnid, rinneadh neamhshuim air\n" -#: main.c:433 +#: main.c:434 msgid "empty argument to `--source' ignored" msgstr "rinneadh neamhshuim ar argóint fholamh go `--source'" -#: main.c:487 +#: main.c:488 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: tá argóint de dhíth i ndiaidh na rogha -- %c\n" -#: main.c:506 +#: main.c:509 msgid "environment variable `POSIXLY_CORRECT' set: turning on `--posix'" msgstr "athróg thimpeallachta `POSIXLY_CORRECT' socraithe: ag lasadh `--posix'" -#: main.c:512 +#: main.c:515 msgid "`--posix' overrides `--traditional'" msgstr "sáraíonn `--posix' `--traditional'" -#: main.c:523 +#: main.c:526 msgid "`--posix'/`--traditional' overrides `--non-decimal-data'" msgstr "sáraíonn `--posix'/`--traditional' `--non-decimal-data'" -#: main.c:527 +#: main.c:530 #, c-format msgid "running %s setuid root may be a security problem" msgstr "seans gur neamhdhaingean é ag rith %s setuid root" -#: main.c:568 +#: main.c:571 #, c-format msgid "can't set binary mode on stdin (%s)" msgstr "ní féidir mód dénártha a shocrú ar stdin (%s)" -#: main.c:571 +#: main.c:574 #, c-format msgid "can't set binary mode on stdout (%s)" msgstr "ní féidir mód dénártha a shocrú ar stdout (%s)" -#: main.c:573 +#: main.c:576 #, c-format msgid "can't set binary mode on stderr (%s)" msgstr "ní féidir mód dénártha a shocrú ar stderr (%s)" -#: main.c:612 +#: main.c:617 msgid "no program text at all!" msgstr "níl aon téacs sa ríomhchlár!" -#: main.c:716 +#: main.c:721 #, c-format msgid "Usage: %s [POSIX or GNU style options] -f progfile [--] file ...\n" msgstr "" "Úsáid: %s [roghanna cineál POSIX nó GNU] -f clárchomhad [--] comhad ...\n" -#: main.c:718 +#: main.c:723 #, c-format msgid "Usage: %s [POSIX or GNU style options] [--] %cprogram%c file ...\n" msgstr "" "Úsáid: %s [roghanna cineál POSIX nó GNU] [--] %críomhchlár%c comhad ...\n" -#: main.c:723 +#: main.c:728 msgid "POSIX options:\t\tGNU long options:\n" msgstr "roghanna POSIX:\t\tGNU roghanna fada:\n" -#: main.c:724 +#: main.c:729 msgid "\t-f progfile\t\t--file=progfile\n" msgstr "\t-f comhad\t\t--file=progfile\n" -#: main.c:725 +#: main.c:730 msgid "\t-F fs\t\t\t--field-separator=fs\n" msgstr "\t-F fs\t\t\t--field-separator=fs\n" -#: main.c:726 +#: main.c:731 msgid "\t-v var=val\t\t--assign=var=val\n" msgstr "\t-v athróg=luach\t\t--assign=athróg=luach\n" -#: main.c:727 +#: main.c:732 msgid "\t-m[fr] val\n" msgstr "\t-m[fr] luach\n" -#: main.c:728 +#: main.c:733 msgid "\t-O\t\t\t--optimize\n" msgstr "" -#: main.c:729 +#: main.c:734 msgid "\t-W compat\t\t--compat\n" msgstr "\t-W compat\t\t--compat\n" -#: main.c:730 +#: main.c:735 msgid "\t-W copyleft\t\t--copyleft\n" msgstr "\t-W copyleft\t\t--copyleft\n" -#: main.c:731 +#: main.c:736 msgid "\t-W copyright\t\t--copyright\n" msgstr "\t-W copyright\t\t--copyright\n" -#: main.c:732 +#: main.c:737 msgid "\t-W dump-variables[=file]\t--dump-variables[=file]\n" msgstr "\t-W dump-variables[=comhad]\t--dump-variables[=comhad]\n" -#: main.c:733 +#: main.c:738 msgid "\t-W exec=file\t\t--exec=file\n" msgstr "\t-W exec=comhad\t\t--exec=comhad\n" -#: main.c:734 +#: main.c:739 msgid "\t-W gen-po\t\t--gen-po\n" msgstr "\t-W gen-po\t\t--gen-po\n" -#: main.c:735 +#: main.c:740 msgid "\t-W help\t\t\t--help\n" msgstr "\t-W help\t\t\t--help\n" -#: main.c:736 +#: main.c:741 msgid "\t-W lint[=fatal]\t\t--lint[=fatal]\n" msgstr "\t-W lint[=fatal]\t\t--lint[=fatal]\n" -#: main.c:737 +#: main.c:742 msgid "\t-W lint-old\t\t--lint-old\n" msgstr "\t-W lint-old\t\t--lint-old\n" -#: main.c:738 +#: main.c:743 msgid "\t-W non-decimal-data\t--non-decimal-data\n" msgstr "\t-W non-decimal-data\t--non-decimal-data\n" -#: main.c:740 +#: main.c:745 msgid "\t-W nostalgia\t\t--nostalgia\n" msgstr "\t-W nostalgia\t\t--nostalgia\n" -#: main.c:743 +#: main.c:748 msgid "\t-W parsedebug\t\t--parsedebug\n" msgstr "\t-W parsedebug\t\t--parsedebug\n" -#: main.c:745 +#: main.c:750 msgid "\t-W profile[=file]\t--profile[=file]\n" msgstr "\t-W profile[=comhad]\t--profile[=comhad]\n" -#: main.c:746 +#: main.c:751 msgid "\t-W posix\t\t--posix\n" msgstr "\t-W posix\t\t--posix\n" -#: main.c:747 +#: main.c:752 msgid "\t-W re-interval\t\t--re-interval\n" msgstr "\t-W re-interval\t\t--re-interval\n" -#: main.c:748 +#: main.c:753 msgid "\t-W source=program-text\t--source=program-text\n" msgstr "\t-W source=program-text\t--source=program-text\n" -#: main.c:749 +#: main.c:754 msgid "\t-W traditional\t\t--traditional\n" msgstr "\t-W traditional\t\t--traditional\n" -#: main.c:750 +#: main.c:755 msgid "\t-W usage\t\t--usage\n" msgstr "\t-W usage\t\t--usage\n" -#: main.c:751 +#: main.c:756 msgid "\t-W use-lc-numeric\t--use-lc-numeric\n" msgstr "\t-W use-lc-numeric\t--use-lc-numeric\n" -#: main.c:752 +#: main.c:757 msgid "\t-W version\t\t--version\n" msgstr "\t-W version\t\t--version\n" @@ -1610,7 +1623,7 @@ #. for this application. Please add _another line_ with the #. address for translation bugs. #. no-wrap -#: main.c:761 +#: main.c:766 msgid "" "\n" "To report bugs, see node `Bugs' in `gawk.info', which is\n" @@ -1622,7 +1635,7 @@ "sa rannán `Reporting Problems and Bugs' sa leagan faoi chló.\n" "\n" -#: main.c:765 +#: main.c:770 msgid "" "gawk is a pattern scanning and processing language.\n" "By default it reads standard input and writes standard output.\n" @@ -1633,7 +1646,7 @@ "haschur caighdeánach.\n" "\n" -#: main.c:769 +#: main.c:774 msgid "" "Examples:\n" "\tgawk '{ sum += $1 }; END { print sum }' file\n" @@ -1643,7 +1656,7 @@ "\tgawk '{ sum += $1 }; END { print sum }' comhad\n" "\tgawk -F: '{ print $1 }' /etc/passwd\n" -#: main.c:789 +#: main.c:794 #, c-format msgid "" "Copyright (C) 1989, 1991-%d Free Software Foundation.\n" @@ -1662,7 +1675,7 @@ "nó (más mian leat) aon leagan níos déanaí.\n" "\n" -#: main.c:797 +#: main.c:802 msgid "" "This program is distributed in the hope that it will be useful,\n" "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" @@ -1676,7 +1689,7 @@ "GNU General Public License chun níos mó sonraí a fháil.\n" "\n" -#: main.c:808 +#: main.c:813 msgid "" "You should have received a copy of the GNU General Public License\n" "along with this program. If not, see http://www.gnu.org/licenses/.\n" @@ -1685,11 +1698,11 @@ "a fháil in éineacht leis an ríomhchlár seo; mura bhfuair,\n" "féach ar http://www.gnu.org/licenses/.\n" -#: main.c:843 +#: main.c:848 msgid "-Ft does not set FS to tab in POSIX awk" msgstr "ní athraíonn -Ft FS go táb san awk POSIX" -#: main.c:1117 +#: main.c:1122 #, c-format msgid "" "%s: `%s' argument to `-v' not in `var=value' form\n" @@ -1698,45 +1711,45 @@ "%s: níl an argóint `%s' go `-v' san fhoirm `var=value'\n" "\n" -#: main.c:1137 +#: main.c:1142 #, c-format msgid "`%s' is not a legal variable name" msgstr "ní ainm athróige dleathúil é `%s'" -#: main.c:1140 +#: main.c:1145 #, c-format msgid "`%s' is not a variable name, looking for file `%s=%s'" msgstr "ní ainm athróige é `%s', ag lorg comhad `%s=%s'" -#: main.c:1179 +#: main.c:1184 msgid "floating point exception" msgstr "eisceacht snámhphointe" -#: main.c:1186 +#: main.c:1191 msgid "fatal error: internal error" msgstr "earráid mharfach: earráid inmheánach" -#: main.c:1200 +#: main.c:1206 #, fuzzy msgid "fatal error: internal error: segfault" msgstr "earráid mharfach: earráid inmheánach" -#: main.c:1212 +#: main.c:1218 #, fuzzy msgid "fatal error: internal error: stack overflow" msgstr "earráid mharfach: earráid inmheánach" -#: main.c:1261 +#: main.c:1268 #, c-format msgid "no pre-opened fd %d" msgstr "níl aon fd %d réamhoscailte" -#: main.c:1268 +#: main.c:1275 #, c-format msgid "could not pre-open /dev/null for fd %d" msgstr "níorbh fhéidir /dev/null a réamhoscailt do fd %d" -#: main.c:1291 main.c:1300 +#: main.c:1298 main.c:1307 #, c-format msgid "could not find groups: %s" msgstr "ní féidir na grúpaí a aimsiú: %s" @@ -1762,31 +1775,31 @@ msgid "can't convert string to float" msgstr "ní féidir teaghrán a thiontú go snámhphointe" -#: node.c:462 +#: node.c:465 msgid "backslash at end of string" msgstr "cúlslais ag deireadh an teaghráin" -#: node.c:606 +#: node.c:609 #, c-format msgid "old awk does not support the `\\%c' escape sequence" msgstr "ní thacaíonn sean-awk le seicheamh éalaithe `\\%c'" -#: node.c:657 +#: node.c:660 msgid "POSIX does not allow `\\x' escapes" msgstr "ní cheadaíonn POSIX éalaithe `\\x'" -#: node.c:663 +#: node.c:666 msgid "no hex digits in `\\x' escape sequence" msgstr "níl digití heicsidheachúlach sa seicheamh éalaithe `\\x'" -#: node.c:685 +#: node.c:688 #, c-format msgid "" "hex escape \\x%.*s of %d characters probably not interpreted the way you " "expect" msgstr "" -#: node.c:700 +#: node.c:703 #, c-format msgid "escape sequence `\\%c' treated as plain `%c'" msgstr "seicheamh éalaithe `\\%c' úsáidte mar ghnáth `%c'" @@ -1796,32 +1809,31 @@ msgid "%s %s `%s': could not set close-on-exec: (fcntl: %s)" msgstr "%s %s `%s': níorbh fhéidir close-on-exec a shannadh: (fcntl: %s)" -#: profile.c:93 +#: profile.c:94 #, c-format msgid "could not open `%s' for writing: %s" msgstr "Níorbh fhéidir `%s' a oscailt chun scríobh ann: %s" -#: profile.c:453 +#: profile.c:457 #, c-format msgid "internal error: %s with null vname" msgstr "earráid inmheánach: %s le vname nialasach" -#: profile.c:517 -#, fuzzy +#: profile.c:521 msgid "# treated internally as `delete'" msgstr "# úsáidte go hinmheánach mar `delete'" -#: profile.c:1069 +#: profile.c:1073 #, c-format msgid "# this is a dynamically loaded extension function" msgstr "# is feidhm iarmhíreach é seo atá le luchtú go dinimiciúil" -#: profile.c:1100 +#: profile.c:1104 #, c-format msgid "\t# gawk profile, created %s\n" msgstr "\t# cuntas gawk, cruthaíodh %s\n" -#: profile.c:1103 +#: profile.c:1107 #, c-format msgid "" "\t# BEGIN block(s)\n" @@ -1830,7 +1842,7 @@ "\t# TÚS bloc(anna)\n" "\n" -#: profile.c:1113 +#: profile.c:1117 #, c-format msgid "" "\t# Rule(s)\n" @@ -1839,7 +1851,7 @@ "\t# Riail(eacha)\n" "\n" -#: profile.c:1119 +#: profile.c:1123 #, c-format msgid "" "\t# END block(s)\n" @@ -1848,7 +1860,7 @@ "\t# CRÍOCH bloc(anna)\n" "\n" -#: profile.c:1139 +#: profile.c:1143 #, c-format msgid "" "\n" @@ -1857,91 +1869,94 @@ "\n" "\t# Feidhmeanna, i liosta aibítreach\n" -#: profile.c:1400 +#: profile.c:1405 #, c-format msgid "unexpected type %s in prec_level" msgstr "cineál gan súil %s i prec_level" -#: profile.c:1500 +#: profile.c:1527 #, fuzzy, c-format msgid "Unknown node type %s in pp_var" msgstr " cineál anaithnid nóid %d" -#: regcomp.c:133 +#: regcomp.c:132 msgid "Success" msgstr "D'éirigh leis" -#: regcomp.c:136 +#: regcomp.c:135 msgid "No match" msgstr "Níl a leithéid ann" -#: regcomp.c:139 +#: regcomp.c:138 msgid "Invalid regular expression" msgstr "Slonn ionadaíochta neamhbhailí" -#: regcomp.c:142 +#: regcomp.c:141 msgid "Invalid collation character" msgstr "Carachtar neamhbhailí cóimheasa" -#: regcomp.c:145 +#: regcomp.c:144 msgid "Invalid character class name" msgstr "Aicme neamhbhailí charachtair" -#: regcomp.c:148 +#: regcomp.c:147 msgid "Trailing backslash" msgstr "Cúlslais ag deireadh" -#: regcomp.c:151 +#: regcomp.c:150 msgid "Invalid back reference" msgstr "Cúltagairt neamhbhailí" -#: regcomp.c:154 +#: regcomp.c:153 msgid "Unmatched [ or [^" msgstr "[ nó [^ corr" -#: regcomp.c:157 +#: regcomp.c:156 msgid "Unmatched ( or \\(" msgstr "( nó \\( corr" -#: regcomp.c:160 +#: regcomp.c:159 msgid "Unmatched \\{" msgstr "\\{ corr" -#: regcomp.c:163 +#: regcomp.c:162 msgid "Invalid content of \\{\\}" msgstr "Inneachar neamhbhailí idir \\{\\}" -#: regcomp.c:166 +#: regcomp.c:165 msgid "Invalid range end" msgstr "Deireadh raoin neamhbhailí" -#: regcomp.c:169 +#: regcomp.c:168 msgid "Memory exhausted" msgstr "Cuimhne ídithe" -#: regcomp.c:172 +#: regcomp.c:171 msgid "Invalid preceding regular expression" msgstr "Is neamhbhailí an slonn ionadaíochta roimhe seo" -#: regcomp.c:175 +#: regcomp.c:174 msgid "Premature end of regular expression" msgstr "Deireadh le slonn ionadaíochta gan choinne" -#: regcomp.c:178 +#: regcomp.c:177 msgid "Regular expression too big" msgstr "Slonn ionadaíochta rómhór" -#: regcomp.c:181 +#: regcomp.c:180 msgid "Unmatched ) or \\)" msgstr ") nó \\) corr" -#: regcomp.c:700 +#: regcomp.c:699 msgid "No previous regular expression" msgstr "Níl aon slonn ionadaíochta roimhe seo" #~ msgid "%s: illegal option -- %c\n" #~ msgstr "%s: rogha neamhcheadaithe -- %c\n" +#~ msgid "can't open two way socket `%s' for input/output (%s)" +#~ msgstr "ní féidir an soicéad déthreo `%s' a oscailt d'ionchur/aschur (%s)" + #~ msgid "remote port invalid in `%s'" #~ msgstr "cianphort neamhbhailí i `%s'" diff -urN gawk-3.1.7/po/gawk.pot gawk-3.1.8/po/gawk.pot --- gawk-3.1.7/po/gawk.pot 2009-07-21 23:23:44.000000000 +0300 +++ gawk-3.1.8/po/gawk.pot 2010-05-06 20:57:36.000000000 +0300 @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: gawk 3.1.7\n" +"Project-Id-Version: gawk 3.1.8\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2009-07-21 23:23+0300\n" +"POT-Creation-Date: 2010-05-06 20:57+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -36,42 +36,42 @@ msgid "from %s" msgstr "" -#: array.c:514 +#: array.c:513 #, c-format -msgid "reference to uninitialized element `%s[\"%s\"]'" +msgid "reference to uninitialized element `%s[\"%.*s\"]'" msgstr "" -#: array.c:520 +#: array.c:519 #, c-format msgid "subscript of array `%s' is null string" msgstr "" -#: array.c:624 +#: array.c:623 #, c-format msgid "delete: index `%s' not in array `%s'" msgstr "" -#: array.c:793 +#: array.c:792 #, c-format msgid "%s: empty (null)\n" msgstr "" -#: array.c:798 +#: array.c:797 #, c-format msgid "%s: empty (zero)\n" msgstr "" -#: array.c:802 +#: array.c:801 #, c-format msgid "%s: table_size = %d, array_size = %d\n" msgstr "" -#: array.c:831 +#: array.c:830 #, c-format msgid "%s: is parameter\n" msgstr "" -#: array.c:836 +#: array.c:835 #, c-format msgid "%s: array_ref to %s\n" msgstr "" @@ -345,7 +345,7 @@ msgid "could not open `%s' for writing (%s)" msgstr "" -#: awkgram.y:2748 profile.c:95 +#: awkgram.y:2748 profile.c:96 msgid "sending profile to standard error" msgstr "" @@ -399,7 +399,11 @@ "or used as a variable or an array" msgstr "" -#: awkgram.y:3667 eval.c:1394 +#: awkgram.y:3664 +msgid "division by zero attempted in `/'" +msgstr "" + +#: awkgram.y:3669 eval.c:1394 #, c-format msgid "division by zero attempted in `%%'" msgstr "" @@ -457,347 +461,355 @@ msgid "`length(array)' is a gawk extension" msgstr "" -#: builtin.c:473 +#: builtin.c:471 +msgid "length: untyped parameter argument will be forced to scalar" +msgstr "" + +#: builtin.c:480 msgid "length: untyped argument will be forced to scalar" msgstr "" -#: builtin.c:477 +#: builtin.c:484 msgid "length: received non-string argument" msgstr "" -#: builtin.c:508 +#: builtin.c:515 msgid "log: received non-numeric argument" msgstr "" -#: builtin.c:511 +#: builtin.c:518 #, c-format msgid "log: received negative argument %g" msgstr "" -#: builtin.c:719 builtin.c:722 +#: builtin.c:726 builtin.c:729 msgid "must use `count$' on all formats or none" msgstr "" -#: builtin.c:783 +#: builtin.c:790 #, c-format msgid "field width is ignored for `%%%%' specifier" msgstr "" -#: builtin.c:785 +#: builtin.c:792 #, c-format msgid "precision is ignored for `%%%%' specifier" msgstr "" -#: builtin.c:787 +#: builtin.c:794 #, c-format msgid "field width and precision are ignored for `%%%%' specifier" msgstr "" -#: builtin.c:838 +#: builtin.c:845 msgid "`$' is not permitted in awk formats" msgstr "" -#: builtin.c:844 +#: builtin.c:851 msgid "arg count with `$' must be > 0" msgstr "" -#: builtin.c:846 +#: builtin.c:853 #, c-format msgid "arg count %ld greater than total number of supplied arguments" msgstr "" -#: builtin.c:848 +#: builtin.c:855 msgid "`$' not permitted after period in format" msgstr "" -#: builtin.c:861 +#: builtin.c:868 msgid "no `$' supplied for positional field width or precision" msgstr "" -#: builtin.c:927 +#: builtin.c:938 msgid "`l' is meaningless in awk formats; ignored" msgstr "" -#: builtin.c:931 +#: builtin.c:942 msgid "`l' is not permitted in POSIX awk formats" msgstr "" -#: builtin.c:942 +#: builtin.c:953 msgid "`L' is meaningless in awk formats; ignored" msgstr "" -#: builtin.c:946 +#: builtin.c:957 msgid "`L' is not permitted in POSIX awk formats" msgstr "" -#: builtin.c:957 +#: builtin.c:968 msgid "`h' is meaningless in awk formats; ignored" msgstr "" -#: builtin.c:961 +#: builtin.c:972 msgid "`h' is not permitted in POSIX awk formats" msgstr "" -#: builtin.c:1236 +#: builtin.c:1252 #, c-format msgid "[s]printf: value %g is out of range for `%%%c' format" msgstr "" -#: builtin.c:1316 +#: builtin.c:1332 #, c-format msgid "ignoring unknown format specifier character `%c': no argument converted" msgstr "" -#: builtin.c:1322 +#: builtin.c:1338 msgid "not enough arguments to satisfy format string" msgstr "" -#: builtin.c:1324 +#: builtin.c:1340 msgid "^ ran out for this one" msgstr "" -#: builtin.c:1330 +#: builtin.c:1346 msgid "[s]printf: format specifier does not have control letter" msgstr "" -#: builtin.c:1333 +#: builtin.c:1349 msgid "too many arguments supplied for format string" msgstr "" -#: builtin.c:1408 builtin.c:1411 +#: builtin.c:1424 builtin.c:1427 msgid "printf: no arguments" msgstr "" -#: builtin.c:1435 +#: builtin.c:1451 msgid "sqrt: received non-numeric argument" msgstr "" -#: builtin.c:1439 +#: builtin.c:1455 #, c-format msgid "sqrt: called with negative argument %g" msgstr "" -#: builtin.c:1463 +#: builtin.c:1479 #, c-format msgid "substr: start index %g is invalid, using 1" msgstr "" -#: builtin.c:1468 +#: builtin.c:1484 #, c-format msgid "substr: non-integer start index %g will be truncated" msgstr "" -#: builtin.c:1494 +#: builtin.c:1510 #, c-format msgid "substr: length %g is not >= 1" msgstr "" -#: builtin.c:1496 +#: builtin.c:1512 #, c-format msgid "substr: length %g is not >= 0" msgstr "" -#: builtin.c:1503 +#: builtin.c:1519 #, c-format msgid "substr: non-integer length %g will be truncated" msgstr "" -#: builtin.c:1508 +#: builtin.c:1524 #, c-format msgid "substr: length %g too big for string indexing, truncating to %g" msgstr "" -#: builtin.c:1520 +#: builtin.c:1536 msgid "substr: source string is zero length" msgstr "" -#: builtin.c:1536 +#: builtin.c:1552 #, c-format msgid "substr: start index %g is past end of string" msgstr "" -#: builtin.c:1544 +#: builtin.c:1560 #, c-format msgid "" "substr: length %g at start index %g exceeds length of first argument (%lu)" msgstr "" -#: builtin.c:1621 +#: builtin.c:1637 msgid "strftime: received non-string first argument" msgstr "" -#: builtin.c:1627 +#: builtin.c:1643 msgid "strftime: received empty format string" msgstr "" -#: builtin.c:1636 +#: builtin.c:1652 msgid "strftime: received non-numeric second argument" msgstr "" -#: builtin.c:1713 +#: builtin.c:1729 msgid "mktime: received non-string argument" msgstr "" -#: builtin.c:1758 +#: builtin.c:1746 +msgid "mktime: at least one of the values is out of the default range" +msgstr "" + +#: builtin.c:1783 msgid "system: received non-string argument" msgstr "" -#: builtin.c:1879 eval.c:2145 +#: builtin.c:1904 eval.c:2157 #, c-format msgid "reference to uninitialized field `$%d'" msgstr "" -#: builtin.c:1984 +#: builtin.c:2009 msgid "tolower: received non-string argument" msgstr "" -#: builtin.c:2014 +#: builtin.c:2039 msgid "toupper: received non-string argument" msgstr "" -#: builtin.c:2047 +#: builtin.c:2072 msgid "atan2: received non-numeric first argument" msgstr "" -#: builtin.c:2049 +#: builtin.c:2074 msgid "atan2: received non-numeric second argument" msgstr "" -#: builtin.c:2068 +#: builtin.c:2093 msgid "sin: received non-numeric argument" msgstr "" -#: builtin.c:2084 +#: builtin.c:2109 msgid "cos: received non-numeric argument" msgstr "" -#: builtin.c:2137 +#: builtin.c:2162 msgid "srand: received non-numeric argument" msgstr "" -#: builtin.c:2172 +#: builtin.c:2197 msgid "match: third argument is not an array" msgstr "" -#: builtin.c:2719 +#: builtin.c:2744 msgid "gensub: third argument of 0 treated as 1" msgstr "" -#: builtin.c:2835 +#: builtin.c:2860 msgid "lshift: received non-numeric first argument" msgstr "" -#: builtin.c:2837 +#: builtin.c:2862 msgid "lshift: received non-numeric second argument" msgstr "" -#: builtin.c:2843 +#: builtin.c:2868 #, c-format msgid "lshift(%lf, %lf): negative values will give strange results" msgstr "" -#: builtin.c:2845 +#: builtin.c:2870 #, c-format msgid "lshift(%lf, %lf): fractional values will be truncated" msgstr "" -#: builtin.c:2847 +#: builtin.c:2872 #, c-format msgid "lshift(%lf, %lf): too large shift value will give strange results" msgstr "" -#: builtin.c:2873 +#: builtin.c:2898 msgid "rshift: received non-numeric first argument" msgstr "" -#: builtin.c:2875 +#: builtin.c:2900 msgid "rshift: received non-numeric second argument" msgstr "" -#: builtin.c:2881 +#: builtin.c:2906 #, c-format msgid "rshift(%lf, %lf): negative values will give strange results" msgstr "" -#: builtin.c:2883 +#: builtin.c:2908 #, c-format msgid "rshift(%lf, %lf): fractional values will be truncated" msgstr "" -#: builtin.c:2885 +#: builtin.c:2910 #, c-format msgid "rshift(%lf, %lf): too large shift value will give strange results" msgstr "" -#: builtin.c:2911 +#: builtin.c:2936 msgid "and: received non-numeric first argument" msgstr "" -#: builtin.c:2913 +#: builtin.c:2938 msgid "and: received non-numeric second argument" msgstr "" -#: builtin.c:2919 +#: builtin.c:2944 #, c-format msgid "and(%lf, %lf): negative values will give strange results" msgstr "" -#: builtin.c:2921 +#: builtin.c:2946 #, c-format msgid "and(%lf, %lf): fractional values will be truncated" msgstr "" -#: builtin.c:2947 +#: builtin.c:2972 msgid "or: received non-numeric first argument" msgstr "" -#: builtin.c:2949 +#: builtin.c:2974 msgid "or: received non-numeric second argument" msgstr "" -#: builtin.c:2955 +#: builtin.c:2980 #, c-format msgid "or(%lf, %lf): negative values will give strange results" msgstr "" -#: builtin.c:2957 +#: builtin.c:2982 #, c-format msgid "or(%lf, %lf): fractional values will be truncated" msgstr "" -#: builtin.c:2983 +#: builtin.c:3008 msgid "xor: received non-numeric first argument" msgstr "" -#: builtin.c:2985 +#: builtin.c:3010 msgid "xor: received non-numeric second argument" msgstr "" -#: builtin.c:2991 +#: builtin.c:3016 #, c-format msgid "xor(%lf, %lf): negative values will give strange results" msgstr "" -#: builtin.c:2993 +#: builtin.c:3018 #, c-format msgid "xor(%lf, %lf): fractional values will be truncated" msgstr "" -#: builtin.c:3017 +#: builtin.c:3042 msgid "compl: received non-numeric argument" msgstr "" -#: builtin.c:3023 +#: builtin.c:3048 #, c-format msgid "compl(%lf): negative value will give strange results" msgstr "" -#: builtin.c:3025 +#: builtin.c:3050 #, c-format msgid "compl(%lf): fractional value will be truncated" msgstr "" -#: builtin.c:3198 +#: builtin.c:3223 #, c-format msgid "dcgettext: `%s' is not a valid locale category" msgstr "" @@ -811,7 +823,7 @@ msgid "buffer overflow in genflags2str" msgstr "" -#: eval.c:454 eval.c:460 profile.c:781 +#: eval.c:454 eval.c:460 profile.c:785 #, c-format msgid "attempt to use array `%s' in a scalar context" msgstr "" @@ -857,7 +869,7 @@ msgid "statement has no effect" msgstr "" -#: eval.c:1029 eval.c:1999 +#: eval.c:1029 eval.c:2011 #, c-format msgid "can't use function name `%s' as variable or array" msgstr "" @@ -867,7 +879,7 @@ msgid "reference to uninitialized argument `%s'" msgstr "" -#: eval.c:1051 eval.c:2008 +#: eval.c:1051 eval.c:2020 #, c-format msgid "reference to uninitialized variable `%s'" msgstr "" @@ -886,7 +898,7 @@ msgid "division by zero attempted" msgstr "" -#: eval.c:1409 profile.c:657 +#: eval.c:1409 profile.c:661 #, c-format msgid "illegal type (%s) in tree_eval" msgstr "" @@ -900,17 +912,17 @@ msgid "division by zero attempted in `%%='" msgstr "" -#: eval.c:1859 +#: eval.c:1871 #, c-format msgid "function `%s' called with more arguments than declared" msgstr "" -#: eval.c:1904 +#: eval.c:1916 #, c-format msgid "function `%s' not defined" msgstr "" -#: eval.c:1971 +#: eval.c:1983 #, c-format msgid "" "\n" @@ -918,47 +930,47 @@ "\n" msgstr "" -#: eval.c:1974 +#: eval.c:1986 #, c-format msgid "\t# -- main --\n" msgstr "" -#: eval.c:2129 +#: eval.c:2141 msgid "attempt to field reference from non-numeric value" msgstr "" -#: eval.c:2131 +#: eval.c:2143 msgid "attempt to reference from null string" msgstr "" -#: eval.c:2137 +#: eval.c:2149 #, c-format msgid "attempt to access field %d" msgstr "" -#: eval.c:2158 eval.c:2165 profile.c:836 +#: eval.c:2170 eval.c:2177 profile.c:840 msgid "assignment is not allowed to result of builtin function" msgstr "" -#: eval.c:2229 +#: eval.c:2241 msgid "`IGNORECASE' is a gawk extension" msgstr "" -#: eval.c:2258 +#: eval.c:2270 msgid "`BINMODE' is a gawk extension" msgstr "" -#: eval.c:2316 +#: eval.c:2328 #, c-format msgid "BINMODE value `%s' is invalid, treated as 3" msgstr "" -#: eval.c:2406 +#: eval.c:2418 #, c-format msgid "bad `%sFMT' specification `%s'" msgstr "" -#: eval.c:2484 +#: eval.c:2496 msgid "turning off `--lint' due to assignment to `LINT'" msgstr "" @@ -1058,56 +1070,61 @@ msgid "old awk does not support regexps as value of `FS'" msgstr "" -#: getopt.c:570 getopt.c:586 +#: getopt.c:574 getopt.c:590 #, c-format msgid "%s: option '%s' is ambiguous\n" msgstr "" -#: getopt.c:619 getopt.c:623 +#: getopt.c:623 getopt.c:627 #, c-format msgid "%s: option '--%s' doesn't allow an argument\n" msgstr "" -#: getopt.c:632 getopt.c:637 +#: getopt.c:636 getopt.c:641 #, c-format msgid "%s: option '%c%s' doesn't allow an argument\n" msgstr "" -#: getopt.c:680 getopt.c:699 getopt.c:1002 getopt.c:1021 +#: getopt.c:684 getopt.c:703 #, c-format -msgid "%s: option '%s' requires an argument\n" +msgid "%s: option '--%s' requires an argument\n" msgstr "" -#: getopt.c:737 getopt.c:740 +#: getopt.c:741 getopt.c:744 #, c-format msgid "%s: unrecognized option '--%s'\n" msgstr "" -#: getopt.c:748 getopt.c:751 +#: getopt.c:752 getopt.c:755 #, c-format msgid "%s: unrecognized option '%c%s'\n" msgstr "" -#: getopt.c:800 getopt.c:803 +#: getopt.c:804 getopt.c:807 #, c-format msgid "%s: invalid option -- '%c'\n" msgstr "" -#: getopt.c:853 getopt.c:870 getopt.c:1073 getopt.c:1091 +#: getopt.c:857 getopt.c:874 getopt.c:1082 getopt.c:1100 #, c-format msgid "%s: option requires an argument -- '%c'\n" msgstr "" -#: getopt.c:923 getopt.c:939 +#: getopt.c:930 getopt.c:946 #, c-format msgid "%s: option '-W %s' is ambiguous\n" msgstr "" -#: getopt.c:963 getopt.c:981 +#: getopt.c:970 getopt.c:988 #, c-format msgid "%s: option '-W %s' doesn't allow an argument\n" msgstr "" +#: getopt.c:1009 getopt.c:1027 +#, c-format +msgid "%s: option '-W %s' requires an argument\n" +msgstr "" + #: io.c:322 io.c:352 #, c-format msgid "cannot open file `%s' for reading (%s)" @@ -1153,434 +1170,429 @@ msgid "can't open pipe `%s' for input (%s)" msgstr "" -#: io.c:712 -#, c-format -msgid "can't open two way socket `%s' for input/output (%s)" -msgstr "" - -#: io.c:716 +#: io.c:717 #, c-format msgid "can't open two way pipe `%s' for input/output (%s)" msgstr "" -#: io.c:793 +#: io.c:795 #, c-format msgid "can't redirect from `%s' (%s)" msgstr "" -#: io.c:796 +#: io.c:798 #, c-format msgid "can't redirect to `%s' (%s)" msgstr "" -#: io.c:849 +#: io.c:851 msgid "" "reached system limit for open files: starting to multiplex file descriptors" msgstr "" -#: io.c:865 +#: io.c:867 #, c-format msgid "close of `%s' failed (%s)." msgstr "" -#: io.c:873 +#: io.c:875 msgid "too many pipes or input files open" msgstr "" -#: io.c:896 +#: io.c:898 msgid "close: second argument must be `to' or `from'" msgstr "" -#: io.c:910 +#: io.c:912 #, c-format msgid "close: `%.*s' is not an open file, pipe or co-process" msgstr "" -#: io.c:915 +#: io.c:917 msgid "close of redirection that was never opened" msgstr "" -#: io.c:1012 +#: io.c:1014 #, c-format msgid "close: redirection `%s' not opened with `|&', second argument ignored" msgstr "" -#: io.c:1028 +#: io.c:1030 #, c-format msgid "failure status (%d) on pipe close of `%s' (%s)" msgstr "" -#: io.c:1031 +#: io.c:1033 #, c-format msgid "failure status (%d) on file close of `%s' (%s)" msgstr "" -#: io.c:1051 +#: io.c:1053 #, c-format msgid "no explicit close of socket `%s' provided" msgstr "" -#: io.c:1054 +#: io.c:1056 #, c-format msgid "no explicit close of co-process `%s' provided" msgstr "" -#: io.c:1057 +#: io.c:1059 #, c-format msgid "no explicit close of pipe `%s' provided" msgstr "" -#: io.c:1060 +#: io.c:1062 #, c-format msgid "no explicit close of file `%s' provided" msgstr "" -#: io.c:1088 io.c:1143 main.c:776 main.c:818 +#: io.c:1090 io.c:1145 main.c:781 main.c:823 #, c-format msgid "error writing standard output (%s)" msgstr "" -#: io.c:1092 io.c:1148 +#: io.c:1094 io.c:1150 #, c-format msgid "error writing standard error (%s)" msgstr "" -#: io.c:1100 +#: io.c:1102 #, c-format msgid "pipe flush of `%s' failed (%s)." msgstr "" -#: io.c:1103 +#: io.c:1105 #, c-format msgid "co-process flush of pipe to `%s' failed (%s)." msgstr "" -#: io.c:1106 +#: io.c:1108 #, c-format msgid "file flush of `%s' failed (%s)." msgstr "" -#: io.c:1220 +#: io.c:1222 #, c-format msgid "local port %s invalid in `/inet'" msgstr "" -#: io.c:1237 +#: io.c:1239 #, c-format msgid "remote host and port information (%s, %s) invalid" msgstr "" -#: io.c:1272 +#: io.c:1274 msgid "/inet/raw client not ready yet, sorry" msgstr "" -#: io.c:1275 io.c:1311 +#: io.c:1277 io.c:1313 msgid "only root may use `/inet/raw'." msgstr "" -#: io.c:1309 +#: io.c:1311 msgid "/inet/raw server not ready yet, sorry" msgstr "" -#: io.c:1407 +#: io.c:1409 #, c-format msgid "no (known) protocol supplied in special filename `%s'" msgstr "" -#: io.c:1421 +#: io.c:1423 #, c-format msgid "special file name `%s' is incomplete" msgstr "" -#: io.c:1436 +#: io.c:1438 msgid "must supply a remote hostname to `/inet'" msgstr "" -#: io.c:1454 +#: io.c:1456 msgid "must supply a remote port to `/inet'" msgstr "" -#: io.c:1485 +#: io.c:1502 msgid "TCP/IP communications are not supported" msgstr "" -#: io.c:1494 +#: io.c:1511 #, c-format msgid "file `%s' is a directory" msgstr "" -#: io.c:1555 +#: io.c:1572 #, c-format msgid "use `PROCINFO[\"%s\"]' instead of `%s'" msgstr "" -#: io.c:1593 +#: io.c:1610 msgid "use `PROCINFO[...]' instead of `/dev/user'" msgstr "" -#: io.c:1658 io.c:1853 +#: io.c:1675 io.c:1872 #, c-format msgid "could not open `%s', mode `%s'" msgstr "" -#: io.c:1904 +#: io.c:1923 #, c-format msgid "close of master pty failed (%s)" msgstr "" -#: io.c:1906 io.c:2058 io.c:2209 +#: io.c:1925 io.c:2077 io.c:2228 #, c-format msgid "close of stdout in child failed (%s)" msgstr "" -#: io.c:1909 +#: io.c:1928 #, c-format msgid "moving slave pty to stdout in child failed (dup: %s)" msgstr "" -#: io.c:1911 io.c:2063 +#: io.c:1930 io.c:2082 #, c-format msgid "close of stdin in child failed (%s)" msgstr "" -#: io.c:1914 +#: io.c:1933 #, c-format msgid "moving slave pty to stdin in child failed (dup: %s)" msgstr "" -#: io.c:1916 io.c:1935 +#: io.c:1935 io.c:1954 #, c-format msgid "close of slave pty failed (%s)" msgstr "" -#: io.c:2009 io.c:2061 io.c:2190 io.c:2212 +#: io.c:2028 io.c:2080 io.c:2209 io.c:2231 #, c-format msgid "moving pipe to stdout in child failed (dup: %s)" msgstr "" -#: io.c:2013 io.c:2066 +#: io.c:2032 io.c:2085 #, c-format msgid "moving pipe to stdin in child failed (dup: %s)" msgstr "" -#: io.c:2030 io.c:2203 +#: io.c:2049 io.c:2222 msgid "restoring stdout in parent process failed\n" msgstr "" -#: io.c:2035 +#: io.c:2054 msgid "restoring stdin in parent process failed\n" msgstr "" -#: io.c:2069 io.c:2214 io.c:2225 +#: io.c:2088 io.c:2233 io.c:2244 #, c-format msgid "close of pipe failed (%s)" msgstr "" -#: io.c:2114 +#: io.c:2133 msgid "`|&' not supported" msgstr "" -#: io.c:2180 +#: io.c:2199 #, c-format msgid "cannot open pipe `%s' (%s)" msgstr "" -#: io.c:2221 +#: io.c:2240 #, c-format msgid "cannot create child process for `%s' (fork: %s)" msgstr "" -#: io.c:2603 +#: io.c:2622 #, c-format msgid "data file `%s' is empty" msgstr "" -#: io.c:2644 io.c:2652 +#: io.c:2663 io.c:2671 msgid "could not allocate more input memory" msgstr "" -#: io.c:3020 io.c:3093 +#: io.c:3039 io.c:3112 #, c-format msgid "error reading input file `%s': %s" msgstr "" -#: io.c:3218 +#: io.c:3237 msgid "multicharacter value of `RS' is a gawk extension" msgstr "" -#: main.c:304 +#: main.c:306 msgid "out of memory" msgstr "" -#: main.c:373 +#: main.c:374 msgid "`-m[fr]' option irrelevant in gawk" msgstr "" -#: main.c:375 +#: main.c:376 msgid "-m option usage: `-m[fr] nnn'" msgstr "" -#: main.c:392 +#: main.c:393 #, c-format msgid "%s: option `-W %s' unrecognized, ignored\n" msgstr "" -#: main.c:433 +#: main.c:434 msgid "empty argument to `--source' ignored" msgstr "" -#: main.c:487 +#: main.c:488 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "" -#: main.c:506 +#: main.c:509 msgid "environment variable `POSIXLY_CORRECT' set: turning on `--posix'" msgstr "" -#: main.c:512 +#: main.c:515 msgid "`--posix' overrides `--traditional'" msgstr "" -#: main.c:523 +#: main.c:526 msgid "`--posix'/`--traditional' overrides `--non-decimal-data'" msgstr "" -#: main.c:527 +#: main.c:530 #, c-format msgid "running %s setuid root may be a security problem" msgstr "" -#: main.c:568 +#: main.c:571 #, c-format msgid "can't set binary mode on stdin (%s)" msgstr "" -#: main.c:571 +#: main.c:574 #, c-format msgid "can't set binary mode on stdout (%s)" msgstr "" -#: main.c:573 +#: main.c:576 #, c-format msgid "can't set binary mode on stderr (%s)" msgstr "" -#: main.c:612 +#: main.c:617 msgid "no program text at all!" msgstr "" -#: main.c:716 +#: main.c:721 #, c-format msgid "Usage: %s [POSIX or GNU style options] -f progfile [--] file ...\n" msgstr "" -#: main.c:718 +#: main.c:723 #, c-format msgid "Usage: %s [POSIX or GNU style options] [--] %cprogram%c file ...\n" msgstr "" -#: main.c:723 +#: main.c:728 msgid "POSIX options:\t\tGNU long options:\n" msgstr "" -#: main.c:724 +#: main.c:729 msgid "\t-f progfile\t\t--file=progfile\n" msgstr "" -#: main.c:725 +#: main.c:730 msgid "\t-F fs\t\t\t--field-separator=fs\n" msgstr "" -#: main.c:726 +#: main.c:731 msgid "\t-v var=val\t\t--assign=var=val\n" msgstr "" -#: main.c:727 +#: main.c:732 msgid "\t-m[fr] val\n" msgstr "" -#: main.c:728 +#: main.c:733 msgid "\t-O\t\t\t--optimize\n" msgstr "" -#: main.c:729 +#: main.c:734 msgid "\t-W compat\t\t--compat\n" msgstr "" -#: main.c:730 +#: main.c:735 msgid "\t-W copyleft\t\t--copyleft\n" msgstr "" -#: main.c:731 +#: main.c:736 msgid "\t-W copyright\t\t--copyright\n" msgstr "" -#: main.c:732 +#: main.c:737 msgid "\t-W dump-variables[=file]\t--dump-variables[=file]\n" msgstr "" -#: main.c:733 +#: main.c:738 msgid "\t-W exec=file\t\t--exec=file\n" msgstr "" -#: main.c:734 +#: main.c:739 msgid "\t-W gen-po\t\t--gen-po\n" msgstr "" -#: main.c:735 +#: main.c:740 msgid "\t-W help\t\t\t--help\n" msgstr "" -#: main.c:736 +#: main.c:741 msgid "\t-W lint[=fatal]\t\t--lint[=fatal]\n" msgstr "" -#: main.c:737 +#: main.c:742 msgid "\t-W lint-old\t\t--lint-old\n" msgstr "" -#: main.c:738 +#: main.c:743 msgid "\t-W non-decimal-data\t--non-decimal-data\n" msgstr "" -#: main.c:740 +#: main.c:745 msgid "\t-W nostalgia\t\t--nostalgia\n" msgstr "" -#: main.c:743 +#: main.c:748 msgid "\t-W parsedebug\t\t--parsedebug\n" msgstr "" -#: main.c:745 +#: main.c:750 msgid "\t-W profile[=file]\t--profile[=file]\n" msgstr "" -#: main.c:746 +#: main.c:751 msgid "\t-W posix\t\t--posix\n" msgstr "" -#: main.c:747 +#: main.c:752 msgid "\t-W re-interval\t\t--re-interval\n" msgstr "" -#: main.c:748 +#: main.c:753 msgid "\t-W source=program-text\t--source=program-text\n" msgstr "" -#: main.c:749 +#: main.c:754 msgid "\t-W traditional\t\t--traditional\n" msgstr "" -#: main.c:750 +#: main.c:755 msgid "\t-W usage\t\t--usage\n" msgstr "" -#: main.c:751 +#: main.c:756 msgid "\t-W use-lc-numeric\t--use-lc-numeric\n" msgstr "" -#: main.c:752 +#: main.c:757 msgid "\t-W version\t\t--version\n" msgstr "" @@ -1589,7 +1601,7 @@ #. for this application. Please add _another line_ with the #. address for translation bugs. #. no-wrap -#: main.c:761 +#: main.c:766 msgid "" "\n" "To report bugs, see node `Bugs' in `gawk.info', which is\n" @@ -1597,21 +1609,21 @@ "\n" msgstr "" -#: main.c:765 +#: main.c:770 msgid "" "gawk is a pattern scanning and processing language.\n" "By default it reads standard input and writes standard output.\n" "\n" msgstr "" -#: main.c:769 +#: main.c:774 msgid "" "Examples:\n" "\tgawk '{ sum += $1 }; END { print sum }' file\n" "\tgawk -F: '{ print $1 }' /etc/passwd\n" msgstr "" -#: main.c:789 +#: main.c:794 #, c-format msgid "" "Copyright (C) 1989, 1991-%d Free Software Foundation.\n" @@ -1623,7 +1635,7 @@ "\n" msgstr "" -#: main.c:797 +#: main.c:802 msgid "" "This program is distributed in the hope that it will be useful,\n" "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" @@ -1632,60 +1644,60 @@ "\n" msgstr "" -#: main.c:808 +#: main.c:813 msgid "" "You should have received a copy of the GNU General Public License\n" "along with this program. If not, see http://www.gnu.org/licenses/.\n" msgstr "" -#: main.c:843 +#: main.c:848 msgid "-Ft does not set FS to tab in POSIX awk" msgstr "" -#: main.c:1117 +#: main.c:1122 #, c-format msgid "" "%s: `%s' argument to `-v' not in `var=value' form\n" "\n" msgstr "" -#: main.c:1137 +#: main.c:1142 #, c-format msgid "`%s' is not a legal variable name" msgstr "" -#: main.c:1140 +#: main.c:1145 #, c-format msgid "`%s' is not a variable name, looking for file `%s=%s'" msgstr "" -#: main.c:1179 +#: main.c:1184 msgid "floating point exception" msgstr "" -#: main.c:1186 +#: main.c:1191 msgid "fatal error: internal error" msgstr "" -#: main.c:1200 +#: main.c:1206 msgid "fatal error: internal error: segfault" msgstr "" -#: main.c:1212 +#: main.c:1218 msgid "fatal error: internal error: stack overflow" msgstr "" -#: main.c:1261 +#: main.c:1268 #, c-format msgid "no pre-opened fd %d" msgstr "" -#: main.c:1268 +#: main.c:1275 #, c-format msgid "could not pre-open /dev/null for fd %d" msgstr "" -#: main.c:1291 main.c:1300 +#: main.c:1298 main.c:1307 #, c-format msgid "could not find groups: %s" msgstr "" @@ -1711,31 +1723,31 @@ msgid "can't convert string to float" msgstr "" -#: node.c:462 +#: node.c:465 msgid "backslash at end of string" msgstr "" -#: node.c:606 +#: node.c:609 #, c-format msgid "old awk does not support the `\\%c' escape sequence" msgstr "" -#: node.c:657 +#: node.c:660 msgid "POSIX does not allow `\\x' escapes" msgstr "" -#: node.c:663 +#: node.c:666 msgid "no hex digits in `\\x' escape sequence" msgstr "" -#: node.c:685 +#: node.c:688 #, c-format msgid "" "hex escape \\x%.*s of %d characters probably not interpreted the way you " "expect" msgstr "" -#: node.c:700 +#: node.c:703 #, c-format msgid "escape sequence `\\%c' treated as plain `%c'" msgstr "" @@ -1745,136 +1757,136 @@ msgid "%s %s `%s': could not set close-on-exec: (fcntl: %s)" msgstr "" -#: profile.c:93 +#: profile.c:94 #, c-format msgid "could not open `%s' for writing: %s" msgstr "" -#: profile.c:453 +#: profile.c:457 #, c-format msgid "internal error: %s with null vname" msgstr "" -#: profile.c:517 +#: profile.c:521 msgid "# treated internally as `delete'" msgstr "" -#: profile.c:1069 +#: profile.c:1073 #, c-format msgid "# this is a dynamically loaded extension function" msgstr "" -#: profile.c:1100 +#: profile.c:1104 #, c-format msgid "\t# gawk profile, created %s\n" msgstr "" -#: profile.c:1103 +#: profile.c:1107 #, c-format msgid "" "\t# BEGIN block(s)\n" "\n" msgstr "" -#: profile.c:1113 +#: profile.c:1117 #, c-format msgid "" "\t# Rule(s)\n" "\n" msgstr "" -#: profile.c:1119 +#: profile.c:1123 #, c-format msgid "" "\t# END block(s)\n" "\n" msgstr "" -#: profile.c:1139 +#: profile.c:1143 #, c-format msgid "" "\n" "\t# Functions, listed alphabetically\n" msgstr "" -#: profile.c:1400 +#: profile.c:1405 #, c-format msgid "unexpected type %s in prec_level" msgstr "" -#: profile.c:1500 +#: profile.c:1527 #, c-format msgid "Unknown node type %s in pp_var" msgstr "" -#: regcomp.c:133 +#: regcomp.c:132 msgid "Success" msgstr "" -#: regcomp.c:136 +#: regcomp.c:135 msgid "No match" msgstr "" -#: regcomp.c:139 +#: regcomp.c:138 msgid "Invalid regular expression" msgstr "" -#: regcomp.c:142 +#: regcomp.c:141 msgid "Invalid collation character" msgstr "" -#: regcomp.c:145 +#: regcomp.c:144 msgid "Invalid character class name" msgstr "" -#: regcomp.c:148 +#: regcomp.c:147 msgid "Trailing backslash" msgstr "" -#: regcomp.c:151 +#: regcomp.c:150 msgid "Invalid back reference" msgstr "" -#: regcomp.c:154 +#: regcomp.c:153 msgid "Unmatched [ or [^" msgstr "" -#: regcomp.c:157 +#: regcomp.c:156 msgid "Unmatched ( or \\(" msgstr "" -#: regcomp.c:160 +#: regcomp.c:159 msgid "Unmatched \\{" msgstr "" -#: regcomp.c:163 +#: regcomp.c:162 msgid "Invalid content of \\{\\}" msgstr "" -#: regcomp.c:166 +#: regcomp.c:165 msgid "Invalid range end" msgstr "" -#: regcomp.c:169 +#: regcomp.c:168 msgid "Memory exhausted" msgstr "" -#: regcomp.c:172 +#: regcomp.c:171 msgid "Invalid preceding regular expression" msgstr "" -#: regcomp.c:175 +#: regcomp.c:174 msgid "Premature end of regular expression" msgstr "" -#: regcomp.c:178 +#: regcomp.c:177 msgid "Regular expression too big" msgstr "" -#: regcomp.c:181 +#: regcomp.c:180 msgid "Unmatched ) or \\)" msgstr "" -#: regcomp.c:700 +#: regcomp.c:699 msgid "No previous regular expression" msgstr "" diff -urN gawk-3.1.7/po/he.po gawk-3.1.8/po/he.po --- gawk-3.1.7/po/he.po 2009-07-21 23:23:44.000000000 +0300 +++ gawk-3.1.8/po/he.po 2010-05-06 20:57:36.000000000 +0300 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: gawk 3.1.1a\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2009-07-21 23:23+0300\n" +"POT-Creation-Date: 2010-05-06 20:57+0300\n" "PO-Revision-Date: 2002-04-28 21:46+0300\n" "Last-Translator: Eli Zaretskii \n" "Language-Team: Hebrew \n" @@ -36,42 +36,42 @@ msgid "from %s" msgstr "%s (from %s)" -#: array.c:514 -#, c-format -msgid "reference to uninitialized element `%s[\"%s\"]'" +#: array.c:513 +#, fuzzy, c-format +msgid "reference to uninitialized element `%s[\"%.*s\"]'" msgstr "ìçåúî åðéàù `%s[\"%s\"]' èðîìàì äééðô" -#: array.c:520 +#: array.c:519 #, c-format msgid "subscript of array `%s' is null string" msgstr "`%s' êøòî ïééöîë ä÷éø úæåøçîá ùåîéù" -#: array.c:624 +#: array.c:623 #, c-format msgid "delete: index `%s' not in array `%s'" msgstr "`%s' ïééöî ìéëî åðéà `%s' êøòî :delete" -#: array.c:793 +#: array.c:792 #, c-format msgid "%s: empty (null)\n" msgstr "%s: (ñôåàî) ÷éø\n" -#: array.c:798 +#: array.c:797 #, c-format msgid "%s: empty (zero)\n" msgstr "%s: (ä÷éø hash úìáè) ÷éø\n" -#: array.c:802 +#: array.c:801 #, c-format msgid "%s: table_size = %d, array_size = %d\n" msgstr "%s: table_size = %d, array_size = %d\n" -#: array.c:831 +#: array.c:830 #, c-format msgid "%s: is parameter\n" msgstr "øèîøô åðéä %s\n" -#: array.c:836 +#: array.c:835 #, c-format msgid "%s: array_ref to %s\n" msgstr "%s: %s-ì (array_ref) äéðôä\n" @@ -352,7 +352,7 @@ msgid "could not open `%s' for writing (%s)" msgstr "äáéúë íùì `%s' úçéúôá (%s) äì÷ú" -#: awkgram.y:2748 profile.c:95 +#: awkgram.y:2748 profile.c:96 msgid "sending profile to standard error" msgstr "éð÷ú úåàéâù õåøòì çìùð òåöéá ìéôåøô" @@ -408,7 +408,12 @@ ",`(' ïéáì äîù ïéá íéçååø íò `%s' äéö÷ðåôì äàéø÷\n" "%s" -#: awkgram.y:3667 eval.c:1394 +#: awkgram.y:3664 +#, fuzzy +msgid "division by zero attempted in `/'" +msgstr "`/='-á ñôàá ä÷åìç ïåéñð" + +#: awkgram.y:3669 eval.c:1394 #, c-format msgid "division by zero attempted in `%%'" msgstr "`%%'-á ñôàá ä÷åìç ïåéñð" @@ -467,354 +472,362 @@ msgid "`length(array)' is a gawk extension" msgstr "gawk-ì úéôéöôñ äáçøä åðéä `delete array'" -#: builtin.c:473 +#: builtin.c:471 +msgid "length: untyped parameter argument will be forced to scalar" +msgstr "" + +#: builtin.c:480 msgid "length: untyped argument will be forced to scalar" msgstr "" -#: builtin.c:477 +#: builtin.c:484 msgid "length: received non-string argument" msgstr "úæåøçî åðéà èðîåâøà :length" -#: builtin.c:508 +#: builtin.c:515 msgid "log: received non-numeric argument" msgstr "øôñî åðéà èðîåâøà :log" -#: builtin.c:511 +#: builtin.c:518 #, c-format msgid "log: received negative argument %g" msgstr "%g éìéìù èðîåâøà íò àø÷ð :log" -#: builtin.c:719 builtin.c:722 +#: builtin.c:726 builtin.c:729 msgid "must use `count$' on all formats or none" msgstr "ãçà óàá åà íéèîøåôä ìëá åà øúåî `count$'-á ùåîéù" -#: builtin.c:783 +#: builtin.c:790 #, c-format msgid "field width is ignored for `%%%%' specifier" msgstr "" -#: builtin.c:785 +#: builtin.c:792 #, c-format msgid "precision is ignored for `%%%%' specifier" msgstr "" -#: builtin.c:787 +#: builtin.c:794 #, c-format msgid "field width and precision are ignored for `%%%%' specifier" msgstr "" -#: builtin.c:838 +#: builtin.c:845 msgid "`$' is not permitted in awk formats" msgstr "awk ìù íéèîøåôá ùåîéùì øåñà `$'" -#: builtin.c:844 +#: builtin.c:851 msgid "arg count with `$' must be > 0" msgstr "0-î ìåãâ úåéäì áééç `$' ãéì èðîåâøàä äðåî" -#: builtin.c:846 +#: builtin.c:853 #, fuzzy, c-format msgid "arg count %ld greater than total number of supplied arguments" msgstr "íéèðîåâøàä ìù ììåëä íøôñîî ìåãâ %d èðîåâøàä äðåî" -#: builtin.c:848 +#: builtin.c:855 msgid "`$' not permitted after period in format" msgstr "èîøåôá äãå÷ðä éøçà òéôåäì ìåëé åðéà `$'" -#: builtin.c:861 +#: builtin.c:868 msgid "no `$' supplied for positional field width or precision" msgstr "å÷åéã åà äãù áçåø ïééöîá èðîåâøàä äðåî øåáò `$' àöîð àì" -#: builtin.c:927 +#: builtin.c:938 msgid "`l' is meaningless in awk formats; ignored" msgstr "çðæåä ;awk ìù èîøåôá úåòîùî øñç åðéä `l'" -#: builtin.c:931 +#: builtin.c:942 msgid "`l' is not permitted in POSIX awk formats" msgstr "POSIX éô-ìò awk ìù èîøåôá òéôåäì ìåëé åðéà `l'" -#: builtin.c:942 +#: builtin.c:953 msgid "`L' is meaningless in awk formats; ignored" msgstr "çðæåä ;awk ìù èîøåôá úåòîùî øñç åðéä `L'" -#: builtin.c:946 +#: builtin.c:957 msgid "`L' is not permitted in POSIX awk formats" msgstr "POSIX éô-ìò awk ìù èîøåôá òéôåäì ìåëé åðéà `L'" -#: builtin.c:957 +#: builtin.c:968 msgid "`h' is meaningless in awk formats; ignored" msgstr "çðæåä ;awk ìù èîøåôá úåòîùî øñç åðéä `h'" -#: builtin.c:961 +#: builtin.c:972 msgid "`h' is not permitted in POSIX awk formats" msgstr "POSIX éô-ìò awk ìù èîøåôá òéôåäì ìåëé åðéà `h'" -#: builtin.c:1236 +#: builtin.c:1252 #, c-format msgid "[s]printf: value %g is out of range for `%%%c' format" msgstr "" -#: builtin.c:1316 +#: builtin.c:1332 #, c-format msgid "ignoring unknown format specifier character `%c': no argument converted" msgstr "" -#: builtin.c:1322 +#: builtin.c:1338 msgid "not enough arguments to satisfy format string" msgstr "èîøåôä øåáò íéèðîåâøà ÷éôñî ïéà" -#: builtin.c:1324 +#: builtin.c:1340 msgid "^ ran out for this one" msgstr "^ íéèðîåâøàä éì åøîâð ïàë" -#: builtin.c:1330 +#: builtin.c:1346 msgid "[s]printf: format specifier does not have control letter" msgstr "äøîää úø÷á úåà ìéëî åðéà èîøåôä :[s]printf" -#: builtin.c:1333 +#: builtin.c:1349 msgid "too many arguments supplied for format string" msgstr "èîøåôä øåáò íéèðîåâøà éãî øúåé" -#: builtin.c:1408 builtin.c:1411 +#: builtin.c:1424 builtin.c:1427 msgid "printf: no arguments" msgstr "èðîåâøà óà ïéà :printf" -#: builtin.c:1435 +#: builtin.c:1451 msgid "sqrt: received non-numeric argument" msgstr "øôñî åðéà èðîåâøà :sqrt" -#: builtin.c:1439 +#: builtin.c:1455 #, c-format msgid "sqrt: called with negative argument %g" msgstr "%g éìéìù èðîåâøà íò àø÷ð :sqrt" -#: builtin.c:1463 +#: builtin.c:1479 #, c-format msgid "substr: start index %g is invalid, using 1" msgstr "1-á óìçåä ,éåâù åðéä %g äìçúä ïééöî :substr" -#: builtin.c:1468 +#: builtin.c:1484 #, c-format msgid "substr: non-integer start index %g will be truncated" msgstr "õöå÷é ,íìù øôñî åðéàù, %g äìçúä ïééöî ìù åëøò :substr" -#: builtin.c:1494 +#: builtin.c:1510 #, fuzzy, c-format msgid "substr: length %g is not >= 1" msgstr "0-î ìåãâ øôñî åððéà %g êøåà :substr" -#: builtin.c:1496 +#: builtin.c:1512 #, fuzzy, c-format msgid "substr: length %g is not >= 0" msgstr "0-î ìåãâ øôñî åððéà %g êøåà :substr" -#: builtin.c:1503 +#: builtin.c:1519 #, c-format msgid "substr: non-integer length %g will be truncated" msgstr "õöå÷é ,íìù øôñî åðéàù ,%g êøåà :substr" -#: builtin.c:1508 +#: builtin.c:1524 #, c-format msgid "substr: length %g too big for string indexing, truncating to %g" msgstr "" -#: builtin.c:1520 +#: builtin.c:1536 msgid "substr: source string is zero length" msgstr "ñôà êøåàá äðéä øå÷îä úæåøçî :substr" -#: builtin.c:1536 +#: builtin.c:1552 #, fuzzy, c-format msgid "substr: start index %g is past end of string" msgstr "úæåøçîä óåñì øáòî åðéä %d äìçúä ïééöî :substr" -#: builtin.c:1544 +#: builtin.c:1560 #, fuzzy, c-format msgid "" "substr: length %g at start index %g exceeds length of first argument (%lu)" msgstr "" "%d äëøåàå %d ïééöîá äúìéçúù úæåøçî-úúì ÷éôñî åðéà (%d) úæåøçî êøåà :substr" -#: builtin.c:1621 +#: builtin.c:1637 msgid "strftime: received non-string first argument" msgstr "úæåøçî åðéà ïåùàø èðîåâøà :strftime" -#: builtin.c:1627 +#: builtin.c:1643 msgid "strftime: received empty format string" msgstr "ä÷éø èîøåô úæåøçî :strftime" -#: builtin.c:1636 +#: builtin.c:1652 msgid "strftime: received non-numeric second argument" msgstr "øôñî åðéà éðù èðîåâøà :strftime" -#: builtin.c:1713 +#: builtin.c:1729 msgid "mktime: received non-string argument" msgstr "úæåøçî åðéà èðîåâøà :mktime" -#: builtin.c:1758 +#: builtin.c:1746 +msgid "mktime: at least one of the values is out of the default range" +msgstr "" + +#: builtin.c:1783 msgid "system: received non-string argument" msgstr "úæåøçî åðéà èðîåâøà :system" -#: builtin.c:1879 eval.c:2145 +#: builtin.c:1904 eval.c:2157 #, fuzzy, c-format msgid "reference to uninitialized field `$%d'" msgstr "`%s' ìçåúî-éúìá äðúùîì äéðôä" -#: builtin.c:1984 +#: builtin.c:2009 msgid "tolower: received non-string argument" msgstr "úæåøçî åðéà èðîåâøà :tolower" -#: builtin.c:2014 +#: builtin.c:2039 msgid "toupper: received non-string argument" msgstr "úæåøçî åðéà èðîåâøà :toupper" -#: builtin.c:2047 +#: builtin.c:2072 msgid "atan2: received non-numeric first argument" msgstr "øôñî åðéà ïåùàø èðîåâøà :atan2" -#: builtin.c:2049 +#: builtin.c:2074 msgid "atan2: received non-numeric second argument" msgstr "øôñî åðéà éðù èðîåâøà :atan2" -#: builtin.c:2068 +#: builtin.c:2093 msgid "sin: received non-numeric argument" msgstr "øôñî åðéà èðîåâøà :sin" -#: builtin.c:2084 +#: builtin.c:2109 msgid "cos: received non-numeric argument" msgstr "øôñî åðéà èðîåâøà :cos" -#: builtin.c:2137 +#: builtin.c:2162 msgid "srand: received non-numeric argument" msgstr "øôñî åðéà èðîåâøà :srand" -#: builtin.c:2172 +#: builtin.c:2197 msgid "match: third argument is not an array" msgstr "êøòî åðéà éùéìù èðîåâøà :match" -#: builtin.c:2719 +#: builtin.c:2744 #, fuzzy msgid "gensub: third argument of 0 treated as 1" msgstr "1-á óìçåä 0 åëøòù éùéìù èðîåâøà :gensub" -#: builtin.c:2835 +#: builtin.c:2860 msgid "lshift: received non-numeric first argument" msgstr "øôñî åðéà ïåùàø èðîåâøà :lshift" -#: builtin.c:2837 +#: builtin.c:2862 #, fuzzy msgid "lshift: received non-numeric second argument" msgstr "øôñî åðéà éðù èðîåâøà :strftime" -#: builtin.c:2843 +#: builtin.c:2868 #, c-format msgid "lshift(%lf, %lf): negative values will give strange results" msgstr "úåéåôö-éúìá úåàöåú åáéðé íééìéìù íéëøò :lshift(%lf, %lf)" -#: builtin.c:2845 +#: builtin.c:2870 #, c-format msgid "lshift(%lf, %lf): fractional values will be truncated" msgstr "åööå÷é íéøåáù íéëøò :lshift(%lf, %lf)" -#: builtin.c:2847 +#: builtin.c:2872 #, c-format msgid "lshift(%lf, %lf): too large shift value will give strange results" msgstr "úåéåôö-éúìá úåàöåú áéðé éãî ìåãâ äææä øåòéù :lshift(%lf, %lf)" -#: builtin.c:2873 +#: builtin.c:2898 msgid "rshift: received non-numeric first argument" msgstr "øôñî åðéà ïåùàø èðîåâøà :rshift" -#: builtin.c:2875 +#: builtin.c:2900 #, fuzzy msgid "rshift: received non-numeric second argument" msgstr "øôñî åðéà éðù èðîåâøà :strftime" -#: builtin.c:2881 +#: builtin.c:2906 #, c-format msgid "rshift(%lf, %lf): negative values will give strange results" msgstr "úåéåôö-éúìá úåàöåú åáéðé íééìéìù íéëøò :rshift(%lf, %lf)" -#: builtin.c:2883 +#: builtin.c:2908 #, c-format msgid "rshift(%lf, %lf): fractional values will be truncated" msgstr "åööå÷é íéøåáù íéëøò :rshift(%lf, %lf)" -#: builtin.c:2885 +#: builtin.c:2910 #, c-format msgid "rshift(%lf, %lf): too large shift value will give strange results" msgstr "úåéåôö-éúìá úåàöåú áéðé éãî ìåãâ äææä øåòéù :rshift(%lf, %lf)" -#: builtin.c:2911 +#: builtin.c:2936 msgid "and: received non-numeric first argument" msgstr "øôñî åðéà ïåùàø èðîåâøà :and" -#: builtin.c:2913 +#: builtin.c:2938 #, fuzzy msgid "and: received non-numeric second argument" msgstr "øôñî åðéà éðù èðîåâøà :atan2" -#: builtin.c:2919 +#: builtin.c:2944 #, c-format msgid "and(%lf, %lf): negative values will give strange results" msgstr "úåéåôö-éúìá úåàöåú åáéðé íééìéìù íéëøò :and(%lf, %lf)" -#: builtin.c:2921 +#: builtin.c:2946 #, c-format msgid "and(%lf, %lf): fractional values will be truncated" msgstr "åööå÷é íéøåáù íéëøò :and(%lf, %lf)" -#: builtin.c:2947 +#: builtin.c:2972 msgid "or: received non-numeric first argument" msgstr "øôñî åðéà ïåùàø èðîåâøà :or" -#: builtin.c:2949 +#: builtin.c:2974 #, fuzzy msgid "or: received non-numeric second argument" msgstr "øôñî åðéà éðù èðîåâøà :atan2" -#: builtin.c:2955 +#: builtin.c:2980 #, c-format msgid "or(%lf, %lf): negative values will give strange results" msgstr "úåéåôö-éúìá úåàöåú åáéðé íééìéìù íéëøò :or(%lf, %lf)" -#: builtin.c:2957 +#: builtin.c:2982 #, c-format msgid "or(%lf, %lf): fractional values will be truncated" msgstr "åööå÷é íéøåáù íéëøò :or(%lf, %lf)" -#: builtin.c:2983 +#: builtin.c:3008 msgid "xor: received non-numeric first argument" msgstr "øôñî åðéà ïåùàø èðîåâøà :xor" -#: builtin.c:2985 +#: builtin.c:3010 #, fuzzy msgid "xor: received non-numeric second argument" msgstr "øôñî åðéà éðù èðîåâøà :atan2" -#: builtin.c:2991 +#: builtin.c:3016 #, c-format msgid "xor(%lf, %lf): negative values will give strange results" msgstr "úåéåôö-éúìá úåàöåú åáéðé íééìéìù íéëøò :xor(%lf, %lf)" -#: builtin.c:2993 +#: builtin.c:3018 #, c-format msgid "xor(%lf, %lf): fractional values will be truncated" msgstr "åööå÷é íéøåáù íéëøò :xor(%lf, %lf)" -#: builtin.c:3017 +#: builtin.c:3042 msgid "compl: received non-numeric argument" msgstr "øôñî åðéà èðîåâøà :compl" -#: builtin.c:3023 +#: builtin.c:3048 #, c-format msgid "compl(%lf): negative value will give strange results" msgstr "úåéåôö-éúìá úåàöåú áéðé éìéìù êøò :compl(%lf)" -#: builtin.c:3025 +#: builtin.c:3050 #, c-format msgid "compl(%lf): fractional value will be truncated" msgstr "õöå÷é øåáù êøò :compl(%lf)" -#: builtin.c:3198 +#: builtin.c:3223 #, c-format msgid "dcgettext: `%s' is not a valid locale category" msgstr "äðé÷ú íå÷éî úééøåâè÷ åðéà `%s' :dcgettext" @@ -828,7 +841,7 @@ msgid "buffer overflow in genflags2str" msgstr "genflags2str-á õöåç úùéìâ" -#: eval.c:454 eval.c:460 profile.c:781 +#: eval.c:454 eval.c:460 profile.c:785 #, c-format msgid "attempt to use array `%s' in a scalar context" msgstr "øàì÷ñ ùøåãä èñ÷èðå÷á `%s' êøòîá ùåîéù ïåéñð" @@ -874,7 +887,7 @@ msgid "statement has no effect" msgstr "úéìëú-úìåèð äàøåä" -#: eval.c:1029 eval.c:1999 +#: eval.c:1029 eval.c:2011 #, c-format msgid "can't use function name `%s' as variable or array" msgstr "êøòî åà äðúùîë `%s' äéö÷ðåô íùá ùîúùäì ïéà" @@ -884,7 +897,7 @@ msgid "reference to uninitialized argument `%s'" msgstr "`%s' ìçåúî-éúìá èðîåâøàì äéðôä" -#: eval.c:1051 eval.c:2008 +#: eval.c:1051 eval.c:2020 #, c-format msgid "reference to uninitialized variable `%s'" msgstr "`%s' ìçåúî-éúìá äðúùîì äéðôä" @@ -904,7 +917,7 @@ msgid "division by zero attempted" msgstr "ñôàá ä÷åìç ïåéñð" -#: eval.c:1409 profile.c:657 +#: eval.c:1409 profile.c:661 #, c-format msgid "illegal type (%s) in tree_eval" msgstr "tree_eval-á (%s) éåâù âåñ" @@ -918,17 +931,17 @@ msgid "division by zero attempted in `%%='" msgstr "`%%='-á ñôàá ä÷åìç ïåéñð" -#: eval.c:1859 +#: eval.c:1871 #, c-format msgid "function `%s' called with more arguments than declared" msgstr "äúæøëäá øùàî íéèðîåâøà øúåé íò `%s' äéö÷ðåôì äàéø÷" -#: eval.c:1904 +#: eval.c:1916 #, c-format msgid "function `%s' not defined" msgstr "úøãâåî äðéà `%s' äéö÷ðåô" -#: eval.c:1971 +#: eval.c:1983 #, c-format msgid "" "\n" @@ -939,47 +952,47 @@ "\t# :úåéö÷ðåôì úåàéø÷ä úéðñçî\n" "\n" -#: eval.c:1974 +#: eval.c:1986 #, c-format msgid "\t# -- main --\n" msgstr "\t# -- main --\n" -#: eval.c:2129 +#: eval.c:2141 msgid "attempt to field reference from non-numeric value" msgstr "øôñî åðéàù êøò úåòöîàá äãùì äéðôä ïåéñð" -#: eval.c:2131 +#: eval.c:2143 msgid "attempt to reference from null string" msgstr "ä÷éø úæåøçî úåòöîàá äãùì äéðôä ïåéñð" -#: eval.c:2137 +#: eval.c:2149 #, c-format msgid "attempt to access field %d" msgstr "%d 'ñî äãùì äùéâ ïåéñð" -#: eval.c:2158 eval.c:2165 profile.c:836 +#: eval.c:2170 eval.c:2177 profile.c:840 msgid "assignment is not allowed to result of builtin function" msgstr "úéðáåî äéö÷ðåô ìù äàöåúá êøò áéöäì ïéà" -#: eval.c:2229 +#: eval.c:2241 msgid "`IGNORECASE' is a gawk extension" msgstr "gawk-ì úéôéöôñ äáçøä åðéä `IGNORECASE'" -#: eval.c:2258 +#: eval.c:2270 msgid "`BINMODE' is a gawk extension" msgstr "gawk-ì úéôéöôñ äáçøä åðéä `BINMODE'" -#: eval.c:2316 +#: eval.c:2328 #, c-format msgid "BINMODE value `%s' is invalid, treated as 3" msgstr "" -#: eval.c:2406 +#: eval.c:2418 #, c-format msgid "bad `%sFMT' specification `%s'" msgstr "äðé÷ú `%sFMT' úøãâä åðéà `%s'" -#: eval.c:2484 +#: eval.c:2496 msgid "turning off `--lint' due to assignment to `LINT'" msgstr "`LINT'-ì êøò úîùä á÷ò `--lint' ìèáî" @@ -1082,56 +1095,61 @@ # The way the leading "%s:" is translated is a terrible kludge, # but what can I do? FIXME. -#: getopt.c:570 getopt.c:586 +#: getopt.c:574 getopt.c:590 #, fuzzy, c-format msgid "%s: option '%s' is ambiguous\n" msgstr "%s úéðëú øåáò éòîùî-ãç åðéà `%s' ïééôàî\n" -#: getopt.c:619 getopt.c:623 +#: getopt.c:623 getopt.c:627 #, fuzzy, c-format msgid "%s: option '--%s' doesn't allow an argument\n" msgstr "%s úéðëú øåáò èðîåâøà ìá÷î åðéà `--%s' ïééôàî\n" -#: getopt.c:632 getopt.c:637 +#: getopt.c:636 getopt.c:641 #, fuzzy, c-format msgid "%s: option '%c%s' doesn't allow an argument\n" msgstr "%s úéðëú øåáò èðîåâøà ìá÷î åðéà `%c%s' ïééôàî\n" -#: getopt.c:680 getopt.c:699 getopt.c:1002 getopt.c:1021 +#: getopt.c:684 getopt.c:703 #, fuzzy, c-format -msgid "%s: option '%s' requires an argument\n" +msgid "%s: option '--%s' requires an argument\n" msgstr "%s úéðëú øåáò èðîåâøà áééçî `%s' ïééôàî\n" -#: getopt.c:737 getopt.c:740 +#: getopt.c:741 getopt.c:744 #, fuzzy, c-format msgid "%s: unrecognized option '--%s'\n" msgstr "%s úéðëú øåáò `--%s' ääåæî-éúìá ïééôàî\n" -#: getopt.c:748 getopt.c:751 +#: getopt.c:752 getopt.c:755 #, fuzzy, c-format msgid "%s: unrecognized option '%c%s'\n" msgstr "%s úéðëú øåáò `%c%s' ääåæî-éúìá ïééôàî\n" -#: getopt.c:800 getopt.c:803 +#: getopt.c:804 getopt.c:807 #, fuzzy, c-format msgid "%s: invalid option -- '%c'\n" msgstr "%s úéðëú øåáò éåâù ïééôàî -- %c\n" -#: getopt.c:853 getopt.c:870 getopt.c:1073 getopt.c:1091 +#: getopt.c:857 getopt.c:874 getopt.c:1082 getopt.c:1100 #, fuzzy, c-format msgid "%s: option requires an argument -- '%c'\n" msgstr "%s: èðîåâøà áééçî ïééôàî -- %c\n" -#: getopt.c:923 getopt.c:939 +#: getopt.c:930 getopt.c:946 #, fuzzy, c-format msgid "%s: option '-W %s' is ambiguous\n" msgstr "%s úéðëú øåáò éòîùî-ãç åðéà `-W %s' ïééôàî\n" -#: getopt.c:963 getopt.c:981 +#: getopt.c:970 getopt.c:988 #, fuzzy, c-format msgid "%s: option '-W %s' doesn't allow an argument\n" msgstr "%s úéðëú øåáò èðîåâøà ìá÷î åðéà `-W %s' ïééôàî\n" +#: getopt.c:1009 getopt.c:1027 +#, fuzzy, c-format +msgid "%s: option '-W %s' requires an argument\n" +msgstr "%s úéðëú øåáò èðîåâøà áééçî `%s' ïééôàî\n" + #: io.c:322 io.c:352 #, c-format msgid "cannot open file `%s' for reading (%s)" @@ -1177,439 +1195,434 @@ msgid "can't open pipe `%s' for input (%s)" msgstr "èì÷ êøåöì `%s' ÷éôà úçéúôá (%s) äì÷ú" -#: io.c:712 -#, c-format -msgid "can't open two way socket `%s' for input/output (%s)" -msgstr "èìô/èì÷ êøåöì éðååéë-åã (socket) ò÷ùë `%s' úçéúôá (%s) äì÷ú" - -#: io.c:716 +#: io.c:717 #, c-format msgid "can't open two way pipe `%s' for input/output (%s)" msgstr "èìô/èì÷ êøåöì éðååéë-åã (pipe) ÷éôàë `%s' úçéúôá (%s) äì÷ú" -#: io.c:793 +#: io.c:795 #, c-format msgid "can't redirect from `%s' (%s)" msgstr "`%s'-î äééðôäá (%s) äì÷ú" -#: io.c:796 +#: io.c:798 #, c-format msgid "can't redirect to `%s' (%s)" msgstr "`%s' ìà äééðôäá (%s) äì÷ú" -#: io.c:849 +#: io.c:851 msgid "" "reached system limit for open files: starting to multiplex file descriptors" msgstr "èìô/èì÷ éöåøò áåáéø úìéçú ;íéçåúô íéöá÷ øôñî ìù úëøòî úìáâîì äòâä" -#: io.c:865 +#: io.c:867 #, c-format msgid "close of `%s' failed (%s)." msgstr "`%s' úøéâñá (%s) äì÷ú" -#: io.c:873 +#: io.c:875 msgid "too many pipes or input files open" msgstr "úéðîæ-åá íéçåúô èì÷ éöá÷ åà (pipes) íé÷éôà éãî øúåé" -#: io.c:896 +#: io.c:898 msgid "close: second argument must be `to' or `from'" msgstr "`from' åà `to' úåéäì áééç `close' ìù éðùä èðîåâøàä" -#: io.c:910 +#: io.c:912 #, c-format msgid "close: `%.*s' is not an open file, pipe or co-process" msgstr "ìéá÷î êéìäú åà çåúô ÷éôà ,çåúô õáå÷ åðéà `%.*s' :close" -#: io.c:915 +#: io.c:917 msgid "close of redirection that was never opened" msgstr "íìåòî äçúôð àìù äééðôä úøéâñ" -#: io.c:1012 +#: io.c:1014 #, c-format msgid "close: redirection `%s' not opened with `|&', second argument ignored" msgstr "çðæåä éðùä èðîåâøàä ,`|&' é\"ò äçúôð àì `%s' äééðôä" -#: io.c:1028 +#: io.c:1030 #, c-format msgid "failure status (%d) on pipe close of `%s' (%s)" msgstr "(%d äì÷ú ãå÷) `%s'-ì ÷éôà úøéâñá (%s) äì÷ú" -#: io.c:1031 +#: io.c:1033 #, c-format msgid "failure status (%d) on file close of `%s' (%s)" msgstr "(%d äì÷ú ãå÷) `%s' õáå÷ úøéâñá (%s) äì÷ú" -#: io.c:1051 +#: io.c:1053 #, c-format msgid "no explicit close of socket `%s' provided" msgstr "ùøåôîá øâñð àì (socket) `%s' ò÷ù" -#: io.c:1054 +#: io.c:1056 #, c-format msgid "no explicit close of co-process `%s' provided" msgstr "ùøåôîá øâñð àì (co-process) `%s' ìéá÷î êéìäú" -#: io.c:1057 +#: io.c:1059 #, c-format msgid "no explicit close of pipe `%s' provided" msgstr "ùøåôîá øâñð àì (pipe) `%s' ÷éôà" -#: io.c:1060 +#: io.c:1062 #, c-format msgid "no explicit close of file `%s' provided" msgstr "ùøåôîá øâñð àì `%s' õáå÷" -#: io.c:1088 io.c:1143 main.c:776 main.c:818 +#: io.c:1090 io.c:1145 main.c:781 main.c:823 #, c-format msgid "error writing standard output (%s)" msgstr "éð÷ú èìô õåøòì äáéúëá (%s) äì÷ú" -#: io.c:1092 io.c:1148 +#: io.c:1094 io.c:1150 #, c-format msgid "error writing standard error (%s)" msgstr "éð÷ú úåàéâù õåøòì äáéúëá (%s) äì÷ú" -#: io.c:1100 +#: io.c:1102 #, c-format msgid "pipe flush of `%s' failed (%s)." msgstr "`%s'-ì ÷éôà ìù õöåç ïå÷éøá (%s) äì÷ú" -#: io.c:1103 +#: io.c:1105 #, c-format msgid "co-process flush of pipe to `%s' failed (%s)." msgstr "`%s'-ì ìéá÷î êéìäú ÷éôà ìù õöåç ïå÷éøá (%s) äì÷ú" -#: io.c:1106 +#: io.c:1108 #, c-format msgid "file flush of `%s' failed (%s)." msgstr "`%s' ìù õáå÷ éðåúð õöåç ïå÷éøá (%s) äì÷ú" -#: io.c:1220 +#: io.c:1222 #, fuzzy, c-format msgid "local port %s invalid in `/inet'" msgstr "`%s'-á äéåâù úéîå÷î äàéöé" -#: io.c:1237 +#: io.c:1239 #, c-format msgid "remote host and port information (%s, %s) invalid" msgstr "" -#: io.c:1272 +#: io.c:1274 msgid "/inet/raw client not ready yet, sorry" msgstr "ïëåî íøè /inet/raw çå÷ì ,íéøòèöî" -#: io.c:1275 io.c:1311 +#: io.c:1277 io.c:1313 msgid "only root may use `/inet/raw'." msgstr "ãáìá root ùîúùîì øúåî `inet/raw'-á ùåîéù" -#: io.c:1309 +#: io.c:1311 msgid "/inet/raw server not ready yet, sorry" msgstr "ïëåî íøè /inet/raw úøù ,íéøòèöî" -#: io.c:1407 +#: io.c:1409 #, c-format msgid "no (known) protocol supplied in special filename `%s'" msgstr "`%s' ãçåéî õáå÷ íùá ääåæî-éúìá åà øñç ìå÷åèåøô" -#: io.c:1421 +#: io.c:1423 #, c-format msgid "special file name `%s' is incomplete" msgstr "íìù åðéà `%s' ãçåéî õáå÷" -#: io.c:1436 +#: io.c:1438 msgid "must supply a remote hostname to `/inet'" msgstr "`/inet' øåáò ÷çåøî çøàî-áùçî íù øéãâäì äáåç" -#: io.c:1454 +#: io.c:1456 msgid "must supply a remote port to `/inet'" msgstr "`/inet' øåáò ú÷çåøî äàéöé øéãâäì äáåç" -#: io.c:1485 +#: io.c:1502 msgid "TCP/IP communications are not supported" msgstr "TCP/IP úøåù÷úá äëéîú ïéà" -#: io.c:1494 +#: io.c:1511 #, c-format msgid "file `%s' is a directory" msgstr "äé÷éú åðéä `%s' õáå÷" -#: io.c:1555 +#: io.c:1572 #, c-format msgid "use `PROCINFO[\"%s\"]' instead of `%s'" msgstr "`PROCINFO[\"%s\"]'-á ùîúùäì óéãò `%s' íå÷îá" -#: io.c:1593 +#: io.c:1610 msgid "use `PROCINFO[...]' instead of `/dev/user'" msgstr "`/dev/user' éðô-ìò óéãò `PROCINFO[...]'-á ùåîéù" # This probably sounds nonsensical in Hebrew, but what can I do, # given the original message text? -#: io.c:1658 io.c:1853 +#: io.c:1675 io.c:1872 #, c-format msgid "could not open `%s', mode `%s'" msgstr "`%s' øåáò `%s' äìåòô ïôåà úçéúôá ïåìùë" -#: io.c:1904 +#: io.c:1923 #, fuzzy, c-format msgid "close of master pty failed (%s)" msgstr "÷éôà úøéâñá (%s) äì÷ú" -#: io.c:1906 io.c:2058 io.c:2209 +#: io.c:1925 io.c:2077 io.c:2228 #, c-format msgid "close of stdout in child failed (%s)" msgstr "úá-úéðëúá stdout úøéâñá (%s) äì÷ú" -#: io.c:1909 +#: io.c:1928 #, fuzzy, c-format msgid "moving slave pty to stdout in child failed (dup: %s)" msgstr "úá-úéðëúá stdout-ì ÷éôà ìåôëùá (dup: %s) äì÷ú" -#: io.c:1911 io.c:2063 +#: io.c:1930 io.c:2082 #, c-format msgid "close of stdin in child failed (%s)" msgstr "úá-úéðëúá stdin úøéâñá (%s) äì÷ú" -#: io.c:1914 +#: io.c:1933 #, fuzzy, c-format msgid "moving slave pty to stdin in child failed (dup: %s)" msgstr "úá-úéðëúá stdin-ì ÷éôà ìåôëùá (dup: %s) äì÷ú" -#: io.c:1916 io.c:1935 +#: io.c:1935 io.c:1954 #, fuzzy, c-format msgid "close of slave pty failed (%s)" msgstr "÷éôà úøéâñá (%s) äì÷ú" -#: io.c:2009 io.c:2061 io.c:2190 io.c:2212 +#: io.c:2028 io.c:2080 io.c:2209 io.c:2231 #, c-format msgid "moving pipe to stdout in child failed (dup: %s)" msgstr "úá-úéðëúá stdout-ì ÷éôà ìåôëùá (dup: %s) äì÷ú" -#: io.c:2013 io.c:2066 +#: io.c:2032 io.c:2085 #, c-format msgid "moving pipe to stdin in child failed (dup: %s)" msgstr "úá-úéðëúá stdin-ì ÷éôà ìåôëùá (dup: %s) äì÷ú" -#: io.c:2030 io.c:2203 +#: io.c:2049 io.c:2222 msgid "restoring stdout in parent process failed\n" msgstr "áà-úéðëúá stdout ÷éôà øåæçùá äì÷ú\n" -#: io.c:2035 +#: io.c:2054 msgid "restoring stdin in parent process failed\n" msgstr "áà-úéðëúá stdin ÷éôà øåæçùá äì÷ú\n" -#: io.c:2069 io.c:2214 io.c:2225 +#: io.c:2088 io.c:2233 io.c:2244 #, c-format msgid "close of pipe failed (%s)" msgstr "÷éôà úøéâñá (%s) äì÷ú" -#: io.c:2114 +#: io.c:2133 msgid "`|&' not supported" msgstr "`|&'-á äëéîú ïéà" -#: io.c:2180 +#: io.c:2199 #, c-format msgid "cannot open pipe `%s' (%s)" msgstr "`%s' ÷éôà úçéúôá (%s) äì÷ú" -#: io.c:2221 +#: io.c:2240 #, c-format msgid "cannot create child process for `%s' (fork: %s)" msgstr "`%s' úá-úéðëúì êéìäú úøéöéá (fork: %s) äì÷ú" -#: io.c:2603 +#: io.c:2622 #, c-format msgid "data file `%s' is empty" msgstr "÷éø åðéä `%s' íéðåúð õáå÷" -#: io.c:2644 io.c:2652 +#: io.c:2663 io.c:2671 msgid "could not allocate more input memory" msgstr "" -#: io.c:3020 io.c:3093 +#: io.c:3039 io.c:3112 #, c-format msgid "error reading input file `%s': %s" msgstr "`%s' õáå÷ úàéø÷á (%s) äì÷ú" -#: io.c:3218 +#: io.c:3237 msgid "multicharacter value of `RS' is a gawk extension" msgstr "gawk-ì úéôéöôñ äáçøä äðéä `RS' ìù êøòá íéåú øôñîá äëéîú" -#: main.c:304 +#: main.c:306 msgid "out of memory" msgstr "ïåøëæä øîâð" -#: main.c:373 +#: main.c:374 msgid "`-m[fr]' option irrelevant in gawk" msgstr "gawk øåáò éèðååìø åðéà `-m[fr]' ïééôàî" -#: main.c:375 +#: main.c:376 msgid "-m option usage: `-m[fr] nnn'" msgstr "`-m[fr] nnn' :-m ïééôàîá ùåîéù ïôåà" -#: main.c:392 +#: main.c:393 #, c-format msgid "%s: option `-W %s' unrecognized, ignored\n" msgstr "çðæåä ,%s úéðëú øåáò øëåî åðéà `-W %s' ïééôàî\n" -#: main.c:433 +#: main.c:434 msgid "empty argument to `--source' ignored" msgstr "çðæåä `--source'-ì ÷éø èðîåâøà" -#: main.c:487 +#: main.c:488 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: èðîåâøà áééçî ïééôàî -- %c\n" -#: main.c:506 +#: main.c:509 msgid "environment variable `POSIXLY_CORRECT' set: turning on `--posix'" msgstr "`--posix' ìéòôî :øãâåî `POSIXLY_CORRECT' äáéáñ äðúùî" -#: main.c:512 +#: main.c:515 msgid "`--posix' overrides `--traditional'" msgstr "`--traditional' ìò øáåâ `--posix'" -#: main.c:523 +#: main.c:526 msgid "`--posix'/`--traditional' overrides `--non-decimal-data'" msgstr "`--non-decimal-data' ìò øáåâ `--posix'/`--traditional'" -#: main.c:527 +#: main.c:530 #, c-format msgid "running %s setuid root may be a security problem" msgstr "òãéî úçèáàá òåâôì äìåìò setuid root-ë %s úöøä" -#: main.c:568 +#: main.c:571 #, fuzzy, c-format msgid "can't set binary mode on stdin (%s)" msgstr "stdin úìåòô ïôåà úòéá÷á (%s) äì÷ú" -#: main.c:571 +#: main.c:574 #, fuzzy, c-format msgid "can't set binary mode on stdout (%s)" msgstr "stdout úìåòô ïôåà úòéá÷á (%s) äì÷ú" -#: main.c:573 +#: main.c:576 #, fuzzy, c-format msgid "can't set binary mode on stderr (%s)" msgstr "stderr úìåòô ïôåà úòéá÷á (%s) äì÷ú" -#: main.c:612 +#: main.c:617 msgid "no program text at all!" msgstr "!ììë àöîðá äéä àì úéðëú ìù èñ÷è" -#: main.c:716 +#: main.c:721 #, c-format msgid "Usage: %s [POSIX or GNU style options] -f progfile [--] file ...\n" msgstr "" "%s [GNU åà POSIX ïåðâñá íéðééôàî] -f úéðëú-íù [--] õáå÷-íù ... :ùåîéù ïôåà\n" -#: main.c:718 +#: main.c:723 #, c-format msgid "Usage: %s [POSIX or GNU style options] [--] %cprogram%c file ...\n" msgstr "" "%s [GNU åà POSIX ïåðâñá íéðééôàî] [--] %cúéðëú%c õáå÷-íù ... :ùåîéù ïôåà\n" -#: main.c:723 +#: main.c:728 msgid "POSIX options:\t\tGNU long options:\n" msgstr ":POSIX éðééôàî\t\t:íéëåøà GNU éðééôàî\n" -#: main.c:724 +#: main.c:729 msgid "\t-f progfile\t\t--file=progfile\n" msgstr "\t-f úéðëú-õáå÷\t\t--file=úéðëú-õáå÷\n" -#: main.c:725 +#: main.c:730 msgid "\t-F fs\t\t\t--field-separator=fs\n" msgstr "\t-F úåãù-ãéøôî\t\t--field-separator=úåãù-ãéøôî\n" -#: main.c:726 +#: main.c:731 msgid "\t-v var=val\t\t--assign=var=val\n" msgstr "\t-v äðúùî=êøò\t\t--assign=äðúùî=êøò\n" -#: main.c:727 +#: main.c:732 msgid "\t-m[fr] val\n" msgstr "\t-m[fr] êøò\n" -#: main.c:728 +#: main.c:733 msgid "\t-O\t\t\t--optimize\n" msgstr "" -#: main.c:729 +#: main.c:734 msgid "\t-W compat\t\t--compat\n" msgstr "\t-W compat\t\t--compat\n" -#: main.c:730 +#: main.c:735 msgid "\t-W copyleft\t\t--copyleft\n" msgstr "\t-W copyleft\t\t--copyleft\n" -#: main.c:731 +#: main.c:736 msgid "\t-W copyright\t\t--copyright\n" msgstr "\t-W copyright\t\t--copyright\n" -#: main.c:732 +#: main.c:737 msgid "\t-W dump-variables[=file]\t--dump-variables[=file]\n" msgstr "\t-W dump-variables[=õáå÷-íù]\t--dump-variables[=õáå÷-íù]\n" -#: main.c:733 +#: main.c:738 #, fuzzy msgid "\t-W exec=file\t\t--exec=file\n" msgstr "\t-W profile[=õáå÷-íù]\t--profile[=õáå÷-íù]\n" -#: main.c:734 +#: main.c:739 msgid "\t-W gen-po\t\t--gen-po\n" msgstr "\t-W gen-po\t\t--gen-po\n" -#: main.c:735 +#: main.c:740 msgid "\t-W help\t\t\t--help\n" msgstr "\t-W help\t\t\t--help\n" -#: main.c:736 +#: main.c:741 msgid "\t-W lint[=fatal]\t\t--lint[=fatal]\n" msgstr "\t-W lint[=fatal]\t\t--lint[=fatal]\n" -#: main.c:737 +#: main.c:742 msgid "\t-W lint-old\t\t--lint-old\n" msgstr "\t-W lint-old\t\t--lint-old\n" -#: main.c:738 +#: main.c:743 msgid "\t-W non-decimal-data\t--non-decimal-data\n" msgstr "\t-W non-decimal-data\t--non-decimal-data\n" -#: main.c:740 +#: main.c:745 msgid "\t-W nostalgia\t\t--nostalgia\n" msgstr "\t-W nostalgia\t\t--nostalgia\n" -#: main.c:743 +#: main.c:748 msgid "\t-W parsedebug\t\t--parsedebug\n" msgstr "\t-W parsedebug\t\t--parsedebug\n" -#: main.c:745 +#: main.c:750 msgid "\t-W profile[=file]\t--profile[=file]\n" msgstr "\t-W profile[=õáå÷-íù]\t--profile[=õáå÷-íù]\n" -#: main.c:746 +#: main.c:751 msgid "\t-W posix\t\t--posix\n" msgstr "\t-W posix\t\t--posix\n" -#: main.c:747 +#: main.c:752 msgid "\t-W re-interval\t\t--re-interval\n" msgstr "\t-W re-interval\t\t--re-interval\n" -#: main.c:748 +#: main.c:753 msgid "\t-W source=program-text\t--source=program-text\n" msgstr "\t-W source=úéðëú-èñ÷è\t--source=úéðëú-èñ÷è\n" -#: main.c:749 +#: main.c:754 msgid "\t-W traditional\t\t--traditional\n" msgstr "\t-W traditional\t\t--traditional\n" -#: main.c:750 +#: main.c:755 msgid "\t-W usage\t\t--usage\n" msgstr "\t-W usage\t\t--usage\n" -#: main.c:751 +#: main.c:756 msgid "\t-W use-lc-numeric\t--use-lc-numeric\n" msgstr "" -#: main.c:752 +#: main.c:757 msgid "\t-W version\t\t--version\n" msgstr "\t-W version\t\t--version\n" @@ -1618,7 +1631,7 @@ #. for this application. Please add _another line_ with the #. address for translation bugs. #. no-wrap -#: main.c:761 +#: main.c:766 msgid "" "\n" "To report bugs, see node `Bugs' in `gawk.info', which is\n" @@ -1630,7 +1643,7 @@ " .ñôãåîä êéøãîá `Reporting Problems and Bugs' ä÷ñô\n" "\n" -#: main.c:765 +#: main.c:770 msgid "" "gawk is a pattern scanning and processing language.\n" "By default it reads standard input and writes standard output.\n" @@ -1639,7 +1652,7 @@ ".èñ÷è úåéðáú ìù ãåáéòå äé÷øñì äôù åðéä gawk\n" ".éð÷ú èìôì áúåëå éð÷ú èì÷ õåøò àøå÷ àåä ìãçî úøéøáë\n" -#: main.c:769 +#: main.c:774 msgid "" "Examples:\n" "\tgawk '{ sum += $1 }; END { print sum }' file\n" @@ -1649,7 +1662,7 @@ "\tgawk '{ sum += $1 }; END { print sum }' file\n" "\tgawk -F: '{ print $1 }' /etc/passwd\n" -#: main.c:789 +#: main.c:794 #, fuzzy, c-format msgid "" "Copyright (C) 1989, 1991-%d Free Software Foundation.\n" @@ -1667,7 +1680,7 @@ " íàå ,ïåéùøä ìù 2 àñøâá íà ;Free Software Foundation\n" " .øúåé úøçåàî àñøâ ìëá (íëì äøåîùä äéöôåàë)\n" -#: main.c:797 +#: main.c:802 msgid "" "This program is distributed in the hope that it will be useful,\n" "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" @@ -1680,7 +1693,7 @@ ",íéèøôì .úîéåñî úéìëú åæéàì äîàúä åà úåøéçñ ìù\n" " .GNU General Public License-á åðééò àðà\n" -#: main.c:808 +#: main.c:813 #, fuzzy msgid "" "You should have received a copy of the GNU General Public License\n" @@ -1690,58 +1703,58 @@ "Free Software Foundation, Inc.-ì åáúë àðà ,åúåà íúìáé÷ àì íà\n" ".59 Temple Place - Suite 330, Boston, MA 02111-1307, USA\n" -#: main.c:843 +#: main.c:848 msgid "-Ft does not set FS to tab in POSIX awk" msgstr "awk ìù POSIX úñøâá TAB úåéäì FS-ì íøåâ åðéà -Ft" -#: main.c:1117 +#: main.c:1122 #, c-format msgid "" "%s: `%s' argument to `-v' not in `var=value' form\n" "\n" msgstr "" -#: main.c:1137 +#: main.c:1142 #, c-format msgid "`%s' is not a legal variable name" msgstr "" -#: main.c:1140 +#: main.c:1145 #, c-format msgid "`%s' is not a variable name, looking for file `%s=%s'" msgstr "" -#: main.c:1179 +#: main.c:1184 msgid "floating point exception" msgstr "äôö äãå÷ð éáåùéçá äâéøç" -#: main.c:1186 +#: main.c:1191 msgid "fatal error: internal error" msgstr "úéîéðô äðëú úàéâù :äøåîç äì÷ú" -#: main.c:1200 +#: main.c:1206 #, fuzzy msgid "fatal error: internal error: segfault" msgstr "úéîéðô äðëú úàéâù :äøåîç äì÷ú" -#: main.c:1212 +#: main.c:1218 #, fuzzy msgid "fatal error: internal error: stack overflow" msgstr "úéîéðô äðëú úàéâù :äøåîç äì÷ú" # FIXME: I wonder how many people will understand what "fd 2" means. -#: main.c:1261 +#: main.c:1268 #, c-format msgid "no pre-opened fd %d" msgstr "ùàøî çåúô åðéà %d èìô/èì÷ õåøò" # FIXME: /dev/null might not be known to all. -#: main.c:1268 +#: main.c:1275 #, c-format msgid "could not pre-open /dev/null for fd %d" msgstr "/dev/null-ì %d èìô/èì÷ õåøò çåúôì ïúéð àì" -#: main.c:1291 main.c:1300 +#: main.c:1298 main.c:1307 #, c-format msgid "could not find groups: %s" msgstr "%s :úëøòîá íéùîúùî úåöåá÷ ìò òãéî ïéà" @@ -1771,31 +1784,31 @@ msgid "can't convert string to float" msgstr "øôñîì äøîäì úðúéð äðéà úæåøçî" -#: node.c:462 +#: node.c:465 msgid "backslash at end of string" msgstr "úæåøçî óåñá êåôä ïñëåì" -#: node.c:606 +#: node.c:609 #, fuzzy, c-format msgid "old awk does not support the `\\%c' escape sequence" msgstr "`**' øåèøôåàá êîåú åðéà ïùé awk" -#: node.c:657 +#: node.c:660 msgid "POSIX does not allow `\\x' escapes" msgstr "`\\x' âåñî äø÷á úåøãñ äùøî åðéà POSIX ï÷ú" -#: node.c:663 +#: node.c:666 msgid "no hex digits in `\\x' escape sequence" msgstr "`\\x' äø÷á úøãñá úåéìîéöãñ÷ä úåøôñá ùîúùäì ïéà" -#: node.c:685 +#: node.c:688 #, c-format msgid "" "hex escape \\x%.*s of %d characters probably not interpreted the way you " "expect" msgstr "" -#: node.c:700 +#: node.c:703 #, c-format msgid "escape sequence `\\%c' treated as plain `%c'" msgstr "éìåìéî åúë ìôåè `\\%c' äø÷á úøãñá `%c' åú" @@ -1805,31 +1818,31 @@ msgid "%s %s `%s': could not set close-on-exec: (fcntl: %s)" msgstr "%s %s `%s' øåáò close-on-exec ïééôàî úìòôäá (fcntl: %s) äì÷ú" -#: profile.c:93 +#: profile.c:94 #, c-format msgid "could not open `%s' for writing: %s" msgstr "äáéúë êøåöì `%s' úçéúô úòá (%s) äì÷ú" -#: profile.c:453 +#: profile.c:457 #, fuzzy, c-format msgid "internal error: %s with null vname" msgstr "ñôåàî åìù vname-äù Node_var :úéîéðô äðëú úàéâù" -#: profile.c:517 +#: profile.c:521 msgid "# treated internally as `delete'" msgstr "" -#: profile.c:1069 +#: profile.c:1073 #, c-format msgid "# this is a dynamically loaded extension function" msgstr "" -#: profile.c:1100 +#: profile.c:1104 #, c-format msgid "\t# gawk profile, created %s\n" msgstr "\t# %s êéøàúî gawk ìù ìéôåøô\n" -#: profile.c:1103 +#: profile.c:1107 #, c-format msgid "" "\t# BEGIN block(s)\n" @@ -1838,7 +1851,7 @@ "\t# BEGIN ÷åìá\n" "\n" -#: profile.c:1113 +#: profile.c:1117 #, c-format msgid "" "\t# Rule(s)\n" @@ -1847,7 +1860,7 @@ "\t# (íé)ììë\n" "\n" -#: profile.c:1119 +#: profile.c:1123 #, c-format msgid "" "\t# END block(s)\n" @@ -1856,7 +1869,7 @@ "\t# END ÷åìá\n" "\n" -#: profile.c:1139 +#: profile.c:1143 #, c-format msgid "" "\n" @@ -1865,93 +1878,88 @@ "\n" "\t# úéá-óìà øãñá ,úåéö÷ðåô\n" -#: profile.c:1400 +#: profile.c:1405 #, c-format msgid "unexpected type %s in prec_level" msgstr "prec_level-á %s éåâù âåñ" -#: profile.c:1500 +#: profile.c:1527 #, fuzzy, c-format msgid "Unknown node type %s in pp_var" msgstr "%d ääåæî-éúìá âåñ ìòá node" -#: regcomp.c:133 +#: regcomp.c:132 msgid "Success" msgstr "äçìöä" -#: regcomp.c:136 +#: regcomp.c:135 msgid "No match" msgstr "äîéàúî úæåøçî äàöîð àì" -#: regcomp.c:139 +#: regcomp.c:138 msgid "Invalid regular expression" msgstr "éåâù éøìåâø éåèéá" -#: regcomp.c:142 +#: regcomp.c:141 msgid "Invalid collation character" msgstr "øãâåî-éúìá øåãéñ åú" -#: regcomp.c:145 +#: regcomp.c:144 msgid "Invalid character class name" msgstr "íéåú úöåá÷ ìù øãâåî-éúìá íù" -#: regcomp.c:148 +#: regcomp.c:147 msgid "Trailing backslash" msgstr "`\\' éøåçà ïñëåìá íééúñî éøìåâø éåèéá" -#: regcomp.c:151 +#: regcomp.c:150 msgid "Invalid back reference" msgstr "íãå÷ éåèéá-úúì äéåâù äééðôä" -#: regcomp.c:154 +#: regcomp.c:153 msgid "Unmatched [ or [^" msgstr "âåæ-ïá åì ïéàù [^ åà [" -#: regcomp.c:157 +#: regcomp.c:156 msgid "Unmatched ( or \\(" msgstr "âåæ-ïá åì ïéàù \\( åà (" -#: regcomp.c:160 +#: regcomp.c:159 msgid "Unmatched \\{" msgstr "âåæ-ïá åì ïéàù \\{" -#: regcomp.c:163 +#: regcomp.c:162 msgid "Invalid content of \\{\\}" msgstr "\\{\\} êåúá éåâù äðáî" -#: regcomp.c:166 +#: regcomp.c:165 msgid "Invalid range end" msgstr "íéåú íåçú ìù äéåâù äøãâä" -#: regcomp.c:169 +#: regcomp.c:168 msgid "Memory exhausted" msgstr "ïåøëæä øîâð" -#: regcomp.c:172 +#: regcomp.c:171 msgid "Invalid preceding regular expression" msgstr "íéé÷ åðéà åà éåâù íãå÷ éøìåâø éåèéá" -#: regcomp.c:175 +#: regcomp.c:174 msgid "Premature end of regular expression" msgstr "éãî íã÷åî íééúñî éøìåâø éåèéá" -#: regcomp.c:178 +#: regcomp.c:177 msgid "Regular expression too big" msgstr "éãî áëøåî åà ìåãâ éøìåâø éåèéá" -#: regcomp.c:181 +#: regcomp.c:180 msgid "Unmatched ) or \\)" msgstr "âåæ-ïá åì ïéàù \\) åà )" -#: regcomp.c:700 +#: regcomp.c:699 msgid "No previous regular expression" msgstr "íãå÷ éøìåâø éåèéá ïéà" -# "Illegal" is against GNU coding standards, but since Posix requires -# it (see the comment below), let's say that in Hebrew as well... -#~ msgid "%s: illegal option -- %c\n" -#~ msgstr "%s: é÷åç-éúìá ïééôàî -- %c\n" - #~ msgid "delete: illegal use of variable `%s' as array" #~ msgstr "êøòîë `%s' äðúùîá éåâù ùåîéù :delete" @@ -1961,6 +1969,11 @@ #~ msgid "asort: second argument is not an array" #~ msgstr "êøòî åðéà éðù èðîåâøà :asort" +# "Illegal" is against GNU coding standards, but since Posix requires +# it (see the comment below), let's say that in Hebrew as well... +#~ msgid "%s: illegal option -- %c\n" +#~ msgstr "%s: é÷åç-éúìá ïééôàî -- %c\n" + #~ msgid "invalid syntax in name `%s' for variable assignment" #~ msgstr "êøò úîùäá `%s' äðúùî íù ìù éåâù øéáçú" @@ -2015,6 +2028,9 @@ #~ msgid "function %s called\n" #~ msgstr "`%s' äéö÷ðåôì äàéø÷\n" +#~ msgid "can't open two way socket `%s' for input/output (%s)" +#~ msgstr "èìô/èì÷ êøåöì éðååéë-åã (socket) ò÷ùë `%s' úçéúôá (%s) äì÷ú" + #~ msgid "remote port invalid in `%s'" #~ msgstr "`%s'-á äéåâù ú÷çåøî äàéöé" diff -urN gawk-3.1.7/po/id.po gawk-3.1.8/po/id.po --- gawk-3.1.7/po/id.po 2009-07-21 23:23:44.000000000 +0300 +++ gawk-3.1.8/po/id.po 2010-05-06 20:57:37.000000000 +0300 @@ -5,10 +5,10 @@ # msgid "" msgstr "" -"Project-Id-Version: gawk 3.1.6e\n" +"Project-Id-Version: gawk 3.1.7\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2009-07-21 23:23+0300\n" -"PO-Revision-Date: 2009-07-11 14:00+0700\n" +"POT-Creation-Date: 2010-05-06 20:57+0300\n" +"PO-Revision-Date: 2009-12-23 07:30+0700\n" "Last-Translator: Arif E. Nugroho \n" "Language-Team: Indonesian \n" "MIME-Version: 1.0\n" @@ -35,42 +35,42 @@ msgid "from %s" msgstr "dari %s" -#: array.c:514 -#, c-format -msgid "reference to uninitialized element `%s[\"%s\"]'" +#: array.c:513 +#, fuzzy, c-format +msgid "reference to uninitialized element `%s[\"%.*s\"]'" msgstr "referensi ke elemen tidak terinisialisasi `%s[\"%s\"]'" -#: array.c:520 +#: array.c:519 #, c-format msgid "subscript of array `%s' is null string" msgstr "subscript dari array `%s' adalah string null" -#: array.c:624 +#: array.c:623 #, c-format msgid "delete: index `%s' not in array `%s'" msgstr "delete: indeks `%s' tidak dalam array `%s'" -#: array.c:793 +#: array.c:792 #, c-format msgid "%s: empty (null)\n" msgstr "%s: kosong (null)\n" -#: array.c:798 +#: array.c:797 #, c-format msgid "%s: empty (zero)\n" msgstr "%s: kosong (nol)\n" -#: array.c:802 +#: array.c:801 #, c-format msgid "%s: table_size = %d, array_size = %d\n" msgstr "%s: table_size = %d, array_size = %d\n" -#: array.c:831 +#: array.c:830 #, c-format msgid "%s: is parameter\n" msgstr "%s: adalah parameter\n" -#: array.c:836 +#: array.c:835 #, c-format msgid "%s: array_ref to %s\n" msgstr "%s: array_ref ke %s\n" @@ -147,7 +147,7 @@ #: awkgram.y:814 msgid "regular expression on right of assignment" -msgstr "ekspresi regular di assignmen kanan" +msgstr "ekspresi regular di penempatan kanan" #: awkgram.y:824 msgid "regular expression on left of `~' or `!~' operator" @@ -352,7 +352,7 @@ msgid "could not open `%s' for writing (%s)" msgstr "tidak dapat membuka `%s' untuk menulis (%s)" -#: awkgram.y:2748 profile.c:95 +#: awkgram.y:2748 profile.c:96 msgid "sending profile to standard error" msgstr "mengirim profile ke standar error" @@ -410,7 +410,12 @@ "fungsi `%s' dipanggil dengan spasi diantara nama dan `(',\n" "atau gunakan sebagai sebuah variabel atau sebuah array" -#: awkgram.y:3667 eval.c:1394 +#: awkgram.y:3664 +#, fuzzy +msgid "division by zero attempted in `/'" +msgstr "pembagian dengan nol dicoba dalam `/='" + +#: awkgram.y:3669 eval.c:1394 #, c-format msgid "division by zero attempted in `%%'" msgstr "pembagian dengan nol dicoba dalam `%%'" @@ -470,170 +475,175 @@ msgid "`length(array)' is a gawk extension" msgstr "`length(array)' adalah sebuah ekstensi gawk" -#: builtin.c:473 +#: builtin.c:471 +#, fuzzy +msgid "length: untyped parameter argument will be forced to scalar" +msgstr "length: argument tidak terketik akan dipaksa ke skalar" + +#: builtin.c:480 msgid "length: untyped argument will be forced to scalar" msgstr "length: argument tidak terketik akan dipaksa ke skalar" -#: builtin.c:477 +#: builtin.c:484 msgid "length: received non-string argument" msgstr "length: diterima argumen bukan-string" -#: builtin.c:508 +#: builtin.c:515 msgid "log: received non-numeric argument" msgstr "log: diterima argumen bukan numerik" -#: builtin.c:511 +#: builtin.c:518 #, c-format msgid "log: received negative argument %g" msgstr "log: diterima argumen negatif %g" -#: builtin.c:719 builtin.c:722 +#: builtin.c:726 builtin.c:729 msgid "must use `count$' on all formats or none" msgstr "harus menggunakan `count$' di semua format atau tidak sama sekali" -#: builtin.c:783 +#: builtin.c:790 #, c-format msgid "field width is ignored for `%%%%' specifier" msgstr "lebar daerah diabaikan untuk penspesifikasi `%%%%'" -#: builtin.c:785 +#: builtin.c:792 #, c-format msgid "precision is ignored for `%%%%' specifier" msgstr "ketepatan diabaikan untuk penspesifikasi `%%%%'" -#: builtin.c:787 +#: builtin.c:794 #, c-format msgid "field width and precision are ignored for `%%%%' specifier" msgstr "lebar daerah dan presisi diabaikan untuk penspesifikasi `%%%%'" -#: builtin.c:838 +#: builtin.c:845 msgid "`$' is not permitted in awk formats" msgstr "`$' tidak diijinkan dalam format awk" -#: builtin.c:844 +#: builtin.c:851 msgid "arg count with `$' must be > 0" msgstr "arg count dengan `$' harus > 0" -#: builtin.c:846 +#: builtin.c:853 #, c-format msgid "arg count %ld greater than total number of supplied arguments" msgstr "" "arg count %ld lebih besar dari jumlah total dari argumen yang diberikan" -#: builtin.c:848 +#: builtin.c:855 msgid "`$' not permitted after period in format" msgstr "`$' tidak diijinkan setelah periode dalam format" -#: builtin.c:861 +#: builtin.c:868 msgid "no `$' supplied for positional field width or precision" msgstr "tidak ada `$' yang diberikan untuk posisional field width atau presisi" -#: builtin.c:927 +#: builtin.c:938 msgid "`l' is meaningless in awk formats; ignored" msgstr "`l' tidak berarti dalam format awk; diabaikan" -#: builtin.c:931 +#: builtin.c:942 msgid "`l' is not permitted in POSIX awk formats" msgstr "`l' tidak diijinkan dalam format POSIX awk" -#: builtin.c:942 +#: builtin.c:953 msgid "`L' is meaningless in awk formats; ignored" msgstr "`L' tidak berarti dalam format awk; diabaikan" -#: builtin.c:946 +#: builtin.c:957 msgid "`L' is not permitted in POSIX awk formats" msgstr "`L' tidak diijinkan dalam format awk POSIX" -#: builtin.c:957 +#: builtin.c:968 msgid "`h' is meaningless in awk formats; ignored" msgstr "`h' tidak berarti dalam format awk; diabaikan" -#: builtin.c:961 +#: builtin.c:972 msgid "`h' is not permitted in POSIX awk formats" msgstr "`h' tidak diijinkan dalam format awk POSIX" -#: builtin.c:1236 +#: builtin.c:1252 #, c-format msgid "[s]printf: value %g is out of range for `%%%c' format" msgstr "[s]printf: nilai %g diluar dari jangkauan untuk format `%%%c'" -#: builtin.c:1316 +#: builtin.c:1332 #, c-format msgid "ignoring unknown format specifier character `%c': no argument converted" msgstr "" "mengabaikan format tidak dikenal karakter penspesifikasi `%c': tidak ada " "argumen yang diubah" -#: builtin.c:1322 +#: builtin.c:1338 msgid "not enough arguments to satisfy format string" msgstr "tidak cukup argumen untuk memuaskan format string" -#: builtin.c:1324 +#: builtin.c:1340 msgid "^ ran out for this one" msgstr "^ kehabisan untuk yang ini" -#: builtin.c:1330 +#: builtin.c:1346 msgid "[s]printf: format specifier does not have control letter" msgstr "[s]printf: penspesifikasi format tidak memiliki pengontrol huruf" -#: builtin.c:1333 +#: builtin.c:1349 msgid "too many arguments supplied for format string" msgstr "terlalu banyak argumen diberikan untuk format string" -#: builtin.c:1408 builtin.c:1411 +#: builtin.c:1424 builtin.c:1427 msgid "printf: no arguments" msgstr "printf: tidak ada argumen" -#: builtin.c:1435 +#: builtin.c:1451 msgid "sqrt: received non-numeric argument" msgstr "sqrt: diterima argumen bukan numerik" -#: builtin.c:1439 +#: builtin.c:1455 #, c-format msgid "sqrt: called with negative argument %g" msgstr "sqrt: dipanggil dengan argumen %g negatif" -#: builtin.c:1463 +#: builtin.c:1479 #, c-format msgid "substr: start index %g is invalid, using 1" msgstr "substr: awal indeks %g tidak valid, menggunakan 1" -#: builtin.c:1468 +#: builtin.c:1484 #, c-format msgid "substr: non-integer start index %g will be truncated" msgstr "substr: awal indeks %g bukan integer akan dipotong" -#: builtin.c:1494 +#: builtin.c:1510 #, c-format msgid "substr: length %g is not >= 1" msgstr "substr: panjang %g tidak >= 1" -#: builtin.c:1496 +#: builtin.c:1512 #, c-format msgid "substr: length %g is not >= 0" msgstr "substr: panjang %g tidak >= 0" -#: builtin.c:1503 +#: builtin.c:1519 #, c-format msgid "substr: non-integer length %g will be truncated" msgstr "substr: panjang bukan integer %g akan dipotong" -#: builtin.c:1508 +#: builtin.c:1524 #, c-format msgid "substr: length %g too big for string indexing, truncating to %g" msgstr "" "substr: panjang %g terlalu besar untuk pengindeksan string, dipotong ke %g" -#: builtin.c:1520 +#: builtin.c:1536 msgid "substr: source string is zero length" msgstr "substr: sumber string memiliki panjang nol" -#: builtin.c:1536 +#: builtin.c:1552 #, c-format msgid "substr: start index %g is past end of string" msgstr "substr: awal indeks %g melewati akhir dari string" -#: builtin.c:1544 +#: builtin.c:1560 #, c-format msgid "" "substr: length %g at start index %g exceeds length of first argument (%lu)" @@ -641,182 +651,186 @@ "substr: panjang %g di awal indeks %g melewati panjang dari argumen pertama (%" "lu)" -#: builtin.c:1621 +#: builtin.c:1637 msgid "strftime: received non-string first argument" msgstr "strftime: diterima argumen pertama bukan string" -#: builtin.c:1627 +#: builtin.c:1643 msgid "strftime: received empty format string" msgstr "strftime: diterima format string kosong" -#: builtin.c:1636 +#: builtin.c:1652 msgid "strftime: received non-numeric second argument" msgstr "strftime: diterima argumen kedua bukan numerik" -#: builtin.c:1713 +#: builtin.c:1729 msgid "mktime: received non-string argument" msgstr "mktime: diterima argumen bukan string" -#: builtin.c:1758 +#: builtin.c:1746 +msgid "mktime: at least one of the values is out of the default range" +msgstr "" + +#: builtin.c:1783 msgid "system: received non-string argument" msgstr "system: diterima argumen bukan string" -#: builtin.c:1879 eval.c:2145 +#: builtin.c:1904 eval.c:2157 #, c-format msgid "reference to uninitialized field `$%d'" msgstr "referensi ke field tidak terinisialisasi `$%d'" -#: builtin.c:1984 +#: builtin.c:2009 msgid "tolower: received non-string argument" msgstr "tolower: diterima argumen bukan string" -#: builtin.c:2014 +#: builtin.c:2039 msgid "toupper: received non-string argument" msgstr "toupper: diterima argumen bukan string" -#: builtin.c:2047 +#: builtin.c:2072 msgid "atan2: received non-numeric first argument" msgstr "atan2: diterima argumen pertama bukan numerik" -#: builtin.c:2049 +#: builtin.c:2074 msgid "atan2: received non-numeric second argument" msgstr "atan2: diterima argumen kedua bukan numerik" -#: builtin.c:2068 +#: builtin.c:2093 msgid "sin: received non-numeric argument" msgstr "sin: diterima argumen bukan numerik" -#: builtin.c:2084 +#: builtin.c:2109 msgid "cos: received non-numeric argument" msgstr "cos: diterima argumen bukan numerik" -#: builtin.c:2137 +#: builtin.c:2162 msgid "srand: received non-numeric argument" msgstr "srand: diterima argumen bukan numerik" -#: builtin.c:2172 +#: builtin.c:2197 msgid "match: third argument is not an array" msgstr "match: argumen ketiga bukan sebuah array" -#: builtin.c:2719 +#: builtin.c:2744 msgid "gensub: third argument of 0 treated as 1" msgstr "gensub: argumen ketiga dari 0 diperlakukan sebagai 1" -#: builtin.c:2835 +#: builtin.c:2860 msgid "lshift: received non-numeric first argument" msgstr "lshift: diterima argumen pertama bukan numerik" -#: builtin.c:2837 +#: builtin.c:2862 msgid "lshift: received non-numeric second argument" msgstr "lshift: diterima argumen kedua bukan numerik" -#: builtin.c:2843 +#: builtin.c:2868 #, c-format msgid "lshift(%lf, %lf): negative values will give strange results" msgstr "lshift(%lf, %lf): nilai negatif akan memberikan hasil aneh" -#: builtin.c:2845 +#: builtin.c:2870 #, c-format msgid "lshift(%lf, %lf): fractional values will be truncated" msgstr "lshift(%lf, %lf): nilai pecahan akan dipotong" -#: builtin.c:2847 +#: builtin.c:2872 #, c-format msgid "lshift(%lf, %lf): too large shift value will give strange results" msgstr "lshift(%lf, %lf): nilai shift terlalu besar akan memberikan hasil aneh" -#: builtin.c:2873 +#: builtin.c:2898 msgid "rshift: received non-numeric first argument" msgstr "rshift: diterima argumen pertama bukan numerik" -#: builtin.c:2875 +#: builtin.c:2900 msgid "rshift: received non-numeric second argument" msgstr "rshift: diterima argumen kedua bukan-numerik" -#: builtin.c:2881 +#: builtin.c:2906 #, c-format msgid "rshift(%lf, %lf): negative values will give strange results" msgstr "rshift(%lf. %lf): nilai negatif akan memberikan hasil aneh" -#: builtin.c:2883 +#: builtin.c:2908 #, c-format msgid "rshift(%lf, %lf): fractional values will be truncated" msgstr "rshift(%lf, %lf): nilai pecahan akan dipotong" -#: builtin.c:2885 +#: builtin.c:2910 #, c-format msgid "rshift(%lf, %lf): too large shift value will give strange results" msgstr "rshift(%lf, %lf): nilai shift terlalu besar akan memberikan hasil aneh" -#: builtin.c:2911 +#: builtin.c:2936 msgid "and: received non-numeric first argument" msgstr "and: diterima argumen pertama tidak numerik" -#: builtin.c:2913 +#: builtin.c:2938 msgid "and: received non-numeric second argument" msgstr "and: diterima argumen kedua bukan numerik" -#: builtin.c:2919 +#: builtin.c:2944 #, c-format msgid "and(%lf, %lf): negative values will give strange results" msgstr "and(%lf, %lf): nilai negatif akan memberikan hasil aneh" -#: builtin.c:2921 +#: builtin.c:2946 #, c-format msgid "and(%lf, %lf): fractional values will be truncated" msgstr "and(%lf, %lf): nilai pecahan akan dipotong" -#: builtin.c:2947 +#: builtin.c:2972 msgid "or: received non-numeric first argument" msgstr "or: diterima argumen pertama bukan numerik" -#: builtin.c:2949 +#: builtin.c:2974 msgid "or: received non-numeric second argument" msgstr "or: diterima argumen kedua bukan numerik" -#: builtin.c:2955 +#: builtin.c:2980 #, c-format msgid "or(%lf, %lf): negative values will give strange results" msgstr "or(%lf, %lf): nilai negatif akan memberikan hasil aneh" -#: builtin.c:2957 +#: builtin.c:2982 #, c-format msgid "or(%lf, %lf): fractional values will be truncated" msgstr "or(%lf, %lf): nilai pecahan akan dipotong" -#: builtin.c:2983 +#: builtin.c:3008 msgid "xor: received non-numeric first argument" msgstr "xor: diterima argumen pertama bukan numerik" -#: builtin.c:2985 +#: builtin.c:3010 msgid "xor: received non-numeric second argument" msgstr "xor: diterima argumen kedua bukan numerik" -#: builtin.c:2991 +#: builtin.c:3016 #, c-format msgid "xor(%lf, %lf): negative values will give strange results" msgstr "xor(%lf, %lf): nilai negatif akan memberikan hasil aneh" -#: builtin.c:2993 +#: builtin.c:3018 #, c-format msgid "xor(%lf, %lf): fractional values will be truncated" msgstr "xor(%lf, %lf): nilai pecahan akan dipotong" -#: builtin.c:3017 +#: builtin.c:3042 msgid "compl: received non-numeric argument" msgstr "compl: diterima argumen bukan numerik" -#: builtin.c:3023 +#: builtin.c:3048 #, c-format msgid "compl(%lf): negative value will give strange results" msgstr "compl(%lf): nilai negatif akan memberikan hasil aneh" -#: builtin.c:3025 +#: builtin.c:3050 #, c-format msgid "compl(%lf): fractional value will be truncated" msgstr "compl(%lf): nilai pecahan akan dipotong" -#: builtin.c:3198 +#: builtin.c:3223 #, c-format msgid "dcgettext: `%s' is not a valid locale category" msgstr "dcgettext: `%s' bukan sebuah kategori lokal yang valid" @@ -830,7 +844,7 @@ msgid "buffer overflow in genflags2str" msgstr "buffer overflow dalam genflags2str" -#: eval.c:454 eval.c:460 profile.c:781 +#: eval.c:454 eval.c:460 profile.c:785 #, c-format msgid "attempt to use array `%s' in a scalar context" msgstr "mencoba menggunakan array `%s' dalam sebuah konteks skalar" @@ -877,7 +891,7 @@ msgid "statement has no effect" msgstr "pernyataan tidak memiliki efek" -#: eval.c:1029 eval.c:1999 +#: eval.c:1029 eval.c:2011 #, c-format msgid "can't use function name `%s' as variable or array" msgstr "" @@ -888,7 +902,7 @@ msgid "reference to uninitialized argument `%s'" msgstr "referensi ke argumen `%s' tidak terinisialisasi" -#: eval.c:1051 eval.c:2008 +#: eval.c:1051 eval.c:2020 #, c-format msgid "reference to uninitialized variable `%s'" msgstr "referensi ke variabel `%s' tidak terinisialisasi" @@ -903,13 +917,13 @@ #: eval.c:1301 msgid "assignment used in conditional context" -msgstr "assignment digunakan dalam konteks kondisional" +msgstr "penempatan digunakan dalam konteks kondisional" #: eval.c:1379 msgid "division by zero attempted" msgstr "pembagian dengan nol telah dicoba" -#: eval.c:1409 profile.c:657 +#: eval.c:1409 profile.c:661 #, c-format msgid "illegal type (%s) in tree_eval" msgstr "tipe (%s) tidak legal dalam tree_eval" @@ -923,17 +937,17 @@ msgid "division by zero attempted in `%%='" msgstr "pembagian dengan nol dicoba dalam `%%='" -#: eval.c:1859 +#: eval.c:1871 #, c-format msgid "function `%s' called with more arguments than declared" msgstr "fungsi `%s' dipanggil argumen lebih dari yang dideklarasikan" -#: eval.c:1904 +#: eval.c:1916 #, c-format msgid "function `%s' not defined" msgstr "fungsi `%s' tidak didefinisikan" -#: eval.c:1971 +#: eval.c:1983 #, c-format msgid "" "\n" @@ -944,49 +958,49 @@ "\t# Fungsi Call Stack:\n" "\n" -#: eval.c:1974 +#: eval.c:1986 #, c-format msgid "\t# -- main --\n" msgstr "\t# -- main --\n" -#: eval.c:2129 +#: eval.c:2141 msgid "attempt to field reference from non-numeric value" msgstr "mencoba untuk mereferensi field dari nilai bukan numerik" -#: eval.c:2131 +#: eval.c:2143 msgid "attempt to reference from null string" msgstr "mencoba untuk mereferensi dari null string" -#: eval.c:2137 +#: eval.c:2149 #, c-format msgid "attempt to access field %d" msgstr "mencoba untuk mengakses field %d" -#: eval.c:2158 eval.c:2165 profile.c:836 +#: eval.c:2170 eval.c:2177 profile.c:840 msgid "assignment is not allowed to result of builtin function" -msgstr "assignmen tidak diijinkan untuk menghasilkan fungsi bawaan" +msgstr "penempatan tidak diijinkan untuk menghasilkan fungsi bawaan" -#: eval.c:2229 +#: eval.c:2241 msgid "`IGNORECASE' is a gawk extension" msgstr "`IGNORECASE' adalah ekstensi gawk" -#: eval.c:2258 +#: eval.c:2270 msgid "`BINMODE' is a gawk extension" msgstr "`BINMODE' adalah ekstensi gawk" -#: eval.c:2316 +#: eval.c:2328 #, c-format msgid "BINMODE value `%s' is invalid, treated as 3" msgstr "BINMODE nilai `%s' tidak valid, diperlakukan sebagai 3" -#: eval.c:2406 +#: eval.c:2418 #, c-format msgid "bad `%sFMT' specification `%s'" msgstr "buruk `%sFMT' spesifikasi `%s'" -#: eval.c:2484 +#: eval.c:2496 msgid "turning off `--lint' due to assignment to `LINT'" -msgstr "menonaktifkan `--lint' karena assignmen ke `LINT'" +msgstr "menonaktifkan `--lint' karena penempatan ke `LINT'" #: ext.c:62 ext.c:67 msgid "`extension' is a gawk extension" @@ -1088,56 +1102,61 @@ msgid "old awk does not support regexps as value of `FS'" msgstr "awk lama tidak mendukung regexps sebagai nilai dari `FS'" -#: getopt.c:570 getopt.c:586 +#: getopt.c:574 getopt.c:590 #, c-format msgid "%s: option '%s' is ambiguous\n" msgstr "%s: pilihan '%s' adalah ambigu\n" -#: getopt.c:619 getopt.c:623 +#: getopt.c:623 getopt.c:627 #, c-format msgid "%s: option '--%s' doesn't allow an argument\n" msgstr "%s: pilihan '--%s' tidak mengijinkan sebuah argumen\n" -#: getopt.c:632 getopt.c:637 +#: getopt.c:636 getopt.c:641 #, c-format msgid "%s: option '%c%s' doesn't allow an argument\n" msgstr "%s: pilihan '%c%s' tidak mengijinkan sebuah argumen\n" -#: getopt.c:680 getopt.c:699 getopt.c:1002 getopt.c:1021 -#, c-format -msgid "%s: option '%s' requires an argument\n" +#: getopt.c:684 getopt.c:703 +#, fuzzy, c-format +msgid "%s: option '--%s' requires an argument\n" msgstr "%s: pilihan '%s' membutuhkan sebuah argumen\n" -#: getopt.c:737 getopt.c:740 +#: getopt.c:741 getopt.c:744 #, c-format msgid "%s: unrecognized option '--%s'\n" msgstr "%s: pilihan tidak dikenal '--%s'\n" -#: getopt.c:748 getopt.c:751 +#: getopt.c:752 getopt.c:755 #, c-format msgid "%s: unrecognized option '%c%s'\n" msgstr "%s: pilihan tidak dikenal '%c%s'\n" -#: getopt.c:800 getopt.c:803 +#: getopt.c:804 getopt.c:807 #, c-format msgid "%s: invalid option -- '%c'\n" msgstr "%s: pilihan tidak valid -- '%c'\n" -#: getopt.c:853 getopt.c:870 getopt.c:1073 getopt.c:1091 +#: getopt.c:857 getopt.c:874 getopt.c:1082 getopt.c:1100 #, c-format msgid "%s: option requires an argument -- '%c'\n" msgstr "%s: pilihan membutuhkan sebuah argumen -- '%c'\n" -#: getopt.c:923 getopt.c:939 +#: getopt.c:930 getopt.c:946 #, c-format msgid "%s: option '-W %s' is ambiguous\n" msgstr "%s: pilihan '-W %s' adalah ambigu\n" -#: getopt.c:963 getopt.c:981 +#: getopt.c:970 getopt.c:988 #, c-format msgid "%s: option '-W %s' doesn't allow an argument\n" msgstr "%s: pilihan '-W %s' tidak mengijinkan sebuah argumen\n" +#: getopt.c:1009 getopt.c:1027 +#, fuzzy, c-format +msgid "%s: option '-W %s' requires an argument\n" +msgstr "%s: pilihan '%s' membutuhkan sebuah argumen\n" + #: io.c:322 io.c:352 #, c-format msgid "cannot open file `%s' for reading (%s)" @@ -1184,440 +1203,435 @@ msgid "can't open pipe `%s' for input (%s)" msgstr "tidak dapat membuka pipe `%s' untuk masukan (%s)" -#: io.c:712 -#, c-format -msgid "can't open two way socket `%s' for input/output (%s)" -msgstr "tidak dapat membuka socket dua arah `%s' untuk input/output (%s)" - -#: io.c:716 +#: io.c:717 #, c-format msgid "can't open two way pipe `%s' for input/output (%s)" msgstr "tidak dapat membuka pipe dua arah `%s' untuk input/output (%s)" -#: io.c:793 +#: io.c:795 #, c-format msgid "can't redirect from `%s' (%s)" msgstr "tidak dapat redirek dari `%s' (%s)" -#: io.c:796 +#: io.c:798 #, c-format msgid "can't redirect to `%s' (%s)" msgstr "tidak dapat redirek ke `%s' (%s)" -#: io.c:849 +#: io.c:851 msgid "" "reached system limit for open files: starting to multiplex file descriptors" msgstr "" "batas sistem tercapi untuk berkas terbuka: mulai untuk multiplex berkas " "deskripsi" -#: io.c:865 +#: io.c:867 #, c-format msgid "close of `%s' failed (%s)." msgstr "penutupan dari `%s' gagal (%s)." -#: io.c:873 +#: io.c:875 msgid "too many pipes or input files open" msgstr "terlalu banyak pipes atau berkas masukan terbuka" -#: io.c:896 +#: io.c:898 msgid "close: second argument must be `to' or `from'" msgstr "close: argumen kedua harus berupa `to' atau `from'" -#: io.c:910 +#: io.c:912 #, c-format msgid "close: `%.*s' is not an open file, pipe or co-process" msgstr "close: `%.*s' bukan sebuah berkas terbuka, pipe atau co-proses" -#: io.c:915 +#: io.c:917 msgid "close of redirection that was never opened" msgstr "penutupan dari redireksi yang tidak pernah terbuka" -#: io.c:1012 +#: io.c:1014 #, c-format msgid "close: redirection `%s' not opened with `|&', second argument ignored" msgstr "" "close: redireksi `%s' tidak dibuka dengan `|&', argumen kedua diabaikan" -#: io.c:1028 +#: io.c:1030 #, c-format msgid "failure status (%d) on pipe close of `%s' (%s)" msgstr "status gagal (%d) di tutup pipe dari `%s' (%s)" -#: io.c:1031 +#: io.c:1033 #, c-format msgid "failure status (%d) on file close of `%s' (%s)" msgstr "status gagal (%d) di tutup berkas dari `%s' (%s)" -#: io.c:1051 +#: io.c:1053 #, c-format msgid "no explicit close of socket `%s' provided" msgstr "tidak ada eksplisit tutup dari socket `%s' yang disediakan" -#: io.c:1054 +#: io.c:1056 #, c-format msgid "no explicit close of co-process `%s' provided" msgstr "tidak ada eksplisit tutup dari co-proses `%s' yang disediakan" -#: io.c:1057 +#: io.c:1059 #, c-format msgid "no explicit close of pipe `%s' provided" msgstr "tidak ada eksplisit tutup dari pipe `%s' disediakan" -#: io.c:1060 +#: io.c:1062 #, c-format msgid "no explicit close of file `%s' provided" msgstr "tidak ada eksplisit close dari berkas `%s' disediakan" -#: io.c:1088 io.c:1143 main.c:776 main.c:818 +#: io.c:1090 io.c:1145 main.c:781 main.c:823 #, c-format msgid "error writing standard output (%s)" msgstr "error menulis standar keluaran (%s)" -#: io.c:1092 io.c:1148 +#: io.c:1094 io.c:1150 #, c-format msgid "error writing standard error (%s)" msgstr "error menulis standar error (%s)" -#: io.c:1100 +#: io.c:1102 #, c-format msgid "pipe flush of `%s' failed (%s)." msgstr "pipe flush dari `%s' gagal (%s)." -#: io.c:1103 +#: io.c:1105 #, c-format msgid "co-process flush of pipe to `%s' failed (%s)." msgstr "co-proses flush dari pipe ke `%s' gagal (%s)." -#: io.c:1106 +#: io.c:1108 #, c-format msgid "file flush of `%s' failed (%s)." msgstr "file flush dari `%s' gagal (%s)." -#: io.c:1220 +#: io.c:1222 #, c-format msgid "local port %s invalid in `/inet'" msgstr "lokal port %s tidak valid dalam `/inet'" -#: io.c:1237 +#: io.c:1239 #, c-format msgid "remote host and port information (%s, %s) invalid" msgstr "remote host dan informasi port (%s, %s) tidak valid" -#: io.c:1272 +#: io.c:1274 msgid "/inet/raw client not ready yet, sorry" msgstr "/inet/raw client belum siap, maaf" -#: io.c:1275 io.c:1311 +#: io.c:1277 io.c:1313 msgid "only root may use `/inet/raw'." msgstr "hanya root yang boleh menggunakan `/inet/raw'." -#: io.c:1309 +#: io.c:1311 msgid "/inet/raw server not ready yet, sorry" msgstr "/inet/raw server belum siap, maaf" -#: io.c:1407 +#: io.c:1409 #, c-format msgid "no (known) protocol supplied in special filename `%s'" msgstr "" "tidak (diketahui) protokol yang diberikan dalam nama berkas spesial `%s'" -#: io.c:1421 +#: io.c:1423 #, c-format msgid "special file name `%s' is incomplete" msgstr "nama berkas spesial `%s' tidak lengkap" -#: io.c:1436 +#: io.c:1438 msgid "must supply a remote hostname to `/inet'" msgstr "harus memberikan sebuah remote hostname ke `/inet'" -#: io.c:1454 +#: io.c:1456 msgid "must supply a remote port to `/inet'" msgstr "harus memberikan sebuah remote port ke `/inet'" -#: io.c:1485 +#: io.c:1502 msgid "TCP/IP communications are not supported" msgstr "komunikasi TCP/IP tidak didukung" -#: io.c:1494 +#: io.c:1511 #, c-format msgid "file `%s' is a directory" msgstr "berkas `%s' adalah sebuah direktori" -#: io.c:1555 +#: io.c:1572 #, c-format msgid "use `PROCINFO[\"%s\"]' instead of `%s'" msgstr "lebih baik gunakan `PROCINFO[\"%s\"]' daripada `%s'" -#: io.c:1593 +#: io.c:1610 msgid "use `PROCINFO[...]' instead of `/dev/user'" msgstr "lebih baik gunakan `PROCINFO[...]' daripada `/dev/user'" -#: io.c:1658 io.c:1853 +#: io.c:1675 io.c:1872 #, c-format msgid "could not open `%s', mode `%s'" msgstr "tidak dapat membuka `%s', mode `%s'" -#: io.c:1904 +#: io.c:1923 #, c-format msgid "close of master pty failed (%s)" msgstr "penutupan dari master pty gagal (%s)" -#: io.c:1906 io.c:2058 io.c:2209 +#: io.c:1925 io.c:2077 io.c:2228 #, c-format msgid "close of stdout in child failed (%s)" msgstr "penutupan dari stdout dalam child gagal (%s)" -#: io.c:1909 +#: io.c:1928 #, c-format msgid "moving slave pty to stdout in child failed (dup: %s)" msgstr "memindahkan slave pty ke stdout dalam child gagal (dup: %s)" -#: io.c:1911 io.c:2063 +#: io.c:1930 io.c:2082 #, c-format msgid "close of stdin in child failed (%s)" msgstr "penutupan dari stdin dalam anak gagal (%s)" -#: io.c:1914 +#: io.c:1933 #, c-format msgid "moving slave pty to stdin in child failed (dup: %s)" msgstr "memindahkan slave pty ke stdin dalam anak gagal (dup: %s)" -#: io.c:1916 io.c:1935 +#: io.c:1935 io.c:1954 #, c-format msgid "close of slave pty failed (%s)" msgstr "penutupan dari pty budak gagal (%s)" -#: io.c:2009 io.c:2061 io.c:2190 io.c:2212 +#: io.c:2028 io.c:2080 io.c:2209 io.c:2231 #, c-format msgid "moving pipe to stdout in child failed (dup: %s)" msgstr "memindahkan pipe ke stdout dalam anak gaal (dup: %s)" -#: io.c:2013 io.c:2066 +#: io.c:2032 io.c:2085 #, c-format msgid "moving pipe to stdin in child failed (dup: %s)" msgstr "memindahkan pipe ke stdin dalam anak gagal (dup: %s)" -#: io.c:2030 io.c:2203 +#: io.c:2049 io.c:2222 msgid "restoring stdout in parent process failed\n" msgstr "mengembalikan stdout dalam proses orang tua gagal\n" -#: io.c:2035 +#: io.c:2054 msgid "restoring stdin in parent process failed\n" msgstr "mengembalikan stdin dalam proses orang tua gagal\n" -#: io.c:2069 io.c:2214 io.c:2225 +#: io.c:2088 io.c:2233 io.c:2244 #, c-format msgid "close of pipe failed (%s)" msgstr "penutupan dari pipe gagal (%s)" -#: io.c:2114 +#: io.c:2133 msgid "`|&' not supported" msgstr "`|&' tidak didukung" -#: io.c:2180 +#: io.c:2199 #, c-format msgid "cannot open pipe `%s' (%s)" msgstr "tidak dapat membuka pipe `%s' (%s)" -#: io.c:2221 +#: io.c:2240 #, c-format msgid "cannot create child process for `%s' (fork: %s)" msgstr "tidak dapat membuat proses anak untuk `%s' (fork: %s)" -#: io.c:2603 +#: io.c:2622 #, c-format msgid "data file `%s' is empty" msgstr "berkas data `%s' kosong" -#: io.c:2644 io.c:2652 +#: io.c:2663 io.c:2671 msgid "could not allocate more input memory" msgstr "tidak dapat mengalokasikan lebih dari masukan memori" -#: io.c:3020 io.c:3093 +#: io.c:3039 io.c:3112 #, c-format msgid "error reading input file `%s': %s" msgstr "error membaca berkas masukan `%s': %s" -#: io.c:3218 +#: io.c:3237 msgid "multicharacter value of `RS' is a gawk extension" msgstr "nilai multi karakter dari `RS' adalah sebuah ekstensi gawk" -#: main.c:304 +#: main.c:306 msgid "out of memory" msgstr "kehabisan memori" -#: main.c:373 +#: main.c:374 msgid "`-m[fr]' option irrelevant in gawk" msgstr "pilihan `-m[fr]' tidak relevan dalam gawk" -#: main.c:375 +#: main.c:376 msgid "-m option usage: `-m[fr] nnn'" msgstr "penggunaan pilihan -m: `-m[fr] nnn'" -#: main.c:392 +#: main.c:393 #, c-format msgid "%s: option `-W %s' unrecognized, ignored\n" msgstr "%s: pilihan `-W %s' tidak dikenal, diabaikan\n" -#: main.c:433 +#: main.c:434 msgid "empty argument to `--source' ignored" msgstr "argumen kosong ke `--source' diabaikan" -#: main.c:487 +#: main.c:488 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: pilihan membutuhkan sebuah argumen -- %c\n" -#: main.c:506 +#: main.c:509 msgid "environment variable `POSIXLY_CORRECT' set: turning on `--posix'" msgstr "variabel lingkungan `POSIXLY_CORRECT' set: mengaktifkan `--posix'" -#: main.c:512 +#: main.c:515 msgid "`--posix' overrides `--traditional'" msgstr "`--posix' overrides `--traditional'" -#: main.c:523 +#: main.c:526 msgid "`--posix'/`--traditional' overrides `--non-decimal-data'" msgstr "`--posix'/`--traditional' overrides `--non-decimal-data'" -#: main.c:527 +#: main.c:530 #, c-format msgid "running %s setuid root may be a security problem" msgstr "menjalankan %s setuid root mungkin sebuah masalah keamanan" -#: main.c:568 +#: main.c:571 #, c-format msgid "can't set binary mode on stdin (%s)" msgstr "tidak dapat menset mode binari di stdin (%s)" -#: main.c:571 +#: main.c:574 #, c-format msgid "can't set binary mode on stdout (%s)" msgstr "tidak dapat menset mode binari di stdout (%s)" -#: main.c:573 +#: main.c:576 #, c-format msgid "can't set binary mode on stderr (%s)" msgstr "tidak dapat menset mode binari di stderr (%s)" -#: main.c:612 +#: main.c:617 msgid "no program text at all!" msgstr "tidak ada teks aplikasi apapun!" -#: main.c:716 +#: main.c:721 #, c-format msgid "Usage: %s [POSIX or GNU style options] -f progfile [--] file ...\n" msgstr "" "Penggunaan: %s [pilihan POSIX atau gaya GNU] -f progfile [--] berkas ...\n" -#: main.c:718 +#: main.c:723 #, c-format msgid "Usage: %s [POSIX or GNU style options] [--] %cprogram%c file ...\n" msgstr "" "Penggunaan: %s[ pilihan POSIX atau gaya GNU] [--] %cprogram%c berkas ...\n" -#: main.c:723 +#: main.c:728 msgid "POSIX options:\t\tGNU long options:\n" msgstr "pilihan POSIX:\t\tpilihan panjang GNU:\n" -#: main.c:724 +#: main.c:729 msgid "\t-f progfile\t\t--file=progfile\n" msgstr "\t-f progfile\t\t--file=progfile\n" -#: main.c:725 +#: main.c:730 msgid "\t-F fs\t\t\t--field-separator=fs\n" msgstr "\t-F fs\t\t\t--field-separator=fs\n" -#: main.c:726 +#: main.c:731 msgid "\t-v var=val\t\t--assign=var=val\n" msgstr "\t-v var=val\t\t--assign=var=val\n" -#: main.c:727 +#: main.c:732 msgid "\t-m[fr] val\n" msgstr "\t-m[fr] val\n" -#: main.c:728 +#: main.c:733 msgid "\t-O\t\t\t--optimize\n" msgstr "\t-0\t\t\t--optimize\n" -#: main.c:729 +#: main.c:734 msgid "\t-W compat\t\t--compat\n" msgstr "\t-W compabilitas\t\t--compat\n" -#: main.c:730 +#: main.c:735 msgid "\t-W copyleft\t\t--copyleft\n" msgstr "\t-W copyleft\t\t--copyleft\n" -#: main.c:731 +#: main.c:736 msgid "\t-W copyright\t\t--copyright\n" msgstr "\t-W hak cipta\t\t--copyright\n" -#: main.c:732 +#: main.c:737 msgid "\t-W dump-variables[=file]\t--dump-variables[=file]\n" msgstr "\t-W tampilkan variabel[=berkas]\t--dump-variables[=berkas]\n" -#: main.c:733 +#: main.c:738 msgid "\t-W exec=file\t\t--exec=file\n" msgstr "\t-W exec=berkas\t\t--exec=berkas\n" -#: main.c:734 +#: main.c:739 msgid "\t-W gen-po\t\t--gen-po\n" msgstr "\t-W gen-po\t\t--gen-po\n" -#: main.c:735 +#: main.c:740 msgid "\t-W help\t\t\t--help\n" msgstr "\t-W bantuan\t\t\t--help\n" -#: main.c:736 +#: main.c:741 msgid "\t-W lint[=fatal]\t\t--lint[=fatal]\n" msgstr "\t-W lint[=fatal]\t\t--lint[=fatal]\n" -#: main.c:737 +#: main.c:742 msgid "\t-W lint-old\t\t--lint-old\n" msgstr "\t-W lint-old\t\t--lint-old\n" -#: main.c:738 +#: main.c:743 msgid "\t-W non-decimal-data\t--non-decimal-data\n" msgstr "\t-W non-decimal-data\t--non-decimal-data\n" -#: main.c:740 +#: main.c:745 msgid "\t-W nostalgia\t\t--nostalgia\n" msgstr "\t-W nostalgia\t\t--nostalgia\n" -#: main.c:743 +#: main.c:748 msgid "\t-W parsedebug\t\t--parsedebug\n" msgstr "\t-W parsedebug\t\t--parsedebug\n" -#: main.c:745 +#: main.c:750 msgid "\t-W profile[=file]\t--profile[=file]\n" msgstr "\t-W profile[=file]\t--profile[=file]\n" -#: main.c:746 +#: main.c:751 msgid "\t-W posix\t\t--posix\n" msgstr "\t-W posix\t\t--posix\n" -#: main.c:747 +#: main.c:752 msgid "\t-W re-interval\t\t--re-interval\n" msgstr "\t-W re-interval\t\t--re-interval\n" -#: main.c:748 +#: main.c:753 msgid "\t-W source=program-text\t--source=program-text\n" msgstr "\t-W sumber=teks-program\t--source=teks-program\n" -#: main.c:749 +#: main.c:754 msgid "\t-W traditional\t\t--traditional\n" msgstr "\t-W tradisional\t\t--traditional\n" -#: main.c:750 +#: main.c:755 msgid "\t-W usage\t\t--usage\n" msgstr "\t-W penggunaan\t\t--usage\n" -#: main.c:751 +#: main.c:756 msgid "\t-W use-lc-numeric\t--use-lc-numeric\n" msgstr "\t-W use-lc-numeric\t--use-lc-numeric\n" -#: main.c:752 +#: main.c:757 msgid "\t-W version\t\t--version\n" msgstr "\t-W versi\t\t--version\n" @@ -1626,7 +1640,7 @@ #. for this application. Please add _another line_ with the #. address for translation bugs. #. no-wrap -#: main.c:761 +#: main.c:766 msgid "" "\n" "To report bugs, see node `Bugs' in `gawk.info', which is\n" @@ -1638,7 +1652,7 @@ "daerah `Reporting Problems and Bugs' dalam versi tercetak.\n" "\n" -#: main.c:765 +#: main.c:770 msgid "" "gawk is a pattern scanning and processing language.\n" "By default it reads standard input and writes standard output.\n" @@ -1648,7 +1662,7 @@ "Secara baku ini membaca standar masukan dan menulis standa keluaran.\n" "\n" -#: main.c:769 +#: main.c:774 msgid "" "Examples:\n" "\tgawk '{ sum += $1 }; END { print sum }' file\n" @@ -1658,7 +1672,7 @@ "\tgawk '{ sum += $1 }; END { print sum }' berkas\n" "\tgawk -F: '{ print $1 }' /etc/passwd\n" -#: main.c:789 +#: main.c:794 #, c-format msgid "" "Copyright (C) 1989, 1991-%d Free Software Foundation.\n" @@ -1679,7 +1693,7 @@ "(di pilihan anda) untuk versi selanjutnya.\n" "\n" -#: main.c:797 +#: main.c:802 msgid "" "This program is distributed in the hope that it will be useful,\n" "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" @@ -1694,7 +1708,7 @@ "GNU General Public License untuk lebih lengkapnya.\n" "\n" -#: main.c:808 +#: main.c:813 msgid "" "You should have received a copy of the GNU General Public License\n" "along with this program. If not, see http://www.gnu.org/licenses/.\n" @@ -1703,11 +1717,11 @@ "bersama dengan aplikasi ini. Jika tidak, lihat http://www.gnu.org/" "licenses/.\n" -#: main.c:843 +#: main.c:848 msgid "-Ft does not set FS to tab in POSIX awk" msgstr "-Ft tidak menset FS ke tab dalam POSIX awk" -#: main.c:1117 +#: main.c:1122 #, c-format msgid "" "%s: `%s' argument to `-v' not in `var=value' form\n" @@ -1716,43 +1730,43 @@ "%s: `%s' argumen ke `-v' tidak dalam bentuk `var=value'\n" "\n" -#: main.c:1137 +#: main.c:1142 #, c-format msgid "`%s' is not a legal variable name" msgstr "`%s' bukan sebuah nama variabel legal" -#: main.c:1140 +#: main.c:1145 #, c-format msgid "`%s' is not a variable name, looking for file `%s=%s'" msgstr "`%s' bukan sebuah nama variabel, pencarian untuk berkas `%s=%s'" -#: main.c:1179 +#: main.c:1184 msgid "floating point exception" msgstr "eksepsi titik pecahan" -#: main.c:1186 +#: main.c:1191 msgid "fatal error: internal error" msgstr "fatal error: internal error" -#: main.c:1200 +#: main.c:1206 msgid "fatal error: internal error: segfault" msgstr "fatal error: internal error: segfault" -#: main.c:1212 +#: main.c:1218 msgid "fatal error: internal error: stack overflow" msgstr "fatal error: internal error: stack overflow" -#: main.c:1261 +#: main.c:1268 #, c-format msgid "no pre-opened fd %d" msgstr "tidak ada pre-opened fd %d" -#: main.c:1268 +#: main.c:1275 #, c-format msgid "could not pre-open /dev/null for fd %d" msgstr "tidak dapat pre-open /dev/null untuk fd %d" -#: main.c:1291 main.c:1300 +#: main.c:1298 main.c:1307 #, c-format msgid "could not find groups: %s" msgstr "tidak dapat menemukan grup: %s" @@ -1778,24 +1792,24 @@ msgid "can't convert string to float" msgstr "tidak dapat mengubah string ke float" -#: node.c:462 +#: node.c:465 msgid "backslash at end of string" msgstr "backslash di akhir dari string" -#: node.c:606 +#: node.c:609 #, c-format msgid "old awk does not support the `\\%c' escape sequence" msgstr "awk lama tidak mendukung escape sequence `\\%c'" -#: node.c:657 +#: node.c:660 msgid "POSIX does not allow `\\x' escapes" msgstr "POSIX tidak mengijinkan escapes `\\x'" -#: node.c:663 +#: node.c:666 msgid "no hex digits in `\\x' escape sequence" msgstr "tidak ada digit heksa dalam escape sequence `\\x'" -#: node.c:685 +#: node.c:688 #, c-format msgid "" "hex escape \\x%.*s of %d characters probably not interpreted the way you " @@ -1804,7 +1818,7 @@ "hex escape \\x%.*s dari karakter %d mungkin tidak dapat diinterpretrasikan " "seperti yang anda kira" -#: node.c:700 +#: node.c:703 #, c-format msgid "escape sequence `\\%c' treated as plain `%c'" msgstr "escape sequence `\\%c' diperlakukan sebagai plain `%c'" @@ -1814,32 +1828,31 @@ msgid "%s %s `%s': could not set close-on-exec: (fcntl: %s)" msgstr "%s %s `%s': tidak dapat menset close-on-exec: (fcntl: %s)" -#: profile.c:93 +#: profile.c:94 #, c-format msgid "could not open `%s' for writing: %s" msgstr "tidak dapat membuka `%s' untuk penulisan: %s" -#: profile.c:453 +#: profile.c:457 #, c-format msgid "internal error: %s with null vname" msgstr "internal error: %s dengan null vname" -#: profile.c:517 -#, fuzzy +#: profile.c:521 msgid "# treated internally as `delete'" -msgstr "# diperlakukan secara internal sebagai 'delete'" +msgstr "# diperlakukan secara internal sebagai `delete'" -#: profile.c:1069 +#: profile.c:1073 #, c-format msgid "# this is a dynamically loaded extension function" msgstr "# ini adalah sebuah fungsi yang secara dinamis diload ekstensi" -#: profile.c:1100 +#: profile.c:1104 #, c-format msgid "\t# gawk profile, created %s\n" msgstr "\t# gawk profile, dibuat %s\n" -#: profile.c:1103 +#: profile.c:1107 #, c-format msgid "" "\t# BEGIN block(s)\n" @@ -1848,7 +1861,7 @@ "\t # BEGIN blok\n" "\n" -#: profile.c:1113 +#: profile.c:1117 #, c-format msgid "" "\t# Rule(s)\n" @@ -1857,7 +1870,7 @@ "\t# Aturan\n" "\n" -#: profile.c:1119 +#: profile.c:1123 #, c-format msgid "" "\t# END block(s)\n" @@ -1866,7 +1879,7 @@ "\t# END blok\n" "\n" -#: profile.c:1139 +#: profile.c:1143 #, c-format msgid "" "\n" @@ -1875,87 +1888,90 @@ "\n" "\t# Fungsi, terdaftar secara alphabet\n" -#: profile.c:1400 +#: profile.c:1405 #, c-format msgid "unexpected type %s in prec_level" msgstr "tipe %s tidak terduga dalam prec_level" -#: profile.c:1500 +#: profile.c:1527 #, c-format msgid "Unknown node type %s in pp_var" msgstr "tipe titik %s dalam pp_var tidak diketahui" -#: regcomp.c:133 +#: regcomp.c:132 msgid "Success" msgstr "Sukses" -#: regcomp.c:136 +#: regcomp.c:135 msgid "No match" msgstr "Tidak cocok" -#: regcomp.c:139 +#: regcomp.c:138 msgid "Invalid regular expression" msgstr "Ekspresi regular tidak valid" -#: regcomp.c:142 +#: regcomp.c:141 msgid "Invalid collation character" msgstr "Karakter kolasi tidak valid" -#: regcomp.c:145 +#: regcomp.c:144 msgid "Invalid character class name" msgstr "nama kelas karakter tidak valid" -#: regcomp.c:148 +#: regcomp.c:147 msgid "Trailing backslash" msgstr "Akhiran backslash" -#: regcomp.c:151 +#: regcomp.c:150 msgid "Invalid back reference" msgstr "Referensi balik tidak valid" -#: regcomp.c:154 +#: regcomp.c:153 msgid "Unmatched [ or [^" msgstr "Tidak cocok [ atau [^" -#: regcomp.c:157 +#: regcomp.c:156 msgid "Unmatched ( or \\(" msgstr "Tidak cocok ( atau \\(" -#: regcomp.c:160 +#: regcomp.c:159 msgid "Unmatched \\{" msgstr "Tidak cocok \\{" -#: regcomp.c:163 +#: regcomp.c:162 msgid "Invalid content of \\{\\}" msgstr "Isi dari \\{\\} tidak valid" -#: regcomp.c:166 +#: regcomp.c:165 msgid "Invalid range end" msgstr "Akhir jangkauan tidak valid" -#: regcomp.c:169 +#: regcomp.c:168 msgid "Memory exhausted" msgstr "Kehabisan memori" -#: regcomp.c:172 +#: regcomp.c:171 msgid "Invalid preceding regular expression" msgstr "Ekspresi regular yang mengawali tidak valid" -#: regcomp.c:175 +#: regcomp.c:174 msgid "Premature end of regular expression" msgstr "Akhir dari ekspresi regular prematur" -#: regcomp.c:178 +#: regcomp.c:177 msgid "Regular expression too big" msgstr "Ekspresi regular terlalu besar" -#: regcomp.c:181 +#: regcomp.c:180 msgid "Unmatched ) or \\)" msgstr "Tidak cocok ) atau \\)" -#: regcomp.c:700 +#: regcomp.c:699 msgid "No previous regular expression" msgstr "Tidak ada ekspresi regular sebelumnya" +#~ msgid "can't open two way socket `%s' for input/output (%s)" +#~ msgstr "tidak dapat membuka socket dua arah `%s' untuk input/output (%s)" + #~ msgid "%s: illegal option -- %c\n" #~ msgstr "%s: pilihan tidak legal -- %c\n" diff -urN gawk-3.1.7/po/it.po gawk-3.1.8/po/it.po --- gawk-3.1.7/po/it.po 2009-07-21 23:23:44.000000000 +0300 +++ gawk-3.1.8/po/it.po 2010-05-06 20:57:37.000000000 +0300 @@ -1,13 +1,13 @@ # Italian messages for GNU Awk -# Copyright (C) 2002-2007 Free Software Foundation, Inc. +# Copyright (C) 2002-2010 Free Software Foundation, Inc. # Antonio Colombo . # msgid "" msgstr "" "Project-Id-Version: gawk 3.1.5h\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2009-07-21 23:23+0300\n" -"PO-Revision-Date: 2009-06-19 18:20+0100\n" +"POT-Creation-Date: 2010-05-06 20:57+0300\n" +"PO-Revision-Date: 2010-04-22 10:00+0100\n" "Last-Translator: Antonio Colombo \n" "Language-Team: Italian \n" "MIME-Version: 1.0\n" @@ -34,45 +34,45 @@ msgid "from %s" msgstr "da %s" -#: array.c:514 +#: array.c:513 #, c-format -msgid "reference to uninitialized element `%s[\"%s\"]'" -msgstr "referenza a elemento non inizializzato `%s[\"%s\"]'" +msgid "reference to uninitialized element `%s[\"%.*s\"]'" +msgstr "riferimento a elemento non inizializzato `%s[\"%.*s\"]'" -#: array.c:520 +#: array.c:519 #, c-format msgid "subscript of array `%s' is null string" msgstr "l'indice del vettore '%s' è una stringa nulla" -#: array.c:624 +#: array.c:623 #, c-format msgid "delete: index `%s' not in array `%s'" msgstr "delete: indice `%s' non presente nel vettore `%s'" -#: array.c:793 +#: array.c:792 #, c-format msgid "%s: empty (null)\n" msgstr "%s: vuoto (nullo)\n" -#: array.c:798 +#: array.c:797 #, c-format msgid "%s: empty (zero)\n" msgstr "%s: vuoto (zero)\n" -#: array.c:802 +#: array.c:801 #, c-format msgid "%s: table_size = %d, array_size = %d\n" msgstr "%s: dimensione_tabella = %d, dimensione_vettore = %d\n" -#: array.c:831 +#: array.c:830 #, c-format msgid "%s: is parameter\n" msgstr "%s: è parametro\n" -#: array.c:836 +#: array.c:835 #, c-format msgid "%s: array_ref to %s\n" -msgstr "%s: referenza_vettoriale a %s\n" +msgstr "%s: riferimento_vettoriale a %s\n" #: awkgram.y:218 #, c-format @@ -347,7 +347,7 @@ msgid "could not open `%s' for writing (%s)" msgstr "non riesco ad aprire `%s' in scrittura (%s)" -#: awkgram.y:2748 profile.c:95 +#: awkgram.y:2748 profile.c:96 msgid "sending profile to standard error" msgstr "mando profilo a 'standard error'" @@ -407,7 +407,11 @@ "funzione `%s' chiamata con spazio tra il nome e `(',\n" "o usata come variabile o vettore" -#: awkgram.y:3667 eval.c:1394 +#: awkgram.y:3664 +msgid "division by zero attempted in `/'" +msgstr "divisione per zero tentata in `/'" + +#: awkgram.y:3669 eval.c:1394 #, c-format msgid "division by zero attempted in `%%'" msgstr "divisione per zero tentata in `%%'" @@ -467,170 +471,174 @@ msgid "`length(array)' is a gawk extension" msgstr "`length(array)' è un'estensione gawk" -#: builtin.c:473 +#: builtin.c:471 +msgid "length: untyped parameter argument will be forced to scalar" +msgstr "length: il parametro omesso sarà ritenuto scalare" + +#: builtin.c:480 msgid "length: untyped argument will be forced to scalar" msgstr "length: l'argomento omesso sarà ritenuto scalare" -#: builtin.c:477 +#: builtin.c:484 msgid "length: received non-string argument" msgstr "length: l'argomento non è una stringa" -#: builtin.c:508 +#: builtin.c:515 msgid "log: received non-numeric argument" msgstr "log: argomento non numerico" -#: builtin.c:511 +#: builtin.c:518 #, c-format msgid "log: received negative argument %g" msgstr "log: argomento negativo %g" -#: builtin.c:719 builtin.c:722 +#: builtin.c:726 builtin.c:729 msgid "must use `count$' on all formats or none" msgstr "'count$' va usato per tutti i formati o per nessuno" -#: builtin.c:783 +#: builtin.c:790 #, c-format msgid "field width is ignored for `%%%%' specifier" msgstr "larghezza campo ignorata per lo specificatore `%%%%'" -#: builtin.c:785 +#: builtin.c:792 #, c-format msgid "precision is ignored for `%%%%' specifier" msgstr "precisione ignorata per lo specificatore `%%%%'" -#: builtin.c:787 +#: builtin.c:794 #, c-format msgid "field width and precision are ignored for `%%%%' specifier" msgstr "larghezza e precisione ignorate per lo specificatore `%%%%'" -#: builtin.c:838 +#: builtin.c:845 msgid "`$' is not permitted in awk formats" msgstr "`$' non permesso nei 'format' awk" -#: builtin.c:844 +#: builtin.c:851 msgid "arg count with `$' must be > 0" msgstr "il numero di argomento con `$' deve essere > 0" -#: builtin.c:846 +#: builtin.c:853 #, c-format msgid "arg count %ld greater than total number of supplied arguments" msgstr "" "numero di argomenti (%ld) maggiore del numero totale di argomenti specificati" -#: builtin.c:848 +#: builtin.c:855 msgid "`$' not permitted after period in format" msgstr "`$' non permesso dopo un punto nel 'format'" -#: builtin.c:861 +#: builtin.c:868 msgid "no `$' supplied for positional field width or precision" msgstr "" "nessun `$' specificato per larghezza o precisione di un campo posizionale" -#: builtin.c:927 +#: builtin.c:938 msgid "`l' is meaningless in awk formats; ignored" msgstr "`l' non ha senso nei 'format' awk; ignorata" -#: builtin.c:931 +#: builtin.c:942 msgid "`l' is not permitted in POSIX awk formats" msgstr "`l' non permessa nei 'format' awk POSIX" -#: builtin.c:942 +#: builtin.c:953 msgid "`L' is meaningless in awk formats; ignored" msgstr "`L' non ha senso nei 'format' awk; ignorata" -#: builtin.c:946 +#: builtin.c:957 msgid "`L' is not permitted in POSIX awk formats" msgstr "`L' non permessa nei 'format' awk POSIX" -#: builtin.c:957 +#: builtin.c:968 msgid "`h' is meaningless in awk formats; ignored" msgstr "`h' non ha senso nei 'format' awk; ignorata" -#: builtin.c:961 +#: builtin.c:972 msgid "`h' is not permitted in POSIX awk formats" msgstr "`h' non permessa nei 'format' awk POSIX" -#: builtin.c:1236 +#: builtin.c:1252 #, c-format msgid "[s]printf: value %g is out of range for `%%%c' format" msgstr "[s]printf: valore %g non accettabile per il 'format' `%%%c'" -#: builtin.c:1316 +#: builtin.c:1332 #, c-format msgid "ignoring unknown format specifier character `%c': no argument converted" msgstr "" "lettera ignota di specifica 'format' `%c' ignorato: nessun argomento " "convertito" -#: builtin.c:1322 +#: builtin.c:1338 msgid "not enough arguments to satisfy format string" msgstr "mancano argomenti per completare il 'format'" -#: builtin.c:1324 +#: builtin.c:1340 msgid "^ ran out for this one" msgstr "^ uscito per questo" -#: builtin.c:1330 +#: builtin.c:1346 msgid "[s]printf: format specifier does not have control letter" msgstr "[s]printf: il designatore di 'format' non ha una lettera di controllo" -#: builtin.c:1333 +#: builtin.c:1349 msgid "too many arguments supplied for format string" msgstr "troppi argomenti specificati per il 'format'" -#: builtin.c:1408 builtin.c:1411 +#: builtin.c:1424 builtin.c:1427 msgid "printf: no arguments" msgstr "printf: manca argomento" -#: builtin.c:1435 +#: builtin.c:1451 msgid "sqrt: received non-numeric argument" msgstr "sqrt: argomento non numerico" -#: builtin.c:1439 +#: builtin.c:1455 #, c-format msgid "sqrt: called with negative argument %g" msgstr "sqrt: chiamata con argomento negativo %g" -#: builtin.c:1463 +#: builtin.c:1479 #, c-format msgid "substr: start index %g is invalid, using 1" msgstr "substr: indice di partenza %g non valido, uso 1" -#: builtin.c:1468 +#: builtin.c:1484 #, c-format msgid "substr: non-integer start index %g will be truncated" msgstr "substr: indice di partenza non intero %g: sarà troncato" -#: builtin.c:1494 +#: builtin.c:1510 #, c-format msgid "substr: length %g is not >= 1" msgstr "substr: lunghezza %g non >= 1" -#: builtin.c:1496 +#: builtin.c:1512 #, c-format msgid "substr: length %g is not >= 0" msgstr "substr: lunghezza %g non >= 0" -#: builtin.c:1503 +#: builtin.c:1519 #, c-format msgid "substr: non-integer length %g will be truncated" msgstr "substr: lunghezza non intera %g: sarà truncata" -#: builtin.c:1508 +#: builtin.c:1524 #, c-format msgid "substr: length %g too big for string indexing, truncating to %g" msgstr "substr: lunghezza %g troppo elevata per indice stringa, tronco a %g" -#: builtin.c:1520 +#: builtin.c:1536 msgid "substr: source string is zero length" msgstr "substr: stringa di partenza lunga zero" -#: builtin.c:1536 +#: builtin.c:1552 #, c-format msgid "substr: start index %g is past end of string" msgstr "substr: indice di partenza %g oltre la fine della stringa" -#: builtin.c:1544 +#: builtin.c:1560 #, c-format msgid "" "substr: length %g at start index %g exceeds length of first argument (%lu)" @@ -638,182 +646,186 @@ "substr: lunghezza %g all'indice di partenza %g supera la lunghezza del primo " "argomento (%lu)" -#: builtin.c:1621 +#: builtin.c:1637 msgid "strftime: received non-string first argument" msgstr "strftime: il primo argomento non è una stringa" -#: builtin.c:1627 +#: builtin.c:1643 msgid "strftime: received empty format string" msgstr "strftime: 'format' è una stringa nulla" -#: builtin.c:1636 +#: builtin.c:1652 msgid "strftime: received non-numeric second argument" msgstr "strftime: il secondo argomento non è numerico" -#: builtin.c:1713 +#: builtin.c:1729 msgid "mktime: received non-string argument" msgstr "mktime: l'argomento non è una stringa" -#: builtin.c:1758 +#: builtin.c:1746 +msgid "mktime: at least one of the values is out of the default range" +msgstr "" + +#: builtin.c:1783 msgid "system: received non-string argument" msgstr "system: l'argomento non è una stringa" -#: builtin.c:1879 eval.c:2145 +#: builtin.c:1904 eval.c:2157 #, c-format msgid "reference to uninitialized field `$%d'" -msgstr "referenza a variabile non inizializzata `$%d'" +msgstr "riferimento a variabile non inizializzata `$%d'" -#: builtin.c:1984 +#: builtin.c:2009 msgid "tolower: received non-string argument" msgstr "tolower: l'argomento non è una stringa" -#: builtin.c:2014 +#: builtin.c:2039 msgid "toupper: received non-string argument" msgstr "toupper: l'argomento non è una stringa" -#: builtin.c:2047 +#: builtin.c:2072 msgid "atan2: received non-numeric first argument" msgstr "atan2: il primo argomento non è numerico" -#: builtin.c:2049 +#: builtin.c:2074 msgid "atan2: received non-numeric second argument" msgstr "atan2: il secondo argomento non è numerico" -#: builtin.c:2068 +#: builtin.c:2093 msgid "sin: received non-numeric argument" msgstr "sin: l'argomento non è numerico" -#: builtin.c:2084 +#: builtin.c:2109 msgid "cos: received non-numeric argument" msgstr "cos: l'argomento non è numerico" -#: builtin.c:2137 +#: builtin.c:2162 msgid "srand: received non-numeric argument" msgstr "srand: l'argomento non è numerico" -#: builtin.c:2172 +#: builtin.c:2197 msgid "match: third argument is not an array" msgstr "match: il terzo argomento non è un vettore" -#: builtin.c:2719 +#: builtin.c:2744 msgid "gensub: third argument of 0 treated as 1" msgstr "gensub: il terzo argomento è 0, trattato come 1" -#: builtin.c:2835 +#: builtin.c:2860 msgid "lshift: received non-numeric first argument" msgstr "lshift: il primo argomento non è numerico" -#: builtin.c:2837 +#: builtin.c:2862 msgid "lshift: received non-numeric second argument" msgstr "lshift: il secondo argomento non è numerico" -#: builtin.c:2843 +#: builtin.c:2868 #, c-format msgid "lshift(%lf, %lf): negative values will give strange results" msgstr "lshift(%lf, %lf): valori negativi daranno risultati strani" -#: builtin.c:2845 +#: builtin.c:2870 #, c-format msgid "lshift(%lf, %lf): fractional values will be truncated" msgstr "lshift(%lf, %lf): valori con decimali verranno troncati" -#: builtin.c:2847 +#: builtin.c:2872 #, c-format msgid "lshift(%lf, %lf): too large shift value will give strange results" msgstr "lshift(%lf, %lf): valori troppo alti daranno risultati strani" -#: builtin.c:2873 +#: builtin.c:2898 msgid "rshift: received non-numeric first argument" msgstr "rshift: il primo argomento non è numerico" -#: builtin.c:2875 +#: builtin.c:2900 msgid "rshift: received non-numeric second argument" msgstr "rshift: il secondo argomento non è numerico" -#: builtin.c:2881 +#: builtin.c:2906 #, c-format msgid "rshift(%lf, %lf): negative values will give strange results" msgstr "rshift(%lf, %lf): valori negativi daranno risultati strani" -#: builtin.c:2883 +#: builtin.c:2908 #, c-format msgid "rshift(%lf, %lf): fractional values will be truncated" msgstr "rshift(%lf, %lf): valori con decimali verranno troncati" -#: builtin.c:2885 +#: builtin.c:2910 #, c-format msgid "rshift(%lf, %lf): too large shift value will give strange results" msgstr "rshift(%lf, %lf): valori troppo alti daranno risultati strani" -#: builtin.c:2911 +#: builtin.c:2936 msgid "and: received non-numeric first argument" msgstr "and: il primo argomento non è numerico" -#: builtin.c:2913 +#: builtin.c:2938 msgid "and: received non-numeric second argument" msgstr "and: il secondo argomento non è numerico" -#: builtin.c:2919 +#: builtin.c:2944 #, c-format msgid "and(%lf, %lf): negative values will give strange results" msgstr "and(%lf, %lf): valori negativi daranno risultati strani" -#: builtin.c:2921 +#: builtin.c:2946 #, c-format msgid "and(%lf, %lf): fractional values will be truncated" msgstr "and(%lf, %lf): valori con decimali verranno troncati" -#: builtin.c:2947 +#: builtin.c:2972 msgid "or: received non-numeric first argument" msgstr "or: il primo argomento non è numerico" -#: builtin.c:2949 +#: builtin.c:2974 msgid "or: received non-numeric second argument" msgstr "or: il secondo argomento non è numerico" -#: builtin.c:2955 +#: builtin.c:2980 #, c-format msgid "or(%lf, %lf): negative values will give strange results" msgstr "or(%lf, %lf): valori negativi daranno risultati strani" -#: builtin.c:2957 +#: builtin.c:2982 #, c-format msgid "or(%lf, %lf): fractional values will be truncated" msgstr "or(%lf, %lf): valori con decimali verranno troncati" -#: builtin.c:2983 +#: builtin.c:3008 msgid "xor: received non-numeric first argument" msgstr "xor: il primo argomento non è numerico" -#: builtin.c:2985 +#: builtin.c:3010 msgid "xor: received non-numeric second argument" msgstr "xor: il secondo argomento non è numerico" -#: builtin.c:2991 +#: builtin.c:3016 #, c-format msgid "xor(%lf, %lf): negative values will give strange results" msgstr "xor(%lf, %lf): valori negativi daranno risultati strani" -#: builtin.c:2993 +#: builtin.c:3018 #, c-format msgid "xor(%lf, %lf): fractional values will be truncated" msgstr "xor(%lf, %lf): valori con decimali verranno troncati" -#: builtin.c:3017 +#: builtin.c:3042 msgid "compl: received non-numeric argument" msgstr "compl: l'argomento non è numerico" -#: builtin.c:3023 +#: builtin.c:3048 #, c-format msgid "compl(%lf): negative value will give strange results" msgstr "compl(%lf): valore negativo darà risultati strani" -#: builtin.c:3025 +#: builtin.c:3050 #, c-format msgid "compl(%lf): fractional value will be truncated" msgstr "compl(%lf): valore con decimali verrà troncato" -#: builtin.c:3198 +#: builtin.c:3223 #, c-format msgid "dcgettext: `%s' is not a valid locale category" msgstr "dcgettext: `%s' non è una categoria 'locale' valida" @@ -827,7 +839,7 @@ msgid "buffer overflow in genflags2str" msgstr "superament limiti buffer in 'genflags2str'" -#: eval.c:454 eval.c:460 profile.c:781 +#: eval.c:454 eval.c:460 profile.c:785 #, c-format msgid "attempt to use array `%s' in a scalar context" msgstr "tentativo di usare vettore `%s' in un contesto scalare" @@ -875,7 +887,7 @@ msgid "statement has no effect" msgstr "istruzione che non fa nulla" -#: eval.c:1029 eval.c:1999 +#: eval.c:1029 eval.c:2011 #, c-format msgid "can't use function name `%s' as variable or array" msgstr "non posso usare nome di funzione `%s' come variabile o vettore" @@ -883,12 +895,12 @@ #: eval.c:1036 eval.c:1042 #, c-format msgid "reference to uninitialized argument `%s'" -msgstr "referenza ad argomento non inizializzato `%s'" +msgstr "riferimento ad argomento non inizializzato `%s'" -#: eval.c:1051 eval.c:2008 +#: eval.c:1051 eval.c:2020 #, c-format msgid "reference to uninitialized variable `%s'" -msgstr "referenza a variabile non inizializzata `%s'" +msgstr "riferimento a variabile non inizializzata `%s'" #: eval.c:1197 msgid "" @@ -906,7 +918,7 @@ msgid "division by zero attempted" msgstr "tentativo di dividere per zero" -#: eval.c:1409 profile.c:657 +#: eval.c:1409 profile.c:661 #, c-format msgid "illegal type (%s) in tree_eval" msgstr "tipo non ammesso (%s) in 'tree_eval'" @@ -920,17 +932,17 @@ msgid "division by zero attempted in `%%='" msgstr "divisione per zero tentata in `%%='" -#: eval.c:1859 +#: eval.c:1871 #, c-format msgid "function `%s' called with more arguments than declared" msgstr "funzione `%s' chiamata con più argomenti di quelli previsti" -#: eval.c:1904 +#: eval.c:1916 #, c-format msgid "function `%s' not defined" msgstr "funzione `%s' non definita" -#: eval.c:1971 +#: eval.c:1983 #, c-format msgid "" "\n" @@ -941,47 +953,47 @@ "\t# 'Stack' (Pila) Chiamate Funzione:\n" "\n" -#: eval.c:1974 +#: eval.c:1986 #, c-format msgid "\t# -- main --\n" msgstr "\t# -- principale --\n" -#: eval.c:2129 +#: eval.c:2141 msgid "attempt to field reference from non-numeric value" msgstr "tentativo di referenziare campo da valore non numerico" -#: eval.c:2131 +#: eval.c:2143 msgid "attempt to reference from null string" msgstr "tentativo to referenziare da stringa nulla" -#: eval.c:2137 +#: eval.c:2149 #, c-format msgid "attempt to access field %d" msgstr "tentativo di accedere al campo %d" -#: eval.c:2158 eval.c:2165 profile.c:836 +#: eval.c:2170 eval.c:2177 profile.c:840 msgid "assignment is not allowed to result of builtin function" msgstr "assegnamento non permesso al risultato di una funzione interna" -#: eval.c:2229 +#: eval.c:2241 msgid "`IGNORECASE' is a gawk extension" msgstr "`IGNORECASE' è un'estensione gawk" -#: eval.c:2258 +#: eval.c:2270 msgid "`BINMODE' is a gawk extension" msgstr "`BINMODE' è un'estensione gawk" -#: eval.c:2316 +#: eval.c:2328 #, c-format msgid "BINMODE value `%s' is invalid, treated as 3" msgstr "valore di BINMODE `%s' non valido, considerato come 3" -#: eval.c:2406 +#: eval.c:2418 #, c-format msgid "bad `%sFMT' specification `%s'" msgstr "specificazione invalida `%sFMT' `%s'" -#: eval.c:2484 +#: eval.c:2496 msgid "turning off `--lint' due to assignment to `LINT'" msgstr "disabilito `--lint' a causa di assegnamento a `LINT'" @@ -1083,56 +1095,61 @@ msgid "old awk does not support regexps as value of `FS'" msgstr "il vecchio awk non supporta espressioni come valori di `FS'" -#: getopt.c:570 getopt.c:586 +#: getopt.c:574 getopt.c:590 #, c-format msgid "%s: option '%s' is ambiguous\n" msgstr "%s: opzione '%s' ambigua\n" -#: getopt.c:619 getopt.c:623 +#: getopt.c:623 getopt.c:627 #, c-format msgid "%s: option '--%s' doesn't allow an argument\n" msgstr "%s: l'opzione '--%s' non ammette un argomento\n" -#: getopt.c:632 getopt.c:637 +#: getopt.c:636 getopt.c:641 #, c-format msgid "%s: option '%c%s' doesn't allow an argument\n" msgstr "%s: l'opzione '%c%s' non ammette un argomento\n" -#: getopt.c:680 getopt.c:699 getopt.c:1002 getopt.c:1021 +#: getopt.c:684 getopt.c:703 #, c-format -msgid "%s: option '%s' requires an argument\n" -msgstr "%s: l'opzione '%s' richiede un argomento\n" +msgid "%s: option '--%s' requires an argument\n" +msgstr "%s: l'opzione '--%s' richiede un argomento\n" -#: getopt.c:737 getopt.c:740 +#: getopt.c:741 getopt.c:744 #, c-format msgid "%s: unrecognized option '--%s'\n" msgstr "%s: opzione sconosciuta '--%s'\n" -#: getopt.c:748 getopt.c:751 +#: getopt.c:752 getopt.c:755 #, c-format msgid "%s: unrecognized option '%c%s'\n" msgstr "%s: opzione sconosciuta '%c%s'\n" -#: getopt.c:800 getopt.c:803 +#: getopt.c:804 getopt.c:807 #, c-format msgid "%s: invalid option -- '%c'\n" msgstr "%s: opzione non valida -- '%c'\n" -#: getopt.c:853 getopt.c:870 getopt.c:1073 getopt.c:1091 +#: getopt.c:857 getopt.c:874 getopt.c:1082 getopt.c:1100 #, c-format msgid "%s: option requires an argument -- '%c'\n" msgstr "%s: l'opzione richiede un argomento -- '%c'\n" -#: getopt.c:923 getopt.c:939 +#: getopt.c:930 getopt.c:946 #, c-format msgid "%s: option '-W %s' is ambiguous\n" msgstr "%s: l'opzione '-W %s' è ambigua\n" -#: getopt.c:963 getopt.c:981 +#: getopt.c:970 getopt.c:988 #, c-format msgid "%s: option '-W %s' doesn't allow an argument\n" msgstr "%s: l'opzione '-W %s' non ammette un argomento\n" +#: getopt.c:1009 getopt.c:1027 +#, c-format +msgid "%s: option '-W %s' requires an argument\n" +msgstr "%s: l'opzione '-W %s' richiede un argomento\n" + #: io.c:322 io.c:352 #, c-format msgid "cannot open file `%s' for reading (%s)" @@ -1180,441 +1197,435 @@ msgid "can't open pipe `%s' for input (%s)" msgstr "non posso aprire 'pipe' `%s' in lettura (%s)" -#: io.c:712 -#, c-format -msgid "can't open two way socket `%s' for input/output (%s)" -msgstr "" -"non posso aprire 'socket' bidirezionale `%s' per lettura/scrittura (%s)" - -#: io.c:716 +#: io.c:717 #, c-format msgid "can't open two way pipe `%s' for input/output (%s)" msgstr "non posso aprire 'pipe' bidirezionale `%s' per lettura/scrittura (%s)" -#: io.c:793 +#: io.c:795 #, c-format msgid "can't redirect from `%s' (%s)" msgstr "non posso re-dirigere da `%s' (%s)" -#: io.c:796 +#: io.c:798 #, c-format msgid "can't redirect to `%s' (%s)" msgstr "non posso re-dirigere a `%s' (%s)" -#: io.c:849 +#: io.c:851 msgid "" "reached system limit for open files: starting to multiplex file descriptors" msgstr "" "numero massimo consentito di file aperti raggiunto: comincio a riutilizzare " "i descrittori di file" -#: io.c:865 +#: io.c:867 #, c-format msgid "close of `%s' failed (%s)." msgstr "chiusura di `%s' fallita (%s)." -#: io.c:873 +#: io.c:875 msgid "too many pipes or input files open" msgstr "troppe 'pipe' o file di input aperti" -#: io.c:896 +#: io.c:898 msgid "close: second argument must be `to' or `from'" msgstr "close: il secondo argomento deve essere `a' o `da'" -#: io.c:910 +#: io.c:912 #, c-format msgid "close: `%.*s' is not an open file, pipe or co-process" msgstr "close: `%.*s' non è un file aperto, una 'pipe' o un co-processo" -#: io.c:915 +#: io.c:917 msgid "close of redirection that was never opened" msgstr "chiusura di una re-direzione mai aperta" -#: io.c:1012 +#: io.c:1014 #, c-format msgid "close: redirection `%s' not opened with `|&', second argument ignored" msgstr "close: re-direzione `%s' non aperta con `|&', ignoro secondo argomento" -#: io.c:1028 +#: io.c:1030 #, c-format msgid "failure status (%d) on pipe close of `%s' (%s)" msgstr "errore ritornato (%d) dalla chiusura della 'pipe' `%s' (%s)" -#: io.c:1031 +#: io.c:1033 #, c-format msgid "failure status (%d) on file close of `%s' (%s)" msgstr "errore ritornato (%d) dalla chiusura del file `%s' (%s)" -#: io.c:1051 +#: io.c:1053 #, c-format msgid "no explicit close of socket `%s' provided" msgstr "nessuna chiusura esplicita richiesta per 'socket' `%s'" -#: io.c:1054 +#: io.c:1056 #, c-format msgid "no explicit close of co-process `%s' provided" msgstr "nessuna chiusura esplicita richiesta per co-processo `%s'" -#: io.c:1057 +#: io.c:1059 #, c-format msgid "no explicit close of pipe `%s' provided" msgstr "nessuna chiusura esplicita richiesta per 'pipe' `%s'" -#: io.c:1060 +#: io.c:1062 #, c-format msgid "no explicit close of file `%s' provided" msgstr "nessuna chiusura esplicita richiesta per file `%s'" -#: io.c:1088 io.c:1143 main.c:776 main.c:818 +#: io.c:1090 io.c:1145 main.c:781 main.c:823 #, c-format msgid "error writing standard output (%s)" msgstr "errore scrivendo 'standard output' (%s)" -#: io.c:1092 io.c:1148 +#: io.c:1094 io.c:1150 #, c-format msgid "error writing standard error (%s)" msgstr "errore scrivendo 'standard error' (%s)" -#: io.c:1100 +#: io.c:1102 #, c-format msgid "pipe flush of `%s' failed (%s)." msgstr "scaricamento di 'pipe' `%s' fallita (%s)." -#: io.c:1103 +#: io.c:1105 #, c-format msgid "co-process flush of pipe to `%s' failed (%s)." msgstr "scaricamento da co-processo di 'pipe' a `%s' fallita (%s)." -#: io.c:1106 +#: io.c:1108 #, c-format msgid "file flush of `%s' failed (%s)." msgstr "scaricamento di file `%s' fallita (%s)." -#: io.c:1220 +#: io.c:1222 #, c-format msgid "local port %s invalid in `/inet'" msgstr "porta locale %s invalida in `/inet'" -#: io.c:1237 +#: io.c:1239 #, c-format msgid "remote host and port information (%s, %s) invalid" msgstr "host remoto e informazione di porta (%s, %s) invalidi" -#: io.c:1272 +#: io.c:1274 msgid "/inet/raw client not ready yet, sorry" msgstr "spiacente, 'client' /inet/raw non ancora pronto" -#: io.c:1275 io.c:1311 +#: io.c:1277 io.c:1313 msgid "only root may use `/inet/raw'." msgstr "solo root può usare `/inet/raw'." -#: io.c:1309 +#: io.c:1311 msgid "/inet/raw server not ready yet, sorry" msgstr "spiacente, 'server' /inet/raw non ancora pronto" -#: io.c:1407 +#: io.c:1409 #, c-format msgid "no (known) protocol supplied in special filename `%s'" msgstr "nessuno protocollo (conosciuto) specificato nel filename speciale `%s'" -#: io.c:1421 +#: io.c:1423 #, c-format msgid "special file name `%s' is incomplete" msgstr "nome file speciale `%s' incompleto" -#: io.c:1436 +#: io.c:1438 msgid "must supply a remote hostname to `/inet'" msgstr "va fornito nome di 'host' remoto a `/inet'" -#: io.c:1454 +#: io.c:1456 msgid "must supply a remote port to `/inet'" msgstr "va fornita porta remota a `/inet'" -#: io.c:1485 +#: io.c:1502 msgid "TCP/IP communications are not supported" msgstr "comunicazioni TCP/IP non supportate" -#: io.c:1494 +#: io.c:1511 #, c-format msgid "file `%s' is a directory" msgstr "file `%s' è una 'directory'" -#: io.c:1555 +#: io.c:1572 #, c-format msgid "use `PROCINFO[\"%s\"]' instead of `%s'" msgstr "usa `PROCINFO[\"%s\"]' invece che `%s'" -#: io.c:1593 +#: io.c:1610 msgid "use `PROCINFO[...]' instead of `/dev/user'" msgstr "usa `PROCINFO[...]' invece che `/dev/user'" -#: io.c:1658 io.c:1853 +#: io.c:1675 io.c:1872 #, c-format msgid "could not open `%s', mode `%s'" msgstr "non riesco ad aprire `%s', modo `%s'" -#: io.c:1904 +#: io.c:1923 #, c-format msgid "close of master pty failed (%s)" msgstr "fallita chiusura di 'pty' principale (%s)" -#: io.c:1906 io.c:2058 io.c:2209 +#: io.c:1925 io.c:2077 io.c:2228 #, c-format msgid "close of stdout in child failed (%s)" msgstr "fallita chiusura di 'stdout' nel processo-figlio (%s)" -#: io.c:1909 +#: io.c:1928 #, c-format msgid "moving slave pty to stdout in child failed (dup: %s)" msgstr "" "fallito trasferimento di 'pty' secondaria a 'stdout' nel processo-figlio " "(dup: %s)" -#: io.c:1911 io.c:2063 +#: io.c:1930 io.c:2082 #, c-format msgid "close of stdin in child failed (%s)" msgstr "fallita chiusura di 'stdin' nel processo-figlio (%s)" -#: io.c:1914 +#: io.c:1933 #, c-format msgid "moving slave pty to stdin in child failed (dup: %s)" msgstr "" "fallito trasferimento di 'pty' secondaria a 'stdin' nel processo-figlio " "(dup: %s)" -#: io.c:1916 io.c:1935 +#: io.c:1935 io.c:1954 #, c-format msgid "close of slave pty failed (%s)" msgstr "fallita chiusura di 'pty' secondaria (%s)" -#: io.c:2009 io.c:2061 io.c:2190 io.c:2212 +#: io.c:2028 io.c:2080 io.c:2209 io.c:2231 #, c-format msgid "moving pipe to stdout in child failed (dup: %s)" msgstr "fallito passaggio di 'pipe' a 'stdout' nel processo-figlio (dup: %s)" -#: io.c:2013 io.c:2066 +#: io.c:2032 io.c:2085 #, c-format msgid "moving pipe to stdin in child failed (dup: %s)" msgstr "fallito passaggio di pipe a 'stdin' nel processo-figlio (dup: %s)" -#: io.c:2030 io.c:2203 +#: io.c:2049 io.c:2222 msgid "restoring stdout in parent process failed\n" msgstr "fallito ripristino di 'stdout' nel processo-padre\n" -#: io.c:2035 +#: io.c:2054 msgid "restoring stdin in parent process failed\n" msgstr "fallito ripristino di 'stdin' nel processo-padre\n" -#: io.c:2069 io.c:2214 io.c:2225 +#: io.c:2088 io.c:2233 io.c:2244 #, c-format msgid "close of pipe failed (%s)" msgstr "fallita chiusura di 'pipe' (%s)" -#: io.c:2114 +#: io.c:2133 msgid "`|&' not supported" msgstr "`|&' non supportato" -#: io.c:2180 +#: io.c:2199 #, c-format msgid "cannot open pipe `%s' (%s)" msgstr "non riesco ad aprire 'pipe' `%s' (%s)" -#: io.c:2221 +#: io.c:2240 #, c-format msgid "cannot create child process for `%s' (fork: %s)" msgstr "non riesco a creare processo-figlio per `%s' (fork: %s)" -#: io.c:2603 +#: io.c:2622 #, c-format msgid "data file `%s' is empty" msgstr "file dati `%s' vuoto" -#: io.c:2644 io.c:2652 +#: io.c:2663 io.c:2671 msgid "could not allocate more input memory" msgstr "non riesco ad allocare ulteriore memoria per l'input" -#: io.c:3020 io.c:3093 +#: io.c:3039 io.c:3112 #, c-format msgid "error reading input file `%s': %s" msgstr "errore leggendo file di input `%s': %s" -#: io.c:3218 +#: io.c:3237 msgid "multicharacter value of `RS' is a gawk extension" msgstr "valore multicarattere per `RS' è un'estensione gawk" -#: main.c:304 +#: main.c:306 msgid "out of memory" msgstr "memoria esaurita" -#: main.c:373 +#: main.c:374 msgid "`-m[fr]' option irrelevant in gawk" msgstr "`-m[fr]' opzione irrilevante per gawk" -#: main.c:375 +#: main.c:376 msgid "-m option usage: `-m[fr] nnn'" msgstr "-m uso opzione: `-m[fr] nnn'" -#: main.c:392 +#: main.c:393 #, c-format msgid "%s: option `-W %s' unrecognized, ignored\n" msgstr "%s: opzione `-W %s' non riconosciuta, ignorata\n" -#: main.c:433 +#: main.c:434 msgid "empty argument to `--source' ignored" msgstr "argomento di `--source' mancante, comando ignorato" -#: main.c:487 +#: main.c:488 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: l'opzione richiede un argomento -- %c\n" -#: main.c:506 +#: main.c:509 msgid "environment variable `POSIXLY_CORRECT' set: turning on `--posix'" msgstr "variable d'ambiente `POSIXLY_CORRECT' impostata: attivo `--posix'" -#: main.c:512 +#: main.c:515 msgid "`--posix' overrides `--traditional'" msgstr "`--posix' annulla `--traditional'" -#: main.c:523 +#: main.c:526 msgid "`--posix'/`--traditional' overrides `--non-decimal-data'" msgstr "`--posix'/`--traditional' annulla `--non-decimal-data'" -#: main.c:527 +#: main.c:530 #, c-format msgid "running %s setuid root may be a security problem" msgstr "eseguire %s con 'setuid' root può essere un rischio per la sicurezza" -#: main.c:568 +#: main.c:571 #, c-format msgid "can't set binary mode on stdin (%s)" msgstr "non posso impostare modalità binaria su 'stdin'(%s)" -#: main.c:571 +#: main.c:574 #, c-format msgid "can't set binary mode on stdout (%s)" msgstr "non posso impostare modalità binaria su 'stdout'(%s)" -#: main.c:573 +#: main.c:576 #, c-format msgid "can't set binary mode on stderr (%s)" msgstr "non posso impostare modalità binaria su 'stderr'(%s)" -#: main.c:612 +#: main.c:617 msgid "no program text at all!" msgstr "manca del tutto il testo del programma!" -#: main.c:716 +#: main.c:721 #, c-format msgid "Usage: %s [POSIX or GNU style options] -f progfile [--] file ...\n" msgstr "Uso: %s [opzioni in stile POSIX o GNU] -f fileprog [--] file ...\n" -#: main.c:718 +#: main.c:723 #, c-format msgid "Usage: %s [POSIX or GNU style options] [--] %cprogram%c file ...\n" msgstr "Usage: %s [opzioni in stile POSIX o GNU] [--] %cprogramma%c file ...\n" -#: main.c:723 +#: main.c:728 msgid "POSIX options:\t\tGNU long options:\n" msgstr "Opzioni POSIX:\t\topzioni lunghe GNU:\n" -#: main.c:724 +#: main.c:729 msgid "\t-f progfile\t\t--file=progfile\n" msgstr "\t-f fileprog\t\t--file=fileprog\n" -#: main.c:725 +#: main.c:730 msgid "\t-F fs\t\t\t--field-separator=fs\n" msgstr "\t-F fs\t\t\t--field-separator=fs\n" -#: main.c:726 +#: main.c:731 msgid "\t-v var=val\t\t--assign=var=val\n" msgstr "\t-v var=valore\t\t--assign=var=valore\n" -#: main.c:727 +#: main.c:732 msgid "\t-m[fr] val\n" msgstr "\t-m[fr] valore\n" -#: main.c:728 +#: main.c:733 msgid "\t-O\t\t\t--optimize\n" msgstr "\t-O\t\t\t--optimize\n" -#: main.c:729 +#: main.c:734 msgid "\t-W compat\t\t--compat\n" msgstr "\t-W compat\t\t--compat\n" -#: main.c:730 +#: main.c:735 msgid "\t-W copyleft\t\t--copyleft\n" msgstr "\t-W copyleft\t\t--copyleft\n" -#: main.c:731 +#: main.c:736 msgid "\t-W copyright\t\t--copyright\n" msgstr "\t-W copyright\t\t--copyright\n" -#: main.c:732 +#: main.c:737 msgid "\t-W dump-variables[=file]\t--dump-variables[=file]\n" msgstr "\t-W dump-variables[=file]\t--dump-variables[=file]\n" -#: main.c:733 +#: main.c:738 msgid "\t-W exec=file\t\t--exec=file\n" msgstr "\t-W exec[=file]\t--exec[=file]\n" -#: main.c:734 +#: main.c:739 msgid "\t-W gen-po\t\t--gen-po\n" msgstr "\t-W gen-po\t\t--gen-po\n" -#: main.c:735 +#: main.c:740 msgid "\t-W help\t\t\t--help\n" msgstr "\t-W help\t\t\t--help\n" -#: main.c:736 +#: main.c:741 msgid "\t-W lint[=fatal]\t\t--lint[=fatal]\n" msgstr "\t-W lint[=fatal]\t\t--lint[=fatal]\n" -#: main.c:737 +#: main.c:742 msgid "\t-W lint-old\t\t--lint-old\n" msgstr "\t-W lint-old\t\t--lint-old\n" -#: main.c:738 +#: main.c:743 msgid "\t-W non-decimal-data\t--non-decimal-data\n" msgstr "\t-W non-decimal-data\t--non-decimal-data\n" -#: main.c:740 +#: main.c:745 msgid "\t-W nostalgia\t\t--nostalgia\n" msgstr "\t-W nostalgia\t\t--nostalgia\n" -#: main.c:743 +#: main.c:748 msgid "\t-W parsedebug\t\t--parsedebug\n" msgstr "\t-W parsedebug\t\t--parsedebug\n" -#: main.c:745 +#: main.c:750 msgid "\t-W profile[=file]\t--profile[=file]\n" msgstr "\t-W profile[=file]\t--profile[=file]\n" -#: main.c:746 +#: main.c:751 msgid "\t-W posix\t\t--posix\n" msgstr "\t-W posix\t\t--posix\n" -#: main.c:747 +#: main.c:752 msgid "\t-W re-interval\t\t--re-interval\n" msgstr "\t-W re-interval\t\t--re-interval\n" -#: main.c:748 +#: main.c:753 msgid "\t-W source=program-text\t--source=program-text\n" msgstr "\t-W source=testo-programma\t--source=testo-programma\n" -#: main.c:749 +#: main.c:754 msgid "\t-W traditional\t\t--traditional\n" msgstr "\t-W traditional\t\t--traditional\n" -#: main.c:750 +#: main.c:755 msgid "\t-W usage\t\t--usage\n" msgstr "\t-W usage\t\t--usage\n" -#: main.c:751 +#: main.c:756 msgid "\t-W use-lc-numeric\t--use-lc-numeric\n" msgstr "\t-W use-lc-numeric\t--use-lc-numeric\n" -#: main.c:752 +#: main.c:757 msgid "\t-W version\t\t--version\n" msgstr "\t-W version\t\t--version\n" @@ -1623,7 +1634,7 @@ #. for this application. Please add _another line_ with the #. address for translation bugs. #. no-wrap -#: main.c:761 +#: main.c:766 msgid "" "\n" "To report bugs, see node `Bugs' in `gawk.info', which is\n" @@ -1635,7 +1646,7 @@ "sezione `Reporting Problems and Bugs' nella versione a stampa.\n" "\n" -#: main.c:765 +#: main.c:770 msgid "" "gawk is a pattern scanning and processing language.\n" "By default it reads standard input and writes standard output.\n" @@ -1645,7 +1656,7 @@ "Senza parametri, legge da 'standard input' e scrive su 'standard output'.\n" "\n" -#: main.c:769 +#: main.c:774 msgid "" "Examples:\n" "\tgawk '{ sum += $1 }; END { print sum }' file\n" @@ -1655,7 +1666,7 @@ "\tgawk '{ sum += $1 }; END { print sum }' file\n" "\tgawk -F: '{ print $1 }' /etc/passwd\n" -#: main.c:789 +#: main.c:794 #, c-format msgid "" "Copyright (C) 1989, 1991-%d Free Software Foundation.\n" @@ -1674,7 +1685,7 @@ "Licenza, o (a tua scelta) a una qualsiasi versione successiva.\n" "\n" -#: main.c:797 +#: main.c:802 msgid "" "This program is distributed in the hope that it will be useful,\n" "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" @@ -1684,11 +1695,11 @@ msgstr "" "Questo programma è distribuito con la speranza che sia utile,\n" "ma SENZA ALCUNA GARANZIA; senza neppure la garanzia implicita\n" -"di COMMERCIABILITA' o IDONEITA' AD UN PARTICOLARE SCOPO.\n" +"di COMMERCIABILITÀ o IDONEITÀ AD UN PARTICOLARE SCOPO.\n" "Vedi la 'GNU General Public License' per ulteriori dettagli.\n" "\n" -#: main.c:808 +#: main.c:813 msgid "" "You should have received a copy of the GNU General Public License\n" "along with this program. If not, see http://www.gnu.org/licenses/.\n" @@ -1697,11 +1708,11 @@ "assieme a questo programma; se non è così, vedi http://www.gnu.org/" "licenses/.\n" -#: main.c:843 +#: main.c:848 msgid "-Ft does not set FS to tab in POSIX awk" msgstr "-Ft non imposta FS a 'tab' nell'awk POSIX" -#: main.c:1117 +#: main.c:1122 #, c-format msgid "" "%s: `%s' argument to `-v' not in `var=value' form\n" @@ -1710,43 +1721,43 @@ "%s: `%s' argomento di `-v' non in forma `var=valore'\n" "\n" -#: main.c:1137 +#: main.c:1142 #, c-format msgid "`%s' is not a legal variable name" msgstr "`%s' non è un nome di variabile ammesso" -#: main.c:1140 +#: main.c:1145 #, c-format msgid "`%s' is not a variable name, looking for file `%s=%s'" msgstr "`%s' non è un nome di variabile, cerco il file `%s=%s'" -#: main.c:1179 +#: main.c:1184 msgid "floating point exception" msgstr "eccezione floating point" -#: main.c:1186 +#: main.c:1191 msgid "fatal error: internal error" msgstr "errore fatale: errore interno" -#: main.c:1200 +#: main.c:1206 msgid "fatal error: internal error: segfault" msgstr "errore fatale: errore interno: segfault" -#: main.c:1212 +#: main.c:1218 msgid "fatal error: internal error: stack overflow" msgstr "errore fatale: errore interno: stack overflow" -#: main.c:1261 +#: main.c:1268 #, c-format msgid "no pre-opened fd %d" msgstr "manca 'fd' predefinita %d" -#: main.c:1268 +#: main.c:1275 #, c-format msgid "could not pre-open /dev/null for fd %d" msgstr "non riesco a predefinire /dev/null per 'fd' %d" -#: main.c:1291 main.c:1300 +#: main.c:1298 main.c:1307 #, c-format msgid "could not find groups: %s" msgstr "non riesco a trovare gruppi: %s" @@ -1772,24 +1783,24 @@ msgid "can't convert string to float" msgstr "non riesco a convertire stringa a valore in virgola mobile" -#: node.c:462 +#: node.c:465 msgid "backslash at end of string" msgstr "'\\' a fine stringa" -#: node.c:606 +#: node.c:609 #, c-format msgid "old awk does not support the `\\%c' escape sequence" msgstr "il vecchio awk non supporta la sequenza di escape '\\%c'" -#: node.c:657 +#: node.c:660 msgid "POSIX does not allow `\\x' escapes" msgstr "POSIX non permette escape `\\x'" -#: node.c:663 +#: node.c:666 msgid "no hex digits in `\\x' escape sequence" msgstr "niente cifre esadecimanli nella sequenza di escape `\\x'" -#: node.c:685 +#: node.c:688 #, c-format msgid "" "hex escape \\x%.*s of %d characters probably not interpreted the way you " @@ -1798,7 +1809,7 @@ "sequenza di escape esadec.\\x%.*s di %d caratteri probabilmente non " "interpretata nel modo previsto" -#: node.c:700 +#: node.c:703 #, c-format msgid "escape sequence `\\%c' treated as plain `%c'" msgstr "sequenza di escape `\\%c' considerata come semplice `%c'" @@ -1808,32 +1819,31 @@ msgid "%s %s `%s': could not set close-on-exec: (fcntl: %s)" msgstr "%s %s `%s': non riesco a impostare 'close-on-exec': (fcntl: %s)" -#: profile.c:93 +#: profile.c:94 #, c-format msgid "could not open `%s' for writing: %s" msgstr "non riesco ad aprire `%s' in scrittura: %s" -#: profile.c:453 +#: profile.c:457 #, c-format msgid "internal error: %s with null vname" msgstr "errore interno: %s con 'vname' nullo" -#: profile.c:517 -#, fuzzy +#: profile.c:521 msgid "# treated internally as `delete'" -msgstr "# gestito internamente come `delete' (cancellazione)" +msgstr "# gestito internamente come `delete' [cancellazione]" -#: profile.c:1069 +#: profile.c:1073 #, c-format msgid "# this is a dynamically loaded extension function" msgstr "# questa è una funzione di estensione caricata dinamicamente" -#: profile.c:1100 +#: profile.c:1104 #, c-format msgid "\t# gawk profile, created %s\n" msgstr "\t# profilo gawk, creato %s\n" -#: profile.c:1103 +#: profile.c:1107 #, c-format msgid "" "\t# BEGIN block(s)\n" @@ -1842,7 +1852,7 @@ "\t# blocco(hi) BEGIN\n" "\n" -#: profile.c:1113 +#: profile.c:1117 #, c-format msgid "" "\t# Rule(s)\n" @@ -1851,7 +1861,7 @@ "\t# Regola(e)\n" "\n" -#: profile.c:1119 +#: profile.c:1123 #, c-format msgid "" "\t# END block(s)\n" @@ -1860,7 +1870,7 @@ "\t# blocco(hi) END\n" "\n" -#: profile.c:1139 +#: profile.c:1143 #, c-format msgid "" "\n" @@ -1869,84 +1879,84 @@ "\n" "\t# Funzioni, listate in ordine alfabetico\n" -#: profile.c:1400 +#: profile.c:1405 #, c-format msgid "unexpected type %s in prec_level" msgstr "tipo non previsto %s in 'prec_level'" -#: profile.c:1500 +#: profile.c:1527 #, c-format msgid "Unknown node type %s in pp_var" msgstr "Tipo nodo sconosciuto %s in pp_var" -#: regcomp.c:133 +#: regcomp.c:132 msgid "Success" msgstr "Successo" -#: regcomp.c:136 +#: regcomp.c:135 msgid "No match" msgstr "Nessuna corrispondenza" -#: regcomp.c:139 +#: regcomp.c:138 msgid "Invalid regular expression" msgstr "Espressione regolare invalida" -#: regcomp.c:142 +#: regcomp.c:141 msgid "Invalid collation character" msgstr "Carattere di ordinamento non valido" -#: regcomp.c:145 +#: regcomp.c:144 msgid "Invalid character class name" msgstr "Nome di 'classe di caratteri' non valido" -#: regcomp.c:148 +#: regcomp.c:147 msgid "Trailing backslash" msgstr "'\\' finale" -#: regcomp.c:151 +#: regcomp.c:150 msgid "Invalid back reference" msgstr "Riferimento indietro non valido" -#: regcomp.c:154 +#: regcomp.c:153 msgid "Unmatched [ or [^" msgstr "[ or [^ non chiusa" -#: regcomp.c:157 +#: regcomp.c:156 msgid "Unmatched ( or \\(" msgstr "( or \\( non chiusa" -#: regcomp.c:160 +#: regcomp.c:159 msgid "Unmatched \\{" msgstr "\\{ non chiusa" -#: regcomp.c:163 +#: regcomp.c:162 msgid "Invalid content of \\{\\}" msgstr "Contenuto di \\{\\} non valido" -#: regcomp.c:166 +#: regcomp.c:165 msgid "Invalid range end" msgstr "Fine di intervallo non valido" -#: regcomp.c:169 +#: regcomp.c:168 msgid "Memory exhausted" msgstr "Memoria esaurita" -#: regcomp.c:172 +#: regcomp.c:171 msgid "Invalid preceding regular expression" msgstr "Espressione regolare precedente invalida" -#: regcomp.c:175 +#: regcomp.c:174 msgid "Premature end of regular expression" msgstr "Fine di expressione regolare inaspettata" -#: regcomp.c:178 +#: regcomp.c:177 msgid "Regular expression too big" msgstr "Espressione regolare troppo complessa" -#: regcomp.c:181 +#: regcomp.c:180 msgid "Unmatched ) or \\)" msgstr ") or \\) non aperta" -#: regcomp.c:700 +#: regcomp.c:699 msgid "No previous regular expression" msgstr "Nessuna espressione regolare precedente" diff -urN gawk-3.1.7/po/ja.po gawk-3.1.8/po/ja.po --- gawk-3.1.7/po/ja.po 2009-07-21 23:23:45.000000000 +0300 +++ gawk-3.1.8/po/ja.po 2010-05-06 20:57:37.000000000 +0300 @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: gawk 3.1.4l\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2009-07-21 23:23+0300\n" +"POT-Creation-Date: 2010-05-06 20:57+0300\n" "PO-Revision-Date: 2005-06-27 02:37+1000\n" "Last-Translator: Makoto Hosoya \n" "Language-Team: Japanese \n" @@ -35,42 +35,42 @@ msgid "from %s" msgstr "%s ¤«¤é" -#: array.c:514 -#, c-format -msgid "reference to uninitialized element `%s[\"%s\"]'" +#: array.c:513 +#, fuzzy, c-format +msgid "reference to uninitialized element `%s[\"%.*s\"]'" msgstr "½é´ü²½¤µ¤ì¤Æ¤¤¤Ê¤¤Í×ÁÇ `%s[\"%s\"]' ¤ò»²¾È¤·¤Æ¤¤¤Þ¤¹¡£" -#: array.c:520 +#: array.c:519 #, c-format msgid "subscript of array `%s' is null string" msgstr "ÇÛÎó¤Îź»ú `%s' ¤¬¶õÎó¤Ç¤¹¡£" -#: array.c:624 +#: array.c:623 #, c-format msgid "delete: index `%s' not in array `%s'" msgstr "delete: ÇÛÎó `%2$s' ¤Ë»Øɸ `%1$s' ¤Ï¤¢¤ê¤Þ¤»¤ó¡£" -#: array.c:793 +#: array.c:792 #, c-format msgid "%s: empty (null)\n" msgstr "%s: ¶õ (null)\n" -#: array.c:798 +#: array.c:797 #, c-format msgid "%s: empty (zero)\n" msgstr "%s: ¶õ (zero)\n" -#: array.c:802 +#: array.c:801 #, c-format msgid "%s: table_size = %d, array_size = %d\n" msgstr "%s: ¥Æ¡¼¥Ö¥ë¥µ¥¤¥º (table_size) = %d, ÇÛÎó¥µ¥¤¥º (array_size) = %d\n" -#: array.c:831 +#: array.c:830 #, c-format msgid "%s: is parameter\n" msgstr "%s: ¤Ï¥Ñ¥é¥á¡¼¥¿¤Ç¤¹¡£\n" -#: array.c:836 +#: array.c:835 #, c-format msgid "%s: array_ref to %s\n" msgstr "%s: %s ¤Ø¤ÎÇÛÎó»²¾È (array_ref)\n" @@ -353,7 +353,7 @@ msgid "could not open `%s' for writing (%s)" msgstr "`%s' ¤ò½ñ¹þ¤ßÍѤ˳«¤±¤Þ¤»¤ó¤Ç¤·¤¿ (%s)¡£" -#: awkgram.y:2748 profile.c:95 +#: awkgram.y:2748 profile.c:96 msgid "sending profile to standard error" msgstr "¥×¥í¥Õ¥¡¥¤¥ë¤òɸ½à¥¨¥é¡¼¤ËÁ÷¤Ã¤Æ¤¤¤Þ¤¹¡£" @@ -409,7 +409,12 @@ "´Ø¿ô̾¤È `(' ¤Î´Ö¤Ë¥¹¥Ú¡¼¥¹¤òÆþ¤ì¤Æ´Ø¿ô `%s' ¤ò¸Æ¤Ó½Ð¤·¤Æ¤¤¤Þ¤¹¡£\n" "¤Þ¤¿¤Ï¡¢ÊÑ¿ô¤«ÇÛÎó¤È¤·¤Æ»È¤ï¤ì¤Æ¤¤¤Þ¤¹¡£" -#: awkgram.y:3667 eval.c:1394 +#: awkgram.y:3664 +#, fuzzy +msgid "division by zero attempted in `/'" +msgstr "`/=' ¤Ç¥¼¥í¤Ç¤Î½ü»»¤ò¹Ô¤¤¤Þ¤·¤¿¡£" + +#: awkgram.y:3669 eval.c:1394 #, c-format msgid "division by zero attempted in `%%'" msgstr "`%%' ¤Ç¥¼¥í¤Ç¤Î½ü»»¤ò¹Ô¤¤¤Þ¤·¤¿¡£" @@ -469,350 +474,358 @@ msgid "`length(array)' is a gawk extension" msgstr "`delete array' ¤Ï gawk ÆÃÍ­¤Î³ÈÄ¥¤Ç¤¹¡£" -#: builtin.c:473 +#: builtin.c:471 +msgid "length: untyped parameter argument will be forced to scalar" +msgstr "" + +#: builtin.c:480 msgid "length: untyped argument will be forced to scalar" msgstr "" -#: builtin.c:477 +#: builtin.c:484 msgid "length: received non-string argument" msgstr "length: °ú¿ô¤¬Ê¸»úÎó¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£" -#: builtin.c:508 +#: builtin.c:515 msgid "log: received non-numeric argument" msgstr "log: °ú¿ô¤¬¿ôÃͤǤϤ¢¤ê¤Þ¤»¤ó¡£" -#: builtin.c:511 +#: builtin.c:518 #, c-format msgid "log: received negative argument %g" msgstr "log: °ú¿ô %g ¤¬Éé¤ÎÃͤǤ¹¡£" -#: builtin.c:719 builtin.c:722 +#: builtin.c:726 builtin.c:729 msgid "must use `count$' on all formats or none" msgstr "" "`count$¡Ç¤ÏÁ´¤Æ¤Î½ñ¼°»ØÄê¤ËŬÍѤ¹¤ë¡¢¤Þ¤¿¤ÏÁ´¤Æ¤ËŬÍѤ·¤Ê¤¤¤Î¤É¤Á¤é¤«¤Ç¤·¤«»È" "¤¨¤Þ¤»¤ó¡£" -#: builtin.c:783 +#: builtin.c:790 #, c-format msgid "field width is ignored for `%%%%' specifier" msgstr "" -#: builtin.c:785 +#: builtin.c:792 #, c-format msgid "precision is ignored for `%%%%' specifier" msgstr "" -#: builtin.c:787 +#: builtin.c:794 #, c-format msgid "field width and precision are ignored for `%%%%' specifier" msgstr "" -#: builtin.c:838 +#: builtin.c:845 msgid "`$' is not permitted in awk formats" msgstr "`$' ¤Ï awk ¤Ç¤Ï»È¤¨¤Þ¤»¤ó¡£" -#: builtin.c:844 +#: builtin.c:851 msgid "arg count with `$' must be > 0" msgstr "½ç½ø»ØÄê¤Î `$' ¤Ë»È¤¨¤ë¿ô»ú¤ÏÀµ¤ÎÃͤǤ¹¡£" -#: builtin.c:846 +#: builtin.c:853 #, c-format msgid "arg count %ld greater than total number of supplied arguments" msgstr "½ç½ø»ØÄê %ld ¤¬Í¿¤¨¤é¤ì¤Æ¤¤¤ë°ú¿ô¤Î¿ô¤òĶ¤¨¤Æ¤¤¤Þ¤¹¡£" -#: builtin.c:848 +#: builtin.c:855 msgid "`$' not permitted after period in format" msgstr "`$' ¤Ï½ñ¼°»ØÄê¤Î¥Ô¥ê¥ª¥É `.' ¤Î¸å¤Ë»ÈÍѤǤ­¤Þ¤»¤ó¡£" -#: builtin.c:861 +#: builtin.c:868 msgid "no `$' supplied for positional field width or precision" msgstr "¥Õ¥£¡¼¥ë¥ÉÉý¡¢¤Þ¤¿¤ÏÀºÅ٤λØÄê»Ò¤Ë `$' ¤¬Í¿¤¨¤é¤ì¤Æ¤¤¤Þ¤»¤ó¡£" -#: builtin.c:927 +#: builtin.c:938 msgid "`l' is meaningless in awk formats; ignored" msgstr "awk ¤Î½ñ¼°»ØÄê¤Ç¤Ï `l' ¤Ï̵°ÕÌ£¤Ç¤¹¡£Ìµ»ë¤·¤Þ¤¹¡£" -#: builtin.c:931 +#: builtin.c:942 msgid "`l' is not permitted in POSIX awk formats" msgstr "POSIX ½àµò¤Î awk ¤Ç¤Ï `l' ¤Ï»ÈÍѤǤ­¤Þ¤»¤ó¡£" -#: builtin.c:942 +#: builtin.c:953 msgid "`L' is meaningless in awk formats; ignored" msgstr "awk ¤Î½ñ¼°»ØÄê¤Ç¤Ï `L' ¤Ï̵°ÕÌ£¤Ç¤¹¡£Ìµ»ë¤·¤Þ¤¹¡£" -#: builtin.c:946 +#: builtin.c:957 msgid "`L' is not permitted in POSIX awk formats" msgstr "POSIX ½àµò¤Î awk ¤Ç¤Ï `L' ¤Ï»ÈÍѤǤ­¤Þ¤»¤ó¡£" -#: builtin.c:957 +#: builtin.c:968 msgid "`h' is meaningless in awk formats; ignored" msgstr "awk ¤Î½ñ¼°»ØÄê¤Ç¤Ï `h' ¤Ï̵°ÕÌ£¤Ç¤¹¡£Ìµ»ë¤·¤Þ¤¹¡£" -#: builtin.c:961 +#: builtin.c:972 msgid "`h' is not permitted in POSIX awk formats" msgstr "POSIX ½àµò¤Î awk ¤Ç¤Ï `h' ¤Ï»ÈÍѤǤ­¤Þ¤»¤ó¡£" -#: builtin.c:1236 +#: builtin.c:1252 #, c-format msgid "[s]printf: value %g is out of range for `%%%c' format" msgstr "[s]printf: %g ¤ÎÃͤ¬½ñ¼° `%%%c' ¤ÎµöÍÆÈϰϤòĶ¤¨¤Æ¤¤¤Þ¤¹¡£" -#: builtin.c:1316 +#: builtin.c:1332 #, c-format msgid "ignoring unknown format specifier character `%c': no argument converted" msgstr "" -#: builtin.c:1322 +#: builtin.c:1338 msgid "not enough arguments to satisfy format string" msgstr "½ñ¼°»ØÄꤹ¤ë¤¿¤á¤Î°ú¿ô¤¬Â­¤ê¤Þ¤»¤ó¡£" -#: builtin.c:1324 +#: builtin.c:1340 msgid "^ ran out for this one" msgstr "^ ¤³¤³¤«¤é­¤ê¤Þ¤»¤ó" -#: builtin.c:1330 +#: builtin.c:1346 msgid "[s]printf: format specifier does not have control letter" msgstr "[s]printf: ½ñ¼°»ØÄê»Ò¤ËÀ©¸æʸ»ú¤¬¤¢¤ê¤Þ¤»¤ó¡£" -#: builtin.c:1333 +#: builtin.c:1349 msgid "too many arguments supplied for format string" msgstr "½ñ¼°»ØÄêʸ»úÎó¤Î°ú¿ô¤¬Â¿²á¤®¤Þ¤¹¡£" -#: builtin.c:1408 builtin.c:1411 +#: builtin.c:1424 builtin.c:1427 msgid "printf: no arguments" msgstr "printf: °ú¿ô¤¬¤¢¤ê¤Þ¤»¤ó¡£" -#: builtin.c:1435 +#: builtin.c:1451 msgid "sqrt: received non-numeric argument" msgstr "sqrt: °ú¿ô¤¬¿ôÃͤǤϤ¢¤ê¤Þ¤»¤ó¡£" -#: builtin.c:1439 +#: builtin.c:1455 #, c-format msgid "sqrt: called with negative argument %g" msgstr "sqrt: °ú¿ô¤ËÉé¤ÎÃÍ %g ¤ò»ÈÍѤ·¤Æ¤¤¤Þ¤¹¡£" -#: builtin.c:1463 +#: builtin.c:1479 #, c-format msgid "substr: start index %g is invalid, using 1" msgstr "substr: µ¯ÅÀ»Øɸ %g ¤¬ÉÔÀµ¤Ç¤¹¡£1 ¤ò»È¤¤¤Þ¤¹¡£" -#: builtin.c:1468 +#: builtin.c:1484 #, c-format msgid "substr: non-integer start index %g will be truncated" msgstr "substr: µ¯ÅÀ»Øɸ %g ¤Î¾®¿ôÅÀ°Ê²¼¤ÏÀÚ¤ê¼Î¤Æ¤Þ¤¹¡£" -#: builtin.c:1494 +#: builtin.c:1510 #, c-format msgid "substr: length %g is not >= 1" msgstr "substr: ʸ»ú¿ô %g ¤¬ 1 °Ê¾å¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£" -#: builtin.c:1496 +#: builtin.c:1512 #, c-format msgid "substr: length %g is not >= 0" msgstr "substr: ʸ»ú¿ô %g ¤¬ 0 °Ê¾å¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£" -#: builtin.c:1503 +#: builtin.c:1519 #, c-format msgid "substr: non-integer length %g will be truncated" msgstr "substr: ʸ»ú¿ô %g ¤Î¾®¿ôÅÀ°Ê²¼¤ÏÀÚ¤ê¼Î¤Æ¤Þ¤¹¡£" -#: builtin.c:1508 +#: builtin.c:1524 #, c-format msgid "substr: length %g too big for string indexing, truncating to %g" msgstr "substr: ʸ»ú¿ô %g ¤ÏºÇÂçÃͤòĶ¤¨¤Æ¤¤¤Þ¤¹¡£%g ¤ò»È¤¤¤Þ¤¹¡£" -#: builtin.c:1520 +#: builtin.c:1536 msgid "substr: source string is zero length" msgstr "substr: ʸ»úÎó¤ÎŤµ¤¬¥¼¥í¤Ç¤¹¡£" -#: builtin.c:1536 +#: builtin.c:1552 #, c-format msgid "substr: start index %g is past end of string" msgstr "substr: µ¯ÅÀ»Øɸ %g ¤¬Ê¸»úÎó¤ÎŤµ¤òĶ¤¨¤Æ¤¤¤Þ¤¹¡£" -#: builtin.c:1544 +#: builtin.c:1560 #, c-format msgid "" "substr: length %g at start index %g exceeds length of first argument (%lu)" msgstr "" "substr: µ¯ÅÀ»Øɸ %2$g ¤«¤é¤Îʸ»ú¿ô %1$g ¤Ïʸ»úÎó¤ÎŤµ %3$lu ¤òĶ¤¨¤Æ¤¤¤Þ¤¹¡£" -#: builtin.c:1621 +#: builtin.c:1637 msgid "strftime: received non-string first argument" msgstr "strftime: Âè°ì°ú¿ô¤¬Ê¸»úÎó¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£" -#: builtin.c:1627 +#: builtin.c:1643 msgid "strftime: received empty format string" msgstr "strftime: ½ñ¼°»ØÄêʸ»úÎ󤬶õ¤Ç¤¹¡£" -#: builtin.c:1636 +#: builtin.c:1652 msgid "strftime: received non-numeric second argument" msgstr "strftime: ÂèÆó°ú¿ô¤¬¿ôÃͤǤϤ¢¤ê¤Þ¤»¤ó¡£" -#: builtin.c:1713 +#: builtin.c:1729 msgid "mktime: received non-string argument" msgstr "mktime: °ú¿ô¤¬Ê¸»úÎó¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£" -#: builtin.c:1758 +#: builtin.c:1746 +msgid "mktime: at least one of the values is out of the default range" +msgstr "" + +#: builtin.c:1783 msgid "system: received non-string argument" msgstr "system: °ú¿ô¤¬Ê¸»úÎó¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£" -#: builtin.c:1879 eval.c:2145 +#: builtin.c:1904 eval.c:2157 #, c-format msgid "reference to uninitialized field `$%d'" msgstr "½é´ü²½¤µ¤ì¤Æ¤¤¤Ê¤¤¥Õ¥£¡¼¥ë¥É `$%d' ¤ò»²¾È¤·¤Æ¤¤¤Þ¤¹¡£" -#: builtin.c:1984 +#: builtin.c:2009 msgid "tolower: received non-string argument" msgstr "tolower: °ú¿ô¤¬Ê¸»úÎó¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£" -#: builtin.c:2014 +#: builtin.c:2039 msgid "toupper: received non-string argument" msgstr "toupper: °ú¿ô¤¬Ê¸»úÎó¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£" -#: builtin.c:2047 +#: builtin.c:2072 msgid "atan2: received non-numeric first argument" msgstr "atan2: Âè°ì°ú¿ô¤¬¿ôÃͤǤϤ¢¤ê¤Þ¤»¤ó¡£" -#: builtin.c:2049 +#: builtin.c:2074 msgid "atan2: received non-numeric second argument" msgstr "atan2: ÂèÆó°ú¿ô¤¬¿ôÃͤǤϤ¢¤ê¤Þ¤»¤ó¡£" -#: builtin.c:2068 +#: builtin.c:2093 msgid "sin: received non-numeric argument" msgstr "sin: °ú¿ô¤¬¿ôÃͤǤϤ¢¤ê¤Þ¤»¤ó¡£" -#: builtin.c:2084 +#: builtin.c:2109 msgid "cos: received non-numeric argument" msgstr "cos: °ú¿ô¤¬¿ôÃͤǤϤ¢¤ê¤Þ¤»¤ó¡£" -#: builtin.c:2137 +#: builtin.c:2162 msgid "srand: received non-numeric argument" msgstr "srand: °ú¿ô¤¬¿ôÃͤǤϤ¢¤ê¤Þ¤»¤ó¡£" -#: builtin.c:2172 +#: builtin.c:2197 msgid "match: third argument is not an array" msgstr "match: Âè»°°ú¿ô¤¬ÇÛÎó̾¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£" -#: builtin.c:2719 +#: builtin.c:2744 msgid "gensub: third argument of 0 treated as 1" msgstr "gensub: Âè»°°ú¿ô¤¬ 0 ¤Ç¤¹¡£1 ¤òÂå¤ï¤ê¤Ë»ÈÍѤ·¤Þ¤¹¡£" -#: builtin.c:2835 +#: builtin.c:2860 msgid "lshift: received non-numeric first argument" msgstr "lshift: Âè°ì°ú¿ô¤¬¿ôÃͤǤϤ¢¤ê¤Þ¤»¤ó¡£" -#: builtin.c:2837 +#: builtin.c:2862 msgid "lshift: received non-numeric second argument" msgstr "lshift: ÂèÆó°ú¿ô¤¬¿ôÃͤǤϤ¢¤ê¤Þ¤»¤ó¡£" -#: builtin.c:2843 +#: builtin.c:2868 #, c-format msgid "lshift(%lf, %lf): negative values will give strange results" msgstr "lshift(%lf, %lf): Éé¤Î¿ôÃͤò»ÈÍѤ¹¤ë¤È°Û¾ï¤Ê·ë²Ì¤Ë¤Ê¤ê¤Þ¤¹¡£" -#: builtin.c:2845 +#: builtin.c:2870 #, c-format msgid "lshift(%lf, %lf): fractional values will be truncated" msgstr "lshift(%lf, %lf): ¾®¿ôÅÀ°Ê²¼¤ÏÀÚ¤ê¼Î¤Æ¤Ë¤Ê¤ê¤Þ¤¹¡£" -#: builtin.c:2847 +#: builtin.c:2872 #, c-format msgid "lshift(%lf, %lf): too large shift value will give strange results" msgstr "lshift(%lf, %lf): ¥·¥Õ¥ÈÃͤ¬Â礭²á¤®¤ë¤È°Û¾ï¤Ê·ë²Ì¤Ë¤Ê¤ê¤Þ¤¹¡£" -#: builtin.c:2873 +#: builtin.c:2898 msgid "rshift: received non-numeric first argument" msgstr "rshift: Âè°ì°ú¿ô¤¬¿ôÃͤǤϤ¢¤ê¤Þ¤»¤ó¡£" -#: builtin.c:2875 +#: builtin.c:2900 msgid "rshift: received non-numeric second argument" msgstr "rshift: ÂèÆó°ú¿ô¤¬¿ôÃͤǤϤ¢¤ê¤Þ¤»¤ó¡£" -#: builtin.c:2881 +#: builtin.c:2906 #, c-format msgid "rshift(%lf, %lf): negative values will give strange results" msgstr "rshift(%lf, %lf): Éé¤Î¿ôÃͤò»ÈÍѤ¹¤ë¤È°Û¾ï¤Ê·ë²Ì¤Ë¤Ê¤ê¤Þ¤¹¡£" -#: builtin.c:2883 +#: builtin.c:2908 #, c-format msgid "rshift(%lf, %lf): fractional values will be truncated" msgstr "rshift(%lf, %lf): ¾®¿ôÅÀ°Ê²¼¤ÏÀÚ¤ê¼Î¤Æ¤Ë¤Ê¤ê¤Þ¤¹¡£" -#: builtin.c:2885 +#: builtin.c:2910 #, c-format msgid "rshift(%lf, %lf): too large shift value will give strange results" msgstr "rshift(%lf, %lf): ¥·¥Õ¥ÈÃͤ¬Â礭²á¤®¤ë¤È°Û¾ï¤Ê·ë²Ì¤Ë¤Ê¤ê¤Þ¤¹¡£" -#: builtin.c:2911 +#: builtin.c:2936 msgid "and: received non-numeric first argument" msgstr "and: Âè°ì°ú¿ô¤¬¿ôÃͤǤϤ¢¤ê¤Þ¤»¤ó¡£" -#: builtin.c:2913 +#: builtin.c:2938 msgid "and: received non-numeric second argument" msgstr "and: ÂèÆó°ú¿ô¤¬¿ôÃͤǤϤ¢¤ê¤Þ¤»¤ó¡£" -#: builtin.c:2919 +#: builtin.c:2944 #, c-format msgid "and(%lf, %lf): negative values will give strange results" msgstr "and(%lf, %lf): Éé¤Î¿ôÃͤò»ÈÍѤ¹¤ë¤È°Û¾ï¤Ê·ë²Ì¤Ë¤Ê¤ê¤Þ¤¹¡£" -#: builtin.c:2921 +#: builtin.c:2946 #, c-format msgid "and(%lf, %lf): fractional values will be truncated" msgstr "and(%lf, %lf): ¾®¿ôÅÀ°Ê²¼¤ÏÀÚ¤ê¼Î¤Æ¤Ë¤Ê¤ê¤Þ¤¹¡£" -#: builtin.c:2947 +#: builtin.c:2972 msgid "or: received non-numeric first argument" msgstr "or: Âè°ì°ú¿ô¤¬¿ôÃͤǤϤ¢¤ê¤Þ¤»¤ó¡£" -#: builtin.c:2949 +#: builtin.c:2974 msgid "or: received non-numeric second argument" msgstr "or: ÂèÆó°ú¿ô¤¬¿ôÃͤǤϤ¢¤ê¤Þ¤»¤ó¡£" -#: builtin.c:2955 +#: builtin.c:2980 #, c-format msgid "or(%lf, %lf): negative values will give strange results" msgstr "or(%lf, %lf): Éé¤Î¿ôÃͤò»ÈÍѤ¹¤ë¤È°Û¾ï¤Ê·ë²Ì¤Ë¤Ê¤ê¤Þ¤¹¡£" -#: builtin.c:2957 +#: builtin.c:2982 #, c-format msgid "or(%lf, %lf): fractional values will be truncated" msgstr "or(%lf, %lf): ¾®¿ôÅÀ°Ê²¼¤ÏÀÚ¤ê¼Î¤Æ¤Ë¤Ê¤ê¤Þ¤¹¡£" -#: builtin.c:2983 +#: builtin.c:3008 msgid "xor: received non-numeric first argument" msgstr "xor: Âè°ì°ú¿ô¤¬¿ôÃͤǤϤ¢¤ê¤Þ¤»¤ó¡£" -#: builtin.c:2985 +#: builtin.c:3010 msgid "xor: received non-numeric second argument" msgstr "xor: ÂèÆó°ú¿ô¤¬¿ôÃͤǤϤ¢¤ê¤Þ¤»¤ó¡£" -#: builtin.c:2991 +#: builtin.c:3016 #, c-format msgid "xor(%lf, %lf): negative values will give strange results" msgstr "xor(%lf, %lf): Éé¤Î¿ôÃͤò»ÈÍѤ¹¤ë¤È°Û¾ï¤Ê·ë²Ì¤Ë¤Ê¤ê¤Þ¤¹¡£" -#: builtin.c:2993 +#: builtin.c:3018 #, c-format msgid "xor(%lf, %lf): fractional values will be truncated" msgstr "xor(%lf, %lf): ¾®¿ôÅÀ°Ê²¼¤ÏÀÚ¤ê¼Î¤Æ¤Ë¤Ê¤ê¤Þ¤¹¡£" -#: builtin.c:3017 +#: builtin.c:3042 msgid "compl: received non-numeric argument" msgstr "compl: °ú¿ô¤¬¿ôÃͤǤϤ¢¤ê¤Þ¤»¤ó¡£" -#: builtin.c:3023 +#: builtin.c:3048 #, c-format msgid "compl(%lf): negative value will give strange results" msgstr "compl(%lf): Éé¤Î¿ôÃͤò»ÈÍѤ¹¤ë¤È°Û¾ï¤Ê·ë²Ì¤Ë¤Ê¤ê¤Þ¤¹¡£" -#: builtin.c:3025 +#: builtin.c:3050 #, c-format msgid "compl(%lf): fractional value will be truncated" msgstr "compl(%lf): ¾®¿ôÅÀ°Ê²¼¤ÏÀÚ¤ê¼Î¤Æ¤Ë¤Ê¤ê¤Þ¤¹¡£" -#: builtin.c:3198 +#: builtin.c:3223 #, c-format msgid "dcgettext: `%s' is not a valid locale category" msgstr "dcgettext: `%s' ¤ÏÉÔÀµ¤Ê¥í¥«¡¼¥ë¡¦¥«¥Æ¥´¥ê¡¼¤Ç¤¹¡£" @@ -826,7 +839,7 @@ msgid "buffer overflow in genflags2str" msgstr "genflags2str ¤¬¥Ð¥Ã¥Õ¥¡ÍÆÎ̤òĶ²á¤·¤Þ¤·¤¿¡£" -#: eval.c:454 eval.c:460 profile.c:781 +#: eval.c:454 eval.c:460 profile.c:785 #, c-format msgid "attempt to use array `%s' in a scalar context" msgstr "¥¹¥«¥é¡¼´Ä¶­¤ËÇÛÎó `%s' ¤ò»ÈÍѤ·¤Æ¤¤¤Þ¤¹¡£" @@ -873,7 +886,7 @@ msgid "statement has no effect" msgstr "Ì¿Îáʸ¤Ë¸ú²Ì¤Ï¤¢¤ê¤Þ¤»¤ó¡£" -#: eval.c:1029 eval.c:1999 +#: eval.c:1029 eval.c:2011 #, c-format msgid "can't use function name `%s' as variable or array" msgstr "´Ø¿ô̾ `%s' ¤ÏÊÑ¿ô¤äÇÛÎó¤Ë¤Ï»È¤¨¤Þ¤»¤ó¡£" @@ -883,7 +896,7 @@ msgid "reference to uninitialized argument `%s'" msgstr "½é´ü²½¤µ¤ì¤Æ¤¤¤Ê¤¤°ú¿ô `%s' ¤ò»²¾È¤·¤Æ¤¤¤Þ¤¹¡£" -#: eval.c:1051 eval.c:2008 +#: eval.c:1051 eval.c:2020 #, c-format msgid "reference to uninitialized variable `%s'" msgstr "½é´ü²½¤µ¤ì¤Æ¤¤¤Ê¤¤ÊÑ¿ô `%s' ¤ò»²¾È¤·¤Æ¤¤¤Þ¤¹¡£" @@ -904,7 +917,7 @@ msgid "division by zero attempted" msgstr "¥¼¥í¤Ç¤Î½ü»»¤ò¹Ô¤¤¤Þ¤·¤¿¡£" -#: eval.c:1409 profile.c:657 +#: eval.c:1409 profile.c:661 #, c-format msgid "illegal type (%s) in tree_eval" msgstr "tree_eval ¤ÎÃæ¤ËÉÔÀµ¤Ê¥¿¥¤¥× (%s) ¤¬»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤¹¡£" @@ -918,17 +931,17 @@ msgid "division by zero attempted in `%%='" msgstr "`%%=' ¤Ç¥¼¥í¤Ç¤Î½ü»»¤ò¹Ô¤¤¤Þ¤·¤¿¡£" -#: eval.c:1859 +#: eval.c:1871 #, c-format msgid "function `%s' called with more arguments than declared" msgstr "Àë¸À¤µ¤ì¤Æ¤¤¤ë¿ô¤è¤ê¿¤¤°ú¿ô¤ò»È¤Ã¤Æ´Ø¿ô `%s' ¤ò¸Æ¤Ó½Ð¤·¤Þ¤·¤¿¡£" -#: eval.c:1904 +#: eval.c:1916 #, c-format msgid "function `%s' not defined" msgstr "´Ø¿ô `%s' ¤ÏÄêµÁ¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£" -#: eval.c:1971 +#: eval.c:1983 #, c-format msgid "" "\n" @@ -939,47 +952,47 @@ "\t# ¸Æ½Ð´Ø¿ô¥¹¥¿¥Ã¥¯:\n" "\n" -#: eval.c:1974 +#: eval.c:1986 #, c-format msgid "\t# -- main --\n" msgstr "\t# -- ¥á¥¤¥ó --\n" -#: eval.c:2129 +#: eval.c:2141 msgid "attempt to field reference from non-numeric value" msgstr "¿ôÃͰʳ°¤ÎÃͤò»È¤Ã¤Æ¥Õ¥¤¡¼¥ë¥É¤ò»²¾È¤·¤Æ¤¤¤Þ¤¹¡£" -#: eval.c:2131 +#: eval.c:2143 msgid "attempt to reference from null string" msgstr "¶õÎó¤ò»È¤Ã¤Æ»²¾È¤·¤Æ¤¤¤Þ¤¹¡£" -#: eval.c:2137 +#: eval.c:2149 #, c-format msgid "attempt to access field %d" msgstr "¥Õ¥£¡¼¥ë¥É %d ¤ò»²¾È¤·¤Æ¤¤¤Þ¤¹¡£" -#: eval.c:2158 eval.c:2165 profile.c:836 +#: eval.c:2170 eval.c:2177 profile.c:840 msgid "assignment is not allowed to result of builtin function" msgstr "Áȹþ´Ø¿ô¤ÎÌá¤êÃͤËÂåÆþ¤Ï¤Ç¤­¤Þ¤»¤ó¡£" -#: eval.c:2229 +#: eval.c:2241 msgid "`IGNORECASE' is a gawk extension" msgstr "`IGNORECASE' ¤Ï gawk ÆÃÍ­¤Î³ÈÄ¥¤Ç¤¹¡£" -#: eval.c:2258 +#: eval.c:2270 msgid "`BINMODE' is a gawk extension" msgstr "`BINMODE' ¤Ï gawk ÆÃÍ­¤Î³ÈÄ¥¤Ç¤¹¡£" -#: eval.c:2316 +#: eval.c:2328 #, c-format msgid "BINMODE value `%s' is invalid, treated as 3" msgstr "" -#: eval.c:2406 +#: eval.c:2418 #, c-format msgid "bad `%sFMT' specification `%s'" msgstr "`%sFMT' ¤Î»ØÄê `%s' ¤¬´Ö°ã¤Ã¤Æ¤¤¤Þ¤¹¡£" -#: eval.c:2484 +#: eval.c:2496 msgid "turning off `--lint' due to assignment to `LINT'" msgstr "`LINT' ¤Ø¤ÎÂåÆþ¤Ë½¾¤¤ `--lint' ¤ò̵¸ú¤Ë¤·¤Þ¤¹¡£" @@ -1080,56 +1093,61 @@ msgid "old awk does not support regexps as value of `FS'" msgstr "±é»»»Ò `**' ¤Ï¸Å¤¤ awk ¤Ç»È¤¨¤Þ¤»¤ó¡£" -#: getopt.c:570 getopt.c:586 +#: getopt.c:574 getopt.c:590 #, fuzzy, c-format msgid "%s: option '%s' is ambiguous\n" msgstr "%s: ¥ª¥×¥·¥ç¥ó `%s' ¤ÏÛ£Ëæ¤Ç¤¹¡£\n" -#: getopt.c:619 getopt.c:623 +#: getopt.c:623 getopt.c:627 #, fuzzy, c-format msgid "%s: option '--%s' doesn't allow an argument\n" msgstr "%s: ¥ª¥×¥·¥ç¥ó `--%s' ¤Ë°ú¿ô¤Ï¤¢¤ê¤Þ¤»¤ó¡£\n" -#: getopt.c:632 getopt.c:637 +#: getopt.c:636 getopt.c:641 #, fuzzy, c-format msgid "%s: option '%c%s' doesn't allow an argument\n" msgstr "%s: ¥ª¥×¥·¥ç¥ó `%c%s' ¤Ë°ú¿ô¤Ï¤¢¤ê¤Þ¤»¤ó¡£\n" -#: getopt.c:680 getopt.c:699 getopt.c:1002 getopt.c:1021 +#: getopt.c:684 getopt.c:703 #, fuzzy, c-format -msgid "%s: option '%s' requires an argument\n" +msgid "%s: option '--%s' requires an argument\n" msgstr "%s: ¥ª¥×¥·¥ç¥ó `%s' ¤Ë¤Ï°ú¿ô¤¬É¬ÍפǤ¹¡£\n" -#: getopt.c:737 getopt.c:740 +#: getopt.c:741 getopt.c:744 #, fuzzy, c-format msgid "%s: unrecognized option '--%s'\n" msgstr "%s: ǧ¼±¤Ç¤­¤Ê¤¤¥ª¥×¥·¥ç¥ó `--%s'\n" -#: getopt.c:748 getopt.c:751 +#: getopt.c:752 getopt.c:755 #, fuzzy, c-format msgid "%s: unrecognized option '%c%s'\n" msgstr "%s: ǧ¼±¤Ç¤­¤Ê¤¤¥ª¥×¥·¥ç¥ó `%c%s'\n" -#: getopt.c:800 getopt.c:803 +#: getopt.c:804 getopt.c:807 #, fuzzy, c-format msgid "%s: invalid option -- '%c'\n" msgstr "%s: ̵¸ú¤Ê¥ª¥×¥·¥ç¥ó -- %c\n" -#: getopt.c:853 getopt.c:870 getopt.c:1073 getopt.c:1091 +#: getopt.c:857 getopt.c:874 getopt.c:1082 getopt.c:1100 #, fuzzy, c-format msgid "%s: option requires an argument -- '%c'\n" msgstr "%s: °ú¿ô¤¬É¬Íפʥª¥×¥·¥ç¥ó -- %c\n" -#: getopt.c:923 getopt.c:939 +#: getopt.c:930 getopt.c:946 #, fuzzy, c-format msgid "%s: option '-W %s' is ambiguous\n" msgstr "%s: ¥ª¥×¥·¥ç¥ó `-W %s' ¤ÏÛ£Ëæ¤Ç¤¹¡£\n" -#: getopt.c:963 getopt.c:981 +#: getopt.c:970 getopt.c:988 #, fuzzy, c-format msgid "%s: option '-W %s' doesn't allow an argument\n" msgstr "%s: ¥ª¥×¥·¥ç¥ó `-W %s' ¤Ë°ú¿ô¤Ï¤¢¤ê¤Þ¤»¤ó¡£\n" +#: getopt.c:1009 getopt.c:1027 +#, fuzzy, c-format +msgid "%s: option '-W %s' requires an argument\n" +msgstr "%s: ¥ª¥×¥·¥ç¥ó `%s' ¤Ë¤Ï°ú¿ô¤¬É¬ÍפǤ¹¡£\n" + #: io.c:322 io.c:352 #, c-format msgid "cannot open file `%s' for reading (%s)" @@ -1177,449 +1195,444 @@ msgid "can't open pipe `%s' for input (%s)" msgstr "ÆþÎÏÍѤ˥ѥ¤¥× `%s' ¤ò³«¤±¤Þ¤»¤ó (%s)¡£" -#: io.c:712 -#, c-format -msgid "can't open two way socket `%s' for input/output (%s)" -msgstr "Æþ½ÐÎÏÍѤÎÁÐÊý¸þ¥½¥±¥Ã¥È `%s' ¤¬³«¤±¤Þ¤»¤ó (%s)¡£" - -#: io.c:716 +#: io.c:717 #, c-format msgid "can't open two way pipe `%s' for input/output (%s)" msgstr "Æþ½ÐÎÏÍѤÎÁÐÊý¸þ¥Ñ¥¤¥× `%s' ¤¬³«¤±¤Þ¤»¤ó (%s)¡£" -#: io.c:793 +#: io.c:795 #, c-format msgid "can't redirect from `%s' (%s)" msgstr "`%s' ¤«¤é¥ê¥À¥¤¥ì¥¯¥È¤Ç¤­¤Þ¤»¤ó (%s)¡£" -#: io.c:796 +#: io.c:798 #, c-format msgid "can't redirect to `%s' (%s)" msgstr "`%s' ¤Ë¥ê¥À¥¤¥ì¥¯¥È¤Ç¤­¤Þ¤»¤ó (%s)¡£" -#: io.c:849 +#: io.c:851 msgid "" "reached system limit for open files: starting to multiplex file descriptors" msgstr "" "³«¤¤¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¤Î¿ô¤¬¥·¥¹¥Æ¥àÀ©¸Â¤Ë㤷¤Þ¤·¤¿¡£¥Õ¥¡¥¤¥ëµ­½Ò»Ò¤ò¿½Å²½¤·¤Þ" "¤¹¡£" -#: io.c:865 +#: io.c:867 #, c-format msgid "close of `%s' failed (%s)." msgstr "`%s' ¤¬ÊĤ¸¤é¤ì¤Þ¤»¤ó (%s)¡£" -#: io.c:873 +#: io.c:875 msgid "too many pipes or input files open" msgstr "³«¤¤¤Æ¤¤¤ë¥Ñ¥¤¥×¤Þ¤¿¤ÏÆþÎÏ¥Õ¥¡¥¤¥ë¤Î¿ô¤¬Â¿²á¤®¤Þ¤¹¡£" -#: io.c:896 +#: io.c:898 msgid "close: second argument must be `to' or `from'" msgstr "close: ÂèÆó°ú¿ô¤Ë»ÈÍѤǤ­¤ë¤Î¤Ï `to' ¤Þ¤¿¤Ï `from' ¤Ç¤¹¡£" -#: io.c:910 +#: io.c:912 #, c-format msgid "close: `%.*s' is not an open file, pipe or co-process" msgstr "" "close: `%.*s' ¤Ï¥Õ¥¡¥¤¥ë¡¢¥Ñ¥¤¥×¡¢ÊÂ¹Ô¥×¥í¥»¥¹¤Î¤¤¤º¤ì¤Ç¤â¤¢¤ê¤Þ¤»¤ó¡£" -#: io.c:915 +#: io.c:917 msgid "close of redirection that was never opened" msgstr "³«¤¤¤Æ¤Ê¤¤¥ê¥À¥¤¥ì¥¯¥È¤òÊĤ¸¤è¤¦¤È¤·¤Æ¤¤¤Þ¤¹¡£" -#: io.c:1012 +#: io.c:1014 #, c-format msgid "close: redirection `%s' not opened with `|&', second argument ignored" msgstr "" "close: ¥ê¥À¥¤¥ì¥¯¥È `%s' ¤Ï `|&' ¤ò»È¤Ã¤Æ¤¤¤Þ¤»¤ó¡£ÂèÆó°ú¿ô¤Ï̵»ë¤·¤Þ¤¹¡£" -#: io.c:1028 +#: io.c:1030 #, c-format msgid "failure status (%d) on pipe close of `%s' (%s)" msgstr "¥Ñ¥¤¥× `%2$s' ¤òÊĤ¸¤¿¤È¤­¤Î¾õÂÖ¥³¡¼¥É¤¬¼ºÇÔ (%1$d) ¤Ç¤·¤¿ (%3$s)¡£" -#: io.c:1031 +#: io.c:1033 #, c-format msgid "failure status (%d) on file close of `%s' (%s)" msgstr "¥Õ¥¡¥¤¥ë `%2$s' ¤òÊĤ¸¤¿¤È¤­¤Î¾õÂÖ¥³¡¼¥É¤¬¼ºÇÔ (%1$d) ¤Ç¤·¤¿ (%3$s)¡£" -#: io.c:1051 +#: io.c:1053 #, c-format msgid "no explicit close of socket `%s' provided" msgstr "¥½¥±¥Ã¥È `%s' ¤òÌÀ¼¨¤·¤ÆÊĤ¸¤Æ¤¤¤Þ¤»¤ó¡£" -#: io.c:1054 +#: io.c:1056 #, c-format msgid "no explicit close of co-process `%s' provided" msgstr "ÊÂ¹Ô¥×¥í¥»¥¹ `%s' ¤òÌÀ¼¨¤·¤ÆÊĤ¸¤Æ¤¤¤Þ¤»¤ó¡£" -#: io.c:1057 +#: io.c:1059 #, c-format msgid "no explicit close of pipe `%s' provided" msgstr "¥Ñ¥¤¥× `%s' ¤òÌÀ¼¨¤·¤ÆÊĤ¸¤Æ¤¤¤Þ¤»¤ó¡£" -#: io.c:1060 +#: io.c:1062 #, c-format msgid "no explicit close of file `%s' provided" msgstr "¥Õ¥¡¥¤¥ë `%s' ¤òÌÀ¼¨¤·¤ÆÊĤ¸¤Æ¤¤¤Þ¤»¤ó¡£" -#: io.c:1088 io.c:1143 main.c:776 main.c:818 +#: io.c:1090 io.c:1145 main.c:781 main.c:823 #, c-format msgid "error writing standard output (%s)" msgstr "ɸ½à½ÐÎϤؤνñ¹þ¤ß¥¨¥é¡¼ (%s)" -#: io.c:1092 io.c:1148 +#: io.c:1094 io.c:1150 #, c-format msgid "error writing standard error (%s)" msgstr "ɸ½à¥¨¥é¡¼¤Ø¤Î½ñ¹þ¤ß¥¨¥é¡¼ (%s)" -#: io.c:1100 +#: io.c:1102 #, c-format msgid "pipe flush of `%s' failed (%s)." msgstr "¥Ñ¥¤¥× `%s' ¤ò¥Õ¥é¥Ã¥·¥å¤Ç¤­¤Þ¤»¤ó (%s)¡£" -#: io.c:1103 +#: io.c:1105 #, c-format msgid "co-process flush of pipe to `%s' failed (%s)." msgstr "`%s' ¤ØÀܳ¤¹¤ë¥Ñ¥¤¥×¤òÊÂ¹Ô¥×¥í¥»¥¹¤«¤é¥Õ¥é¥Ã¥·¥å¤Ç¤­¤Þ¤»¤ó (%s)¡£" -#: io.c:1106 +#: io.c:1108 #, c-format msgid "file flush of `%s' failed (%s)." msgstr "¥Õ¥¡¥¤¥ë `%s' ¤ò¥Õ¥é¥Ã¥·¥å¤Ç¤­¤Þ¤»¤ó (%s)¡£" -#: io.c:1220 +#: io.c:1222 #, fuzzy, c-format msgid "local port %s invalid in `/inet'" msgstr "`%s' ¤Î¥í¡¼¥«¥ë¥Ý¡¼¥È¤¬Ìµ¸ú¤Ç¤¹¡£" -#: io.c:1237 +#: io.c:1239 #, c-format msgid "remote host and port information (%s, %s) invalid" msgstr "" -#: io.c:1272 +#: io.c:1274 msgid "/inet/raw client not ready yet, sorry" msgstr "»ÄÇ°¤Ê¤¬¤é¡¢/inet/raw ¥¯¥é¥¤¥¢¥ó¥È¤Î½àÈ÷¤¬¤Ç¤­¤Æ¤¤¤Þ¤»¤ó¡£" -#: io.c:1275 io.c:1311 +#: io.c:1277 io.c:1313 msgid "only root may use `/inet/raw'." msgstr "`/inet/raw' ¤Ï root ¥æ¡¼¥¶¡¼¤Î¤ß»ÈÍѤǤ­¤Þ¤¹¡£" -#: io.c:1309 +#: io.c:1311 msgid "/inet/raw server not ready yet, sorry" msgstr "»ÄÇ°¤Ê¤¬¤é¡¢/inet/raw ¥µ¡¼¥Ð¡¼¤Î½àÈ÷¤¬¤Ç¤­¤Æ¤¤¤Þ¤»¤ó¡£" -#: io.c:1407 +#: io.c:1409 #, c-format msgid "no (known) protocol supplied in special filename `%s'" msgstr "" "¥¹¥Ú¥·¥ã¥ë¥Õ¥¡¥¤¥ë̾ `%s' ¤Ë¡Êǧ¼±¤Ç¤­¤ë¡Ë¥×¥í¥È¥³¥ë¤¬»ØÄꤵ¤ì¤Æ¤¤¤Þ¤»¤ó¡£" -#: io.c:1421 +#: io.c:1423 #, c-format msgid "special file name `%s' is incomplete" msgstr "¥¹¥Ú¥·¥ã¥ë¥Õ¥¡¥¤¥ë̾ `%s' ¤ÏÉÔ´°Á´¤Ç¤¹¡£" -#: io.c:1436 +#: io.c:1438 msgid "must supply a remote hostname to `/inet'" msgstr "`/inet' ¤Ë¤Ï¥ê¥â¡¼¥È¥Û¥¹¥È̾¤¬É¬ÍפǤ¹¡£" -#: io.c:1454 +#: io.c:1456 msgid "must supply a remote port to `/inet'" msgstr "`/inet' ¤Ë¤Ï¥ê¥â¡¼¥È¥Ý¡¼¥ÈÈֹ椬ɬÍפǤ¹¡£" -#: io.c:1485 +#: io.c:1502 msgid "TCP/IP communications are not supported" msgstr "TCP/IP Àܳ¤Ï»ÈÍѤǤ­¤Þ¤»¤ó¡£" -#: io.c:1494 +#: io.c:1511 #, c-format msgid "file `%s' is a directory" msgstr "¥Õ¥¡¥¤¥ë `%s' ¤Ï¥Ç¥£¥ì¥¯¥È¥ê¤Ç¤¹¡£" -#: io.c:1555 +#: io.c:1572 #, c-format msgid "use `PROCINFO[\"%s\"]' instead of `%s'" msgstr "`%2$s' ¤ÎÂå¤ï¤ê¤Ë `PROCINFO[\"%1$s\"]' ¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£" -#: io.c:1593 +#: io.c:1610 msgid "use `PROCINFO[...]' instead of `/dev/user'" msgstr "`/dev/user' ¤ÎÂå¤ï¤ê¤Ë `PROCINFO[...]' ¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£" -#: io.c:1658 io.c:1853 +#: io.c:1675 io.c:1872 #, c-format msgid "could not open `%s', mode `%s'" msgstr "`%s' (¥â¡¼¥É `%s') ¤ò³«¤±¤Þ¤»¤ó¡£" -#: io.c:1904 +#: io.c:1923 #, c-format msgid "close of master pty failed (%s)" msgstr "¥Þ¥¹¥¿¡¼ pty ¤òÊĤ¸¤é¤ì¤Þ¤»¤ó (%s)¡£" -#: io.c:1906 io.c:2058 io.c:2209 +#: io.c:1925 io.c:2077 io.c:2228 #, c-format msgid "close of stdout in child failed (%s)" msgstr "»Ò¥×¥í¥»¥¹¤¬É¸½à½ÐÎϤòÊĤ¸¤é¤ì¤Þ¤»¤ó (%s)¡£" -#: io.c:1909 +#: io.c:1928 #, c-format msgid "moving slave pty to stdout in child failed (dup: %s)" msgstr "»Ò¥×¥í¥»¥¹¤¬¥¹¥ì¡¼¥Ö pty ¤òɸ½à½ÐÎϤ˰ÜÆ°¤Ç¤­¤Þ¤»¤ó (dup: %s)¡£" -#: io.c:1911 io.c:2063 +#: io.c:1930 io.c:2082 #, c-format msgid "close of stdin in child failed (%s)" msgstr "»Ò¥×¥í¥»¥¹¤¬É¸½àÆþÎϤòÊĤ¸¤é¤ì¤Þ¤»¤ó (%s)¡£" -#: io.c:1914 +#: io.c:1933 #, c-format msgid "moving slave pty to stdin in child failed (dup: %s)" msgstr "»Ò¥×¥í¥»¥¹¤¬¥¹¥ì¡¼¥Ö pty ¤òɸ½àÆþÎϤ˰ÜÆ°¤Ç¤­¤Þ¤»¤ó (dup: %s)¡£" -#: io.c:1916 io.c:1935 +#: io.c:1935 io.c:1954 #, c-format msgid "close of slave pty failed (%s)" msgstr "¥¹¥ì¡¼¥Ö pty ¤òÊĤ¸¤é¤ì¤Þ¤»¤ó (%s)¡£" -#: io.c:2009 io.c:2061 io.c:2190 io.c:2212 +#: io.c:2028 io.c:2080 io.c:2209 io.c:2231 #, c-format msgid "moving pipe to stdout in child failed (dup: %s)" msgstr "»Ò¥×¥í¥»¥¹¤¬¥Ñ¥¤¥×¤òɸ½à½ÐÎϤ˰ÜÆ°¤Ç¤­¤Þ¤»¤ó (dup: %s)¡£" -#: io.c:2013 io.c:2066 +#: io.c:2032 io.c:2085 #, c-format msgid "moving pipe to stdin in child failed (dup: %s)" msgstr "»Ò¥×¥í¥»¥¹¤¬¥Ñ¥¤¥×¤òɸ½àÆþÎϤ˰ÜÆ°¤Ç¤­¤Þ¤»¤ó (dup: %s)¡£" -#: io.c:2030 io.c:2203 +#: io.c:2049 io.c:2222 msgid "restoring stdout in parent process failed\n" msgstr "¿Æ¥×¥í¥»¥¹¤¬É¸½à½ÐÎϤòÉüµì¤Ç¤­¤Þ¤»¤ó¡£\n" -#: io.c:2035 +#: io.c:2054 msgid "restoring stdin in parent process failed\n" msgstr "¿Æ¥×¥í¥»¥¹¤¬É¸½àÆþÎϤòÉüµì¤Ç¤­¤Þ¤»¤ó¡£\n" -#: io.c:2069 io.c:2214 io.c:2225 +#: io.c:2088 io.c:2233 io.c:2244 #, c-format msgid "close of pipe failed (%s)" msgstr "¥Ñ¥¤¥×¤òÊĤ¸¤é¤ì¤Þ¤»¤ó (%s)¡£" -#: io.c:2114 +#: io.c:2133 msgid "`|&' not supported" msgstr "`|&' ¤Ï»ÈÍѤǤ­¤Þ¤»¤ó¡£" -#: io.c:2180 +#: io.c:2199 #, c-format msgid "cannot open pipe `%s' (%s)" msgstr "¥Ñ¥¤¥× `%s' ¤¬³«¤±¤Þ¤»¤ó (%s)¡£" -#: io.c:2221 +#: io.c:2240 #, c-format msgid "cannot create child process for `%s' (fork: %s)" msgstr "`%s' ÍÑ¤Î»Ò¥×¥í¥»¥¹¤ò¼Â¹Ô¤Ç¤­¤Þ¤»¤ó (fork: %s)¡£" -#: io.c:2603 +#: io.c:2622 #, c-format msgid "data file `%s' is empty" msgstr "¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë `%s' ¤Ï¶õ¤Ç¤¹¡£" -#: io.c:2644 io.c:2652 +#: io.c:2663 io.c:2671 msgid "could not allocate more input memory" msgstr "ÆþÎÏÍÑ¥á¥â¥ê¡¼¤ò¤³¤ì°Ê¾å³ÎÊݤǤ­¤Þ¤»¤ó¡£" -#: io.c:3020 io.c:3093 +#: io.c:3039 io.c:3112 #, c-format msgid "error reading input file `%s': %s" msgstr "ÆþÎÏ¥Õ¥¡¥¤¥ë `%s' ¤òÆɤ߹þ¤ßÃæ¤Ë¥¨¥é¡¼¤¬È¯À¸¤·¤Þ¤·¤¿: %s¡£" -#: io.c:3218 +#: io.c:3237 msgid "multicharacter value of `RS' is a gawk extension" msgstr "Ê£¿ô¤Îʸ»ú¤ò `RS' ¤Ë»ÈÍѤ¹¤ë¤Î¤Ï gawk ÆÃÍ­¤Î³ÈÄ¥¤Ç¤¹¡£" -#: main.c:304 +#: main.c:306 msgid "out of memory" msgstr "" -#: main.c:373 +#: main.c:374 msgid "`-m[fr]' option irrelevant in gawk" msgstr "gawk ¤Ç¤Ï¥ª¥×¥·¥ç¥ó `-m[fr]' ¤Ë¸ú²Ì¤Ï¤¢¤ê¤Þ¤»¤ó¡£" -#: main.c:375 +#: main.c:376 msgid "-m option usage: `-m[fr] nnn'" msgstr "-m ¥ª¥×¥·¥ç¥ó¤Î»ÈÍÑË¡: `-m[fr] ¿ôÃÍ'" -#: main.c:392 +#: main.c:393 #, c-format msgid "%s: option `-W %s' unrecognized, ignored\n" msgstr "%s: ¥ª¥×¥·¥ç¥ó `-W %s' ¤Ïǧ¼±¤Ç¤­¤Þ¤»¤ó¡£Ìµ»ë¤·¤Þ¤¹¡£\n" -#: main.c:433 +#: main.c:434 msgid "empty argument to `--source' ignored" msgstr "¶õ°ú¿ô¤Î `--source' ¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£" -#: main.c:487 +#: main.c:488 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: °ú¿ô¤¬É¬Íפʥª¥×¥·¥ç¥ó -- %c\n" -#: main.c:506 +#: main.c:509 msgid "environment variable `POSIXLY_CORRECT' set: turning on `--posix'" msgstr "" "´Ä¶­ÊÑ¿ô `POSIXLY_CORRECT' ¤¬»ØÄꤵ¤ì¤Æ¤¤¤Þ¤¹¡£¥ª¥×¥·¥ç¥ó `--posix' ¤òÍ­¸ú¤Ë" "¤·¤Þ¤¹¡£" -#: main.c:512 +#: main.c:515 msgid "`--posix' overrides `--traditional'" msgstr "¥ª¥×¥·¥ç¥ó `--posix' ¤Ï `--traditional' ¤ò̵¸ú¤Ë¤·¤Þ¤¹¡£" -#: main.c:523 +#: main.c:526 msgid "`--posix'/`--traditional' overrides `--non-decimal-data'" msgstr "" "¥ª¥×¥·¥ç¥ó `--posix'/`--traditional' ¤Ï `--non-decimal-data' ¤ò̵¸ú¤Ë¤·¤Þ¤¹¡£" -#: main.c:527 +#: main.c:530 #, c-format msgid "running %s setuid root may be a security problem" msgstr "" "setuid root ¤Ç %s ¤ò¼Â¹Ô¤¹¤ë¤È¡¢¥»¥­¥å¥ê¥Æ¥£¾å¤ÎÌäÂ꤬ȯÀ¸¤¹¤ë¾ì¹ç¤¬¤¢¤ê¤Þ" "¤¹¡£" -#: main.c:568 +#: main.c:571 #, c-format msgid "can't set binary mode on stdin (%s)" msgstr "ɸ½àÆþÎϤò¥Ð¥¤¥Ê¥ê¥â¡¼¥É¤ËÀßÄê¤Ç¤­¤Þ¤»¤ó (%s)¡£" -#: main.c:571 +#: main.c:574 #, c-format msgid "can't set binary mode on stdout (%s)" msgstr "ɸ½à½ÐÎϤò¥Ð¥¤¥Ê¥ê¥â¡¼¥É¤ËÀßÄê¤Ç¤­¤Þ¤»¤ó (%s)¡£" -#: main.c:573 +#: main.c:576 #, c-format msgid "can't set binary mode on stderr (%s)" msgstr "ɸ½à¥¨¥é¡¼¤ò¥Ð¥¤¥Ê¥ê¥â¡¼¥É¤ËÀßÄê¤Ç¤­¤Þ¤»¤ó (%s)¡£" -#: main.c:612 +#: main.c:617 msgid "no program text at all!" msgstr "¥×¥í¥°¥é¥àʸ¤¬Á´¤¯¤¢¤ê¤Þ¤»¤ó!" -#: main.c:716 +#: main.c:721 #, c-format msgid "Usage: %s [POSIX or GNU style options] -f progfile [--] file ...\n" msgstr "" "»È¤¤Êý: %s [POSIX ¤Þ¤¿¤Ï GNU ·Á¼°¥ª¥×¥·¥ç¥ó] -f ¥×¥í¥°¥é¥à¥Õ¥¡¥¤¥ë [--] ÆþÎÏ" "¥Õ¥¡¥¤¥ë ¡Ä\n" -#: main.c:718 +#: main.c:723 #, c-format msgid "Usage: %s [POSIX or GNU style options] [--] %cprogram%c file ...\n" msgstr "" "»È¤¤Êý: %s [POSIX ¤Þ¤¿¤Ï GNU ·Á¼°¥ª¥×¥·¥ç¥ó] [--] %c¥×¥í¥°¥é¥à%c ÆþÎÏ¥Õ¥¡¥¤" "¥ë ¡Ä\n" -#: main.c:723 +#: main.c:728 msgid "POSIX options:\t\tGNU long options:\n" msgstr "POSIX ¥ª¥×¥·¥ç¥ó:\t\tGNU Ĺ·Á¼°¥ª¥×¥·¥ç¥ó\n" -#: main.c:724 +#: main.c:729 msgid "\t-f progfile\t\t--file=progfile\n" msgstr "\t-f ¥×¥í¥°¥é¥à¥Õ¥¡¥¤¥ë\t\t--file=¥×¥í¥°¥é¥à¥Õ¥¡¥¤¥ë\n" -#: main.c:725 +#: main.c:730 msgid "\t-F fs\t\t\t--field-separator=fs\n" msgstr "" "\t-F ¥Õ¥£¡¼¥ë¥É¥»¥Ñ¥ì¡¼¥¿\t\t\t--field-separator=¥Õ¥£¡¼¥ë¥É¥»¥Ñ¥ì¡¼¥¿\n" -#: main.c:726 +#: main.c:731 msgid "\t-v var=val\t\t--assign=var=val\n" msgstr "\t-v ÊÑ¿ô=ÂåÆþÃÍ\t\t--assign=ÊÑ¿ô=ÂåÆþÃÍ\n" -#: main.c:727 +#: main.c:732 msgid "\t-m[fr] val\n" msgstr "\t-m[fr] ¿ôÃÍ\n" -#: main.c:728 +#: main.c:733 msgid "\t-O\t\t\t--optimize\n" msgstr "" -#: main.c:729 +#: main.c:734 msgid "\t-W compat\t\t--compat\n" msgstr "\t-W compat\t\t--compat\n" -#: main.c:730 +#: main.c:735 msgid "\t-W copyleft\t\t--copyleft\n" msgstr "\t-W copyleft\t\t--copyleft\n" -#: main.c:731 +#: main.c:736 msgid "\t-W copyright\t\t--copyright\n" msgstr "\t-W copyright\t\t--copyright\n" -#: main.c:732 +#: main.c:737 msgid "\t-W dump-variables[=file]\t--dump-variables[=file]\n" msgstr "\t-W dump-variables[=¥Õ¥¡¥¤¥ë]\t--dump-variables[=¥Õ¥¡¥¤¥ë]\n" -#: main.c:733 +#: main.c:738 msgid "\t-W exec=file\t\t--exec=file\n" msgstr "\t-W exec=¥Õ¥¡¥¤¥ë\t\t--exec=¥Õ¥¡¥¤¥ë\n" -#: main.c:734 +#: main.c:739 msgid "\t-W gen-po\t\t--gen-po\n" msgstr "\t-W gen-po\t\t--gen-po\n" -#: main.c:735 +#: main.c:740 msgid "\t-W help\t\t\t--help\n" msgstr "\t-W help\t\t\t--help\n" -#: main.c:736 +#: main.c:741 msgid "\t-W lint[=fatal]\t\t--lint[=fatal]\n" msgstr "\t-W lint[=fatal]\t\t--lint[=fatal]\n" -#: main.c:737 +#: main.c:742 msgid "\t-W lint-old\t\t--lint-old\n" msgstr "\t-W lint-old\t\t--lint-old\n" -#: main.c:738 +#: main.c:743 msgid "\t-W non-decimal-data\t--non-decimal-data\n" msgstr "\t-W non-decimal-data\t--non-decimal-data\n" -#: main.c:740 +#: main.c:745 msgid "\t-W nostalgia\t\t--nostalgia\n" msgstr "\t-W nostalgia\t\t--nostalgia\n" -#: main.c:743 +#: main.c:748 msgid "\t-W parsedebug\t\t--parsedebug\n" msgstr "\t-W parsedebug\t\t--parsedebug\n" -#: main.c:745 +#: main.c:750 msgid "\t-W profile[=file]\t--profile[=file]\n" msgstr "\t-W profile[=¥Õ¥¡¥¤¥ë]\t--profile[=¥Õ¥¡¥¤¥ë]\n" -#: main.c:746 +#: main.c:751 msgid "\t-W posix\t\t--posix\n" msgstr "\t-W posix\t\t--posix\n" -#: main.c:747 +#: main.c:752 msgid "\t-W re-interval\t\t--re-interval\n" msgstr "\t-W re-interval\t\t--re-interval\n" -#: main.c:748 +#: main.c:753 msgid "\t-W source=program-text\t--source=program-text\n" msgstr "\t-W source=¥×¥í¥°¥é¥àʸ\t--source=¥×¥í¥°¥é¥àʸ\n" -#: main.c:749 +#: main.c:754 msgid "\t-W traditional\t\t--traditional\n" msgstr "\t-W traditional\t\t--traditional\n" -#: main.c:750 +#: main.c:755 msgid "\t-W usage\t\t--usage\n" msgstr "\t-W usage\t\t--usage\n" -#: main.c:751 +#: main.c:756 msgid "\t-W use-lc-numeric\t--use-lc-numeric\n" msgstr "" -#: main.c:752 +#: main.c:757 msgid "\t-W version\t\t--version\n" msgstr "\t-W version\t\t--version\n" @@ -1628,7 +1641,7 @@ #. for this application. Please add _another line_ with the #. address for translation bugs. #. no-wrap -#: main.c:761 +#: main.c:766 msgid "" "\n" "To report bugs, see node `Bugs' in `gawk.info', which is\n" @@ -1641,7 +1654,7 @@ "¤Ï¡¢`Reporting Problems and Bugs' ¤Ç¤¹¡£\n" "\n" -#: main.c:765 +#: main.c:770 msgid "" "gawk is a pattern scanning and processing language.\n" "By default it reads standard input and writes standard output.\n" @@ -1651,7 +1664,7 @@ "¥Ç¥Õ¥©¥ë¥ÈÀßÄê¤Ç¤Ï¡¢É¸½àÆþÎϤòÆɤ߹þ¤ß¡¢É¸½à½ÐÎϤ˽ñ¤­½Ð¤·¤Þ¤¹¡£\n" "\n" -#: main.c:769 +#: main.c:774 msgid "" "Examples:\n" "\tgawk '{ sum += $1 }; END { print sum }' file\n" @@ -1661,7 +1674,7 @@ "\tgawk '{ sum += $1 }; END { print sum }' ÆþÎÏ¥Õ¥¡¥¤¥ë\n" "\tgawk -F: '{ print $1 }' /etc/passwd\n" -#: main.c:789 +#: main.c:794 #, fuzzy, c-format msgid "" "Copyright (C) 1989, 1991-%d Free Software Foundation.\n" @@ -1679,7 +1692,7 @@ "¤Ë½¾¤¤ºÆÇÛÉÛ¡¢µÚ¤Ó/¤Þ¤¿¤Ï¡¢Êѹ¹¤ò²Ã¤¨¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£\n" "\n" -#: main.c:797 +#: main.c:802 msgid "" "This program is distributed in the hope that it will be useful,\n" "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" @@ -1693,7 +1706,7 @@ "¾Ü¤·¤¯¤Ï¡¢GNU General Public License ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£\n" "\n" -#: main.c:808 +#: main.c:813 #, fuzzy msgid "" "You should have received a copy of the GNU General Public License\n" @@ -1706,11 +1719,11 @@ "\t59 Temple Place - Suite 330, Boston, MA 02111-1307, USA\n" "¤Ø½ñÌ̤ǤªÃΤ餻¤¯¤À¤µ¤¤¡£\n" -#: main.c:843 +#: main.c:848 msgid "-Ft does not set FS to tab in POSIX awk" msgstr "POSIX »ÅÍͤΠawk ¤Ç¤Ï -Ft ¤Ç FS ¤ò¥¿¥Ö¤ËÀßÄê¤Ç¤­¤Þ¤»¤ó¡£" -#: main.c:1117 +#: main.c:1122 #, c-format msgid "" "%s: `%s' argument to `-v' not in `var=value' form\n" @@ -1719,45 +1732,45 @@ "%s: ¥ª¥×¥·¥ç¥ó `-v' ¤Î°ú¿ô `%s' ¤¬ `ÊÑ¿ô=ÂåÆþÃÍ' ¤Î·Á¼°¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤»¤ó¡£\n" "\n" -#: main.c:1137 +#: main.c:1142 #, c-format msgid "`%s' is not a legal variable name" msgstr "`%s' ¤ÏÉÔÀµ¤ÊÊÑ¿ô̾¤Ç¤¹¡£" -#: main.c:1140 +#: main.c:1145 #, c-format msgid "`%s' is not a variable name, looking for file `%s=%s'" msgstr "`%s' ¤ÏÊÑ¿ô̾¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£`%s=%s' ¤Î¥Õ¥¡¥¤¥ë¤òõ¤·¤Þ¤¹¡£" -#: main.c:1179 +#: main.c:1184 msgid "floating point exception" msgstr "ÉâÆ°¾®¿ôÅÀÎã³°" -#: main.c:1186 +#: main.c:1191 msgid "fatal error: internal error" msgstr "Ã×̿Ū¥¨¥é¡¼: ÆâÉô¥¨¥é¡¼" -#: main.c:1200 +#: main.c:1206 #, fuzzy msgid "fatal error: internal error: segfault" msgstr "Ã×̿Ū¥¨¥é¡¼: ÆâÉô¥¨¥é¡¼" -#: main.c:1212 +#: main.c:1218 #, fuzzy msgid "fatal error: internal error: stack overflow" msgstr "Ã×̿Ū¥¨¥é¡¼: ÆâÉô¥¨¥é¡¼" -#: main.c:1261 +#: main.c:1268 #, c-format msgid "no pre-opened fd %d" msgstr "fd %d ¤¬»öÁ°¤Ë³«¤¤¤Æ¤¤¤Þ¤»¤ó¡£" -#: main.c:1268 +#: main.c:1275 #, c-format msgid "could not pre-open /dev/null for fd %d" msgstr "»öÁ°¤Ë fd %d ÍÑ¤Ë /dev/null ¤ò³«¤±¤Þ¤»¤ó¡£" -#: main.c:1291 main.c:1300 +#: main.c:1298 main.c:1307 #, c-format msgid "could not find groups: %s" msgstr "¥°¥ë¡¼¥×¤¬¸«¤Ä¤«¤ê¤Þ¤»¤ó: %s" @@ -1783,31 +1796,31 @@ msgid "can't convert string to float" msgstr "ʸ»úÎ󤫤éÉâÆ°¾®¿ô¤ËÊÑ´¹¤Ç¤­¤Þ¤»¤ó¡£" -#: node.c:462 +#: node.c:465 msgid "backslash at end of string" msgstr "ʸ»úÎó¤Î½ª¤ê¤Ë¥Ð¥Ã¥¯¥¹¥é¥Ã¥·¥å¤¬»È¤ï¤ì¤Æ¤¤¤Þ¤¹¡£" -#: node.c:606 +#: node.c:609 #, fuzzy, c-format msgid "old awk does not support the `\\%c' escape sequence" msgstr "±é»»»Ò `**' ¤Ï¸Å¤¤ awk ¤Ç»È¤¨¤Þ¤»¤ó¡£" -#: node.c:657 +#: node.c:660 msgid "POSIX does not allow `\\x' escapes" msgstr "POSIX ¤Ï `\\x' ¥¨¥¹¥±¡¼¥×¤òµö²Ä¤·¤Þ¤»¤ó¡£" -#: node.c:663 +#: node.c:666 msgid "no hex digits in `\\x' escape sequence" msgstr "`\\x' ¥¨¥¹¥±¡¼¥×¥·¡¼¥±¥ó¥¹¤Ë 16 ¿Ê¿ô¤¬¤¢¤ê¤Þ¤»¤ó¡£" -#: node.c:685 +#: node.c:688 #, c-format msgid "" "hex escape \\x%.*s of %d characters probably not interpreted the way you " "expect" msgstr "" -#: node.c:700 +#: node.c:703 #, c-format msgid "escape sequence `\\%c' treated as plain `%c'" msgstr "¥¨¥¹¥±¡¼¥×¥·¡¼¥±¥ó¥¹ `\\%c' ¤Ï `%c' ¤ÈƱÅù¤Ë°·¤ï¤ì¤Þ¤¹¡£" @@ -1817,32 +1830,31 @@ msgid "%s %s `%s': could not set close-on-exec: (fcntl: %s)" msgstr "%s %s `%s': close-on-exec ¤òÀßÄê¤Ç¤­¤Þ¤»¤ó: (fcntl: %s)" -#: profile.c:93 +#: profile.c:94 #, c-format msgid "could not open `%s' for writing: %s" msgstr "`%s' ¤ò½ñ¹þ¤ßÍѤ˳«¤±¤Þ¤»¤ó¤Ç¤·¤¿: %s" -#: profile.c:453 +#: profile.c:457 #, c-format msgid "internal error: %s with null vname" msgstr "ÆâÉô¥¨¥é¡¼: %s ¤Î vname ¤¬Ìµ¸ú¤Ç¤¹¡£" -#: profile.c:517 -#, fuzzy +#: profile.c:521 msgid "# treated internally as `delete'" msgstr "# ÆâÉô¤Ç¤Ï `delete' ¤È¤·¤Æ°·¤ï¤ì¤Þ¤·¤¿¡£" -#: profile.c:1069 +#: profile.c:1073 #, c-format msgid "# this is a dynamically loaded extension function" msgstr "# ¤³¤ì¤ÏưŪ¤Ë¥í¡¼¥É¤µ¤ì¤¿³ÈÄ¥µ¡Ç½¤Ç¤¹¡£" -#: profile.c:1100 +#: profile.c:1104 #, c-format msgid "\t# gawk profile, created %s\n" msgstr "\t# gawk ¥×¥í¥Õ¥¡¥¤¥ë¡¢ºîÀ®Æü»þ %s\n" -#: profile.c:1103 +#: profile.c:1107 #, c-format msgid "" "\t# BEGIN block(s)\n" @@ -1851,7 +1863,7 @@ "\t# BEGIN ¥Ö¥í¥Ã¥¯\n" "\n" -#: profile.c:1113 +#: profile.c:1117 #, c-format msgid "" "\t# Rule(s)\n" @@ -1860,7 +1872,7 @@ "\t# ¥ë¡¼¥ë\n" "\n" -#: profile.c:1119 +#: profile.c:1123 #, c-format msgid "" "\t# END block(s)\n" @@ -1869,7 +1881,7 @@ "\t# END ¥Ö¥í¥Ã¥¯\n" "\n" -#: profile.c:1139 +#: profile.c:1143 #, c-format msgid "" "\n" @@ -1878,90 +1890,93 @@ "\n" "\t# ´Ø¿ô°ìÍ÷¡Ê¥¢¥ë¥Õ¥¡¥Ù¥Ã¥È½ç¡Ë\n" -#: profile.c:1400 +#: profile.c:1405 #, c-format msgid "unexpected type %s in prec_level" msgstr "prec_level Ãæ¤Î %s ¤ÏͽÁÛ³°¤Î¥¿¥¤¥×¤Ç¤¹¡£" -#: profile.c:1500 +#: profile.c:1527 #, fuzzy, c-format msgid "Unknown node type %s in pp_var" msgstr "¥Î¡¼¥É %d ¤Î¼ïÎबÉÔÌÀ¤Ç¤¹¡£" -#: regcomp.c:133 +#: regcomp.c:132 msgid "Success" msgstr "À®¸ù" -#: regcomp.c:136 +#: regcomp.c:135 msgid "No match" msgstr "³ºÅö̵¤·" -#: regcomp.c:139 +#: regcomp.c:138 msgid "Invalid regular expression" msgstr "̵¸ú¤ÊÀµµ¬É½¸½" -#: regcomp.c:142 +#: regcomp.c:141 msgid "Invalid collation character" msgstr "̵¸ú¤Ê¾È¹çʸ»ú" -#: regcomp.c:145 +#: regcomp.c:144 msgid "Invalid character class name" msgstr "̵¸ú¤Êʸ»ú¥¯¥é¥¹Ì¾" -#: regcomp.c:148 +#: regcomp.c:147 msgid "Trailing backslash" msgstr "ºÇ¸å¤Ë¥Ð¥Ã¥¯¥¹¥é¥Ã¥·¥å¤¬ÉÕ¤¤¤Æ¤¤¤Þ¤¹¡£" -#: regcomp.c:151 +#: regcomp.c:150 msgid "Invalid back reference" msgstr "¸åÊý¤Ø¤Î»²¾È¤¬Ìµ¸ú¤Ç¤¹¡£" -#: regcomp.c:154 +#: regcomp.c:153 msgid "Unmatched [ or [^" msgstr "[ ¤Þ¤¿¤Ï [^ ¤¬Âбþ¤·¤Þ¤»¤ó¡£" -#: regcomp.c:157 +#: regcomp.c:156 msgid "Unmatched ( or \\(" msgstr "( ¤Þ¤¿¤Ï \\( ¤¬Âбþ¤·¤Þ¤»¤ó¡£" -#: regcomp.c:160 +#: regcomp.c:159 msgid "Unmatched \\{" msgstr "\\{ ¤¬Âбþ¤·¤Þ¤»¤ó¡£" -#: regcomp.c:163 +#: regcomp.c:162 msgid "Invalid content of \\{\\}" msgstr "\\{\\} ¤ÎÆâÍƤ¬Ìµ¸ú¤Ç¤¹¡£" -#: regcomp.c:166 +#: regcomp.c:165 msgid "Invalid range end" msgstr "ÈÏ°Ï»ØÄê¤Î½ªÃ¼¤¬Ìµ¸ú¤Ç¤¹¡£" -#: regcomp.c:169 +#: regcomp.c:168 msgid "Memory exhausted" msgstr "¥á¥â¥ê¡¼¤¬Â­¤ê¤Þ¤»¤ó¡£" -#: regcomp.c:172 +#: regcomp.c:171 msgid "Invalid preceding regular expression" msgstr "Àè¹Ô¤ÎÀµµ¬É½¸½¤¬Ìµ¸ú¤Ç¤¹¡£" -#: regcomp.c:175 +#: regcomp.c:174 msgid "Premature end of regular expression" msgstr "Àµµ¬É½¸½¤¬½ªÃ¼¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£" -#: regcomp.c:178 +#: regcomp.c:177 msgid "Regular expression too big" msgstr "Àµµ¬É½¸½¤¬Ä¹²á¤®¤Þ¤¹¡£" -#: regcomp.c:181 +#: regcomp.c:180 msgid "Unmatched ) or \\)" msgstr ") ¤Þ¤¿¤Ï \\) ¤¬Âбþ¤·¤Þ¤»¤ó¡£" -#: regcomp.c:700 +#: regcomp.c:699 msgid "No previous regular expression" msgstr "¤³¤ì¤è¤êÁ°¤Ë»ÈÍѤ·¤¿Àµµ¬É½¸½¤Ï¤¢¤ê¤Þ¤»¤ó¡£" #~ msgid "%s: illegal option -- %c\n" #~ msgstr "%s: ÉÔÀµ¤Ê¥ª¥×¥·¥ç¥ó -- %c\n" +#~ msgid "can't open two way socket `%s' for input/output (%s)" +#~ msgstr "Æþ½ÐÎÏÍѤÎÁÐÊý¸þ¥½¥±¥Ã¥È `%s' ¤¬³«¤±¤Þ¤»¤ó (%s)¡£" + #~ msgid "remote port invalid in `%s'" #~ msgstr "`%s' ¤Î¥ê¥â¡¼¥È¥Ý¡¼¥È¤¬Ìµ¸ú¤Ç¤¹¡£" diff -urN gawk-3.1.7/po/nl.po gawk-3.1.8/po/nl.po --- gawk-3.1.7/po/nl.po 2009-07-21 23:23:45.000000000 +0300 +++ gawk-3.1.8/po/nl.po 2010-05-06 20:57:37.000000000 +0300 @@ -1,78 +1,80 @@ -# Translation of gawk-3.1.6 to Dutch. -# Copyright (C) 2009 Free Software Foundation, Inc. -# +# Dutch translations for gawk. +# Copyright (C) 2010 Free Software Foundation, Inc. # This file is distributed under the same license as the gawk package. +# Pozdrav iz Maribora! # -# Benno Schulenberg , 2005, 2007. +# Erwin Poeze , 2009. +# Benno Schulenberg , 2005, 2007, 2010. msgid "" msgstr "" -"Project-Id-Version: gawk 3.1.6e\n" +"Project-Id-Version: gawk 3.1.7i\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2009-07-21 23:23+0300\n" -"PO-Revision-Date: 2009-07-05 21:29+0100\n" -"Last-Translator: Erwin Poeze \n" +"POT-Creation-Date: 2010-05-06 20:57+0300\n" +"PO-Revision-Date: 2010-04-30 17:03+0200\n" +"Last-Translator: Benno Schulenberg \n" "Language-Team: Dutch \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: KBabel 1.11.4\n" +"X-Generator: Lokalize 1.0\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" #: array.c:112 #, c-format msgid "attempt to use function `%s' as an array" -msgstr "functie `%s' wordt gebruikt als array" +msgstr "functie '%s' wordt gebruikt als array" #: array.c:115 #, c-format msgid "attempt to use scalar parameter `%s' as an array" -msgstr "scalaire parameter `%s' wordt gebruikt als array" +msgstr "scalaire parameter '%s' wordt gebruikt als array" #: array.c:118 #, c-format msgid "attempt to use scalar `%s' as array" -msgstr "scalair `%s' wordt gebruikt als array" +msgstr "scalair '%s' wordt gebruikt als array" #: array.c:156 #, c-format msgid "from %s" msgstr "van %s" -#: array.c:514 +#: array.c:513 #, c-format -msgid "reference to uninitialized element `%s[\"%s\"]'" -msgstr "verwijzing naar ongeïnitialiseerd element '%s[\"%s\"]'" +msgid "reference to uninitialized element `%s[\"%.*s\"]'" +msgstr "verwijzing naar ongeïnitialiseerd element '%s[\"%.*s\"]'" -#: array.c:520 +#: array.c:519 #, c-format msgid "subscript of array `%s' is null string" -msgstr "index van array `%s' is lege string" +msgstr "index van array '%s' is lege string" -#: array.c:624 +#: array.c:623 #, c-format msgid "delete: index `%s' not in array `%s'" -msgstr "delete: index `%s' niet in array '%s'" +msgstr "delete: index '%s' niet in array '%s'" -#: array.c:793 +#: array.c:792 #, c-format msgid "%s: empty (null)\n" msgstr "%s: leeg (nil)\n" -#: array.c:798 +#: array.c:797 #, c-format msgid "%s: empty (zero)\n" msgstr "%s: leeg (nul)\n" -#: array.c:802 +#: array.c:801 #, c-format msgid "%s: table_size = %d, array_size = %d\n" msgstr "%s: tabelgrootte = %d, arraygrootte = %d\n" -#: array.c:831 +#: array.c:830 #, c-format msgid "%s: is parameter\n" msgstr "%s: is een parameter\n" -#: array.c:836 +#: array.c:835 #, c-format msgid "%s: array_ref to %s\n" msgstr "%s: array-verwijzing naar %s\n" @@ -88,21 +90,21 @@ #: awkgram.y:257 awkgram.y:266 msgid "old awk does not support multiple `BEGIN' or `END' rules" -msgstr "oude 'awk' staat geen meerdere 'BEGIN'- en 'END'-regels toe" +msgstr "oude 'awk' staat meerdere 'BEGIN'- en 'END'-regels niet toe" #: awkgram.y:285 #, c-format msgid "`%s' is a built-in function, it cannot be redefined" -msgstr "`%s' is een ingebouwde functie en is niet te herdefiniëren" +msgstr "'%s' is een ingebouwde functie en is niet te herdefiniëren" #: awkgram.y:331 msgid "regexp constant `//' looks like a C++ comment, but is not" -msgstr "regexp-constante `//' lijkt op C++-commentaar, maar is het niet" +msgstr "regexp-constante '//' lijkt op C-commentaar, maar is het niet" #: awkgram.y:334 #, c-format msgid "regexp constant `/%s/' looks like a C comment, but is not" -msgstr "regexp-constante `/%s/' lijkt op C-commentaar, maar is het niet" +msgstr "regexp-constante '/%s/' lijkt op C-commentaar, maar is het niet" #: awkgram.y:361 awkgram.y:656 msgid "statement may have no effect" @@ -111,37 +113,37 @@ #: awkgram.y:458 awkgram.y:482 #, c-format msgid "`%s' used in %s action" -msgstr "`%s' wordt gebruikt in %s-actie" +msgstr "'%s' wordt gebruikt in %s-actie" #: awkgram.y:473 awkgram.y:477 msgid "`nextfile' is a gawk extension" -msgstr "`nextfile' is een gawk-uitbreiding" +msgstr "'nextfile' is een gawk-uitbreiding" #: awkgram.y:492 msgid "`return' used outside function context" -msgstr "`return' wordt gebruikt buiten functiecontext" +msgstr "'return' wordt gebruikt buiten functiecontext" #: awkgram.y:534 msgid "plain `print' in BEGIN or END rule should probably be `print \"\"'" msgstr "" -"kale `print' in BEGIN- of END-regel moet vermoedelijk `print \"\"' zijn" +"kale 'print' in BEGIN- of END-regel moet vermoedelijk 'print \"\"' zijn" #: awkgram.y:550 awkgram.y:558 msgid "`delete array' is a gawk extension" -msgstr "`delete array' is een gawk-uitbreiding" +msgstr "'delete array' is een gawk-uitbreiding" #: awkgram.y:572 awkgram.y:580 msgid "`delete(array)' is a non-portable tawk extension" -msgstr "`delete(array)' is een niet-overdraagbare 'tawk'-uitbreiding" +msgstr "'delete(array)' is een niet-overdraagbare 'tawk'-uitbreiding" #: awkgram.y:624 #, c-format msgid "duplicate case values in switch body: %s" -msgstr "dubbele `case'-waarde in `switch'-opdracht: %s" +msgstr "dubbele 'case'-waarde in 'switch'-opdracht: %s" #: awkgram.y:634 msgid "Duplicate `default' detected in switch body" -msgstr "dubbele `default' in `switch'-opdracht" +msgstr "dubbele 'default' in 'switch'-opdracht" #: awkgram.y:723 msgid "multistage two-way pipelines don't work" @@ -153,11 +155,11 @@ #: awkgram.y:824 msgid "regular expression on left of `~' or `!~' operator" -msgstr "reguliere expressie links van operator `~' of `!~'" +msgstr "reguliere expressie links van operator '~' of '!~'" #: awkgram.y:830 awkgram.y:903 msgid "old awk does not support the keyword `in' except after `for'" -msgstr "oude `awk' kent het sleutelwoord `in' niet, behalve na `for'" +msgstr "oude 'awk' kent het sleutelwoord 'in' niet, behalve na 'for'" #: awkgram.y:836 msgid "regular expression on right of comparison" @@ -165,19 +167,19 @@ #: awkgram.y:893 msgid "non-redirected `getline' undefined inside END action" -msgstr "onherverwezen `getline' is ongedefinieerd binnen END-actie" +msgstr "onherverwezen 'getline' is ongedefinieerd binnen END-actie" #: awkgram.y:904 msgid "old awk does not support multidimensional arrays" -msgstr "oude `awk' kent geen meerdimensionale arrays" +msgstr "oude 'awk' kent geen meerdimensionale arrays" #: awkgram.y:950 msgid "call of `length' without parentheses is not portable" -msgstr "aanroep van `length' zonder haakjes is niet overdraagbaar" +msgstr "aanroep van 'length' zonder haakjes is niet overdraagbaar" #: awkgram.y:955 msgid "call of `length' without parentheses is deprecated by POSIX" -msgstr "aanroep van `length' zonder haakjes wordt door POSIX afgeraden" +msgstr "aanroep van 'length' zonder haakjes wordt door POSIX afgeraden" #: awkgram.y:1009 msgid "use of non-array as array" @@ -198,17 +200,17 @@ #: awkgram.y:1430 #, c-format msgid "can't open source file `%s' for reading (%s)" -msgstr "kan bronbestand `%s' niet openen om te lezen (%s)" +msgstr "kan bronbestand '%s' niet openen om te lezen (%s)" #: awkgram.y:1528 #, c-format msgid "can't read sourcefile `%s' (%s)" -msgstr "kan bronbestand `%s' niet lezen (%s)" +msgstr "kan bronbestand '%s' niet lezen (%s)" #: awkgram.y:1536 #, c-format msgid "source file `%s' is empty" -msgstr "bronbestand `%s' is leeg" +msgstr "bronbestand '%s' is leeg" #: awkgram.y:1728 awkgram.y:1850 awkgram.y:1868 awkgram.y:2243 awkgram.y:2330 msgid "source file does not end in newline" @@ -221,12 +223,12 @@ #: awkgram.y:1814 #, c-format msgid "%s: %d: tawk regex modifier `/.../%c' doesn't work in gawk" -msgstr "%s: %d: regexp-optie `/.../%c' van `tawk' werkt niet in gawk" +msgstr "%s: %d: regexp-optie '/.../%c' van 'tawk' werkt niet in gawk" #: awkgram.y:1818 #, c-format msgid "tawk regex modifier `/.../%c' doesn't work in gawk" -msgstr "regexp-optie `/.../%c' van `tawk' werkt niet in gawk" +msgstr "regexp-optie '/.../%c' van 'tawk' werkt niet in gawk" #: awkgram.y:1825 msgid "unterminated regexp" @@ -238,7 +240,7 @@ #: awkgram.y:1897 msgid "use of `\\ #...' line continuation is not portable" -msgstr "gebruik van regelvoortzetting `\\ #...' is niet overdraagbaar" +msgstr "gebruik van regelvoortzetting '\\ #...' is niet overdraagbaar" #: awkgram.y:1910 msgid "backslash not last character on line" @@ -246,60 +248,60 @@ #: awkgram.y:1955 msgid "POSIX does not allow operator `**='" -msgstr "POSIX staat operator `**=' niet toe" +msgstr "POSIX staat operator '**=' niet toe" #: awkgram.y:1957 msgid "old awk does not support operator `**='" -msgstr "oude `awk' kent de operator `**=' niet" +msgstr "oude 'awk' kent de operator '**=' niet" #: awkgram.y:1966 msgid "POSIX does not allow operator `**'" -msgstr "POSIX staat operator `**' niet toe" +msgstr "POSIX staat operator '**' niet toe" #: awkgram.y:1968 msgid "old awk does not support operator `**'" -msgstr "oude `awk' kent de operator `**' niet" +msgstr "oude 'awk' kent de operator '**' niet" #: awkgram.y:1999 msgid "operator `^=' is not supported in old awk" -msgstr "oude `awk' kent de operator `^=' niet" +msgstr "oude 'awk' kent de operator '^=' niet" #: awkgram.y:2007 msgid "operator `^' is not supported in old awk" -msgstr "oude `awk' kent de operator `^' niet" +msgstr "oude 'awk' kent de operator '^' niet" #: awkgram.y:2091 awkgram.y:2106 msgid "unterminated string" msgstr "onafgesloten string" #: awkgram.y:2291 -#, fuzzy, c-format +#, c-format msgid "invalid char '%c' in expression" -msgstr "ongeldig teken `%c' in expressie" +msgstr "ongeldig teken '%c' in expressie" #: awkgram.y:2339 #, c-format msgid "`%s' is a gawk extension" -msgstr "`%s' is een gawk-uitbreiding" +msgstr "'%s' is een gawk-uitbreiding" #: awkgram.y:2342 #, c-format msgid "`%s' is a Bell Labs extension" -msgstr "`%s' is een uitbreiding door Bell Labs" +msgstr "'%s' is een uitbreiding door Bell Labs" #: awkgram.y:2345 #, c-format msgid "POSIX does not allow `%s'" -msgstr "POSIX staat `%s' niet toe" +msgstr "POSIX staat '%s' niet toe" #: awkgram.y:2349 #, c-format msgid "`%s' is not supported in old awk" -msgstr "oude `awk' kent `%s' niet" +msgstr "oude 'awk' kent '%s' niet" #: awkgram.y:2375 msgid "`goto' considered harmful!\n" -msgstr "`goto' wordt als schadelijk beschouwd!\n" +msgstr "'goto' wordt als schadelijk beschouwd!\n" #: awkgram.y:2437 #, c-format @@ -335,19 +337,19 @@ #: awkgram.y:2602 #, c-format msgid "function `%s': parameter #%d, `%s', duplicates parameter #%d" -msgstr "functie `%s': parameter #%d, `%s', dupliceert parameter #%d" +msgstr "functie '%s': parameter #%d, '%s', dupliceert parameter #%d" #: awkgram.y:2635 #, c-format msgid "function `%s': parameter `%s' shadows global variable" -msgstr "functie `%s': parameter `%s' schaduwt een globale variabele" +msgstr "functie '%s': parameter '%s' schaduwt een globale variabele" #: awkgram.y:2747 #, c-format msgid "could not open `%s' for writing (%s)" -msgstr "kan `%s' niet openen om te schrijven (%s)" +msgstr "kan '%s' niet openen om te schrijven (%s)" -#: awkgram.y:2748 profile.c:95 +#: awkgram.y:2748 profile.c:96 msgid "sending profile to standard error" msgstr "profiel gaat naar standaardfoutuitvoer" @@ -367,28 +369,28 @@ #: awkgram.y:3001 #, c-format msgid "function `%s': can't use function name as parameter name" -msgstr "functie `%s': kan functienaam niet als parameternaam gebruiken" +msgstr "functie '%s': kan functienaam niet als parameternaam gebruiken" #: awkgram.y:3004 #, c-format msgid "function `%s': can't use special variable `%s' as a function parameter" msgstr "" -"functie `%s': kan speciale variabele `%s' niet als functieparameter gebruiken" +"functie '%s': kan speciale variabele '%s' niet als functieparameter gebruiken" #: awkgram.y:3014 #, c-format msgid "function name `%s' previously defined" -msgstr "functienaam `%s' is al eerder gedefinieerd" +msgstr "functienaam '%s' is al eerder gedefinieerd" #: awkgram.y:3165 awkgram.y:3171 #, c-format msgid "function `%s' called but never defined" -msgstr "functie `%s' aangeroepen maar nergens gedefinieerd" +msgstr "functie '%s' aangeroepen maar nergens gedefinieerd" #: awkgram.y:3174 #, c-format msgid "function `%s' defined but never called" -msgstr "functie `%s' gedefinieerd maar nergens aangeroepen" +msgstr "functie '%s' gedefinieerd maar nergens aangeroepen" #: awkgram.y:3201 #, c-format @@ -401,13 +403,17 @@ "function `%s' called with space between name and `(',\n" "or used as a variable or an array" msgstr "" -"functie `%s' aangeroepen met spatie tussen naam en `(',\n" +"functie '%s' aangeroepen met spatie tussen naam en '(',\n" "of gebruikt als variabele of array" -#: awkgram.y:3667 eval.c:1394 +#: awkgram.y:3664 +msgid "division by zero attempted in `/'" +msgstr "deling door nul in '/'" + +#: awkgram.y:3669 eval.c:1394 #, c-format msgid "division by zero attempted in `%%'" -msgstr "deling door nul in `%%'" +msgstr "deling door nul in '%%'" #: builtin.c:122 #, c-format @@ -435,20 +441,20 @@ #, c-format msgid "fflush: cannot flush: pipe `%s' opened for reading, not writing" msgstr "" -"fflush: kan pijp niet leegmaken: `%s' is geopend om te lezen, niet om te " +"fflush: kan pijp niet leegmaken: '%s' is geopend om te lezen, niet om te " "schrijven" #: builtin.c:204 #, c-format msgid "fflush: cannot flush: file `%s' opened for reading, not writing" msgstr "" -"fflush: kan bestand niet leegmaken: `%s' is geopend om te lezen, niet om te " +"fflush: kan bestand niet leegmaken: '%s' is geopend om te lezen, niet om te " "schrijven" #: builtin.c:216 #, c-format msgid "fflush: `%s' is not an open file, pipe or co-process" -msgstr "fflush: `%s' is geen open bestand, pijp, of co-proces" +msgstr "fflush: '%s' is geen open bestand, pijp, of co-proces" #: builtin.c:310 msgid "index: received non-string first argument" @@ -466,169 +472,172 @@ msgid "`length(array)' is a gawk extension" msgstr "'length(array)' is een gawk-uitbreiding" -#: builtin.c:473 +#: builtin.c:471 +msgid "length: untyped parameter argument will be forced to scalar" +msgstr "length: typeloos parameterargument wordt omgezet naar scalair" + +#: builtin.c:480 msgid "length: untyped argument will be forced to scalar" -msgstr "lengte: typeloos argument wordt omgezet naar scalair" +msgstr "length: typeloos argument wordt omgezet naar scalair" -#: builtin.c:477 +#: builtin.c:484 msgid "length: received non-string argument" msgstr "length: argument is geen string" -#: builtin.c:508 +#: builtin.c:515 msgid "log: received non-numeric argument" msgstr "log: argument is geen getal" -#: builtin.c:511 +#: builtin.c:518 #, c-format msgid "log: received negative argument %g" msgstr "log: argument %g is negatief" -#: builtin.c:719 builtin.c:722 +#: builtin.c:726 builtin.c:729 msgid "must use `count$' on all formats or none" -msgstr "`count$' hoort in alle opmaken gebruikt te worden, of in geen" +msgstr "'count$' hoort in alle opmaken gebruikt te worden, of in geen" -#: builtin.c:783 +#: builtin.c:790 #, c-format msgid "field width is ignored for `%%%%' specifier" -msgstr "veldbreedte wordt genegeerd voor aanduiding `%%%%'" +msgstr "veldbreedte wordt genegeerd voor opmaakaanduiding '%%%%'" -#: builtin.c:785 +#: builtin.c:792 #, c-format msgid "precision is ignored for `%%%%' specifier" -msgstr "veldprecisie wordt genegeerd voor aanduiding `%%%%'" +msgstr "veldprecisie wordt genegeerd voor opmaakaanduiding '%%%%'" -#: builtin.c:787 +#: builtin.c:794 #, c-format msgid "field width and precision are ignored for `%%%%' specifier" -msgstr "veldbreedte en -precisie worden genegeerd voor aanduiding `%%%%'" +msgstr "veldbreedte en -precisie worden genegeerd voor opmaakaanduiding '%%%%'" -#: builtin.c:838 +#: builtin.c:845 msgid "`$' is not permitted in awk formats" -msgstr "`$' is niet toegestaan in awk-opmaak" +msgstr "'$' is niet toegestaan in awk-opmaak" -#: builtin.c:844 +#: builtin.c:851 msgid "arg count with `$' must be > 0" -msgstr "het aantal argumenten met `$' moet > 0 zijn" +msgstr "het aantal argumenten met '$' moet > 0 zijn" -#: builtin.c:846 +#: builtin.c:853 #, c-format msgid "arg count %ld greater than total number of supplied arguments" msgstr "argumentental %ld is groter dan het gegeven aantal argumenten" -#: builtin.c:848 +#: builtin.c:855 msgid "`$' not permitted after period in format" -msgstr "`$' is niet toegestaan na een punt in de opmaak" +msgstr "'$' is niet toegestaan na een punt in de opmaak" -#: builtin.c:861 +#: builtin.c:868 msgid "no `$' supplied for positional field width or precision" -msgstr "geen `$' opgegeven bij positionele veldbreedte of -precisie" +msgstr "geen '$' opgegeven bij positionele veldbreedte of -precisie" -#: builtin.c:927 +#: builtin.c:938 msgid "`l' is meaningless in awk formats; ignored" -msgstr "`l' is betekenisloos in awk-opmaak; genegeerd" +msgstr "'l' is betekenisloos in awk-opmaak; genegeerd" -#: builtin.c:931 +#: builtin.c:942 msgid "`l' is not permitted in POSIX awk formats" -msgstr "`l' is niet toegestaan in POSIX awk-opmaak" +msgstr "'l' is niet toegestaan in POSIX awk-opmaak" -#: builtin.c:942 +#: builtin.c:953 msgid "`L' is meaningless in awk formats; ignored" -msgstr "`L' is betekenisloos in awk-opmaak; genegeerd" +msgstr "'L' is betekenisloos in awk-opmaak; genegeerd" -#: builtin.c:946 +#: builtin.c:957 msgid "`L' is not permitted in POSIX awk formats" -msgstr "`L' is niet toegestaan in POSIX awk-opmaak" +msgstr "'L' is niet toegestaan in POSIX awk-opmaak" -#: builtin.c:957 +#: builtin.c:968 msgid "`h' is meaningless in awk formats; ignored" -msgstr "`h' is betekenisloos in awk-opmaak; genegeerd" +msgstr "'h' is betekenisloos in awk-opmaak; genegeerd" -#: builtin.c:961 +#: builtin.c:972 msgid "`h' is not permitted in POSIX awk formats" -msgstr "`h' is niet toegestaan in POSIX awk-opmaak" +msgstr "'h' is niet toegestaan in POSIX awk-opmaak" -#: builtin.c:1236 +#: builtin.c:1252 #, c-format msgid "[s]printf: value %g is out of range for `%%%c' format" -msgstr "[s]printf: waarde %g ligt buiten toegestaan bereik voor opmaak `%%%c'" +msgstr "[s]printf: waarde %g ligt buiten toegestaan bereik voor opmaak '%%%c'" -#: builtin.c:1316 +#: builtin.c:1332 #, c-format msgid "ignoring unknown format specifier character `%c': no argument converted" msgstr "" -"onbekend aanduidingskarakter `%c' wordt genegeerd: geen argument wordt " -"geconverteerd" +"onbekend opmaakteken '%c' wordt genegeerd: geen argument is geconverteerd" -#: builtin.c:1322 +#: builtin.c:1338 msgid "not enough arguments to satisfy format string" msgstr "niet genoeg argumenten voor opmaakstring" -#: builtin.c:1324 +#: builtin.c:1340 msgid "^ ran out for this one" msgstr "niet genoeg ^ voor deze" -#: builtin.c:1330 +#: builtin.c:1346 msgid "[s]printf: format specifier does not have control letter" msgstr "[s]printf: opmaakaanduiding mist een stuurletter" -#: builtin.c:1333 +#: builtin.c:1349 msgid "too many arguments supplied for format string" msgstr "te veel argumenten voor opmaakstring" -#: builtin.c:1408 builtin.c:1411 +#: builtin.c:1424 builtin.c:1427 msgid "printf: no arguments" msgstr "printf: geen argumenten" -#: builtin.c:1435 +#: builtin.c:1451 msgid "sqrt: received non-numeric argument" msgstr "sqrt: argument is geen getal" -#: builtin.c:1439 +#: builtin.c:1455 #, c-format msgid "sqrt: called with negative argument %g" msgstr "sqrt: argument %g is negatief" -#: builtin.c:1463 +#: builtin.c:1479 #, c-format msgid "substr: start index %g is invalid, using 1" msgstr "substr: startindex %g is ongeldig; 1 wordt gebruikt" -#: builtin.c:1468 +#: builtin.c:1484 #, c-format msgid "substr: non-integer start index %g will be truncated" msgstr "substr: startindex %g is geen integer; wordt afgekapt" -#: builtin.c:1494 +#: builtin.c:1510 #, c-format msgid "substr: length %g is not >= 1" msgstr "substr: lengte %g is niet >= 1" -#: builtin.c:1496 +#: builtin.c:1512 #, c-format msgid "substr: length %g is not >= 0" msgstr "substr: lengte %g is niet >= 0" -#: builtin.c:1503 +#: builtin.c:1519 #, c-format msgid "substr: non-integer length %g will be truncated" msgstr "substr: lengte %g is geen integer; wordt afgekapt" -#: builtin.c:1508 +#: builtin.c:1524 #, c-format msgid "substr: length %g too big for string indexing, truncating to %g" msgstr "" "substr: lengte %g is te groot voor stringindexering; wordt verkort tot %g" -#: builtin.c:1520 +#: builtin.c:1536 msgid "substr: source string is zero length" msgstr "substr: bronstring heeft lengte nul" -#: builtin.c:1536 +#: builtin.c:1552 #, c-format msgid "substr: start index %g is past end of string" msgstr "substr: startindex %g ligt voorbij het einde van de string" -#: builtin.c:1544 +#: builtin.c:1560 #, c-format msgid "" "substr: length %g at start index %g exceeds length of first argument (%lu)" @@ -636,257 +645,261 @@ "substr: lengte %g bij startindex %g is groter dan de lengte van het eerste " "argument (%lu)" -#: builtin.c:1621 +#: builtin.c:1637 msgid "strftime: received non-string first argument" msgstr "strftime: eerste argument is geen string" -#: builtin.c:1627 +#: builtin.c:1643 msgid "strftime: received empty format string" msgstr "strftime: opmaakstring is leeg" -#: builtin.c:1636 +#: builtin.c:1652 msgid "strftime: received non-numeric second argument" msgstr "strftime: tweede argument is geen getal" -#: builtin.c:1713 +#: builtin.c:1729 msgid "mktime: received non-string argument" msgstr "mktime: argument is geen string" -#: builtin.c:1758 +#: builtin.c:1746 +msgid "mktime: at least one of the values is out of the default range" +msgstr "mktime: minstens één van waarden valt buiten het standaardbereik" + +#: builtin.c:1783 msgid "system: received non-string argument" msgstr "system: argument is geen string" -#: builtin.c:1879 eval.c:2145 +#: builtin.c:1904 eval.c:2157 #, c-format msgid "reference to uninitialized field `$%d'" -msgstr "verwijzing naar ongeïnitialiseerd veld `$%d'" +msgstr "verwijzing naar ongeïnitialiseerd veld '$%d'" -#: builtin.c:1984 +#: builtin.c:2009 msgid "tolower: received non-string argument" msgstr "tolower: argument is geen string" -#: builtin.c:2014 +#: builtin.c:2039 msgid "toupper: received non-string argument" msgstr "toupper: argument is geen string" -#: builtin.c:2047 +#: builtin.c:2072 msgid "atan2: received non-numeric first argument" msgstr "atan2: eerste argument is geen getal" -#: builtin.c:2049 +#: builtin.c:2074 msgid "atan2: received non-numeric second argument" msgstr "atan2: tweede argument is geen getal" -#: builtin.c:2068 +#: builtin.c:2093 msgid "sin: received non-numeric argument" msgstr "sin: argument is geen getal" -#: builtin.c:2084 +#: builtin.c:2109 msgid "cos: received non-numeric argument" msgstr "cos: argument is geen getal" -#: builtin.c:2137 +#: builtin.c:2162 msgid "srand: received non-numeric argument" msgstr "srand: argument is geen getal" -#: builtin.c:2172 +#: builtin.c:2197 msgid "match: third argument is not an array" msgstr "match: derde argument is geen array" -#: builtin.c:2719 +#: builtin.c:2744 msgid "gensub: third argument of 0 treated as 1" msgstr "gensub: derde argument is 0; wordt beschouwd als 1" -#: builtin.c:2835 +#: builtin.c:2860 msgid "lshift: received non-numeric first argument" msgstr "lshift: eerste argument is geen getal" -#: builtin.c:2837 +#: builtin.c:2862 msgid "lshift: received non-numeric second argument" msgstr "lshift: tweede argument is geen getal" -#: builtin.c:2843 +#: builtin.c:2868 #, c-format msgid "lshift(%lf, %lf): negative values will give strange results" msgstr "lshift(%lf, %lf): negatieve waarden geven rare resultaten" -#: builtin.c:2845 +#: builtin.c:2870 #, c-format msgid "lshift(%lf, %lf): fractional values will be truncated" msgstr "lshift(%lf, %lf): cijfers na de komma worden afgekapt" -#: builtin.c:2847 +#: builtin.c:2872 #, c-format msgid "lshift(%lf, %lf): too large shift value will give strange results" msgstr "lshift(%lf, %lf): te grote opschuifwaarden geven rare resultaten" -#: builtin.c:2873 +#: builtin.c:2898 msgid "rshift: received non-numeric first argument" msgstr "rshift: eerste argument is geen getal" -#: builtin.c:2875 +#: builtin.c:2900 msgid "rshift: received non-numeric second argument" msgstr "rshift: tweede argument is geen getal" -#: builtin.c:2881 +#: builtin.c:2906 #, c-format msgid "rshift(%lf, %lf): negative values will give strange results" msgstr "rshift(%lf, %lf): negatieve waarden geven rare resultaten" -#: builtin.c:2883 +#: builtin.c:2908 #, c-format msgid "rshift(%lf, %lf): fractional values will be truncated" msgstr "rshift(%lf, %lf): cijfers na de komma worden afgekapt" -#: builtin.c:2885 +#: builtin.c:2910 #, c-format msgid "rshift(%lf, %lf): too large shift value will give strange results" msgstr "rshift(%lf, %lf): te grote opschuifwaarden geven rare resultaten" -#: builtin.c:2911 +#: builtin.c:2936 msgid "and: received non-numeric first argument" msgstr "and: eerste argument is geen getal" -#: builtin.c:2913 +#: builtin.c:2938 msgid "and: received non-numeric second argument" msgstr "and: tweede argument is geen getal" -#: builtin.c:2919 +#: builtin.c:2944 #, c-format msgid "and(%lf, %lf): negative values will give strange results" msgstr "and(%lf, %lf): negatieve waarden geven rare resultaten" -#: builtin.c:2921 +#: builtin.c:2946 #, c-format msgid "and(%lf, %lf): fractional values will be truncated" msgstr "and(%lf, %lf): cijfers na de komma worden afgekapt" -#: builtin.c:2947 +#: builtin.c:2972 msgid "or: received non-numeric first argument" msgstr "or: eerste argument is geen getal" -#: builtin.c:2949 +#: builtin.c:2974 msgid "or: received non-numeric second argument" msgstr "or: tweede argument is geen getal" -#: builtin.c:2955 +#: builtin.c:2980 #, c-format msgid "or(%lf, %lf): negative values will give strange results" msgstr "or(%lf, %lf): negatieve waarden geven rare resultaten" -#: builtin.c:2957 +#: builtin.c:2982 #, c-format msgid "or(%lf, %lf): fractional values will be truncated" msgstr "or(%lf, %lf): cijfers na de komma worden afgekapt" -#: builtin.c:2983 +#: builtin.c:3008 msgid "xor: received non-numeric first argument" msgstr "xor: eerste argument is geen getal" -#: builtin.c:2985 +#: builtin.c:3010 msgid "xor: received non-numeric second argument" msgstr "xor: tweede argument is geen getal" -#: builtin.c:2991 +#: builtin.c:3016 #, c-format msgid "xor(%lf, %lf): negative values will give strange results" msgstr "xor(%lf, %lf): negatieve waarden geven rare resultaten" -#: builtin.c:2993 +#: builtin.c:3018 #, c-format msgid "xor(%lf, %lf): fractional values will be truncated" msgstr "xor(%lf, %lf): cijfers na de komma worden afgekapt" -#: builtin.c:3017 +#: builtin.c:3042 msgid "compl: received non-numeric argument" msgstr "compl: argument is geen getal" -#: builtin.c:3023 +#: builtin.c:3048 #, c-format msgid "compl(%lf): negative value will give strange results" msgstr "compl(%lf): negatieve waarden geven rare resultaten" -#: builtin.c:3025 +#: builtin.c:3050 #, c-format msgid "compl(%lf): fractional value will be truncated" msgstr "compl(%lf): cijfers na de komma worden afgekapt" -#: builtin.c:3198 +#: builtin.c:3223 #, c-format msgid "dcgettext: `%s' is not a valid locale category" -msgstr "dcgettext: `%s' is geen geldige taalregio-deelcategorie" +msgstr "dcgettext: '%s' is geen geldige taalregio-deelcategorie" #: eval.c:372 #, c-format msgid "unknown nodetype %d" -msgstr "onbekend nodetype %d" +msgstr "onbekend knooptype %d" #: eval.c:422 msgid "buffer overflow in genflags2str" msgstr "bufferoverloop in genflags2str()" -#: eval.c:454 eval.c:460 profile.c:781 +#: eval.c:454 eval.c:460 profile.c:785 #, c-format msgid "attempt to use array `%s' in a scalar context" -msgstr "array `%s' wordt gebruikt in een scalaire context" +msgstr "array '%s' wordt gebruikt in een scalaire context" #: eval.c:802 #, c-format msgid "for loop: array `%s' changed size from %ld to %ld during loop execution" msgstr "" -"for: array `%s' veranderde van grootte %ld naar %ld tijdens uitvoer van de " +"for: array '%s' veranderde van grootte %ld naar %ld tijdens uitvoer van de " "lus" #: eval.c:823 msgid "`break' outside a loop is not portable" -msgstr "`break' buiten een lus is niet overdraagbaar" +msgstr "'break' buiten een lus is niet overdraagbaar" #: eval.c:827 msgid "`break' outside a loop is not allowed" -msgstr "`break' buiten een lus is niet toegestaan" +msgstr "'break' buiten een lus is niet toegestaan" #: eval.c:844 msgid "`continue' outside a loop is not portable" -msgstr "`continue' buiten een lus is niet overdraagbaar" +msgstr "'continue' buiten een lus is niet overdraagbaar" #: eval.c:848 msgid "`continue' outside a loop is not allowed" -msgstr "`continue' buiten een lus is niet toegestaan" +msgstr "'continue' buiten een lus is niet toegestaan" #: eval.c:882 msgid "`next' cannot be called from a BEGIN rule" -msgstr "`next' kan niet aangeroepen worden in een BEGIN-regel" +msgstr "'next' kan niet aangeroepen worden in een BEGIN-regel" #: eval.c:884 msgid "`next' cannot be called from an END rule" -msgstr "`next' kan niet aangeroepen worden in een END-regel" +msgstr "'next' kan niet aangeroepen worden in een END-regel" #: eval.c:893 msgid "`nextfile' cannot be called from a BEGIN rule" -msgstr "`nextfile' kan niet aangeroepen worden in een BEGIN-regel" +msgstr "'nextfile' kan niet aangeroepen worden in een BEGIN-regel" #: eval.c:895 msgid "`nextfile' cannot be called from an END rule" -msgstr "`nextfile' kan niet aangeroepen worden in een END-regel" +msgstr "'nextfile' kan niet aangeroepen worden in een END-regel" #: eval.c:952 msgid "statement has no effect" msgstr "opdracht heeft geen effect" -#: eval.c:1029 eval.c:1999 +#: eval.c:1029 eval.c:2011 #, c-format msgid "can't use function name `%s' as variable or array" -msgstr "kan functienaam `%s' niet als variabele of array gebruiken" +msgstr "kan functienaam '%s' niet als variabele of array gebruiken" #: eval.c:1036 eval.c:1042 #, c-format msgid "reference to uninitialized argument `%s'" -msgstr "verwijzing naar ongeïnitialiseerd argument `%s'" +msgstr "verwijzing naar ongeïnitialiseerd argument '%s'" -#: eval.c:1051 eval.c:2008 +#: eval.c:1051 eval.c:2020 #, c-format msgid "reference to uninitialized variable `%s'" -msgstr "verwijzing naar ongeïnitialiseerde variabele `%s'" +msgstr "verwijzing naar ongeïnitialiseerde variabele '%s'" #: eval.c:1197 msgid "" @@ -904,31 +917,31 @@ msgid "division by zero attempted" msgstr "deling door nul" -#: eval.c:1409 profile.c:657 +#: eval.c:1409 profile.c:661 #, c-format msgid "illegal type (%s) in tree_eval" msgstr "ongeldig type (%s) in tree_eval()" #: eval.c:1572 msgid "division by zero attempted in `/='" -msgstr "deling door nul in `/='" +msgstr "deling door nul in '/='" #: eval.c:1594 #, c-format msgid "division by zero attempted in `%%='" -msgstr "deling door nul in `%%='" +msgstr "deling door nul in '%%='" -#: eval.c:1859 +#: eval.c:1871 #, c-format msgid "function `%s' called with more arguments than declared" -msgstr "functie `%s' aangeroepen met meer argumenten dan gedeclareerd" +msgstr "functie '%s' aangeroepen met meer argumenten dan gedeclareerd" -#: eval.c:1904 +#: eval.c:1916 #, c-format msgid "function `%s' not defined" -msgstr "functie `%s' is niet gedefinieerd" +msgstr "functie '%s' is niet gedefinieerd" -#: eval.c:1971 +#: eval.c:1983 #, c-format msgid "" "\n" @@ -939,64 +952,64 @@ "\t# Functieaanroepen-stack:\n" "\n" -#: eval.c:1974 +#: eval.c:1986 #, c-format msgid "\t# -- main --\n" msgstr "\t# -- hoofd --\n" -#: eval.c:2129 +#: eval.c:2141 msgid "attempt to field reference from non-numeric value" msgstr "veldverwijzingspoging via een waarde die geen getal is" -#: eval.c:2131 +#: eval.c:2143 msgid "attempt to reference from null string" msgstr "verwijzingspoging via een lege string" -#: eval.c:2137 +#: eval.c:2149 #, c-format msgid "attempt to access field %d" msgstr "toegangspoging tot veld %d" -#: eval.c:2158 eval.c:2165 profile.c:836 +#: eval.c:2170 eval.c:2177 profile.c:840 msgid "assignment is not allowed to result of builtin function" msgstr "" "toewijzing aan het resultaat van een ingebouwde functie is niet toegestaan" -#: eval.c:2229 +#: eval.c:2241 msgid "`IGNORECASE' is a gawk extension" -msgstr "`IGNORECASE' is een gawk-uitbreiding" +msgstr "'IGNORECASE' is een gawk-uitbreiding" -#: eval.c:2258 +#: eval.c:2270 msgid "`BINMODE' is a gawk extension" -msgstr "`BINMODE' is een gawk-uitbreiding" +msgstr "'BINMODE' is een gawk-uitbreiding" -#: eval.c:2316 +#: eval.c:2328 #, c-format msgid "BINMODE value `%s' is invalid, treated as 3" -msgstr "BINMODE-waarde `%s' is onjuist, wordt behandeld als 3" +msgstr "BINMODE-waarde '%s' is ongeldig, wordt behandeld als 3" -#: eval.c:2406 +#: eval.c:2418 #, c-format msgid "bad `%sFMT' specification `%s'" -msgstr "onjuiste opgave van `%sFMT': `%s'" +msgstr "onjuiste opgave van '%sFMT': '%s'" -#: eval.c:2484 +#: eval.c:2496 msgid "turning off `--lint' due to assignment to `LINT'" -msgstr "`--lint' wordt uitgeschakeld wegens toewijzing aan `LINT'" +msgstr "'--lint' wordt uitgeschakeld wegens toewijzing aan 'LINT'" #: ext.c:62 ext.c:67 msgid "`extension' is a gawk extension" -msgstr "`extension' is een gawk-uitbreiding" +msgstr "'extension' is een gawk-uitbreiding" #: ext.c:77 #, c-format msgid "extension: cannot open `%s' (%s)\n" -msgstr "extension: kan `%s' niet openen (%s)\n" +msgstr "extension: kan '%s' niet openen (%s)\n" #: ext.c:85 #, c-format msgid "extension: library `%s': cannot call function `%s' (%s)\n" -msgstr "extension: bibliotheek `%s': kan functie `%s' niet aanroepen (%s)\n" +msgstr "extension: bibliotheek '%s': kan functie '%s' niet aanroepen (%s)\n" #: ext.c:105 msgid "extension: missing function name" @@ -1005,48 +1018,48 @@ #: ext.c:110 #, c-format msgid "extension: illegal character `%c' in function name `%s'" -msgstr "extension: ongeldig teken `%c' in functienaam `%s'" +msgstr "extension: ongeldig teken '%c' in functienaam '%s'" #: ext.c:116 #, c-format msgid "extension: can't redefine function `%s'" -msgstr "extension: kan functie `%s' niet herdefiniëren" +msgstr "extension: kan functie '%s' niet herdefiniëren" #: ext.c:120 #, c-format msgid "extension: function `%s' already defined" -msgstr "extension: functie `%s' is al gedefinieerd" +msgstr "extension: functie '%s' is al gedefinieerd" #: ext.c:125 #, c-format msgid "extension: can't use gawk built-in `%s' as function name" -msgstr "extension: kan in gawk ingebouwde `%s' niet als functienaam gebruiken" +msgstr "extension: kan in gawk ingebouwde '%s' niet als functienaam gebruiken" #: ext.c:127 #, c-format msgid "extension: function name `%s' previously defined" -msgstr "extension: functienaam `%s' is al eerder gedefinieerd" +msgstr "extension: functienaam '%s' is al eerder gedefinieerd" #: ext.c:204 #, c-format msgid "function `%s' defined to take no more than %d argument(s)" msgstr "" -"functie `%s' is gedefinieerd om niet meer dan %d argument(en) te accepteren" +"functie '%s' is gedefinieerd om niet meer dan %d argument(en) te accepteren" #: ext.c:207 #, c-format msgid "function `%s': missing argument #%d" -msgstr "functie `%s': ontbrekend argument #%d" +msgstr "functie '%s': ontbrekend argument #%d" #: ext.c:217 #, c-format msgid "function `%s': argument #%d: attempt to use scalar as an array" -msgstr "functie `%s': argument #%d: een scalair wordt gebruikt als array" +msgstr "functie '%s': argument #%d: een scalair wordt gebruikt als array" #: ext.c:221 #, c-format msgid "function `%s': argument #%d: attempt to use array as a scalar" -msgstr "functie `%s': argument #%d: een array wordt gebruikt als scalair" +msgstr "functie '%s': argument #%d: een array wordt gebruikt als scalair" #: ext.c:246 msgid "Operation Not Supported" @@ -1066,75 +1079,80 @@ #: field.c:961 msgid "`FIELDWIDTHS' is a gawk extension" -msgstr "`FIELDWIDTHS' is een gawk-uitbreiding" +msgstr "'FIELDWIDTHS' is een gawk-uitbreiding" #: field.c:991 field.c:1005 #, c-format msgid "invalid FIELDWIDTHS value, near `%s'" -msgstr "ongeldige waarde voor FIELDWIDTHS, nabij `%s'" +msgstr "ongeldige waarde voor FIELDWIDTHS, nabij '%s'" #: field.c:1088 msgid "null string for `FS' is a gawk extension" -msgstr "een lege string als `FS' is een gawk-uitbreiding" +msgstr "een lege string als 'FS' is een gawk-uitbreiding" #: field.c:1092 msgid "old awk does not support regexps as value of `FS'" -msgstr "oude `awk' staat geen reguliere expressies toe als waarde van `FS'" +msgstr "oude 'awk' staat geen reguliere expressies toe als waarde van 'FS'" -#: getopt.c:570 getopt.c:586 -#, fuzzy, c-format +#: getopt.c:574 getopt.c:590 +#, c-format msgid "%s: option '%s' is ambiguous\n" -msgstr "%s: optie `%s' is niet eenduidig\n" +msgstr "%s: optie '%s' is niet eenduidig\n" -#: getopt.c:619 getopt.c:623 -#, fuzzy, c-format +#: getopt.c:623 getopt.c:627 +#, c-format msgid "%s: option '--%s' doesn't allow an argument\n" -msgstr "%s: optie `--%s' staat geen argument toe\n" +msgstr "%s: optie '--%s' staat geen argument toe\n" -#: getopt.c:632 getopt.c:637 -#, fuzzy, c-format +#: getopt.c:636 getopt.c:641 +#, c-format msgid "%s: option '%c%s' doesn't allow an argument\n" -msgstr "%s: optie `%c%s' staat geen argument toe\n" +msgstr "%s: optie '%c%s' staat geen argument toe\n" -#: getopt.c:680 getopt.c:699 getopt.c:1002 getopt.c:1021 -#, fuzzy, c-format -msgid "%s: option '%s' requires an argument\n" -msgstr "%s: optie `%s' vereist een argument\n" +#: getopt.c:684 getopt.c:703 +#, c-format +msgid "%s: option '--%s' requires an argument\n" +msgstr "%s: optie '--%s' vereist een argument\n" -#: getopt.c:737 getopt.c:740 -#, fuzzy, c-format +#: getopt.c:741 getopt.c:744 +#, c-format msgid "%s: unrecognized option '--%s'\n" -msgstr "%s: onbekende optie `--%s'\n" +msgstr "%s: onbekende optie '--%s'\n" -#: getopt.c:748 getopt.c:751 -#, fuzzy, c-format +#: getopt.c:752 getopt.c:755 +#, c-format msgid "%s: unrecognized option '%c%s'\n" -msgstr "%s: onbekende optie `%c%s'\n" +msgstr "%s: onbekende optie '%c%s'\n" -#: getopt.c:800 getopt.c:803 -#, fuzzy, c-format +#: getopt.c:804 getopt.c:807 +#, c-format msgid "%s: invalid option -- '%c'\n" -msgstr "%s: ongeldige optie -- `%c'\n" +msgstr "%s: ongeldige optie -- '%c'\n" -#: getopt.c:853 getopt.c:870 getopt.c:1073 getopt.c:1091 -#, fuzzy, c-format +#: getopt.c:857 getopt.c:874 getopt.c:1082 getopt.c:1100 +#, c-format msgid "%s: option requires an argument -- '%c'\n" -msgstr "%s: optie vereist een argument -- `%c'\n" +msgstr "%s: optie vereist een argument -- '%c'\n" -#: getopt.c:923 getopt.c:939 -#, fuzzy, c-format +#: getopt.c:930 getopt.c:946 +#, c-format msgid "%s: option '-W %s' is ambiguous\n" -msgstr "%s: optie `-W %s' is niet eenduidig\n" +msgstr "%s: optie '-W %s' is niet eenduidig\n" -#: getopt.c:963 getopt.c:981 -#, fuzzy, c-format +#: getopt.c:970 getopt.c:988 +#, c-format msgid "%s: option '-W %s' doesn't allow an argument\n" -msgstr "%s: optie `-W %s' staat geen argument toe\n" +msgstr "%s: optie '-W %s' staat geen argument toe\n" + +#: getopt.c:1009 getopt.c:1027 +#, c-format +msgid "%s: option '-W %s' requires an argument\n" +msgstr "%s: optie '-W %s' vereist een argument\n" #: io.c:322 io.c:352 #, c-format msgid "cannot open file `%s' for reading (%s)" -msgstr "kan bestand `%s' niet openen om te lezen (%s)" +msgstr "kan bestand '%s' niet openen om te lezen (%s)" #: io.c:443 #, c-format @@ -1149,474 +1167,469 @@ #: io.c:589 #, c-format msgid "expression in `%s' redirection only has numeric value" -msgstr "expressie in omleiding `%s' heeft alleen een getal als waarde" +msgstr "expressie in omleiding '%s' heeft alleen een getal als waarde" #: io.c:595 #, c-format msgid "expression for `%s' redirection has null string value" -msgstr "expressie voor omleiding `%s' heeft een lege string als waarde" +msgstr "expressie voor omleiding '%s' heeft een lege string als waarde" #: io.c:600 #, c-format msgid "filename `%s' for `%s' redirection may be result of logical expression" msgstr "" -"bestandsnaam `%s' voor omleiding `%s' kan het resultaat zijn van een " +"bestandsnaam '%s' voor omleiding '%s' kan het resultaat zijn van een " "logische expressie" #: io.c:638 #, c-format msgid "unnecessary mixing of `>' and `>>' for file `%.*s'" -msgstr "onnodige mix van `>' en `>>' voor bestand `%.*s'" +msgstr "onnodige mix van '>' en '>>' voor bestand '%.*s'" #: io.c:685 #, c-format msgid "can't open pipe `%s' for output (%s)" -msgstr "kan pijp `%s' niet openen voor uitvoer (%s)" +msgstr "kan pijp '%s' niet openen voor uitvoer (%s)" #: io.c:694 #, c-format msgid "can't open pipe `%s' for input (%s)" -msgstr "kan pijp `%s' niet openen voor invoer (%s)" - -#: io.c:712 -#, c-format -msgid "can't open two way socket `%s' for input/output (%s)" -msgstr "kan tweerichtings-socket `%s' niet openen voor in- en uitvoer (%s)" +msgstr "kan pijp '%s' niet openen voor invoer (%s)" -#: io.c:716 +#: io.c:717 #, c-format msgid "can't open two way pipe `%s' for input/output (%s)" -msgstr "kan tweerichtings-pijp `%s' niet openen voor in- en uitvoer (%s)" +msgstr "kan tweerichtings-pijp '%s' niet openen voor in- en uitvoer (%s)" -#: io.c:793 +#: io.c:795 #, c-format msgid "can't redirect from `%s' (%s)" -msgstr "kan niet omleiden van `%s' (%s)" +msgstr "kan niet omleiden van '%s' (%s)" -#: io.c:796 +#: io.c:798 #, c-format msgid "can't redirect to `%s' (%s)" -msgstr "kan niet omleiden naar `%s' (%s)" +msgstr "kan niet omleiden naar '%s' (%s)" -#: io.c:849 +#: io.c:851 msgid "" "reached system limit for open files: starting to multiplex file descriptors" msgstr "" "systeemgrens voor aantal open bestanden is bereikt: begonnen met multiplexen" -#: io.c:865 +#: io.c:867 #, c-format msgid "close of `%s' failed (%s)." -msgstr "sluiten van `%s' is mislukt (%s)" +msgstr "sluiten van '%s' is mislukt (%s)" -#: io.c:873 +#: io.c:875 msgid "too many pipes or input files open" msgstr "te veel pijpen of invoerbestanden geopend" -#: io.c:896 +#: io.c:898 msgid "close: second argument must be `to' or `from'" -msgstr "close: tweede argument moet `to' of `from' zijn" +msgstr "close: tweede argument moet 'to' of 'from' zijn" -#: io.c:910 +#: io.c:912 #, c-format msgid "close: `%.*s' is not an open file, pipe or co-process" -msgstr "close: `%.*s' is geen open bestand, pijp, of co-proces" +msgstr "close: '%.*s' is geen open bestand, pijp, of co-proces" -#: io.c:915 +#: io.c:917 msgid "close of redirection that was never opened" msgstr "sluiten van een nooit-geopende omleiding" -#: io.c:1012 +#: io.c:1014 #, c-format msgid "close: redirection `%s' not opened with `|&', second argument ignored" msgstr "" -"close: omleiding `%s' is niet geopend met `|&'; tweede argument wordt " +"close: omleiding '%s' is niet geopend met '|&'; tweede argument wordt " "genegeerd" -#: io.c:1028 +#: io.c:1030 #, c-format msgid "failure status (%d) on pipe close of `%s' (%s)" -msgstr "afsluitwaarde %d bij mislukte sluiting van pijp `%s' (%s)" +msgstr "afsluitwaarde %d bij mislukte sluiting van pijp '%s' (%s)" -#: io.c:1031 +#: io.c:1033 #, c-format msgid "failure status (%d) on file close of `%s' (%s)" -msgstr "afsluitwaarde %d bij mislukte sluiting van bestand `%s' (%s)" +msgstr "afsluitwaarde %d bij mislukte sluiting van bestand '%s' (%s)" -#: io.c:1051 +#: io.c:1053 #, c-format msgid "no explicit close of socket `%s' provided" -msgstr "geen expliciete sluiting van socket `%s' aangegeven" +msgstr "geen expliciete sluiting van socket '%s' aangegeven" -#: io.c:1054 +#: io.c:1056 #, c-format msgid "no explicit close of co-process `%s' provided" -msgstr "geen expliciete sluiting van co-proces `%s' aangegeven" +msgstr "geen expliciete sluiting van co-proces '%s' aangegeven" -#: io.c:1057 +#: io.c:1059 #, c-format msgid "no explicit close of pipe `%s' provided" -msgstr "geen expliciete sluiting van pijp `%s' aangegeven" +msgstr "geen expliciete sluiting van pijp '%s' aangegeven" -#: io.c:1060 +#: io.c:1062 #, c-format msgid "no explicit close of file `%s' provided" -msgstr "geen expliciete sluiting van bestand `%s' aangegeven" +msgstr "geen expliciete sluiting van bestand '%s' aangegeven" -#: io.c:1088 io.c:1143 main.c:776 main.c:818 +#: io.c:1090 io.c:1145 main.c:781 main.c:823 #, c-format msgid "error writing standard output (%s)" msgstr "fout tijdens schrijven van standaarduitvoer (%s)" -#: io.c:1092 io.c:1148 +#: io.c:1094 io.c:1150 #, c-format msgid "error writing standard error (%s)" msgstr "fout tijdens schrijven van standaardfoutuitvoer (%s)" -#: io.c:1100 +#: io.c:1102 #, c-format msgid "pipe flush of `%s' failed (%s)." -msgstr "leegmaken van pijp `%s' is mislukt (%s)" +msgstr "leegmaken van pijp '%s' is mislukt (%s)" -#: io.c:1103 +#: io.c:1105 #, c-format msgid "co-process flush of pipe to `%s' failed (%s)." -msgstr "leegmaken door co-proces van pijp naar `%s' is mislukt (%s)" +msgstr "leegmaken door co-proces van pijp naar '%s' is mislukt (%s)" -#: io.c:1106 +#: io.c:1108 #, c-format msgid "file flush of `%s' failed (%s)." -msgstr "leegmaken van bestand `%s' is mislukt (%s)" +msgstr "leegmaken van bestand '%s' is mislukt (%s)" -#: io.c:1220 +#: io.c:1222 #, c-format msgid "local port %s invalid in `/inet'" -msgstr "lokale poort %s is ongeldig in `/inet'" +msgstr "lokale poort %s is ongeldig in '/inet'" -#: io.c:1237 +#: io.c:1239 #, c-format msgid "remote host and port information (%s, %s) invalid" msgstr "host- en poortinformatie (%s, %s) zijn ongeldig" -#: io.c:1272 +#: io.c:1274 msgid "/inet/raw client not ready yet, sorry" -msgstr "cliënt van `/inet/raw' is nog niet klaar, sorry" +msgstr "cliënt van '/inet/raw' is nog niet klaar, sorry" -#: io.c:1275 io.c:1311 +#: io.c:1277 io.c:1313 msgid "only root may use `/inet/raw'." -msgstr "Alleen root mag `/inet/raw' gebruiken." +msgstr "Alleen root mag '/inet/raw' gebruiken." -#: io.c:1309 +#: io.c:1311 msgid "/inet/raw server not ready yet, sorry" -msgstr "server van `/inet/raw' is nog niet klaar, sorry" +msgstr "server van '/inet/raw' is nog niet klaar, sorry" -#: io.c:1407 +#: io.c:1409 #, c-format msgid "no (known) protocol supplied in special filename `%s'" -msgstr "geen (bekend) protocol aangegeven in speciale bestandsnaam `%s'" +msgstr "geen (bekend) protocol aangegeven in speciale bestandsnaam '%s'" -#: io.c:1421 +#: io.c:1423 #, c-format msgid "special file name `%s' is incomplete" -msgstr "speciale bestandsnaam `%s' is onvolledig" +msgstr "speciale bestandsnaam '%s' is onvolledig" -#: io.c:1436 +#: io.c:1438 msgid "must supply a remote hostname to `/inet'" -msgstr "`/inet' heeft een gindse hostnaam nodig" +msgstr "'/inet' heeft een gindse hostnaam nodig" -#: io.c:1454 +#: io.c:1456 msgid "must supply a remote port to `/inet'" -msgstr "`/inet' heeft een gindse poort nodig" +msgstr "'/inet' heeft een gindse poort nodig" -#: io.c:1485 +#: io.c:1502 msgid "TCP/IP communications are not supported" msgstr "TCP/IP-communicatie wordt niet ondersteund" -#: io.c:1494 +#: io.c:1511 #, c-format msgid "file `%s' is a directory" -msgstr "`%s' is een map" +msgstr "'%s' is een map" -#: io.c:1555 +#: io.c:1572 #, c-format msgid "use `PROCINFO[\"%s\"]' instead of `%s'" -msgstr "gebruik `PROCINFO[\"%s\"]' in plaats van `%s'" +msgstr "gebruik 'PROCINFO[\"%s\"]' in plaats van '%s'" -#: io.c:1593 +#: io.c:1610 msgid "use `PROCINFO[...]' instead of `/dev/user'" -msgstr "gebruik `PROCINFO[...]' in plaats van `/dev/user'" +msgstr "gebruik 'PROCINFO[...]' in plaats van '/dev/user'" -#: io.c:1658 io.c:1853 +#: io.c:1675 io.c:1872 #, c-format msgid "could not open `%s', mode `%s'" -msgstr "kan `%s' niet openen -- modus `%s'" +msgstr "kan '%s' niet openen -- modus '%s'" -#: io.c:1904 +#: io.c:1923 #, c-format msgid "close of master pty failed (%s)" msgstr "kan meester-pty van dochterproces niet sluiten (%s)" -#: io.c:1906 io.c:2058 io.c:2209 +#: io.c:1925 io.c:2077 io.c:2228 #, c-format msgid "close of stdout in child failed (%s)" msgstr "kan standaarduitvoer van dochterproces niet sluiten (%s)" -#: io.c:1909 +#: io.c:1928 #, c-format msgid "moving slave pty to stdout in child failed (dup: %s)" msgstr "" "kan slaaf-pty niet overzetten naar standaarduitvoer van dochterproces (dup: %" "s)" -#: io.c:1911 io.c:2063 +#: io.c:1930 io.c:2082 #, c-format msgid "close of stdin in child failed (%s)" msgstr "kan standaardinvoer van dochterproces niet sluiten (%s)" -#: io.c:1914 +#: io.c:1933 #, c-format msgid "moving slave pty to stdin in child failed (dup: %s)" msgstr "" "kan slaaf-pty niet overzetten naar standaardinvoer van dochterproces (dup: %" "s)" -#: io.c:1916 io.c:1935 +#: io.c:1935 io.c:1954 #, c-format msgid "close of slave pty failed (%s)" msgstr "kan slaaf-pty niet sluiten (%s)" -#: io.c:2009 io.c:2061 io.c:2190 io.c:2212 +#: io.c:2028 io.c:2080 io.c:2209 io.c:2231 #, c-format msgid "moving pipe to stdout in child failed (dup: %s)" msgstr "" "kan pijp niet overzetten naar standaarduitvoer van dochterproces (dup: %s)" -#: io.c:2013 io.c:2066 +#: io.c:2032 io.c:2085 #, c-format msgid "moving pipe to stdin in child failed (dup: %s)" msgstr "" "kan pijp niet overzetten naar standaardinvoer van dochterproces (dup: %s)" -#: io.c:2030 io.c:2203 +#: io.c:2049 io.c:2222 msgid "restoring stdout in parent process failed\n" msgstr "kan standaarduitvoer van ouderproces niet herstellen\n" -#: io.c:2035 +#: io.c:2054 msgid "restoring stdin in parent process failed\n" msgstr "kan standaardinvoer van ouderproces niet herstellen\n" -#: io.c:2069 io.c:2214 io.c:2225 +#: io.c:2088 io.c:2233 io.c:2244 #, c-format msgid "close of pipe failed (%s)" msgstr "kan pijp niet sluiten (%s)" -#: io.c:2114 +#: io.c:2133 msgid "`|&' not supported" -msgstr "`|&' wordt niet ondersteund" +msgstr "'|&' wordt niet ondersteund" -#: io.c:2180 +#: io.c:2199 #, c-format msgid "cannot open pipe `%s' (%s)" -msgstr "kan pijp `%s' niet openen (%s)" +msgstr "kan pijp '%s' niet openen (%s)" -#: io.c:2221 +#: io.c:2240 #, c-format msgid "cannot create child process for `%s' (fork: %s)" -msgstr "kan voor `%s' geen dochterproces starten (fork: %s)" +msgstr "kan voor '%s' geen dochterproces starten (fork: %s)" -#: io.c:2603 +#: io.c:2622 #, c-format msgid "data file `%s' is empty" -msgstr "databestand `%s' is leeg" +msgstr "databestand '%s' is leeg" -#: io.c:2644 io.c:2652 +#: io.c:2663 io.c:2671 msgid "could not allocate more input memory" msgstr "kan geen extra invoergeheugen meer toewijzen" -#: io.c:3020 io.c:3093 +#: io.c:3039 io.c:3112 #, c-format msgid "error reading input file `%s': %s" -msgstr "fout tijdens lezen van invoerbestand `%s': %s" +msgstr "fout tijdens lezen van invoerbestand '%s': %s" -#: io.c:3218 +#: io.c:3237 msgid "multicharacter value of `RS' is a gawk extension" -msgstr "een `RS' van meerdere tekens is een gawk-uitbreiding" +msgstr "een 'RS' van meerdere tekens is een gawk-uitbreiding" -#: main.c:304 +#: main.c:306 msgid "out of memory" -msgstr "geen vrij geheugen" +msgstr "onvoldoende geheugen beschikbaar" -#: main.c:373 +#: main.c:374 msgid "`-m[fr]' option irrelevant in gawk" -msgstr "optie `-m[fr]' is irrelevant in gawk" +msgstr "optie '-m[fr]' is irrelevant in gawk" -#: main.c:375 +#: main.c:376 msgid "-m option usage: `-m[fr] nnn'" -msgstr "gebruikswijze van optie -m: `-m[fr] nnn'" +msgstr "gebruikswijze van optie -m: '-m[fr] nnn'" -#: main.c:392 +#: main.c:393 #, c-format msgid "%s: option `-W %s' unrecognized, ignored\n" -msgstr "%s: optie `-W %s' is onbekend; genegeerd\n" +msgstr "%s: optie '-W %s' is onbekend; genegeerd\n" -#: main.c:433 +#: main.c:434 msgid "empty argument to `--source' ignored" -msgstr "argument van `--source' is leeg; genegeerd" +msgstr "argument van '--source' is leeg; genegeerd" -#: main.c:487 +#: main.c:488 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: optie vereist een argument -- %c\n" -#: main.c:506 +#: main.c:509 msgid "environment variable `POSIXLY_CORRECT' set: turning on `--posix'" -msgstr "omgevingsvariabele `POSIXLY_CORRECT' is gezet: `--posix' ingeschakeld" +msgstr "omgevingsvariabele 'POSIXLY_CORRECT' is gezet: '--posix' ingeschakeld" -#: main.c:512 +#: main.c:515 msgid "`--posix' overrides `--traditional'" -msgstr "`--posix' overstijgt `--traditional'" +msgstr "'--posix' overstijgt '--traditional'" -#: main.c:523 +#: main.c:526 msgid "`--posix'/`--traditional' overrides `--non-decimal-data'" -msgstr "`--posix'/`--traditional' overstijgen `--non-decimal-data'" +msgstr "'--posix'/'--traditional' overstijgen '--non-decimal-data'" -#: main.c:527 +#: main.c:530 #, c-format msgid "running %s setuid root may be a security problem" -msgstr "het uitvoeren van %s als `setuid root' kan een veiligheidsrisico zijn" +msgstr "het uitvoeren van %s als 'setuid root' kan een veiligheidsrisico zijn" -#: main.c:568 +#: main.c:571 #, c-format msgid "can't set binary mode on stdin (%s)" -msgstr "kan standaardinvoer niet in binaire modus plaatsen (%s)" +msgstr "kan standaardinvoer niet in binaire modus zetten (%s)" -#: main.c:571 +#: main.c:574 #, c-format msgid "can't set binary mode on stdout (%s)" -msgstr "kan standaarduitvoer niet in binaire modus plaatsen (%s)" +msgstr "kan standaarduitvoer niet in binaire modus zetten (%s)" -#: main.c:573 +#: main.c:576 #, c-format msgid "can't set binary mode on stderr (%s)" -msgstr "kan standaardfoutuitvoer niet in binaire modus plaatsen (%s)" +msgstr "kan standaardfoutuitvoer niet in binaire modus zetten (%s)" -#: main.c:612 +#: main.c:617 msgid "no program text at all!" msgstr "helemaal geen programmatekst!" -#: main.c:716 +#: main.c:721 #, c-format msgid "Usage: %s [POSIX or GNU style options] -f progfile [--] file ...\n" msgstr "Gebruik: %s [opties] -f programmabestand [--] bestand...\n" -#: main.c:718 +#: main.c:723 #, c-format msgid "Usage: %s [POSIX or GNU style options] [--] %cprogram%c file ...\n" msgstr "" " of: %s [opties] [--] %cprogrammatekst%c bestand...\n" "\n" -#: main.c:723 +#: main.c:728 msgid "POSIX options:\t\tGNU long options:\n" msgstr "\tPOSIX-opties:\t\t\tequivalente GNU-opties:\n" -#: main.c:724 +#: main.c:729 msgid "\t-f progfile\t\t--file=progfile\n" msgstr "\t-f programmabestand\t\t--file=programmabestand\n" -#: main.c:725 +#: main.c:730 msgid "\t-F fs\t\t\t--field-separator=fs\n" msgstr "\t-F veldscheidingsteken\t\t--field-separator=veldscheidingsteken\n" -#: main.c:726 +#: main.c:731 msgid "\t-v var=val\t\t--assign=var=val\n" msgstr "\t-v var=waarde\t\t\t--assign=var=waarde\n" -#: main.c:727 +#: main.c:732 msgid "\t-m[fr] val\n" msgstr "\t-m[fr] waarde\n" -#: main.c:728 +#: main.c:733 msgid "\t-O\t\t\t--optimize\n" -msgstr "\t-O\t\t\t--optimize\n" +msgstr "\t-O\t\t\t\t--optimize\n" -#: main.c:729 +#: main.c:734 msgid "\t-W compat\t\t--compat\n" msgstr "\t-W compat\t\t\t--compat\n" -#: main.c:730 +#: main.c:735 msgid "\t-W copyleft\t\t--copyleft\n" msgstr "\t-W copyleft\t\t\t--copyleft\n" -#: main.c:731 +#: main.c:736 msgid "\t-W copyright\t\t--copyright\n" msgstr "\t-W copyright\t\t\t--copyright\n" -#: main.c:732 +#: main.c:737 msgid "\t-W dump-variables[=file]\t--dump-variables[=file]\n" msgstr "\t-W dump-variables[=bestand]\t--dump-variables[=bestand]\n" -#: main.c:733 +#: main.c:738 msgid "\t-W exec=file\t\t--exec=file\n" msgstr "\t-W exec=bestand\t\t\t--exec=bestand\n" -#: main.c:734 +#: main.c:739 msgid "\t-W gen-po\t\t--gen-po\n" msgstr "\t-W gen-po\t\t\t--gen-po\n" -#: main.c:735 +#: main.c:740 msgid "\t-W help\t\t\t--help\n" msgstr "\t-W help\t\t\t\t--help\n" -#: main.c:736 +#: main.c:741 msgid "\t-W lint[=fatal]\t\t--lint[=fatal]\n" msgstr "\t-W lint[=fatal]\t\t\t--lint[=fatal]\n" -#: main.c:737 +#: main.c:742 msgid "\t-W lint-old\t\t--lint-old\n" msgstr "\t-W lint-old\t\t\t--lint-old\n" -#: main.c:738 +#: main.c:743 msgid "\t-W non-decimal-data\t--non-decimal-data\n" msgstr "\t-W non-decimal-data\t\t--non-decimal-data\n" -#: main.c:740 +#: main.c:745 msgid "\t-W nostalgia\t\t--nostalgia\n" msgstr "\t-W nostalgia\t\t\t--nostalgia\n" -#: main.c:743 +#: main.c:748 msgid "\t-W parsedebug\t\t--parsedebug\n" msgstr "\t-W parsedebug\t\t\t--parsedebug\n" -#: main.c:745 +#: main.c:750 msgid "\t-W profile[=file]\t--profile[=file]\n" msgstr "\t-W profile[=bestand]\t\t--profile[=bestand]\n" -#: main.c:746 +#: main.c:751 msgid "\t-W posix\t\t--posix\n" msgstr "\t-W posix\t\t\t--posix\n" -#: main.c:747 +#: main.c:752 msgid "\t-W re-interval\t\t--re-interval\n" msgstr "\t-W re-interval\t\t\t--re-interval\n" -#: main.c:748 +#: main.c:753 msgid "\t-W source=program-text\t--source=program-text\n" msgstr "\t-W source=programmatekst\t--source=programmatekst\n" -#: main.c:749 +#: main.c:754 msgid "\t-W traditional\t\t--traditional\n" msgstr "\t-W traditional\t\t\t--traditional\n" -#: main.c:750 +#: main.c:755 msgid "\t-W usage\t\t--usage\n" msgstr "\t-W usage\t\t\t--usage\n" -#: main.c:751 +#: main.c:756 msgid "\t-W use-lc-numeric\t--use-lc-numeric\n" msgstr "\t-W use-lc-numeric\t\t--use-lc-numeric\n" -#: main.c:752 +#: main.c:757 msgid "\t-W version\t\t--version\n" msgstr "\t-W version\t\t\t--version\n" @@ -1625,7 +1638,7 @@ #. for this application. Please add _another line_ with the #. address for translation bugs. #. no-wrap -#: main.c:761 +#: main.c:766 msgid "" "\n" "To report bugs, see node `Bugs' in `gawk.info', which is\n" @@ -1633,33 +1646,32 @@ "\n" msgstr "" "\n" -"Voor het rapporteren van programmagebreken, zie `info gawk bugs'\n" -"of de sectie `Reporting Problems and Bugs' in de gedrukte versie.\n" +"Voor het rapporteren van programmagebreken, zie 'info gawk bugs'\n" +"of de sectie 'Reporting Problems and Bugs' in de gedrukte versie.\n" "Meld fouten in de vertaling aan .\n" "\n" -#: main.c:765 +#: main.c:770 msgid "" "gawk is a pattern scanning and processing language.\n" "By default it reads standard input and writes standard output.\n" "\n" msgstr "" -"`gawk' is een patroonherkennings- en bewerkingsprogramma.\n" +"'gawk' is een patroonherkennings- en bewerkingsprogramma.\n" "Standaard leest het van standaardinvoer en schrijft naar standaarduitvoer.\n" "\n" -#: main.c:769 -#, fuzzy +#: main.c:774 msgid "" "Examples:\n" "\tgawk '{ sum += $1 }; END { print sum }' file\n" "\tgawk -F: '{ print $1 }' /etc/passwd\n" msgstr "" "Voorbeelden:\n" -"\tgawk `{ som += $1 }; END { print som }' bestand\n" -"\tgawk -F: `{ print $1 }' /etc/passwd\n" +"\tgawk '{ som += $1 }; END { print som }' bestand\n" +"\tgawk -F: '{ print $1 }' /etc/passwd\n" -#: main.c:789 +#: main.c:794 #, c-format msgid "" "Copyright (C) 1989, 1991-%d Free Software Foundation.\n" @@ -1677,7 +1689,7 @@ "uitgegeven door de Free Software Foundation, naar keuze ofwel onder\n" "versie 3 of onder een nieuwere versie van die licentie.\n" -#: main.c:797 +#: main.c:802 msgid "" "This program is distributed in the hope that it will be useful,\n" "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" @@ -1691,7 +1703,7 @@ "Zie de GNU General Public License voor meer details.\n" "\n" -#: main.c:808 +#: main.c:813 msgid "" "You should have received a copy of the GNU General Public License\n" "along with this program. If not, see http://www.gnu.org/licenses/.\n" @@ -1700,56 +1712,56 @@ "ontvangen te hebben; is dit niet het geval, dan kunt u deze licentie\n" "ook vinden op http://www.gnu.org/licenses/.\n" -#: main.c:843 +#: main.c:848 msgid "-Ft does not set FS to tab in POSIX awk" msgstr "-Ft maakt van FS geen tab in POSIX-awk" -#: main.c:1117 +#: main.c:1122 #, c-format msgid "" "%s: `%s' argument to `-v' not in `var=value' form\n" "\n" msgstr "" -"%s: argument `%s' van `-v' is niet van de vorm `var=waarde'\n" +"%s: argument '%s' van '-v' is niet van de vorm 'var=waarde'\n" "\n" -#: main.c:1137 +#: main.c:1142 #, c-format msgid "`%s' is not a legal variable name" -msgstr "`%s' is geen geldige variabelenaam" +msgstr "'%s' is geen geldige variabelenaam" -#: main.c:1140 +#: main.c:1145 #, c-format msgid "`%s' is not a variable name, looking for file `%s=%s'" -msgstr "`%s' is geen variabelenaam, zoekend naar bestand `%s=%s'" +msgstr "'%s' is geen variabelenaam; zoekend naar bestand '%s=%s'" -#: main.c:1179 +#: main.c:1184 msgid "floating point exception" msgstr "drijvende-komma-berekeningsfout" -#: main.c:1186 +#: main.c:1191 msgid "fatal error: internal error" msgstr "fatale fout: **interne fout**" -#: main.c:1200 +#: main.c:1206 msgid "fatal error: internal error: segfault" msgstr "fatale fout: **interne fout**: segmentatiefout" -#: main.c:1212 +#: main.c:1218 msgid "fatal error: internal error: stack overflow" msgstr "fatale fout: **interne fout**: stack is vol" -#: main.c:1261 +#: main.c:1268 #, c-format msgid "no pre-opened fd %d" msgstr "geen reeds-geopende bestandsdescriptor %d" -#: main.c:1268 +#: main.c:1275 #, c-format msgid "could not pre-open /dev/null for fd %d" msgstr "kan /dev/null niet openen voor bestandsdescriptor %d" -#: main.c:1291 main.c:1300 +#: main.c:1298 main.c:1307 #, c-format msgid "could not find groups: %s" msgstr "kan groepen niet vinden: %s" @@ -1775,68 +1787,67 @@ msgid "can't convert string to float" msgstr "kan string niet converteren naar drijvende-komma-getal" -#: node.c:462 +#: node.c:465 msgid "backslash at end of string" msgstr "backslash aan het einde van de string" -#: node.c:606 +#: node.c:609 #, c-format msgid "old awk does not support the `\\%c' escape sequence" -msgstr "oude `awk' kent de stuurcodereeks `\\%c' niet" +msgstr "oude 'awk' kent de stuurcodereeks '\\%c' niet" -#: node.c:657 +#: node.c:660 msgid "POSIX does not allow `\\x' escapes" -msgstr "POSIX staat stuurcode `\\x' niet toe" +msgstr "POSIX staat stuurcode '\\x' niet toe" -#: node.c:663 +#: node.c:666 msgid "no hex digits in `\\x' escape sequence" -msgstr "geen hex cijfers in stuurcodereeks `\\x'" +msgstr "geen hex cijfers in stuurcodereeks '\\x'" -#: node.c:685 +#: node.c:688 #, c-format msgid "" "hex escape \\x%.*s of %d characters probably not interpreted the way you " "expect" msgstr "" "hexadecimale stuurcode \\x%.*s van %d tekens wordt waarschijnlijk niet " -"afgehandeld zoals verwacht" +"afgehandeld zoals u verwacht" -#: node.c:700 +#: node.c:703 #, c-format msgid "escape sequence `\\%c' treated as plain `%c'" -msgstr "stuurcodereeks `\\%c' behandeld als normale `%c'" +msgstr "stuurcodereeks '\\%c' behandeld als normale '%c'" #: posix/gawkmisc.c:172 #, c-format msgid "%s %s `%s': could not set close-on-exec: (fcntl: %s)" -msgstr "%s %s `%s': kan close-on-exec niet activeren: (fcntl: %s)" +msgstr "%s %s '%s': kan close-on-exec niet activeren: (fcntl: %s)" -#: profile.c:93 +#: profile.c:94 #, c-format msgid "could not open `%s' for writing: %s" -msgstr "kan `%s' niet openen om te schrijven: %s" +msgstr "kan '%s' niet openen om te schrijven: %s" -#: profile.c:453 +#: profile.c:457 #, c-format msgid "internal error: %s with null vname" -msgstr "**interne fout**: %s heeft een lege `vname'" +msgstr "**interne fout**: %s heeft een lege 'vname'" -#: profile.c:517 -#, fuzzy +#: profile.c:521 msgid "# treated internally as `delete'" -msgstr "# wordt intern behandeld als `delete" +msgstr "# wordt intern behandeld als 'delete'" -#: profile.c:1069 +#: profile.c:1073 #, c-format msgid "# this is a dynamically loaded extension function" msgstr "# dit is een dynamisch geladen uitbreidingsfunctie" -#: profile.c:1100 +#: profile.c:1104 #, c-format msgid "\t# gawk profile, created %s\n" -msgstr "\t# gawk-profiel, gemaakt %s\n" +msgstr "\t# gawk-profiel, gemaakt op %s\n" -#: profile.c:1103 +#: profile.c:1107 #, c-format msgid "" "\t# BEGIN block(s)\n" @@ -1845,7 +1856,7 @@ "\t# BEGIN-blok(ken)\n" "\n" -#: profile.c:1113 +#: profile.c:1117 #, c-format msgid "" "\t# Rule(s)\n" @@ -1854,7 +1865,7 @@ "\t# Regel(s)\n" "\n" -#: profile.c:1119 +#: profile.c:1123 #, c-format msgid "" "\t# END block(s)\n" @@ -1863,7 +1874,7 @@ "\t# END-blok(ken)\n" "\n" -#: profile.c:1139 +#: profile.c:1143 #, c-format msgid "" "\n" @@ -1872,87 +1883,87 @@ "\n" "\t# Functies, alfabetisch geordend\n" -#: profile.c:1400 +#: profile.c:1405 #, c-format msgid "unexpected type %s in prec_level" -msgstr "onverwacht type %s in prec_level" +msgstr "onverwacht type %s in prec_level()" -#: profile.c:1500 +#: profile.c:1527 #, c-format msgid "Unknown node type %s in pp_var" -msgstr "onbekend knooptype %s in pp_var" +msgstr "onbekend knooptype %s in pp_var()" -#: regcomp.c:133 +#: regcomp.c:132 msgid "Success" msgstr "Gelukt" -#: regcomp.c:136 +#: regcomp.c:135 msgid "No match" msgstr "Geen overeenkomsten" -#: regcomp.c:139 +#: regcomp.c:138 msgid "Invalid regular expression" msgstr "Ongeldige reguliere expressie" -#: regcomp.c:142 +#: regcomp.c:141 msgid "Invalid collation character" msgstr "Ongeldig samengesteld teken" -#: regcomp.c:145 +#: regcomp.c:144 msgid "Invalid character class name" msgstr "Ongeldige tekenklassenaam" -#: regcomp.c:148 +#: regcomp.c:147 msgid "Trailing backslash" msgstr "Backslash aan het eind" -#: regcomp.c:151 +#: regcomp.c:150 msgid "Invalid back reference" msgstr "Ongeldige terugverwijzing" -#: regcomp.c:154 +#: regcomp.c:153 msgid "Unmatched [ or [^" msgstr "Ongepaarde [ of [^" -#: regcomp.c:157 +#: regcomp.c:156 msgid "Unmatched ( or \\(" msgstr "Ongepaarde ( of \\(" -#: regcomp.c:160 +#: regcomp.c:159 msgid "Unmatched \\{" msgstr "Ongepaarde \\{" -#: regcomp.c:163 +#: regcomp.c:162 msgid "Invalid content of \\{\\}" msgstr "Ongeldige inhoud van \\{\\}" -#: regcomp.c:166 +#: regcomp.c:165 msgid "Invalid range end" msgstr "Ongeldig bereikeinde" -#: regcomp.c:169 +#: regcomp.c:168 msgid "Memory exhausted" msgstr "Onvoldoende geheugen beschikbaar" -#: regcomp.c:172 +#: regcomp.c:171 msgid "Invalid preceding regular expression" msgstr "Ongeldige voorafgaande reguliere expressie" -#: regcomp.c:175 +#: regcomp.c:174 msgid "Premature end of regular expression" msgstr "Voortijdig einde van reguliere expressie" -#: regcomp.c:178 +#: regcomp.c:177 msgid "Regular expression too big" msgstr "Reguliere expressie is te groot" -#: regcomp.c:181 +#: regcomp.c:180 msgid "Unmatched ) or \\)" msgstr "Ongepaarde ) of \\)" -#: regcomp.c:700 +#: regcomp.c:699 msgid "No previous regular expression" msgstr "Geen eerdere reguliere expressie" -#~ msgid "%s: illegal option -- %c\n" -#~ msgstr "%s: ongeldige optie -- %c\n" +#~ msgid "can't open two way socket `%s' for input/output (%s)" +#~ msgstr "kan tweerichtings-socket '%s' niet openen voor in- en uitvoer (%s)" diff -urN gawk-3.1.7/po/pl.po gawk-3.1.8/po/pl.po --- gawk-3.1.7/po/pl.po 2009-07-21 23:23:45.000000000 +0300 +++ gawk-3.1.8/po/pl.po 2010-05-06 20:57:37.000000000 +0300 @@ -7,10 +7,10 @@ # msgid "" msgstr "" -"Project-Id-Version: gawk 3.1.6d\n" +"Project-Id-Version: gawk 3.1.7\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2009-07-21 23:23+0300\n" -"PO-Revision-Date: 2009-06-20 13:32+0200\n" +"POT-Creation-Date: 2010-05-06 20:57+0300\n" +"PO-Revision-Date: 2009-12-19 17:46+0100\n" "Last-Translator: Wojciech Polak \n" "Language-Team: Polish \n" "MIME-Version: 1.0\n" @@ -39,42 +39,42 @@ msgid "from %s" msgstr "od %s" -#: array.c:514 -#, c-format -msgid "reference to uninitialized element `%s[\"%s\"]'" +#: array.c:513 +#, fuzzy, c-format +msgid "reference to uninitialized element `%s[\"%.*s\"]'" msgstr "odwoÅ‚anie do niezainicjowanego elementu `%s[\"%s\"]'" -#: array.c:520 +#: array.c:519 #, c-format msgid "subscript of array `%s' is null string" msgstr "indeks tablicy `%s' jest zerowym Å‚aÅ„cuchem" -#: array.c:624 +#: array.c:623 #, c-format msgid "delete: index `%s' not in array `%s'" msgstr "delete: indeks `%s' nie jest w tablicy `%s'" -#: array.c:793 +#: array.c:792 #, c-format msgid "%s: empty (null)\n" msgstr "%s: pusty (null)\n" -#: array.c:798 +#: array.c:797 #, c-format msgid "%s: empty (zero)\n" msgstr "%s: pusty (zero)\n" -#: array.c:802 +#: array.c:801 #, c-format msgid "%s: table_size = %d, array_size = %d\n" msgstr "%s: table_size = %d, array_size = %d\n" -#: array.c:831 +#: array.c:830 #, c-format msgid "%s: is parameter\n" msgstr "%s: jest parametrem\n" -#: array.c:836 +#: array.c:835 #, c-format msgid "%s: array_ref to %s\n" msgstr "%s: array_ref do %s\n" @@ -360,7 +360,7 @@ msgid "could not open `%s' for writing (%s)" msgstr "nie można otworzyć `%s' do zapisu (%s)" -#: awkgram.y:2748 profile.c:95 +#: awkgram.y:2748 profile.c:96 msgid "sending profile to standard error" msgstr "wysyÅ‚anie profilu na standardowe wyjÅ›cie diagnostyczne" @@ -418,7 +418,12 @@ "`(',\n" "lub użyta jako zmienna lub jako tablica" -#: awkgram.y:3667 eval.c:1394 +#: awkgram.y:3664 +#, fuzzy +msgid "division by zero attempted in `/'" +msgstr "próba dzielenia przez zero w `/='" + +#: awkgram.y:3669 eval.c:1394 #, c-format msgid "division by zero attempted in `%%'" msgstr "próba dzielenia przez zero w `%%'" @@ -478,171 +483,176 @@ msgid "`length(array)' is a gawk extension" msgstr "`length(tablica)' jest rozszerzeniem gawk" -#: builtin.c:473 +#: builtin.c:471 +#, fuzzy +msgid "length: untyped parameter argument will be forced to scalar" +msgstr "length: argument bez okreÅ›lonego typu zostanie uznany za skalar" + +#: builtin.c:480 msgid "length: untyped argument will be forced to scalar" msgstr "length: argument bez okreÅ›lonego typu zostanie uznany za skalar" -#: builtin.c:477 +#: builtin.c:484 msgid "length: received non-string argument" msgstr "length: otrzymano argument, który nie jest Å‚aÅ„cuchem" -#: builtin.c:508 +#: builtin.c:515 msgid "log: received non-numeric argument" msgstr "log: otrzymano argument, który nie jest liczbÄ…" -#: builtin.c:511 +#: builtin.c:518 #, c-format msgid "log: received negative argument %g" msgstr "log: otrzymano ujemny argument %g" -#: builtin.c:719 builtin.c:722 +#: builtin.c:726 builtin.c:729 msgid "must use `count$' on all formats or none" msgstr "należy użyć `count$' we wszystkich formatach lub nic" -#: builtin.c:783 +#: builtin.c:790 #, c-format msgid "field width is ignored for `%%%%' specifier" msgstr "szerokość pola jest ignorowana dla specyfikatora `%%%%'" -#: builtin.c:785 +#: builtin.c:792 #, c-format msgid "precision is ignored for `%%%%' specifier" msgstr "precyzja jest ignorowana dla specyfikatora `%%%%'" -#: builtin.c:787 +#: builtin.c:794 #, c-format msgid "field width and precision are ignored for `%%%%' specifier" msgstr "szerokość pola i precyzja sÄ… ignorowane dla specyfikatora `%%%%'" -#: builtin.c:838 +#: builtin.c:845 msgid "`$' is not permitted in awk formats" msgstr "`$' jest niedozwolony w formatach awk" -#: builtin.c:844 +#: builtin.c:851 msgid "arg count with `$' must be > 0" msgstr "argument count z `$' musi być > 0" -#: builtin.c:846 +#: builtin.c:853 #, c-format msgid "arg count %ld greater than total number of supplied arguments" msgstr "argument count %ld wiÄ™kszy niż caÅ‚kowita suma argumentów dostarczonych" -#: builtin.c:848 +#: builtin.c:855 msgid "`$' not permitted after period in format" msgstr "`$' jest niedozwolony po kropce w formacie" -#: builtin.c:861 +#: builtin.c:868 msgid "no `$' supplied for positional field width or precision" msgstr "brak `$' dla pozycyjnej szerokoÅ›ci pola lub precyzji" -#: builtin.c:927 +#: builtin.c:938 msgid "`l' is meaningless in awk formats; ignored" msgstr "`l' jest bezsensowny w formatach awk; zignorowany" -#: builtin.c:931 +#: builtin.c:942 msgid "`l' is not permitted in POSIX awk formats" msgstr "`l' jest niedozwolony w formatach POSIX awk" -#: builtin.c:942 +#: builtin.c:953 msgid "`L' is meaningless in awk formats; ignored" msgstr "`L' jest bezsensowny w formatach awk; zignorowany" -#: builtin.c:946 +#: builtin.c:957 msgid "`L' is not permitted in POSIX awk formats" msgstr "`L' jest niedozwolony w formatach POSIX awk" -#: builtin.c:957 +#: builtin.c:968 msgid "`h' is meaningless in awk formats; ignored" msgstr "`h' jest bezsensowny w formatach awk; zignorowany" -#: builtin.c:961 +#: builtin.c:972 msgid "`h' is not permitted in POSIX awk formats" msgstr "`h' jest niedozwolony w formatach POSIX awk" -#: builtin.c:1236 +#: builtin.c:1252 #, c-format msgid "[s]printf: value %g is out of range for `%%%c' format" msgstr "[s]printf: wartość %g jest poza zasiÄ™giem dla formatu `%%%c'" -#: builtin.c:1316 +#: builtin.c:1332 #, c-format msgid "ignoring unknown format specifier character `%c': no argument converted" msgstr "" "pominiÄ™cie nieznanego formatu specyfikatora znaku `%c': nie skonwertowano " "argumentu" -#: builtin.c:1322 +#: builtin.c:1338 msgid "not enough arguments to satisfy format string" msgstr "" "brak wystarczajÄ…cej liczby argumentów, aby zaspokoić Å‚aÅ„cuch formatujÄ…cy" -#: builtin.c:1324 +#: builtin.c:1340 msgid "^ ran out for this one" msgstr "zabrakÅ‚o ^" -#: builtin.c:1330 +#: builtin.c:1346 msgid "[s]printf: format specifier does not have control letter" msgstr "[s]printf: specyfikator formatu nie posiada kontrolnej litery" -#: builtin.c:1333 +#: builtin.c:1349 msgid "too many arguments supplied for format string" msgstr "zbyt dużo podanych argumentów w Å‚aÅ„cuchu formatujÄ…cym" -#: builtin.c:1408 builtin.c:1411 +#: builtin.c:1424 builtin.c:1427 msgid "printf: no arguments" msgstr "printf: brak argumentów" -#: builtin.c:1435 +#: builtin.c:1451 msgid "sqrt: received non-numeric argument" msgstr "sqrt: otrzymano argument, który nie jest liczbÄ…" -#: builtin.c:1439 +#: builtin.c:1455 #, c-format msgid "sqrt: called with negative argument %g" msgstr "sqrt: wywoÅ‚ana z ujemnym argumentem %g" -#: builtin.c:1463 +#: builtin.c:1479 #, c-format msgid "substr: start index %g is invalid, using 1" msgstr "substr: poczÄ…tkowy indeks %g jest nieprawidÅ‚owy, nastÄ…pi użycie 1" -#: builtin.c:1468 +#: builtin.c:1484 #, c-format msgid "substr: non-integer start index %g will be truncated" msgstr "" "substr: poczÄ…tkowy indeks %g, który nie jest liczbÄ… caÅ‚kowitÄ…, zostanie " "obciÄ™ty" -#: builtin.c:1494 +#: builtin.c:1510 #, c-format msgid "substr: length %g is not >= 1" msgstr "substr: dÅ‚ugość %g nie jest >= 1" -#: builtin.c:1496 +#: builtin.c:1512 #, c-format msgid "substr: length %g is not >= 0" msgstr "substr: dÅ‚ugość %g nie jest >= 0" -#: builtin.c:1503 +#: builtin.c:1519 #, c-format msgid "substr: non-integer length %g will be truncated" msgstr "substr: dÅ‚ugość %g, która nie jest liczbÄ… caÅ‚kowitÄ…, zostanie obciÄ™ta" -#: builtin.c:1508 +#: builtin.c:1524 #, c-format msgid "substr: length %g too big for string indexing, truncating to %g" msgstr "substr: dÅ‚ugość %g zbyt duża dla indeksu Å‚aÅ„cucha, obcinanie do %g" -#: builtin.c:1520 +#: builtin.c:1536 msgid "substr: source string is zero length" msgstr "substr: Å‚aÅ„cuch źródÅ‚owy ma zerowÄ… dÅ‚ugość" -#: builtin.c:1536 +#: builtin.c:1552 #, c-format msgid "substr: start index %g is past end of string" msgstr "substr: poczÄ…tkowy indeks %g leży poza koÅ„cem Å‚aÅ„cucha" -#: builtin.c:1544 +#: builtin.c:1560 #, c-format msgid "" "substr: length %g at start index %g exceeds length of first argument (%lu)" @@ -650,184 +660,188 @@ "substr: dÅ‚ugość %g zaczynajÄ…c od %g przekracza dÅ‚ugość pierwszego argumentu " "(%lu)" -#: builtin.c:1621 +#: builtin.c:1637 msgid "strftime: received non-string first argument" msgstr "strftime: otrzymano pierwszy argument, który nie jest Å‚aÅ„cuchem" -#: builtin.c:1627 +#: builtin.c:1643 msgid "strftime: received empty format string" msgstr "strftime: otrzymano pusty Å‚aÅ„cuch formatujÄ…cy" -#: builtin.c:1636 +#: builtin.c:1652 msgid "strftime: received non-numeric second argument" msgstr "strftime: otrzymano drugi argument, który nie jest liczbÄ…" -#: builtin.c:1713 +#: builtin.c:1729 msgid "mktime: received non-string argument" msgstr "mktime: otrzymano argument, który nie jest Å‚aÅ„cuchem" -#: builtin.c:1758 +#: builtin.c:1746 +msgid "mktime: at least one of the values is out of the default range" +msgstr "" + +#: builtin.c:1783 msgid "system: received non-string argument" msgstr "system: otrzymano argument, który nie jest Å‚aÅ„cuchem" -#: builtin.c:1879 eval.c:2145 +#: builtin.c:1904 eval.c:2157 #, c-format msgid "reference to uninitialized field `$%d'" msgstr "odwoÅ‚anie do niezainicjowanego pola `$%d'" -#: builtin.c:1984 +#: builtin.c:2009 msgid "tolower: received non-string argument" msgstr "tolower: otrzymano argument, który nie jest Å‚aÅ„cuchem" -#: builtin.c:2014 +#: builtin.c:2039 msgid "toupper: received non-string argument" msgstr "toupper: otrzymano argument, który nie jest Å‚aÅ„cuchem" -#: builtin.c:2047 +#: builtin.c:2072 msgid "atan2: received non-numeric first argument" msgstr "atan2: otrzymano pierwszy argument, który nie jest liczbÄ…" -#: builtin.c:2049 +#: builtin.c:2074 msgid "atan2: received non-numeric second argument" msgstr "atan2: otrzymano drugi argument, który nie jest liczbÄ…" -#: builtin.c:2068 +#: builtin.c:2093 msgid "sin: received non-numeric argument" msgstr "sin: otrzymano argument, który nie jest liczbÄ…" -#: builtin.c:2084 +#: builtin.c:2109 msgid "cos: received non-numeric argument" msgstr "cos: otrzymano argument, który nie jest liczbÄ…" -#: builtin.c:2137 +#: builtin.c:2162 msgid "srand: received non-numeric argument" msgstr "srand: otrzymano argument, który nie jest liczbÄ…" -#: builtin.c:2172 +#: builtin.c:2197 msgid "match: third argument is not an array" msgstr "match: otrzymano trzeci argument, który nie jest tablicÄ…" -#: builtin.c:2719 +#: builtin.c:2744 msgid "gensub: third argument of 0 treated as 1" msgstr "gensub: trzeci argument 0 potraktowany jako 1" -#: builtin.c:2835 +#: builtin.c:2860 msgid "lshift: received non-numeric first argument" msgstr "lshift: otrzymano pierwszy argument, który nie jest liczbÄ…" -#: builtin.c:2837 +#: builtin.c:2862 msgid "lshift: received non-numeric second argument" msgstr "lshift: otrzymano drugi argument, który nie jest liczbÄ…" -#: builtin.c:2843 +#: builtin.c:2868 #, c-format msgid "lshift(%lf, %lf): negative values will give strange results" msgstr "lshift(%lf, %lf): ujemne wartoÅ›ci spowodujÄ… dziwne wyniki" -#: builtin.c:2845 +#: builtin.c:2870 #, c-format msgid "lshift(%lf, %lf): fractional values will be truncated" msgstr "lshift(%lf, %lf): uÅ‚amkowe wartoÅ›ci zostanÄ… obciÄ™te" -#: builtin.c:2847 +#: builtin.c:2872 #, c-format msgid "lshift(%lf, %lf): too large shift value will give strange results" msgstr "" "lshift(%lf, %lf): zbyt duża wartość przesuniÄ™cia spowoduje dziwne wyniki" -#: builtin.c:2873 +#: builtin.c:2898 msgid "rshift: received non-numeric first argument" msgstr "rshift: otrzymano pierwszy argument, który nie jest liczbÄ…" -#: builtin.c:2875 +#: builtin.c:2900 msgid "rshift: received non-numeric second argument" msgstr "rshift: otrzymano drugi argument, który nie jest liczbÄ…" -#: builtin.c:2881 +#: builtin.c:2906 #, c-format msgid "rshift(%lf, %lf): negative values will give strange results" msgstr "rshift(%lf, %lf): ujemne wartoÅ›ci spowodujÄ… dziwne wyniki" -#: builtin.c:2883 +#: builtin.c:2908 #, c-format msgid "rshift(%lf, %lf): fractional values will be truncated" msgstr "rshift(%lf, %lf): uÅ‚amkowe wartoÅ›ci zostanÄ… obciÄ™te" -#: builtin.c:2885 +#: builtin.c:2910 #, c-format msgid "rshift(%lf, %lf): too large shift value will give strange results" msgstr "" "rshift(%lf, %lf): zbyt duża wartość przesuniÄ™cia spowoduje dziwne wyniki" -#: builtin.c:2911 +#: builtin.c:2936 msgid "and: received non-numeric first argument" msgstr "and: otrzymano pierwszy argument, który nie jest liczbÄ…" -#: builtin.c:2913 +#: builtin.c:2938 msgid "and: received non-numeric second argument" msgstr "and: otrzymano drugi argument, który nie jest liczbÄ…" -#: builtin.c:2919 +#: builtin.c:2944 #, c-format msgid "and(%lf, %lf): negative values will give strange results" msgstr "and(%lf, %lf): ujemne wartoÅ›ci spowodujÄ… dziwne wyniki" -#: builtin.c:2921 +#: builtin.c:2946 #, c-format msgid "and(%lf, %lf): fractional values will be truncated" msgstr "and(%lf, %lf): uÅ‚amkowe wartoÅ›ci zostanÄ… obciÄ™te" -#: builtin.c:2947 +#: builtin.c:2972 msgid "or: received non-numeric first argument" msgstr "or: otrzymano pierwszy argument, który nie jest liczbÄ…" -#: builtin.c:2949 +#: builtin.c:2974 msgid "or: received non-numeric second argument" msgstr "or: otrzymano drugi argument, który nie jest liczbÄ…" -#: builtin.c:2955 +#: builtin.c:2980 #, c-format msgid "or(%lf, %lf): negative values will give strange results" msgstr "or(%lf, %lf): ujemne wartoÅ›ci spowodujÄ… dziwne wyniki" -#: builtin.c:2957 +#: builtin.c:2982 #, c-format msgid "or(%lf, %lf): fractional values will be truncated" msgstr "or(%lf, %lf): uÅ‚amkowe wartoÅ›ci zostanÄ… obciÄ™te" -#: builtin.c:2983 +#: builtin.c:3008 msgid "xor: received non-numeric first argument" msgstr "xor: otrzymano pierwszy argument, który nie jest liczbÄ…" -#: builtin.c:2985 +#: builtin.c:3010 msgid "xor: received non-numeric second argument" msgstr "xor: otrzymano drugi argument, który nie jest liczbÄ…" -#: builtin.c:2991 +#: builtin.c:3016 #, c-format msgid "xor(%lf, %lf): negative values will give strange results" msgstr "xor(%lf, %lf): ujemne wartoÅ›ci spowodujÄ… dziwne wyniki" -#: builtin.c:2993 +#: builtin.c:3018 #, c-format msgid "xor(%lf, %lf): fractional values will be truncated" msgstr "xor(%lf, %lf): uÅ‚amkowe wartoÅ›ci zostanÄ… obciÄ™te" -#: builtin.c:3017 +#: builtin.c:3042 msgid "compl: received non-numeric argument" msgstr "compl: otrzymano argument, który nie jest liczbÄ…" -#: builtin.c:3023 +#: builtin.c:3048 #, c-format msgid "compl(%lf): negative value will give strange results" msgstr "compl(%lf): ujemne wartoÅ›ci spowodujÄ… dziwne wyniki" -#: builtin.c:3025 +#: builtin.c:3050 #, c-format msgid "compl(%lf): fractional value will be truncated" msgstr "compl(%lf): uÅ‚amkowe wartoÅ›ci zostanÄ… obciÄ™te" -#: builtin.c:3198 +#: builtin.c:3223 #, c-format msgid "dcgettext: `%s' is not a valid locale category" msgstr "dcgettext: `%s' nie jest prawidÅ‚owÄ… kategoriÄ… lokalizacji" @@ -841,7 +855,7 @@ msgid "buffer overflow in genflags2str" msgstr "przepeÅ‚nienie bufora w genflags2str" -#: eval.c:454 eval.c:460 profile.c:781 +#: eval.c:454 eval.c:460 profile.c:785 #, c-format msgid "attempt to use array `%s' in a scalar context" msgstr "próba użycia tablicy `%s' w kontekÅ›cie skalaru" @@ -889,7 +903,7 @@ msgid "statement has no effect" msgstr "instrukcja nie ma żadnego efektu" -#: eval.c:1029 eval.c:1999 +#: eval.c:1029 eval.c:2011 #, c-format msgid "can't use function name `%s' as variable or array" msgstr "nie można użyć nazwy funkcji `%s' jako zmiennej lub tablicy" @@ -899,7 +913,7 @@ msgid "reference to uninitialized argument `%s'" msgstr "odwoÅ‚anie do niezainicjowanego argumentu `%s'" -#: eval.c:1051 eval.c:2008 +#: eval.c:1051 eval.c:2020 #, c-format msgid "reference to uninitialized variable `%s'" msgstr "odwoÅ‚anie do niezainicjowanej zmiennej `%s'" @@ -920,7 +934,7 @@ msgid "division by zero attempted" msgstr "próba dzielenia przez zero" -#: eval.c:1409 profile.c:657 +#: eval.c:1409 profile.c:661 #, c-format msgid "illegal type (%s) in tree_eval" msgstr "nieprawidÅ‚owy typ (%s) w tree_eval" @@ -934,19 +948,19 @@ msgid "division by zero attempted in `%%='" msgstr "próba dzielenia przez zero w `%%='" -#: eval.c:1859 +#: eval.c:1871 #, c-format msgid "function `%s' called with more arguments than declared" msgstr "" "funkcja `%s' zostaÅ‚a wywoÅ‚ana z wiÄ™kszÄ… iloÅ›ciÄ… argumentów niż zostaÅ‚o to " "zadeklarowane" -#: eval.c:1904 +#: eval.c:1916 #, c-format msgid "function `%s' not defined" msgstr "funkcja `%s' nie zostaÅ‚a zdefiniowana" -#: eval.c:1971 +#: eval.c:1983 #, c-format msgid "" "\n" @@ -957,47 +971,47 @@ "\t# Stos WywoÅ‚awczy Funkcji:\n" "\n" -#: eval.c:1974 +#: eval.c:1986 #, c-format msgid "\t# -- main --\n" msgstr "\t# -- główne --\n" -#: eval.c:2129 +#: eval.c:2141 msgid "attempt to field reference from non-numeric value" msgstr "próba odwoÅ‚ania do pola poprzez nienumerycznÄ… wartość" -#: eval.c:2131 +#: eval.c:2143 msgid "attempt to reference from null string" msgstr "próba odwoÅ‚ania z zerowego Å‚aÅ„cucha" -#: eval.c:2137 +#: eval.c:2149 #, c-format msgid "attempt to access field %d" msgstr "próba dostÄ™pu do pola %d" -#: eval.c:2158 eval.c:2165 profile.c:836 +#: eval.c:2170 eval.c:2177 profile.c:840 msgid "assignment is not allowed to result of builtin function" msgstr "przypisanie do wyniku wbudowanej funkcji nie jest dozwolone" -#: eval.c:2229 +#: eval.c:2241 msgid "`IGNORECASE' is a gawk extension" msgstr "`IGNORECASE' jest rozszerzeniem gawk" -#: eval.c:2258 +#: eval.c:2270 msgid "`BINMODE' is a gawk extension" msgstr "`BINMODE' jest rozszerzeniem gawk" -#: eval.c:2316 +#: eval.c:2328 #, c-format msgid "BINMODE value `%s' is invalid, treated as 3" msgstr "wartość BINMODE `%s' jest nieprawidÅ‚owa, przyjÄ™to jÄ… jako 3" -#: eval.c:2406 +#: eval.c:2418 #, c-format msgid "bad `%sFMT' specification `%s'" msgstr "zÅ‚a specyfikacja `%sFMT' `%s'" -#: eval.c:2484 +#: eval.c:2496 msgid "turning off `--lint' due to assignment to `LINT'" msgstr "wyÅ‚Ä…czenie `--lint' z powodu przypisania do `LINT'" @@ -1097,56 +1111,61 @@ msgid "old awk does not support regexps as value of `FS'" msgstr "stary awk nie wspiera wyrażeÅ„ regularnych jako wartoÅ›ci `FS'" -#: getopt.c:570 getopt.c:586 +#: getopt.c:574 getopt.c:590 #, c-format msgid "%s: option '%s' is ambiguous\n" msgstr "%s: opcja '%s' jest niejednoznaczna\n" -#: getopt.c:619 getopt.c:623 +#: getopt.c:623 getopt.c:627 #, c-format msgid "%s: option '--%s' doesn't allow an argument\n" msgstr "%s: opcja '--%s' nie może mieć argumentów\n" -#: getopt.c:632 getopt.c:637 +#: getopt.c:636 getopt.c:641 #, c-format msgid "%s: option '%c%s' doesn't allow an argument\n" msgstr "%s: opcja '%c%s' nie może mieć argumentów\n" -#: getopt.c:680 getopt.c:699 getopt.c:1002 getopt.c:1021 -#, c-format -msgid "%s: option '%s' requires an argument\n" +#: getopt.c:684 getopt.c:703 +#, fuzzy, c-format +msgid "%s: option '--%s' requires an argument\n" msgstr "%s: opcja '%s' wymaga argumentu\n" -#: getopt.c:737 getopt.c:740 +#: getopt.c:741 getopt.c:744 #, c-format msgid "%s: unrecognized option '--%s'\n" msgstr "%s: nieznana opcja '--%s'\n" -#: getopt.c:748 getopt.c:751 +#: getopt.c:752 getopt.c:755 #, c-format msgid "%s: unrecognized option '%c%s'\n" msgstr "%s: nieznana opcja '%c%s'\n" -#: getopt.c:800 getopt.c:803 +#: getopt.c:804 getopt.c:807 #, c-format msgid "%s: invalid option -- '%c'\n" msgstr "%s: bÅ‚Ä™dna opcja -- '%c'\n" -#: getopt.c:853 getopt.c:870 getopt.c:1073 getopt.c:1091 +#: getopt.c:857 getopt.c:874 getopt.c:1082 getopt.c:1100 #, c-format msgid "%s: option requires an argument -- '%c'\n" msgstr "%s: opcja wymaga argumentu -- '%c'\n" -#: getopt.c:923 getopt.c:939 +#: getopt.c:930 getopt.c:946 #, c-format msgid "%s: option '-W %s' is ambiguous\n" msgstr "%s: opcja '-W %s' jest niejednoznaczna\n" -#: getopt.c:963 getopt.c:981 +#: getopt.c:970 getopt.c:988 #, c-format msgid "%s: option '-W %s' doesn't allow an argument\n" msgstr "%s: opcja '-W %s' nie może mieć argumentów\n" +#: getopt.c:1009 getopt.c:1027 +#, fuzzy, c-format +msgid "%s: option '-W %s' requires an argument\n" +msgstr "%s: opcja '%s' wymaga argumentu\n" + #: io.c:322 io.c:352 #, c-format msgid "cannot open file `%s' for reading (%s)" @@ -1194,457 +1213,451 @@ msgid "can't open pipe `%s' for input (%s)" msgstr "nie można otworzyć potoku `%s' jako wejÅ›cia (%s)" -#: io.c:712 -#, c-format -msgid "can't open two way socket `%s' for input/output (%s)" -msgstr "" -"nie można otworzyć dwukierunkowego gniazda `%s' jako wejÅ›cia/wyjÅ›cia (%s)" - -#: io.c:716 +#: io.c:717 #, c-format msgid "can't open two way pipe `%s' for input/output (%s)" msgstr "" "nie można otworzyć dwukierunkowego potoku `%s' jako wejÅ›cia/wyjÅ›cia (%s)" -#: io.c:793 +#: io.c:795 #, c-format msgid "can't redirect from `%s' (%s)" msgstr "nie można przekierować z `%s' (%s)" -#: io.c:796 +#: io.c:798 #, c-format msgid "can't redirect to `%s' (%s)" msgstr "nie można przekierować do `%s' (%s)" -#: io.c:849 +#: io.c:851 msgid "" "reached system limit for open files: starting to multiplex file descriptors" msgstr "" "osiÄ…gniÄ™to systemowy limit otwartych plików: rozpoczÄ™cie multipleksowania " "deskryptorów plików" -#: io.c:865 +#: io.c:867 #, c-format msgid "close of `%s' failed (%s)." msgstr "zamkniÄ™cie `%s' nie powiodÅ‚o siÄ™ (%s)." -#: io.c:873 +#: io.c:875 msgid "too many pipes or input files open" msgstr "zbyt dużo otwartych potoków lub plików wejÅ›ciowych" -#: io.c:896 +#: io.c:898 msgid "close: second argument must be `to' or `from'" msgstr "close: drugim argumentem musi być `to' lub `from'" -#: io.c:910 +#: io.c:912 #, c-format msgid "close: `%.*s' is not an open file, pipe or co-process" msgstr "" "close: `%.*s' nie jest ani otwartym plikiem, ani potokiem, ani procesem" -#: io.c:915 +#: io.c:917 msgid "close of redirection that was never opened" msgstr "zamkniÄ™cie przekierowania, które nigdy nie zostaÅ‚o otwarte" -#: io.c:1012 +#: io.c:1014 #, c-format msgid "close: redirection `%s' not opened with `|&', second argument ignored" msgstr "" "close: przekierowanie `%s' nie zostaÅ‚o otwarte z `|&', drugi argument " "zignorowany" -#: io.c:1028 +#: io.c:1030 #, c-format msgid "failure status (%d) on pipe close of `%s' (%s)" msgstr "status awarii (%d) podczas zamykania potoku `%s' (%s)" -#: io.c:1031 +#: io.c:1033 #, c-format msgid "failure status (%d) on file close of `%s' (%s)" msgstr "status awarii (%d) podczas zamykania pliku `%s' (%s)" -#: io.c:1051 +#: io.c:1053 #, c-format msgid "no explicit close of socket `%s' provided" msgstr "brak jawnego zamkniÄ™cia gniazdka `%s'" -#: io.c:1054 +#: io.c:1056 #, c-format msgid "no explicit close of co-process `%s' provided" msgstr "brak jawnego zamkniÄ™cia procesu pomocniczego `%s'" -#: io.c:1057 +#: io.c:1059 #, c-format msgid "no explicit close of pipe `%s' provided" msgstr "brak jawnego zamkniÄ™cia potoku `%s'" -#: io.c:1060 +#: io.c:1062 #, c-format msgid "no explicit close of file `%s' provided" msgstr "brak jawnego zamkniÄ™cia pliku `%s'" -#: io.c:1088 io.c:1143 main.c:776 main.c:818 +#: io.c:1090 io.c:1145 main.c:781 main.c:823 #, c-format msgid "error writing standard output (%s)" msgstr "bÅ‚Ä…d podczas zapisu na standardowe wyjÅ›cie (%s)" -#: io.c:1092 io.c:1148 +#: io.c:1094 io.c:1150 #, c-format msgid "error writing standard error (%s)" msgstr "bÅ‚Ä…d podczas zapisu na standardowe wyjÅ›cie diagnostyczne (%s)" -#: io.c:1100 +#: io.c:1102 #, c-format msgid "pipe flush of `%s' failed (%s)." msgstr "opróżnienie potoku `%s' nie powiodÅ‚o siÄ™ (%s)." -#: io.c:1103 +#: io.c:1105 #, c-format msgid "co-process flush of pipe to `%s' failed (%s)." msgstr "" "opróżnienie potoku do `%s' przez proces pomocniczy nie powiodÅ‚o siÄ™ (%s)." -#: io.c:1106 +#: io.c:1108 #, c-format msgid "file flush of `%s' failed (%s)." msgstr "opróżnienie pliku `%s' nie powiodÅ‚o siÄ™ (%s)." -#: io.c:1220 +#: io.c:1222 #, c-format msgid "local port %s invalid in `/inet'" msgstr "nieprawidÅ‚owy lokalny port %s w `/inet'" -#: io.c:1237 +#: io.c:1239 #, c-format msgid "remote host and port information (%s, %s) invalid" msgstr "informacje o zdalnym hoÅ›cie i porcie sÄ… nieprawidÅ‚owe (%s, %s)" -#: io.c:1272 +#: io.c:1274 msgid "/inet/raw client not ready yet, sorry" msgstr "klient /inet/raw nie jest jeszcze gotowy, przykro mi" -#: io.c:1275 io.c:1311 +#: io.c:1277 io.c:1313 msgid "only root may use `/inet/raw'." msgstr "tylko superużytkownik (root) może użyć `/inet/raw'." -#: io.c:1309 +#: io.c:1311 msgid "/inet/raw server not ready yet, sorry" msgstr "serwer /inet/raw nie jest jeszcze gotowy, przykro mi" -#: io.c:1407 +#: io.c:1409 #, c-format msgid "no (known) protocol supplied in special filename `%s'" msgstr "nie dostarczono (znanego) protokoÅ‚u w specjalnym pliku `%s'" -#: io.c:1421 +#: io.c:1423 #, c-format msgid "special file name `%s' is incomplete" msgstr "specjalna nazwa pliku `%s' jest niekompletna" -#: io.c:1436 +#: io.c:1438 msgid "must supply a remote hostname to `/inet'" msgstr "należy dostarczyć nazwÄ™ zdalnego hosta do `/inet'" -#: io.c:1454 +#: io.c:1456 msgid "must supply a remote port to `/inet'" msgstr "należy dostarczyć numer zdalnego portu do `/inet'" -#: io.c:1485 +#: io.c:1502 msgid "TCP/IP communications are not supported" msgstr "Komunikacja TCP/IP nie jest wspierana" -#: io.c:1494 +#: io.c:1511 #, c-format msgid "file `%s' is a directory" msgstr "plik `%s' jest katalogiem" -#: io.c:1555 +#: io.c:1572 #, c-format msgid "use `PROCINFO[\"%s\"]' instead of `%s'" msgstr "użyj `PROCINFO[\"%s\"]' zamiast `%s'" -#: io.c:1593 +#: io.c:1610 msgid "use `PROCINFO[...]' instead of `/dev/user'" msgstr "użyj `PROCINFO[...]' zamiast `/dev/user'" -#: io.c:1658 io.c:1853 +#: io.c:1675 io.c:1872 #, c-format msgid "could not open `%s', mode `%s'" msgstr "nie można otworzyć `%s', tryb `%s'" -#: io.c:1904 +#: io.c:1923 #, c-format msgid "close of master pty failed (%s)" msgstr "zamkniÄ™cie nadrzÄ™dnego pty nie powiodÅ‚o siÄ™ (%s)" -#: io.c:1906 io.c:2058 io.c:2209 +#: io.c:1925 io.c:2077 io.c:2228 #, c-format msgid "close of stdout in child failed (%s)" msgstr "" "zamkniÄ™cie standardowego wyjÅ›cia w procesie potomnym nie powiodÅ‚o siÄ™ (%s)" -#: io.c:1909 +#: io.c:1928 #, c-format msgid "moving slave pty to stdout in child failed (dup: %s)" msgstr "" "przesuniÄ™cie podlegÅ‚ego pty na standardowe wyjÅ›cie w procesie potomnym nie " "powiodÅ‚o siÄ™ (dup: %s)" -#: io.c:1911 io.c:2063 +#: io.c:1930 io.c:2082 #, c-format msgid "close of stdin in child failed (%s)" msgstr "" "zamkniÄ™cie standardowego wejÅ›cia w procesie potomnym nie powiodÅ‚o siÄ™ (%s)" -#: io.c:1914 +#: io.c:1933 #, c-format msgid "moving slave pty to stdin in child failed (dup: %s)" msgstr "" "przesuniÄ™cie podlegÅ‚ego pty na standardowe wejÅ›cie w procesie potomnym nie " "powiodÅ‚o siÄ™ (dup: %s)" -#: io.c:1916 io.c:1935 +#: io.c:1935 io.c:1954 #, c-format msgid "close of slave pty failed (%s)" msgstr "zamkniÄ™cie podlegÅ‚ego pty nie powiodÅ‚o siÄ™ (%s)" -#: io.c:2009 io.c:2061 io.c:2190 io.c:2212 +#: io.c:2028 io.c:2080 io.c:2209 io.c:2231 #, c-format msgid "moving pipe to stdout in child failed (dup: %s)" msgstr "" "przesuniÄ™cie potoku na standardowe wyjÅ›cie w procesie potomnym nie powiodÅ‚o " "siÄ™ (dup: %s)" -#: io.c:2013 io.c:2066 +#: io.c:2032 io.c:2085 #, c-format msgid "moving pipe to stdin in child failed (dup: %s)" msgstr "" "przesuniÄ™cie potoku na standardowe wejÅ›cie w procesie potomnym nie powiodÅ‚o " "siÄ™ (dup: %s)" -#: io.c:2030 io.c:2203 +#: io.c:2049 io.c:2222 msgid "restoring stdout in parent process failed\n" msgstr "" "odzyskanie standardowego wyjÅ›cia w procesie potomnym nie powiodÅ‚o siÄ™\n" -#: io.c:2035 +#: io.c:2054 msgid "restoring stdin in parent process failed\n" msgstr "" "odzyskanie standardowego wejÅ›cia w procesie potomnym nie powiodÅ‚o siÄ™\n" -#: io.c:2069 io.c:2214 io.c:2225 +#: io.c:2088 io.c:2233 io.c:2244 #, c-format msgid "close of pipe failed (%s)" msgstr "zamkniÄ™cie potoku nie powiodÅ‚o siÄ™ (%s)" -#: io.c:2114 +#: io.c:2133 msgid "`|&' not supported" msgstr "`|&' nie jest wspierany" -#: io.c:2180 +#: io.c:2199 #, c-format msgid "cannot open pipe `%s' (%s)" msgstr "nie można otworzyć potoku `%s' (%s)" -#: io.c:2221 +#: io.c:2240 #, c-format msgid "cannot create child process for `%s' (fork: %s)" msgstr "nie można utworzyć procesu potomnego dla `%s' (fork: %s)" -#: io.c:2603 +#: io.c:2622 #, c-format msgid "data file `%s' is empty" msgstr "plik danych `%s' jest pusty" -#: io.c:2644 io.c:2652 +#: io.c:2663 io.c:2671 msgid "could not allocate more input memory" msgstr "nie można zarezerwować wiÄ™cej pamiÄ™ci wejÅ›ciowej" -#: io.c:3020 io.c:3093 +#: io.c:3039 io.c:3112 #, c-format msgid "error reading input file `%s': %s" msgstr "bÅ‚Ä…d podczas czytania z pliku `%s': %s" -#: io.c:3218 +#: io.c:3237 msgid "multicharacter value of `RS' is a gawk extension" msgstr "wieloznakowa wartość `RS' jest rozszerzeniem gawk" -#: main.c:304 +#: main.c:306 msgid "out of memory" msgstr "brak pamiÄ™ci" -#: main.c:373 +#: main.c:374 msgid "`-m[fr]' option irrelevant in gawk" msgstr "nieistotna opcja `-m[fr]' w gawk" -#: main.c:375 +#: main.c:376 msgid "-m option usage: `-m[fr] nnn'" msgstr "użycie opcji -m: `-m[fr] nnn'" -#: main.c:392 +#: main.c:393 #, c-format msgid "%s: option `-W %s' unrecognized, ignored\n" msgstr "%s: opcja `-W %s' nierozpoznana i zignorowana\n" -#: main.c:433 +#: main.c:434 msgid "empty argument to `--source' ignored" msgstr "pusty argument dla opcji `--source' zostaÅ‚ zignorowany" -#: main.c:487 +#: main.c:488 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: opcja musi mieć argument -- %c\n" -#: main.c:506 +#: main.c:509 msgid "environment variable `POSIXLY_CORRECT' set: turning on `--posix'" msgstr "" "zmienna Å›rodowiskowa `POSIXLY_CORRECT' ustawiona: `--posix' zostaÅ‚ wÅ‚Ä…czony" -#: main.c:512 +#: main.c:515 msgid "`--posix' overrides `--traditional'" msgstr "opcja `--posix' zostanie użyta nad `--traditional'" -#: main.c:523 +#: main.c:526 msgid "`--posix'/`--traditional' overrides `--non-decimal-data'" msgstr "`--posix'/`--traditional' użyte nad opcjÄ… `--non-decimal-data'" -#: main.c:527 +#: main.c:530 #, c-format msgid "running %s setuid root may be a security problem" msgstr "" "uruchamianie %s setuid root może być problemem pod wzglÄ™dem bezpieczeÅ„stwa" -#: main.c:568 +#: main.c:571 #, c-format msgid "can't set binary mode on stdin (%s)" msgstr "nie można ustawić trybu binarnego na standardowym wejÅ›ciu (%s)" -#: main.c:571 +#: main.c:574 #, c-format msgid "can't set binary mode on stdout (%s)" msgstr "nie można ustawić trybu binarnego na standardowym wyjÅ›ciu (%s)" -#: main.c:573 +#: main.c:576 #, c-format msgid "can't set binary mode on stderr (%s)" msgstr "nie można ustawić trybu binarnego na wyjÅ›ciu diagnostycznym (%s)" -#: main.c:612 +#: main.c:617 msgid "no program text at all!" msgstr "brak tekstu programu!" -#: main.c:716 +#: main.c:721 #, c-format msgid "Usage: %s [POSIX or GNU style options] -f progfile [--] file ...\n" msgstr "" "Użycie: %s [styl opcji POSIX lub GNU] -f plik_z_programem [--] plik ...\n" -#: main.c:718 +#: main.c:723 #, c-format msgid "Usage: %s [POSIX or GNU style options] [--] %cprogram%c file ...\n" msgstr "Użycie: %s [styl opcji POSIX lub GNU] [--] %cprogram%c plik ...\n" -#: main.c:723 +#: main.c:728 msgid "POSIX options:\t\tGNU long options:\n" msgstr "Opcje POSIX:\t\tDÅ‚ugie opcje GNU:\n" -#: main.c:724 +#: main.c:729 msgid "\t-f progfile\t\t--file=progfile\n" msgstr "\t-f program\t\t--file=program\n" -#: main.c:725 +#: main.c:730 msgid "\t-F fs\t\t\t--field-separator=fs\n" msgstr "\t-F fs\t\t\t--field-separator=fs\n" -#: main.c:726 +#: main.c:731 msgid "\t-v var=val\t\t--assign=var=val\n" msgstr "\t-v zmienna=wartość\t--assign=zmienna=wartość\n" -#: main.c:727 +#: main.c:732 msgid "\t-m[fr] val\n" msgstr "\t-m[fr] wartość\n" -#: main.c:728 +#: main.c:733 msgid "\t-O\t\t\t--optimize\n" msgstr "\t-O\t\t\t--optimize\n" -#: main.c:729 +#: main.c:734 msgid "\t-W compat\t\t--compat\n" msgstr "\t-W compat\t\t--compat\n" -#: main.c:730 +#: main.c:735 msgid "\t-W copyleft\t\t--copyleft\n" msgstr "\t-W copyleft\t\t--copyleft\n" -#: main.c:731 +#: main.c:736 msgid "\t-W copyright\t\t--copyright\n" msgstr "\t-W copyright\t\t--copyright\n" -#: main.c:732 +#: main.c:737 msgid "\t-W dump-variables[=file]\t--dump-variables[=file]\n" msgstr "\t-W dump-variables[=plik]\t--dump-variables[=plik]\n" -#: main.c:733 +#: main.c:738 msgid "\t-W exec=file\t\t--exec=file\n" msgstr "\t-W exec=plik\t\t--exec=plik\n" -#: main.c:734 +#: main.c:739 msgid "\t-W gen-po\t\t--gen-po\n" msgstr "\t-W gen-po\t\t--gen-po\n" -#: main.c:735 +#: main.c:740 msgid "\t-W help\t\t\t--help\n" msgstr "\t-W help\t\t\t--help\n" -#: main.c:736 +#: main.c:741 msgid "\t-W lint[=fatal]\t\t--lint[=fatal]\n" msgstr "\t-W lint[=fatal]\t\t--lint[=fatal]\n" -#: main.c:737 +#: main.c:742 msgid "\t-W lint-old\t\t--lint-old\n" msgstr "\t-W lint-old\t\t--lint-old\n" -#: main.c:738 +#: main.c:743 msgid "\t-W non-decimal-data\t--non-decimal-data\n" msgstr "\t-W non-decimal-data\t--non-decimal-data\n" -#: main.c:740 +#: main.c:745 msgid "\t-W nostalgia\t\t--nostalgia\n" msgstr "\t-W nostalgia\t\t--nostalgia\n" -#: main.c:743 +#: main.c:748 msgid "\t-W parsedebug\t\t--parsedebug\n" msgstr "\t-W parsedebug\t\t--parsedebug\n" -#: main.c:745 +#: main.c:750 msgid "\t-W profile[=file]\t--profile[=file]\n" msgstr "\t-W profile[=plik]\t--profile[=plik]\n" -#: main.c:746 +#: main.c:751 msgid "\t-W posix\t\t--posix\n" msgstr "\t-W posix\t\t--posix\n" -#: main.c:747 +#: main.c:752 msgid "\t-W re-interval\t\t--re-interval\n" msgstr "\t-W re-interval\t\t--re-interval\n" -#: main.c:748 +#: main.c:753 msgid "\t-W source=program-text\t--source=program-text\n" msgstr "\t-W source=tekst-programu\t--source=tekst-programu\n" -#: main.c:749 +#: main.c:754 msgid "\t-W traditional\t\t--traditional\n" msgstr "\t-W traditional\t\t--traditional\n" -#: main.c:750 +#: main.c:755 msgid "\t-W usage\t\t--usage\n" msgstr "\t-W usage\t\t--usage\n" -#: main.c:751 +#: main.c:756 msgid "\t-W use-lc-numeric\t--use-lc-numeric\n" msgstr "\t-W use-lc-numeric\t--use-lc-numeric\n" -#: main.c:752 +#: main.c:757 msgid "\t-W version\t\t--version\n" msgstr "\t-W version\t\t--version\n" @@ -1653,7 +1666,7 @@ #. for this application. Please add _another line_ with the #. address for translation bugs. #. no-wrap -#: main.c:761 +#: main.c:766 msgid "" "\n" "To report bugs, see node `Bugs' in `gawk.info', which is\n" @@ -1666,7 +1679,7 @@ "dokumentacji.\n" "\n" -#: main.c:765 +#: main.c:770 msgid "" "gawk is a pattern scanning and processing language.\n" "By default it reads standard input and writes standard output.\n" @@ -1676,7 +1689,7 @@ "Program domyÅ›lnie czyta standardowe wejÅ›cie i zapisuje standardowe wyjÅ›cie.\n" "\n" -#: main.c:769 +#: main.c:774 msgid "" "Examples:\n" "\tgawk '{ sum += $1 }; END { print sum }' file\n" @@ -1686,7 +1699,7 @@ "\tgawk '{ suma += $1 }; END { print suma }' plik\n" "\tgawk -F: '{ print $1 }' /etc/passwd\n" -#: main.c:789 +#: main.c:794 #, c-format msgid "" "Copyright (C) 1989, 1991-%d Free Software Foundation.\n" @@ -1705,7 +1718,7 @@ "tej Licencji lub którejÅ› z późniejszych wersji.\n" "\n" -#: main.c:797 +#: main.c:802 msgid "" "This program is distributed in the hope that it will be useful,\n" "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" @@ -1720,7 +1733,7 @@ "PowszechnÄ… LicencjÄ™ PublicznÄ… GNU.\n" "\n" -#: main.c:808 +#: main.c:813 msgid "" "You should have received a copy of the GNU General Public License\n" "along with this program. If not, see http://www.gnu.org/licenses/.\n" @@ -1729,11 +1742,11 @@ "Powszechnej Licencji Publicznej GNU (GNU General Public License);\n" "jeÅ›li zaÅ› nie - odwiedź stronÄ™ http://www.gnu.org/licenses/.\n" -#: main.c:843 +#: main.c:848 msgid "-Ft does not set FS to tab in POSIX awk" msgstr "-Ft nie ustawia FS na znak tabulatora w POSIX awk" -#: main.c:1117 +#: main.c:1122 #, c-format msgid "" "%s: `%s' argument to `-v' not in `var=value' form\n" @@ -1742,43 +1755,43 @@ "%s: argument `%s' dla `-v' nie jest zgodny ze skÅ‚adniÄ… `zmienna=wartość'\n" "\n" -#: main.c:1137 +#: main.c:1142 #, c-format msgid "`%s' is not a legal variable name" msgstr "`%s' nie jest dozwolonÄ… nazwÄ… zmiennej" -#: main.c:1140 +#: main.c:1145 #, c-format msgid "`%s' is not a variable name, looking for file `%s=%s'" msgstr "`%s' nie jest nazwÄ… zmiennej, szukanie pliku `%s=%s'" -#: main.c:1179 +#: main.c:1184 msgid "floating point exception" msgstr "wyjÄ…tek zmiennopozycyjny" -#: main.c:1186 +#: main.c:1191 msgid "fatal error: internal error" msgstr "fatalny bÅ‚Ä…d: wewnÄ™trzny bÅ‚Ä…d" -#: main.c:1200 +#: main.c:1206 msgid "fatal error: internal error: segfault" msgstr "fatalny bÅ‚Ä…d: wewnÄ™trzny bÅ‚Ä…d: bÅ‚Ä…d segmentacji" -#: main.c:1212 +#: main.c:1218 msgid "fatal error: internal error: stack overflow" msgstr "fatalny bÅ‚Ä…d: wewnÄ™trzny bÅ‚Ä…d: przepeÅ‚nienie stosu" -#: main.c:1261 +#: main.c:1268 #, c-format msgid "no pre-opened fd %d" msgstr "brak już otwartego fd %d" -#: main.c:1268 +#: main.c:1275 #, c-format msgid "could not pre-open /dev/null for fd %d" msgstr "nie można otworzyć zawczasu /dev/null dla fd %d" -#: main.c:1291 main.c:1300 +#: main.c:1298 main.c:1307 #, c-format msgid "could not find groups: %s" msgstr "nie można znaleźć grup: %s" @@ -1804,24 +1817,24 @@ msgid "can't convert string to float" msgstr "nie można zamienić Å‚aÅ„cucha do liczby zmiennopozycyjnej" -#: node.c:462 +#: node.c:465 msgid "backslash at end of string" msgstr "backslash na koÅ„cu Å‚aÅ„cucha" -#: node.c:606 +#: node.c:609 #, c-format msgid "old awk does not support the `\\%c' escape sequence" msgstr "stary awk nie wspiera sekwencji ucieczki `\\%c'" -#: node.c:657 +#: node.c:660 msgid "POSIX does not allow `\\x' escapes" msgstr "POSIX nie zezwala na sekwencjÄ™ ucieczki `\\x'" -#: node.c:663 +#: node.c:666 msgid "no hex digits in `\\x' escape sequence" msgstr "brak liczb szesnastkowych w sekwencji ucieczki `\\x'" -#: node.c:685 +#: node.c:688 #, c-format msgid "" "hex escape \\x%.*s of %d characters probably not interpreted the way you " @@ -1830,7 +1843,7 @@ "szesnastkowa sekwencja ucieczki \\x%.*s %d znaków prawdopodobnie nie zostaÅ‚a " "zinterpretowana jak tego oczekujesz" -#: node.c:700 +#: node.c:703 #, c-format msgid "escape sequence `\\%c' treated as plain `%c'" msgstr "sekwencja ucieczki `\\%c' potraktowana jako zwykÅ‚e `%c'" @@ -1840,32 +1853,31 @@ msgid "%s %s `%s': could not set close-on-exec: (fcntl: %s)" msgstr "%s %s `%s': nie można ustawić close-on-exec: (fcntl: %s)" -#: profile.c:93 +#: profile.c:94 #, c-format msgid "could not open `%s' for writing: %s" msgstr "nie można otworzyć `%s' do zapisu: %s" -#: profile.c:453 +#: profile.c:457 #, c-format msgid "internal error: %s with null vname" msgstr "wewnÄ™trzny bÅ‚Ä…d: %s z zerowym vname" -#: profile.c:517 -#, fuzzy +#: profile.c:521 msgid "# treated internally as `delete'" -msgstr "# potraktowany wewnÄ™trznie jako `delete" +msgstr "# potraktowany wewnÄ™trznie jako `delete'" -#: profile.c:1069 +#: profile.c:1073 #, c-format msgid "# this is a dynamically loaded extension function" msgstr "# to jest dynamicznie Å‚adowana funkcja rozszerzenie" -#: profile.c:1100 +#: profile.c:1104 #, c-format msgid "\t# gawk profile, created %s\n" msgstr "\t# profil programu gawk, utworzony %s\n" -#: profile.c:1103 +#: profile.c:1107 #, c-format msgid "" "\t# BEGIN block(s)\n" @@ -1874,7 +1886,7 @@ "\t# blok(i) BEGIN\n" "\n" -#: profile.c:1113 +#: profile.c:1117 #, c-format msgid "" "\t# Rule(s)\n" @@ -1883,7 +1895,7 @@ "\t# ReguÅ‚y\n" "\n" -#: profile.c:1119 +#: profile.c:1123 #, c-format msgid "" "\t# END block(s)\n" @@ -1892,7 +1904,7 @@ "\t# blok(i) END\n" "\n" -#: profile.c:1139 +#: profile.c:1143 #, c-format msgid "" "\n" @@ -1901,88 +1913,92 @@ "\n" "\t# Funkcje, spis alfabetyczny\n" -#: profile.c:1400 +#: profile.c:1405 #, c-format msgid "unexpected type %s in prec_level" msgstr "niespodziewany typ %s w prec_level" -#: profile.c:1500 +#: profile.c:1527 #, c-format msgid "Unknown node type %s in pp_var" msgstr "Nieznany typ wÄ™zÅ‚a %s w pp_var" -#: regcomp.c:133 +#: regcomp.c:132 msgid "Success" msgstr "Sukces" -#: regcomp.c:136 +#: regcomp.c:135 msgid "No match" msgstr "Brak dopasowania" -#: regcomp.c:139 +#: regcomp.c:138 msgid "Invalid regular expression" msgstr "NieprawidÅ‚owe wyrażenie regularne" -#: regcomp.c:142 +#: regcomp.c:141 msgid "Invalid collation character" msgstr "NieprawidÅ‚owy znak porównania" -#: regcomp.c:145 +#: regcomp.c:144 msgid "Invalid character class name" msgstr "NieprawidÅ‚owa nazwa klasy znaku" -#: regcomp.c:148 +#: regcomp.c:147 msgid "Trailing backslash" msgstr "KoÅ„cowy znak backslash" -#: regcomp.c:151 +#: regcomp.c:150 msgid "Invalid back reference" msgstr "NieprawidÅ‚owe odwoÅ‚anie wsteczne" -#: regcomp.c:154 +#: regcomp.c:153 msgid "Unmatched [ or [^" msgstr "Niedopasowany znak [ lub [^" -#: regcomp.c:157 +#: regcomp.c:156 msgid "Unmatched ( or \\(" msgstr "Niedopasowany znak ( lub \\(" -#: regcomp.c:160 +#: regcomp.c:159 msgid "Unmatched \\{" msgstr "Niedopasowany znak \\{" -#: regcomp.c:163 +#: regcomp.c:162 msgid "Invalid content of \\{\\}" msgstr "NieprawidÅ‚owa zawartość \\{\\}" -#: regcomp.c:166 +#: regcomp.c:165 msgid "Invalid range end" msgstr "NieprawidÅ‚owy koniec zakresu" -#: regcomp.c:169 +#: regcomp.c:168 msgid "Memory exhausted" msgstr "Pamięć wyczerpana" -#: regcomp.c:172 +#: regcomp.c:171 msgid "Invalid preceding regular expression" msgstr "NieprawidÅ‚owe poprzedzajÄ…ce wyrażenie regularne" -#: regcomp.c:175 +#: regcomp.c:174 msgid "Premature end of regular expression" msgstr "Przedwczesny koniec wyrażenia regularnego" -#: regcomp.c:178 +#: regcomp.c:177 msgid "Regular expression too big" msgstr "Wyrażenie regularne jest zbyt duże" -#: regcomp.c:181 +#: regcomp.c:180 msgid "Unmatched ) or \\)" msgstr "Niedopasowany znak ) lub \\)" -#: regcomp.c:700 +#: regcomp.c:699 msgid "No previous regular expression" msgstr "Brak poprzedniego wyrażenia regularnego" +#~ msgid "can't open two way socket `%s' for input/output (%s)" +#~ msgstr "" +#~ "nie można otworzyć dwukierunkowego gniazda `%s' jako wejÅ›cia/wyjÅ›cia (%s)" + #~ msgid "%s: illegal option -- %c\n" #~ msgstr "%s: niewÅ‚aÅ›ciwa opcja -- %c\n" diff -urN gawk-3.1.7/po/pt_BR.po gawk-3.1.8/po/pt_BR.po --- gawk-3.1.7/po/pt_BR.po 2009-07-21 23:23:45.000000000 +0300 +++ gawk-3.1.8/po/pt_BR.po 2010-05-06 20:57:37.000000000 +0300 @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: gawk 3.1.2g\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2009-07-21 23:23+0300\n" +"POT-Creation-Date: 2010-05-06 20:57+0300\n" "PO-Revision-Date: 2003-06-26 16:18+0300\n" "Last-Translator: Juan Carlos Castro y Castro \n" "Language-Team: Brazilian Portuguese \n" @@ -35,42 +35,42 @@ msgid "from %s" msgstr "de %s" -#: array.c:514 -#, c-format -msgid "reference to uninitialized element `%s[\"%s\"]'" +#: array.c:513 +#, fuzzy, c-format +msgid "reference to uninitialized element `%s[\"%.*s\"]'" msgstr "referência a elemento não inicializado `%s[\"%s\"]'" -#: array.c:520 +#: array.c:519 #, c-format msgid "subscript of array `%s' is null string" msgstr "índice do vetor `%s' é uma string nula" -#: array.c:624 +#: array.c:623 #, c-format msgid "delete: index `%s' not in array `%s'" msgstr "delete: índice `%s' não está no vetor `%s'" -#: array.c:793 +#: array.c:792 #, c-format msgid "%s: empty (null)\n" msgstr "%s: vazio (nulo)\n" -#: array.c:798 +#: array.c:797 #, c-format msgid "%s: empty (zero)\n" msgstr "%s: vazio (zero)\n" -#: array.c:802 +#: array.c:801 #, c-format msgid "%s: table_size = %d, array_size = %d\n" msgstr "%s: table_size = %d, array_size = %d\n" -#: array.c:831 +#: array.c:830 #, c-format msgid "%s: is parameter\n" msgstr "%s: é parâmetro\n" -#: array.c:836 +#: array.c:835 #, c-format msgid "%s: array_ref to %s\n" msgstr "%s: array_ref para %s\n" @@ -350,7 +350,7 @@ msgid "could not open `%s' for writing (%s)" msgstr "impossível abrir `%s' para escrita (%s)" -#: awkgram.y:2748 profile.c:95 +#: awkgram.y:2748 profile.c:96 msgid "sending profile to standard error" msgstr "enviando perfil para saída de erros" @@ -407,7 +407,12 @@ "função `%s' chamada com espaço entre o nome e o `(',\n" "%s" -#: awkgram.y:3667 eval.c:1394 +#: awkgram.y:3664 +#, fuzzy +msgid "division by zero attempted in `/'" +msgstr "tentativa de divisão por zero em `/='" + +#: awkgram.y:3669 eval.c:1394 #, c-format msgid "division by zero attempted in `%%'" msgstr "tentativa de divisão por zero em `%%'" @@ -468,166 +473,170 @@ msgid "`length(array)' is a gawk extension" msgstr "`delete array' é uma extensão do gawk" -#: builtin.c:473 +#: builtin.c:471 +msgid "length: untyped parameter argument will be forced to scalar" +msgstr "" + +#: builtin.c:480 msgid "length: untyped argument will be forced to scalar" msgstr "" -#: builtin.c:477 +#: builtin.c:484 msgid "length: received non-string argument" msgstr "length: recebeu argumento não-string" -#: builtin.c:508 +#: builtin.c:515 msgid "log: received non-numeric argument" msgstr "log: recebeu argumento não-numérico" -#: builtin.c:511 +#: builtin.c:518 #, c-format msgid "log: received negative argument %g" msgstr "log: recebeu argumento negativo %g" -#: builtin.c:719 builtin.c:722 +#: builtin.c:726 builtin.c:729 msgid "must use `count$' on all formats or none" msgstr "deve usar `count$' em todos os formatos ou nenhum" -#: builtin.c:783 +#: builtin.c:790 #, c-format msgid "field width is ignored for `%%%%' specifier" msgstr "" -#: builtin.c:785 +#: builtin.c:792 #, c-format msgid "precision is ignored for `%%%%' specifier" msgstr "" -#: builtin.c:787 +#: builtin.c:794 #, c-format msgid "field width and precision are ignored for `%%%%' specifier" msgstr "" -#: builtin.c:838 +#: builtin.c:845 msgid "`$' is not permitted in awk formats" msgstr "`$' não é permitido em formatos awk" -#: builtin.c:844 +#: builtin.c:851 msgid "arg count with `$' must be > 0" msgstr "nº de argumentos com `$' deve ser > 0" -#: builtin.c:846 +#: builtin.c:853 #, c-format msgid "arg count %ld greater than total number of supplied arguments" msgstr "nº de argumentos %ld maior que nº total de argumentos fornecidos" -#: builtin.c:848 +#: builtin.c:855 msgid "`$' not permitted after period in format" msgstr "`$' não é permitido depois de ponto no formato" -#: builtin.c:861 +#: builtin.c:868 msgid "no `$' supplied for positional field width or precision" msgstr "nenhum `$' fornecido para tamanho ou precisão de campo posicional" -#: builtin.c:927 +#: builtin.c:938 msgid "`l' is meaningless in awk formats; ignored" msgstr "`l' não faz sentido em formatos awk; ignorado" -#: builtin.c:931 +#: builtin.c:942 msgid "`l' is not permitted in POSIX awk formats" msgstr "`l' não é permitido em formatos POSIX awk" -#: builtin.c:942 +#: builtin.c:953 msgid "`L' is meaningless in awk formats; ignored" msgstr "`L' não faz sentido em formatos awk; ignorado" -#: builtin.c:946 +#: builtin.c:957 msgid "`L' is not permitted in POSIX awk formats" msgstr "`L' não é permitido em formatos POSIX awk" -#: builtin.c:957 +#: builtin.c:968 msgid "`h' is meaningless in awk formats; ignored" msgstr "`h' não faz sentido em formatos awk; ignorado" -#: builtin.c:961 +#: builtin.c:972 msgid "`h' is not permitted in POSIX awk formats" msgstr "`h' não é permitido em formatos POSIX awk" -#: builtin.c:1236 +#: builtin.c:1252 #, c-format msgid "[s]printf: value %g is out of range for `%%%c' format" msgstr "[s]printf: valor %g fora da faixa para formato `%%%c'" -#: builtin.c:1316 +#: builtin.c:1332 #, c-format msgid "ignoring unknown format specifier character `%c': no argument converted" msgstr "" -#: builtin.c:1322 +#: builtin.c:1338 msgid "not enough arguments to satisfy format string" msgstr "argumentos insuficientes para a string de formato" -#: builtin.c:1324 +#: builtin.c:1340 msgid "^ ran out for this one" msgstr "^ acabou para este aqui" -#: builtin.c:1330 +#: builtin.c:1346 msgid "[s]printf: format specifier does not have control letter" msgstr "[s]printf: declaração de formato não tem letra de controle" -#: builtin.c:1333 +#: builtin.c:1349 msgid "too many arguments supplied for format string" msgstr "excesso de argumentos para a string de formato" -#: builtin.c:1408 builtin.c:1411 +#: builtin.c:1424 builtin.c:1427 msgid "printf: no arguments" msgstr "printf: nenhum argumento" -#: builtin.c:1435 +#: builtin.c:1451 msgid "sqrt: received non-numeric argument" msgstr "sqrt: recebeu argumento não-numérico" -#: builtin.c:1439 +#: builtin.c:1455 #, c-format msgid "sqrt: called with negative argument %g" msgstr "sqrt: chamada com argumento negativo %g" -#: builtin.c:1463 +#: builtin.c:1479 #, c-format msgid "substr: start index %g is invalid, using 1" msgstr "substr: posição inicial %g é inválida, usando 1" -#: builtin.c:1468 +#: builtin.c:1484 #, c-format msgid "substr: non-integer start index %g will be truncated" msgstr "substr: posição inicial %g não-inteira será truncada" -#: builtin.c:1494 +#: builtin.c:1510 #, fuzzy, c-format msgid "substr: length %g is not >= 1" msgstr "substr: comprimento %g é <= 0" -#: builtin.c:1496 +#: builtin.c:1512 #, fuzzy, c-format msgid "substr: length %g is not >= 0" msgstr "substr: comprimento %g é <= 0" -#: builtin.c:1503 +#: builtin.c:1519 #, c-format msgid "substr: non-integer length %g will be truncated" msgstr "substr: comprimento %g não-inteiro será truncado" -#: builtin.c:1508 +#: builtin.c:1524 #, c-format msgid "substr: length %g too big for string indexing, truncating to %g" msgstr "substr: comprimento %g excessivo para indexação, truncando para %g" -#: builtin.c:1520 +#: builtin.c:1536 msgid "substr: source string is zero length" msgstr "substr: string origem tem comprimento zero" -#: builtin.c:1536 +#: builtin.c:1552 #, c-format msgid "substr: start index %g is past end of string" msgstr "substr: posição inicial %g além do fim da string" -#: builtin.c:1544 +#: builtin.c:1560 #, c-format msgid "" "substr: length %g at start index %g exceeds length of first argument (%lu)" @@ -635,188 +644,192 @@ "substr: comprimento %g a partir da posição %g excede tamanho do 1º argumento " "(%lu)" -#: builtin.c:1621 +#: builtin.c:1637 msgid "strftime: received non-string first argument" msgstr "strftime: recebeu primeiro argumento não-string" -#: builtin.c:1627 +#: builtin.c:1643 msgid "strftime: received empty format string" msgstr "strftime: recebeu string de formato vazia" -#: builtin.c:1636 +#: builtin.c:1652 msgid "strftime: received non-numeric second argument" msgstr "strftime: recebeu segundo argumento não-numérico" -#: builtin.c:1713 +#: builtin.c:1729 msgid "mktime: received non-string argument" msgstr "mktime: recebeu argumento não-string" -#: builtin.c:1758 +#: builtin.c:1746 +msgid "mktime: at least one of the values is out of the default range" +msgstr "" + +#: builtin.c:1783 msgid "system: received non-string argument" msgstr "system: recebeu argumento não-string" -#: builtin.c:1879 eval.c:2145 +#: builtin.c:1904 eval.c:2157 #, c-format msgid "reference to uninitialized field `$%d'" msgstr "referência a campo não inicializado `$%d'" -#: builtin.c:1984 +#: builtin.c:2009 msgid "tolower: received non-string argument" msgstr "tolower: recebeu argumento não-string" -#: builtin.c:2014 +#: builtin.c:2039 msgid "toupper: received non-string argument" msgstr "toupper: recebeu argumento não-string" -#: builtin.c:2047 +#: builtin.c:2072 msgid "atan2: received non-numeric first argument" msgstr "atan2: recebeu primeiro argumento não-numérico" -#: builtin.c:2049 +#: builtin.c:2074 msgid "atan2: received non-numeric second argument" msgstr "atan2: recebeu segundo argumento não-numérico" -#: builtin.c:2068 +#: builtin.c:2093 msgid "sin: received non-numeric argument" msgstr "sin: recebeu argumento não-numérico" -#: builtin.c:2084 +#: builtin.c:2109 msgid "cos: received non-numeric argument" msgstr "cos: recebeu argumento não-numérico" -#: builtin.c:2137 +#: builtin.c:2162 msgid "srand: received non-numeric argument" msgstr "srand: recebeu argumento não-numérico" -#: builtin.c:2172 +#: builtin.c:2197 msgid "match: third argument is not an array" msgstr "match: terceiro argumento não é um vetor" -#: builtin.c:2719 +#: builtin.c:2744 #, fuzzy msgid "gensub: third argument of 0 treated as 1" msgstr "gensub: 3º argumento 0 tratado como 1" -#: builtin.c:2835 +#: builtin.c:2860 msgid "lshift: received non-numeric first argument" msgstr "lshift: recebeu primeiro argumento não-numérico" -#: builtin.c:2837 +#: builtin.c:2862 #, fuzzy msgid "lshift: received non-numeric second argument" msgstr "strftime: recebeu segundo argumento não-numérico" -#: builtin.c:2843 +#: builtin.c:2868 #, c-format msgid "lshift(%lf, %lf): negative values will give strange results" msgstr "lshift(%lf, %lf): valores negativos darão resultados estranhos" -#: builtin.c:2845 +#: builtin.c:2870 #, c-format msgid "lshift(%lf, %lf): fractional values will be truncated" msgstr "lshift(%lf, %lf): valores fracionários serão truncados" -#: builtin.c:2847 +#: builtin.c:2872 #, c-format msgid "lshift(%lf, %lf): too large shift value will give strange results" msgstr "lshift(%lf, %lf): deslocamento excessivo dará resultados estranhos" -#: builtin.c:2873 +#: builtin.c:2898 msgid "rshift: received non-numeric first argument" msgstr "rshift: recebeu primeiro argumento não-numérico" -#: builtin.c:2875 +#: builtin.c:2900 #, fuzzy msgid "rshift: received non-numeric second argument" msgstr "strftime: recebeu segundo argumento não-numérico" -#: builtin.c:2881 +#: builtin.c:2906 #, c-format msgid "rshift(%lf, %lf): negative values will give strange results" msgstr "rshift(%lf, %lf): valores negativos darão resultados estranhos" -#: builtin.c:2883 +#: builtin.c:2908 #, c-format msgid "rshift(%lf, %lf): fractional values will be truncated" msgstr "rshift(%lf, %lf): valores fracionários serão truncados" -#: builtin.c:2885 +#: builtin.c:2910 #, c-format msgid "rshift(%lf, %lf): too large shift value will give strange results" msgstr "rshift(%lf, %lf): deslocamento excessivo dará resultados estranhos" -#: builtin.c:2911 +#: builtin.c:2936 msgid "and: received non-numeric first argument" msgstr "and: recebeu primeiro argumento não-numérico" -#: builtin.c:2913 +#: builtin.c:2938 #, fuzzy msgid "and: received non-numeric second argument" msgstr "atan2: recebeu segundo argumento não-numérico" -#: builtin.c:2919 +#: builtin.c:2944 #, c-format msgid "and(%lf, %lf): negative values will give strange results" msgstr "and(%lf, %lf): valores negativos darão resultados estranhos" -#: builtin.c:2921 +#: builtin.c:2946 #, c-format msgid "and(%lf, %lf): fractional values will be truncated" msgstr "and(%lf, %lf): valores fracionários serão truncados" -#: builtin.c:2947 +#: builtin.c:2972 msgid "or: received non-numeric first argument" msgstr "or: recebeu primeiro argumento não-numérico" -#: builtin.c:2949 +#: builtin.c:2974 #, fuzzy msgid "or: received non-numeric second argument" msgstr "atan2: recebeu segundo argumento não-numérico" -#: builtin.c:2955 +#: builtin.c:2980 #, c-format msgid "or(%lf, %lf): negative values will give strange results" msgstr "or(%lf, %lf): valores negativos darão resultados estranhos" -#: builtin.c:2957 +#: builtin.c:2982 #, c-format msgid "or(%lf, %lf): fractional values will be truncated" msgstr "or(%lf, %lf): valores fracionários serão truncados" -#: builtin.c:2983 +#: builtin.c:3008 msgid "xor: received non-numeric first argument" msgstr "xor: recebeu primeiro argumento não-numérico" -#: builtin.c:2985 +#: builtin.c:3010 #, fuzzy msgid "xor: received non-numeric second argument" msgstr "atan2: recebeu segundo argumento não-numérico" -#: builtin.c:2991 +#: builtin.c:3016 #, c-format msgid "xor(%lf, %lf): negative values will give strange results" msgstr "xor(%lf, %lf): valores negativos darão resultados estranhos" -#: builtin.c:2993 +#: builtin.c:3018 #, c-format msgid "xor(%lf, %lf): fractional values will be truncated" msgstr "xor(%lf, %lf): valores fracionários serão truncados" -#: builtin.c:3017 +#: builtin.c:3042 msgid "compl: received non-numeric argument" msgstr "compl: recebeu primeiro argumento não-numérico" -#: builtin.c:3023 +#: builtin.c:3048 #, c-format msgid "compl(%lf): negative value will give strange results" msgstr "compl(%lf): valores negativos darão resultados estranhos" -#: builtin.c:3025 +#: builtin.c:3050 #, c-format msgid "compl(%lf): fractional value will be truncated" msgstr "compl(%lf): valores fracionários serão truncados" -#: builtin.c:3198 +#: builtin.c:3223 #, c-format msgid "dcgettext: `%s' is not a valid locale category" msgstr "dcgettext: `%s' não é uma categoria de \"locale\" válida" @@ -830,7 +843,7 @@ msgid "buffer overflow in genflags2str" msgstr "estouro de buffer em genflags2str" -#: eval.c:454 eval.c:460 profile.c:781 +#: eval.c:454 eval.c:460 profile.c:785 #, c-format msgid "attempt to use array `%s' in a scalar context" msgstr "tentativa de usar vetor `%s' em um contexto escalar" @@ -877,7 +890,7 @@ msgid "statement has no effect" msgstr "declaração não tem efeito" -#: eval.c:1029 eval.c:1999 +#: eval.c:1029 eval.c:2011 #, c-format msgid "can't use function name `%s' as variable or array" msgstr "não se pode usar o nome de função `%s' como variável ou vetor" @@ -887,7 +900,7 @@ msgid "reference to uninitialized argument `%s'" msgstr "referência a argumento não inicializado `%s'" -#: eval.c:1051 eval.c:2008 +#: eval.c:1051 eval.c:2020 #, c-format msgid "reference to uninitialized variable `%s'" msgstr "referência a variável não inicializada `%s'" @@ -908,7 +921,7 @@ msgid "division by zero attempted" msgstr "tentativa de divisão por zero" -#: eval.c:1409 profile.c:657 +#: eval.c:1409 profile.c:661 #, c-format msgid "illegal type (%s) in tree_eval" msgstr "tipo ilegal (%s) em tree_eval" @@ -922,17 +935,17 @@ msgid "division by zero attempted in `%%='" msgstr "tentativa de divisão por zero em `%%='" -#: eval.c:1859 +#: eval.c:1871 #, c-format msgid "function `%s' called with more arguments than declared" msgstr "função `%s' chamada com mais argumentos que os declarados" -#: eval.c:1904 +#: eval.c:1916 #, c-format msgid "function `%s' not defined" msgstr "função `%s' não definida" -#: eval.c:1971 +#: eval.c:1983 #, c-format msgid "" "\n" @@ -943,47 +956,47 @@ "\t# Pilha de Chamadas de Função:\n" "\n" -#: eval.c:1974 +#: eval.c:1986 #, c-format msgid "\t# -- main --\n" msgstr "\t# -- main --\n" -#: eval.c:2129 +#: eval.c:2141 msgid "attempt to field reference from non-numeric value" msgstr "tentativa de referência a campo a partir de valor não-numérico" -#: eval.c:2131 +#: eval.c:2143 msgid "attempt to reference from null string" msgstr "tentativa de referência a partir de string nula" -#: eval.c:2137 +#: eval.c:2149 #, c-format msgid "attempt to access field %d" msgstr "tentativa de acessar campo %d" -#: eval.c:2158 eval.c:2165 profile.c:836 +#: eval.c:2170 eval.c:2177 profile.c:840 msgid "assignment is not allowed to result of builtin function" msgstr "atribuição não pode resultar de funções intrínsecas" -#: eval.c:2229 +#: eval.c:2241 msgid "`IGNORECASE' is a gawk extension" msgstr "`IGNORECASE' é uma extensão do gawk" -#: eval.c:2258 +#: eval.c:2270 msgid "`BINMODE' is a gawk extension" msgstr "`BINMODE' é uma extensão do gawk" -#: eval.c:2316 +#: eval.c:2328 #, c-format msgid "BINMODE value `%s' is invalid, treated as 3" msgstr "" -#: eval.c:2406 +#: eval.c:2418 #, c-format msgid "bad `%sFMT' specification `%s'" msgstr "especificação `%sFMT' inválida `%s'" -#: eval.c:2484 +#: eval.c:2496 msgid "turning off `--lint' due to assignment to `LINT'" msgstr "desativando `--lint' devido a atribuição a `LINT'" @@ -1084,56 +1097,61 @@ msgid "old awk does not support regexps as value of `FS'" msgstr "o velho awk não suporta o operador `**'" -#: getopt.c:570 getopt.c:586 +#: getopt.c:574 getopt.c:590 #, fuzzy, c-format msgid "%s: option '%s' is ambiguous\n" msgstr "%s: opção `%s' é ambígua\n" -#: getopt.c:619 getopt.c:623 +#: getopt.c:623 getopt.c:627 #, fuzzy, c-format msgid "%s: option '--%s' doesn't allow an argument\n" msgstr "%s: opção `--%s' não aceita argumento\n" -#: getopt.c:632 getopt.c:637 +#: getopt.c:636 getopt.c:641 #, fuzzy, c-format msgid "%s: option '%c%s' doesn't allow an argument\n" msgstr "%s: opção `%c%s' não aceita argumento\n" -#: getopt.c:680 getopt.c:699 getopt.c:1002 getopt.c:1021 +#: getopt.c:684 getopt.c:703 #, fuzzy, c-format -msgid "%s: option '%s' requires an argument\n" +msgid "%s: option '--%s' requires an argument\n" msgstr "%s: opção `%s' requer argumento\n" -#: getopt.c:737 getopt.c:740 +#: getopt.c:741 getopt.c:744 #, fuzzy, c-format msgid "%s: unrecognized option '--%s'\n" msgstr "%s: opção não reconhecida `--%s'\n" -#: getopt.c:748 getopt.c:751 +#: getopt.c:752 getopt.c:755 #, fuzzy, c-format msgid "%s: unrecognized option '%c%s'\n" msgstr "%s: opção não reconhecida `%c%s'\n" -#: getopt.c:800 getopt.c:803 +#: getopt.c:804 getopt.c:807 #, fuzzy, c-format msgid "%s: invalid option -- '%c'\n" msgstr "%s: opção inválida -- %c\n" -#: getopt.c:853 getopt.c:870 getopt.c:1073 getopt.c:1091 +#: getopt.c:857 getopt.c:874 getopt.c:1082 getopt.c:1100 #, fuzzy, c-format msgid "%s: option requires an argument -- '%c'\n" msgstr "%s: opção requer argumento -- %c\n" -#: getopt.c:923 getopt.c:939 +#: getopt.c:930 getopt.c:946 #, fuzzy, c-format msgid "%s: option '-W %s' is ambiguous\n" msgstr "%s: opção `-W %s' é ambígua\n" -#: getopt.c:963 getopt.c:981 +#: getopt.c:970 getopt.c:988 #, fuzzy, c-format msgid "%s: option '-W %s' doesn't allow an argument\n" msgstr "%s: opção `-W %s' não aceita argumento\n" +#: getopt.c:1009 getopt.c:1027 +#, fuzzy, c-format +msgid "%s: option '-W %s' requires an argument\n" +msgstr "%s: opção `%s' requer argumento\n" + #: io.c:322 io.c:352 #, c-format msgid "cannot open file `%s' for reading (%s)" @@ -1181,440 +1199,435 @@ msgid "can't open pipe `%s' for input (%s)" msgstr "impossível abrir pipe `%s' para entrada (%s)" -#: io.c:712 -#, c-format -msgid "can't open two way socket `%s' for input/output (%s)" -msgstr "impossível abrir socket bidirecional `%s' para entrada/saída (%s)" - -#: io.c:716 +#: io.c:717 #, c-format msgid "can't open two way pipe `%s' for input/output (%s)" msgstr "impossível abrir pipe bidirecional `%s' para entrada/saída (%s)" -#: io.c:793 +#: io.c:795 #, c-format msgid "can't redirect from `%s' (%s)" msgstr "impossível redirecionar de `%s' (%s)" -#: io.c:796 +#: io.c:798 #, c-format msgid "can't redirect to `%s' (%s)" msgstr "impossível redirecionar para `%s' (%s)" -#: io.c:849 +#: io.c:851 msgid "" "reached system limit for open files: starting to multiplex file descriptors" msgstr "" "alcançado limite do sistema para arquivos abertos; começando a multiplexar " "descritores de arquivos" -#: io.c:865 +#: io.c:867 #, c-format msgid "close of `%s' failed (%s)." msgstr "fechamento de `%s' falhou (%s)" -#: io.c:873 +#: io.c:875 msgid "too many pipes or input files open" msgstr "excesso de pipes ou arquivos de entrada abertos" -#: io.c:896 +#: io.c:898 msgid "close: second argument must be `to' or `from'" msgstr "close: segundo argumento deve ser `to' ou `from'" -#: io.c:910 +#: io.c:912 #, c-format msgid "close: `%.*s' is not an open file, pipe or co-process" msgstr "close: `%.*s' não é um arquivo aberto, pipe ou co-processo" -#: io.c:915 +#: io.c:917 msgid "close of redirection that was never opened" msgstr "fechamento de redirecionamento que nunca foi aberto" -#: io.c:1012 +#: io.c:1014 #, c-format msgid "close: redirection `%s' not opened with `|&', second argument ignored" msgstr "" "close: redirecionamento `%s' não foi aberto com `|&', segundo argumento " "ignorado" -#: io.c:1028 +#: io.c:1030 #, c-format msgid "failure status (%d) on pipe close of `%s' (%s)" msgstr "status de falha (%d) ao fechar pipe de `%s' (%s)" -#: io.c:1031 +#: io.c:1033 #, c-format msgid "failure status (%d) on file close of `%s' (%s)" msgstr "status de falha (%d) ao fechar arquivo de `%s' (%s)" -#: io.c:1051 +#: io.c:1053 #, c-format msgid "no explicit close of socket `%s' provided" msgstr "fechamento explícito do socket `%s' não fornecido" -#: io.c:1054 +#: io.c:1056 #, c-format msgid "no explicit close of co-process `%s' provided" msgstr "fechamento explícito do co-processo `%s' não fornecido" -#: io.c:1057 +#: io.c:1059 #, c-format msgid "no explicit close of pipe `%s' provided" msgstr "fechamento explícito do pipe `%s' não fornecido" -#: io.c:1060 +#: io.c:1062 #, c-format msgid "no explicit close of file `%s' provided" msgstr "fechamento explícito do arquivo `%s' não fornecido" -#: io.c:1088 io.c:1143 main.c:776 main.c:818 +#: io.c:1090 io.c:1145 main.c:781 main.c:823 #, c-format msgid "error writing standard output (%s)" msgstr "erro ao escrever na saída padrão (%s)" -#: io.c:1092 io.c:1148 +#: io.c:1094 io.c:1150 #, c-format msgid "error writing standard error (%s)" msgstr "erro ao escrever na saída padrão de erros (%s)" -#: io.c:1100 +#: io.c:1102 #, c-format msgid "pipe flush of `%s' failed (%s)." msgstr "descarga de pipe de `%s' falhou (%s)." -#: io.c:1103 +#: io.c:1105 #, c-format msgid "co-process flush of pipe to `%s' failed (%s)." msgstr "descarga de co-processo de pipe para `%s' falhou (%s)." -#: io.c:1106 +#: io.c:1108 #, c-format msgid "file flush of `%s' failed (%s)." msgstr "descarga de arquivo de `%s' falhou (%s)." -#: io.c:1220 +#: io.c:1222 #, fuzzy, c-format msgid "local port %s invalid in `/inet'" msgstr "porta local inválida em `%s'" -#: io.c:1237 +#: io.c:1239 #, c-format msgid "remote host and port information (%s, %s) invalid" msgstr "" -#: io.c:1272 +#: io.c:1274 msgid "/inet/raw client not ready yet, sorry" msgstr "infelizmente, o cliente de /inet/raw não está concluído" -#: io.c:1275 io.c:1311 +#: io.c:1277 io.c:1313 msgid "only root may use `/inet/raw'." msgstr "apenas root pode usar `/inet/raw'." -#: io.c:1309 +#: io.c:1311 msgid "/inet/raw server not ready yet, sorry" msgstr "infelizmente, o servidor de /inet/raw não está concluído" -#: io.c:1407 +#: io.c:1409 #, c-format msgid "no (known) protocol supplied in special filename `%s'" msgstr "" "nenhum protocolo (conhecido) fornecido em nome de arquivo especial `%s'" -#: io.c:1421 +#: io.c:1423 #, c-format msgid "special file name `%s' is incomplete" msgstr "nome de arquivo especial `%s' está incompleto" -#: io.c:1436 +#: io.c:1438 msgid "must supply a remote hostname to `/inet'" msgstr "deve ser fornecido um nome de host remoto para `/inet'" -#: io.c:1454 +#: io.c:1456 msgid "must supply a remote port to `/inet'" msgstr "deve ser fornecida uma porta remota para `/inet'" -#: io.c:1485 +#: io.c:1502 msgid "TCP/IP communications are not supported" msgstr "comunicação TCP/IP não é suportada" -#: io.c:1494 +#: io.c:1511 #, c-format msgid "file `%s' is a directory" msgstr "arquivo `%s' é um diretório" -#: io.c:1555 +#: io.c:1572 #, c-format msgid "use `PROCINFO[\"%s\"]' instead of `%s'" msgstr "use `PROCINFO[\"%s\"]' em vez de `%s'" -#: io.c:1593 +#: io.c:1610 msgid "use `PROCINFO[...]' instead of `/dev/user'" msgstr "use `PROCINFO[...]' em vez de `/dev/user'" -#: io.c:1658 io.c:1853 +#: io.c:1675 io.c:1872 #, c-format msgid "could not open `%s', mode `%s'" msgstr "impossível abrir `%s', modo `%s'" -#: io.c:1904 +#: io.c:1923 #, c-format msgid "close of master pty failed (%s)" msgstr "falha ao fechar pty mestre (%s)" -#: io.c:1906 io.c:2058 io.c:2209 +#: io.c:1925 io.c:2077 io.c:2228 #, c-format msgid "close of stdout in child failed (%s)" msgstr "falha ao fechar stdout em filho (%s)" -#: io.c:1909 +#: io.c:1928 #, c-format msgid "moving slave pty to stdout in child failed (dup: %s)" msgstr "falha ao mover pty escrava para stdout em filho (dup: %s)" -#: io.c:1911 io.c:2063 +#: io.c:1930 io.c:2082 #, c-format msgid "close of stdin in child failed (%s)" msgstr "falha ao fechar stdin em filho (%s)" -#: io.c:1914 +#: io.c:1933 #, c-format msgid "moving slave pty to stdin in child failed (dup: %s)" msgstr "falha ao mover pty escrava para stdin em filho (dup: %s)" -#: io.c:1916 io.c:1935 +#: io.c:1935 io.c:1954 #, c-format msgid "close of slave pty failed (%s)" msgstr "falha ao fechar pty escrava (%s)" -#: io.c:2009 io.c:2061 io.c:2190 io.c:2212 +#: io.c:2028 io.c:2080 io.c:2209 io.c:2231 #, c-format msgid "moving pipe to stdout in child failed (dup: %s)" msgstr "falha ao mover pipe para stdout em processo pai (dup: %s)" -#: io.c:2013 io.c:2066 +#: io.c:2032 io.c:2085 #, c-format msgid "moving pipe to stdin in child failed (dup: %s)" msgstr "falha ao mover pipe para stdin em processo pai (dup: %s)" -#: io.c:2030 io.c:2203 +#: io.c:2049 io.c:2222 msgid "restoring stdout in parent process failed\n" msgstr "falha ao restaurar stdout em processo pai\n" -#: io.c:2035 +#: io.c:2054 msgid "restoring stdin in parent process failed\n" msgstr "falha ao restaurar stdin em processo pai\n" -#: io.c:2069 io.c:2214 io.c:2225 +#: io.c:2088 io.c:2233 io.c:2244 #, c-format msgid "close of pipe failed (%s)" msgstr "falha ao fechar pipe (%s)" -#: io.c:2114 +#: io.c:2133 msgid "`|&' not supported" msgstr "`|&' não suportado" -#: io.c:2180 +#: io.c:2199 #, c-format msgid "cannot open pipe `%s' (%s)" msgstr "impossível abrir pipe `%s' (%s)" -#: io.c:2221 +#: io.c:2240 #, c-format msgid "cannot create child process for `%s' (fork: %s)" msgstr "impossível criar processo filho para `%s' (fork: %s)" -#: io.c:2603 +#: io.c:2622 #, c-format msgid "data file `%s' is empty" msgstr "arquivo de dados `%s' vazio" -#: io.c:2644 io.c:2652 +#: io.c:2663 io.c:2671 msgid "could not allocate more input memory" msgstr "impossível alocar mais memória de entrada" -#: io.c:3020 io.c:3093 +#: io.c:3039 io.c:3112 #, c-format msgid "error reading input file `%s': %s" msgstr "erro ao ler arquivo de entrada `%s': %s" -#: io.c:3218 +#: io.c:3237 msgid "multicharacter value of `RS' is a gawk extension" msgstr "valor de múltiplos caracteres para `RS' é uma extensão do gawk" -#: main.c:304 +#: main.c:306 msgid "out of memory" msgstr "" -#: main.c:373 +#: main.c:374 msgid "`-m[fr]' option irrelevant in gawk" msgstr "opção `-m[fr] é irrelevante no gawk" -#: main.c:375 +#: main.c:376 msgid "-m option usage: `-m[fr] nnn'" msgstr "uso da opção -m: `-m[fr] nnn'" -#: main.c:392 +#: main.c:393 #, c-format msgid "%s: option `-W %s' unrecognized, ignored\n" msgstr "%s: opção `-W %s' não reconhecida, ignorada\n" -#: main.c:433 +#: main.c:434 msgid "empty argument to `--source' ignored" msgstr "argumento vazio para --source ignorado" -#: main.c:487 +#: main.c:488 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: opção requer argumento -- %c\n" -#: main.c:506 +#: main.c:509 msgid "environment variable `POSIXLY_CORRECT' set: turning on `--posix'" msgstr "variável de ambiente `POSIXLY_CORRECT' ativada: ligando `--posix'" -#: main.c:512 +#: main.c:515 msgid "`--posix' overrides `--traditional'" msgstr "`--posix' sobrepõe `--traditional'" -#: main.c:523 +#: main.c:526 msgid "`--posix'/`--traditional' overrides `--non-decimal-data'" msgstr "`--posix'/`--traditional' sobrepõe `--non-decimal-data'" -#: main.c:527 +#: main.c:530 #, c-format msgid "running %s setuid root may be a security problem" msgstr "rodar %s com setuid root pode ser um problema de segurança" -#: main.c:568 +#: main.c:571 #, c-format msgid "can't set binary mode on stdin (%s)" msgstr "impossível ativar modo binário em stdin (%s)" -#: main.c:571 +#: main.c:574 #, c-format msgid "can't set binary mode on stdout (%s)" msgstr "impossível ativar modo binário em stdout (%s)" -#: main.c:573 +#: main.c:576 #, c-format msgid "can't set binary mode on stderr (%s)" msgstr "impossível ativar modo binário em stderr (%s)" -#: main.c:612 +#: main.c:617 msgid "no program text at all!" msgstr "nenhum texto de programa" -#: main.c:716 +#: main.c:721 #, c-format msgid "Usage: %s [POSIX or GNU style options] -f progfile [--] file ...\n" msgstr "Uso: %s [opções estilo POSIX ou GNU] -f arqprog [--] arquivo ...\n" -#: main.c:718 +#: main.c:723 #, c-format msgid "Usage: %s [POSIX or GNU style options] [--] %cprogram%c file ...\n" msgstr "Uso: %s [opções estilo POSIX ou GNU] [--] %cprograma%c arquivo ...\n" -#: main.c:723 +#: main.c:728 msgid "POSIX options:\t\tGNU long options:\n" msgstr "Opções POSIX: \t\tOpções longas GNU:\n" -#: main.c:724 +#: main.c:729 msgid "\t-f progfile\t\t--file=progfile\n" msgstr "\t-f arqprog \t\t--file=arqprog\n" -#: main.c:725 +#: main.c:730 msgid "\t-F fs\t\t\t--field-separator=fs\n" msgstr "\t-F fs\t\t\t--field-separator=fs\n" -#: main.c:726 +#: main.c:731 msgid "\t-v var=val\t\t--assign=var=val\n" msgstr "\t-v var=val\t\t--assign=var=val\n" -#: main.c:727 +#: main.c:732 msgid "\t-m[fr] val\n" msgstr "\t-m[fr] val\n" -#: main.c:728 +#: main.c:733 msgid "\t-O\t\t\t--optimize\n" msgstr "" -#: main.c:729 +#: main.c:734 msgid "\t-W compat\t\t--compat\n" msgstr "\t-W compat\t\t--compat\n" -#: main.c:730 +#: main.c:735 msgid "\t-W copyleft\t\t--copyleft\n" msgstr "\t-W copyleft\t\t--copyleft\n" -#: main.c:731 +#: main.c:736 msgid "\t-W copyright\t\t--copyright\n" msgstr "\t-W copyright\t\t--copyright\n" -#: main.c:732 +#: main.c:737 msgid "\t-W dump-variables[=file]\t--dump-variables[=file]\n" msgstr "\t-W dump-variables[=arq] \t--dump-variables[=arq]\n" -#: main.c:733 +#: main.c:738 #, fuzzy msgid "\t-W exec=file\t\t--exec=file\n" msgstr "\t-W profile[=arq] \t--profile[=arq]\n" -#: main.c:734 +#: main.c:739 msgid "\t-W gen-po\t\t--gen-po\n" msgstr "\t-W gen-po\t\t--gen-po\n" -#: main.c:735 +#: main.c:740 msgid "\t-W help\t\t\t--help\n" msgstr "\t-W help\t\t\t--help\n" -#: main.c:736 +#: main.c:741 msgid "\t-W lint[=fatal]\t\t--lint[=fatal]\n" msgstr "\t-W lint[=fatal]\t\t--lint[=fatal]\n" -#: main.c:737 +#: main.c:742 msgid "\t-W lint-old\t\t--lint-old\n" msgstr "\t-W lint-old\t\t--lint-old\n" -#: main.c:738 +#: main.c:743 msgid "\t-W non-decimal-data\t--non-decimal-data\n" msgstr "\t-W non-decimal-data\t--non-decimal-data\n" -#: main.c:740 +#: main.c:745 msgid "\t-W nostalgia\t\t--nostalgia\n" msgstr "\t-W nostalgia\t\t--nostalgia\n" -#: main.c:743 +#: main.c:748 msgid "\t-W parsedebug\t\t--parsedebug\n" msgstr "\t-W parsedebug\t\t--parsedebug\n" -#: main.c:745 +#: main.c:750 msgid "\t-W profile[=file]\t--profile[=file]\n" msgstr "\t-W profile[=arq] \t--profile[=arq]\n" -#: main.c:746 +#: main.c:751 msgid "\t-W posix\t\t--posix\n" msgstr "\t-W posix\t\t--posix\n" -#: main.c:747 +#: main.c:752 msgid "\t-W re-interval\t\t--re-interval\n" msgstr "\t-W re-interval\t\t--re-interval\n" -#: main.c:748 +#: main.c:753 msgid "\t-W source=program-text\t--source=program-text\n" msgstr "\t-W source=program-text\t--source=program-text\n" -#: main.c:749 +#: main.c:754 msgid "\t-W traditional\t\t--traditional\n" msgstr "\t-W traditional\t\t--traditional\n" -#: main.c:750 +#: main.c:755 msgid "\t-W usage\t\t--usage\n" msgstr "\t-W usage\t\t--usage\n" -#: main.c:751 +#: main.c:756 msgid "\t-W use-lc-numeric\t--use-lc-numeric\n" msgstr "" -#: main.c:752 +#: main.c:757 msgid "\t-W version\t\t--version\n" msgstr "\t-W version\t\t--version\n" @@ -1623,7 +1636,7 @@ #. for this application. Please add _another line_ with the #. address for translation bugs. #. no-wrap -#: main.c:761 +#: main.c:766 msgid "" "\n" "To report bugs, see node `Bugs' in `gawk.info', which is\n" @@ -1635,7 +1648,7 @@ "seção `Reportando Problemas e Bugs' na versão impressa.\n" "\n" -#: main.c:765 +#: main.c:770 msgid "" "gawk is a pattern scanning and processing language.\n" "By default it reads standard input and writes standard output.\n" @@ -1645,7 +1658,7 @@ "Por padrão, o gawk lê a entrada padrão e escreve na saída padrão.\n" "\n" -#: main.c:769 +#: main.c:774 msgid "" "Examples:\n" "\tgawk '{ sum += $1 }; END { print sum }' file\n" @@ -1655,7 +1668,7 @@ "\tgawk '{ soma += $1 }; END { print soma }' arquivo\n" "\tgawk -F: '{ print $1 }' /etc/passwd\n" -#: main.c:789 +#: main.c:794 #, fuzzy, c-format msgid "" "Copyright (C) 1989, 1991-%d Free Software Foundation.\n" @@ -1674,7 +1687,7 @@ "(aoseu critério) qualquer versão posterior.\n" "\n" -#: main.c:797 +#: main.c:802 msgid "" "This program is distributed in the hope that it will be useful,\n" "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" @@ -1686,7 +1699,7 @@ "QUALQUER GARANTIA. Veja a Licença Pública Geral GNU (GNU GPL)\n" "para mais detalhes.\n" -#: main.c:808 +#: main.c:813 #, fuzzy msgid "" "You should have received a copy of the GNU General Public License\n" @@ -1696,11 +1709,11 @@ "junto com este programa; caso contrário, escreva à Free Software\n" "Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n" -#: main.c:843 +#: main.c:848 msgid "-Ft does not set FS to tab in POSIX awk" msgstr "-Ft não faz FS ser tab no awk POSIX" -#: main.c:1117 +#: main.c:1122 #, c-format msgid "" "%s: `%s' argument to `-v' not in `var=value' form\n" @@ -1709,45 +1722,45 @@ "%s: argumento `%s' para `-v' não está na forma `var=valor'\n" "\n" -#: main.c:1137 +#: main.c:1142 #, c-format msgid "`%s' is not a legal variable name" msgstr "`%s' não é um nome legal de variável" -#: main.c:1140 +#: main.c:1145 #, c-format msgid "`%s' is not a variable name, looking for file `%s=%s'" msgstr "`%s' não é um nome de variável, procurando arquivo `%s=%s'" -#: main.c:1179 +#: main.c:1184 msgid "floating point exception" msgstr "exceção de ponto flutuante" -#: main.c:1186 +#: main.c:1191 msgid "fatal error: internal error" msgstr "erro fatal: erro interno" -#: main.c:1200 +#: main.c:1206 #, fuzzy msgid "fatal error: internal error: segfault" msgstr "erro fatal: erro interno" -#: main.c:1212 +#: main.c:1218 #, fuzzy msgid "fatal error: internal error: stack overflow" msgstr "erro fatal: erro interno" -#: main.c:1261 +#: main.c:1268 #, c-format msgid "no pre-opened fd %d" msgstr "nenhum descritor pré-aberto %d" -#: main.c:1268 +#: main.c:1275 #, c-format msgid "could not pre-open /dev/null for fd %d" msgstr "impossível pré-abrir /dev/null para descritor %d" -#: main.c:1291 main.c:1300 +#: main.c:1298 main.c:1307 #, c-format msgid "could not find groups: %s" msgstr "impossível achar grupos: %s" @@ -1773,31 +1786,31 @@ msgid "can't convert string to float" msgstr "impossível converter string para float" -#: node.c:462 +#: node.c:465 msgid "backslash at end of string" msgstr "barra invertida (\\) no fim da string" -#: node.c:606 +#: node.c:609 #, fuzzy, c-format msgid "old awk does not support the `\\%c' escape sequence" msgstr "o velho awk não suporta o operador `**'" -#: node.c:657 +#: node.c:660 msgid "POSIX does not allow `\\x' escapes" msgstr "POSIX não permite escapes do tipo `\\x'" -#: node.c:663 +#: node.c:666 msgid "no hex digits in `\\x' escape sequence" msgstr "nenhum dígito hexa em seqüência de escape `\\x'" -#: node.c:685 +#: node.c:688 #, c-format msgid "" "hex escape \\x%.*s of %d characters probably not interpreted the way you " "expect" msgstr "" -#: node.c:700 +#: node.c:703 #, c-format msgid "escape sequence `\\%c' treated as plain `%c'" msgstr "seqüência de escape `\\%c' tratada como `%c' normal" @@ -1807,32 +1820,31 @@ msgid "%s %s `%s': could not set close-on-exec: (fcntl: %s)" msgstr "%s %s `%s': impossível ativar fechar-ao-executar: (fcntl: %s)" -#: profile.c:93 +#: profile.c:94 #, c-format msgid "could not open `%s' for writing: %s" msgstr "impossível abrir `%s' para escrita: %s" -#: profile.c:453 +#: profile.c:457 #, c-format msgid "internal error: %s with null vname" msgstr "erro interno: %s com vname nulo" -#: profile.c:517 -#, fuzzy +#: profile.c:521 msgid "# treated internally as `delete'" msgstr "# tratado internamente como `delete'" -#: profile.c:1069 +#: profile.c:1073 #, c-format msgid "# this is a dynamically loaded extension function" msgstr "" -#: profile.c:1100 +#: profile.c:1104 #, c-format msgid "\t# gawk profile, created %s\n" msgstr "\t# perfil gawk, criado %s\n" -#: profile.c:1103 +#: profile.c:1107 #, c-format msgid "" "\t# BEGIN block(s)\n" @@ -1841,7 +1853,7 @@ "\t# bloco(s) BEGIN\n" "\n" -#: profile.c:1113 +#: profile.c:1117 #, c-format msgid "" "\t# Rule(s)\n" @@ -1850,7 +1862,7 @@ "\t# Regra(s)\n" "\n" -#: profile.c:1119 +#: profile.c:1123 #, c-format msgid "" "\t# END block(s)\n" @@ -1859,7 +1871,7 @@ "\t# bloco(s) END\n" "\n" -#: profile.c:1139 +#: profile.c:1143 #, c-format msgid "" "\n" @@ -1868,91 +1880,88 @@ "\n" "\t# Funções, listadas alfabeticamente\n" -#: profile.c:1400 +#: profile.c:1405 #, c-format msgid "unexpected type %s in prec_level" msgstr "tipo inesperado %s em prec_level" -#: profile.c:1500 +#: profile.c:1527 #, fuzzy, c-format msgid "Unknown node type %s in pp_var" msgstr "tipo de nodo desconhecido %d" -#: regcomp.c:133 +#: regcomp.c:132 msgid "Success" msgstr "Sucesso" -#: regcomp.c:136 +#: regcomp.c:135 msgid "No match" msgstr "Sem combinação" -#: regcomp.c:139 +#: regcomp.c:138 msgid "Invalid regular expression" msgstr "Expressão regular inválida" -#: regcomp.c:142 +#: regcomp.c:141 msgid "Invalid collation character" msgstr "Caracter de combinação inválido" -#: regcomp.c:145 +#: regcomp.c:144 msgid "Invalid character class name" msgstr "Nome de classe de caracter inválido" -#: regcomp.c:148 +#: regcomp.c:147 msgid "Trailing backslash" msgstr "contra-barra (\\) finalizando" -#: regcomp.c:151 +#: regcomp.c:150 msgid "Invalid back reference" msgstr "Referência anterior inválida" -#: regcomp.c:154 +#: regcomp.c:153 msgid "Unmatched [ or [^" msgstr "[ ou [^ não emparelhado" -#: regcomp.c:157 +#: regcomp.c:156 msgid "Unmatched ( or \\(" msgstr "( ou \\( não emparelhado" -#: regcomp.c:160 +#: regcomp.c:159 msgid "Unmatched \\{" msgstr "\\{ não emparelhado" -#: regcomp.c:163 +#: regcomp.c:162 msgid "Invalid content of \\{\\}" msgstr "Conteúdo inválido de \\{\\}" -#: regcomp.c:166 +#: regcomp.c:165 msgid "Invalid range end" msgstr "Fim de faixa inválido" -#: regcomp.c:169 +#: regcomp.c:168 msgid "Memory exhausted" msgstr "Memória esgotada" -#: regcomp.c:172 +#: regcomp.c:171 msgid "Invalid preceding regular expression" msgstr "Expressão regular anterior inválida" -#: regcomp.c:175 +#: regcomp.c:174 msgid "Premature end of regular expression" msgstr "Fim prematuro da expressão regular" -#: regcomp.c:178 +#: regcomp.c:177 msgid "Regular expression too big" msgstr "Expressão regular grande demais" -#: regcomp.c:181 +#: regcomp.c:180 msgid "Unmatched ) or \\)" msgstr ") ou \\) desemparelhado" -#: regcomp.c:700 +#: regcomp.c:699 msgid "No previous regular expression" msgstr "Nenhuma expressão regular anterior" -#~ msgid "%s: illegal option -- %c\n" -#~ msgstr "%s: opção ilegal -- %c\n" - #~ msgid "or used as a variable or an array" #~ msgstr "ou usado como uma variável ou vetor" @@ -1965,6 +1974,12 @@ #~ msgid "field %d in FIELDWIDTHS, must be > 0" #~ msgstr "campo %d em FIELDWIDTHS deve ser > 0" +#~ msgid "%s: illegal option -- %c\n" +#~ msgstr "%s: opção ilegal -- %c\n" + +#~ msgid "can't open two way socket `%s' for input/output (%s)" +#~ msgstr "impossível abrir socket bidirecional `%s' para entrada/saída (%s)" + #~ msgid "remote port invalid in `%s'" #~ msgstr "porta remota inválida em `%s'" diff -urN gawk-3.1.7/po/ro.po gawk-3.1.8/po/ro.po --- gawk-3.1.7/po/ro.po 2009-07-21 23:23:45.000000000 +0300 +++ gawk-3.1.8/po/ro.po 2010-05-06 20:57:37.000000000 +0300 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: gawk 3.1.31\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2009-07-21 23:23+0300\n" +"POT-Creation-Date: 2010-05-06 20:57+0300\n" "PO-Revision-Date: 2003-09-15 17:48+0300\n" "Last-Translator: Eugen Hoanca \n" "Language-Team: Romanian \n" @@ -34,42 +34,42 @@ msgid "from %s" msgstr "%s (din %s)" -#: array.c:514 -#, c-format -msgid "reference to uninitialized element `%s[\"%s\"]'" +#: array.c:513 +#, fuzzy, c-format +msgid "reference to uninitialized element `%s[\"%.*s\"]'" msgstr "referinþã la elementul neiniþializat `%s[\"%s\"]'" -#: array.c:520 +#: array.c:519 #, c-format msgid "subscript of array `%s' is null string" msgstr "înscrierea array-ului `%s' este ºir null" -#: array.c:624 +#: array.c:623 #, c-format msgid "delete: index `%s' not in array `%s'" msgstr "delete: indexul `%s' nu este în array-ul `%s'" -#: array.c:793 +#: array.c:792 #, c-format msgid "%s: empty (null)\n" msgstr "%s: vid (null)\n" -#: array.c:798 +#: array.c:797 #, c-format msgid "%s: empty (zero)\n" msgstr "%s: vid (zero)\n" -#: array.c:802 +#: array.c:801 #, c-format msgid "%s: table_size = %d, array_size = %d\n" msgstr "%s: table_size = %d, array_size = %d\n" -#: array.c:831 +#: array.c:830 #, fuzzy, c-format msgid "%s: is parameter\n" msgstr "%s: este parametru!\n" -#: array.c:836 +#: array.c:835 #, c-format msgid "%s: array_ref to %s\n" msgstr "%s: array_ref cãtre %s\n" @@ -360,7 +360,7 @@ msgid "could not open `%s' for writing (%s)" msgstr "nu s-a putut deschide `%s' pentru scriere (%s)" -#: awkgram.y:2748 profile.c:95 +#: awkgram.y:2748 profile.c:96 msgid "sending profile to standard error" msgstr "se trimite profilul la dipsozitivul de eroare standard" @@ -417,7 +417,12 @@ "funcþia `%s' apelatã cu un spaþiu între nume ºi `(',\n" "%s" -#: awkgram.y:3667 eval.c:1394 +#: awkgram.y:3664 +#, fuzzy +msgid "division by zero attempted in `/'" +msgstr "s-a încercat împãrþire la zero în `/='" + +#: awkgram.y:3669 eval.c:1394 #, c-format msgid "division by zero attempted in `%%'" msgstr "s-a încercat împãrþire la zero în `%%'" @@ -480,170 +485,174 @@ msgid "`length(array)' is a gawk extension" msgstr "`delete array' este extensie gawk" -#: builtin.c:473 +#: builtin.c:471 +msgid "length: untyped parameter argument will be forced to scalar" +msgstr "" + +#: builtin.c:480 msgid "length: untyped argument will be forced to scalar" msgstr "" -#: builtin.c:477 +#: builtin.c:484 msgid "length: received non-string argument" msgstr "legth: s-a primit argument non-string" -#: builtin.c:508 +#: builtin.c:515 msgid "log: received non-numeric argument" msgstr "log: s-a primit argument nenumeric" -#: builtin.c:511 +#: builtin.c:518 #, c-format msgid "log: received negative argument %g" msgstr "log: s-a primit argument %g negativ" -#: builtin.c:719 builtin.c:722 +#: builtin.c:726 builtin.c:729 msgid "must use `count$' on all formats or none" msgstr "" -#: builtin.c:783 +#: builtin.c:790 #, c-format msgid "field width is ignored for `%%%%' specifier" msgstr "" -#: builtin.c:785 +#: builtin.c:792 #, c-format msgid "precision is ignored for `%%%%' specifier" msgstr "" -#: builtin.c:787 +#: builtin.c:794 #, c-format msgid "field width and precision are ignored for `%%%%' specifier" msgstr "" -#: builtin.c:838 +#: builtin.c:845 msgid "`$' is not permitted in awk formats" msgstr "`$' nu este permis în formatele awk" -#: builtin.c:844 +#: builtin.c:851 msgid "arg count with `$' must be > 0" msgstr "numãrul de arg cu `%' trebuie sã fie > 0" -#: builtin.c:846 +#: builtin.c:853 #, fuzzy, c-format msgid "arg count %ld greater than total number of supplied arguments" msgstr "" "numãrul de arg %d este mai mare decât numãrul total de argumente furnizate" -#: builtin.c:848 +#: builtin.c:855 msgid "`$' not permitted after period in format" msgstr "`$' nu este permis în format dupã punct" -#: builtin.c:861 +#: builtin.c:868 msgid "no `$' supplied for positional field width or precision" msgstr "" "nu s-a furnizat nici un `$' pentru câmpul poziþional lungime sau precisie" -#: builtin.c:927 +#: builtin.c:938 msgid "`l' is meaningless in awk formats; ignored" msgstr "`l' nu are sens în formatele awk; ignorat" -#: builtin.c:931 +#: builtin.c:942 msgid "`l' is not permitted in POSIX awk formats" msgstr "`l' nu este permis în formatele awk POSIX" -#: builtin.c:942 +#: builtin.c:953 msgid "`L' is meaningless in awk formats; ignored" msgstr "`L' nu are sens în formatele awk; ignorat" -#: builtin.c:946 +#: builtin.c:957 msgid "`L' is not permitted in POSIX awk formats" msgstr "`L' nu este permis în formatele POSIX awk" -#: builtin.c:957 +#: builtin.c:968 msgid "`h' is meaningless in awk formats; ignored" msgstr "`h' nu are sens în formatele awl; ignorat" -#: builtin.c:961 +#: builtin.c:972 msgid "`h' is not permitted in POSIX awk formats" msgstr "`h' nu este permis în formatele POSIX awk" -#: builtin.c:1236 +#: builtin.c:1252 #, c-format msgid "[s]printf: value %g is out of range for `%%%c' format" msgstr "" -#: builtin.c:1316 +#: builtin.c:1332 #, c-format msgid "ignoring unknown format specifier character `%c': no argument converted" msgstr "" -#: builtin.c:1322 +#: builtin.c:1338 msgid "not enough arguments to satisfy format string" msgstr "" "nu existã destule argumente pentru satisfacerea formatului ºirului de " "caractere" -#: builtin.c:1324 +#: builtin.c:1340 msgid "^ ran out for this one" msgstr "^ insuficient pentru aceasta" -#: builtin.c:1330 +#: builtin.c:1346 msgid "[s]printf: format specifier does not have control letter" msgstr "[s]printf: specificatorul de format nu are literã de control" -#: builtin.c:1333 +#: builtin.c:1349 msgid "too many arguments supplied for format string" msgstr "prea multe argumente furnizate pentru formatul ºirului de caractere" -#: builtin.c:1408 builtin.c:1411 +#: builtin.c:1424 builtin.c:1427 msgid "printf: no arguments" msgstr "printf: nici un argument" -#: builtin.c:1435 +#: builtin.c:1451 msgid "sqrt: received non-numeric argument" msgstr "sqrt: s-a primit argument nenumeric" -#: builtin.c:1439 +#: builtin.c:1455 #, c-format msgid "sqrt: called with negative argument %g" msgstr "sqrt: apelat cu argumentul negativ %g" -#: builtin.c:1463 +#: builtin.c:1479 #, c-format msgid "substr: start index %g is invalid, using 1" msgstr "substr: indexul de start %g este invalid, se foloseºte -1" -#: builtin.c:1468 +#: builtin.c:1484 #, c-format msgid "substr: non-integer start index %g will be truncated" msgstr "substr: indexul de start ne-întreg(integer) %g va fi trunchiat" -#: builtin.c:1494 +#: builtin.c:1510 #, fuzzy, c-format msgid "substr: length %g is not >= 1" msgstr "substr: lungimea %g este <= 0" -#: builtin.c:1496 +#: builtin.c:1512 #, fuzzy, c-format msgid "substr: length %g is not >= 0" msgstr "substr: lungimea %g este <= 0" -#: builtin.c:1503 +#: builtin.c:1519 #, c-format msgid "substr: non-integer length %g will be truncated" msgstr "substr lungimea ne-întregului(integer) %g va fi trunchiatã" -#: builtin.c:1508 +#: builtin.c:1524 #, c-format msgid "substr: length %g too big for string indexing, truncating to %g" msgstr "" -#: builtin.c:1520 +#: builtin.c:1536 msgid "substr: source string is zero length" msgstr "substr: ºirul de caractere sursã are lungime zero" -#: builtin.c:1536 +#: builtin.c:1552 #, fuzzy, c-format msgid "substr: start index %g is past end of string" msgstr "substr: indexul de start %d este fostul sfârºit de ºir de caractere" -#: builtin.c:1544 +#: builtin.c:1560 #, fuzzy, c-format msgid "" "substr: length %g at start index %g exceeds length of first argument (%lu)" @@ -651,195 +660,199 @@ "substr: lungimea %d la indexul de start %d depãºeºte lungimea primului " "argument (%d)" -#: builtin.c:1621 +#: builtin.c:1637 #, fuzzy msgid "strftime: received non-string first argument" msgstr "strftime: s-a primit primul argument non ºir de caractere" -#: builtin.c:1627 +#: builtin.c:1643 msgid "strftime: received empty format string" msgstr "strftime: s-a primit ºir de caractere în format vid" -#: builtin.c:1636 +#: builtin.c:1652 #, fuzzy msgid "strftime: received non-numeric second argument" msgstr "strftime: s-a primit un al doilea argument nenumeric" -#: builtin.c:1713 +#: builtin.c:1729 msgid "mktime: received non-string argument" msgstr "mktime: s-a primit argument non ºir de caractere" -#: builtin.c:1758 +#: builtin.c:1746 +msgid "mktime: at least one of the values is out of the default range" +msgstr "" + +#: builtin.c:1783 #, fuzzy msgid "system: received non-string argument" msgstr "system: s-a primit argument non ºir de caractere" -#: builtin.c:1879 eval.c:2145 +#: builtin.c:1904 eval.c:2157 #, fuzzy, c-format msgid "reference to uninitialized field `$%d'" msgstr "referinþã la variabila neiniþializatã `%s'" -#: builtin.c:1984 +#: builtin.c:2009 #, fuzzy msgid "tolower: received non-string argument" msgstr "tolower: s-a primit argument non-ºir de caractere" -#: builtin.c:2014 +#: builtin.c:2039 #, fuzzy msgid "toupper: received non-string argument" msgstr "toupper: s-a primit argument non-ºir de caractere" -#: builtin.c:2047 +#: builtin.c:2072 msgid "atan2: received non-numeric first argument" msgstr "atan2: s-a primit un prim argument nenumeric" -#: builtin.c:2049 +#: builtin.c:2074 msgid "atan2: received non-numeric second argument" msgstr "atan2: s-a primit un al doilea argument nenumeric" -#: builtin.c:2068 +#: builtin.c:2093 msgid "sin: received non-numeric argument" msgstr "sin: s-a primit un argument nenumeric" -#: builtin.c:2084 +#: builtin.c:2109 msgid "cos: received non-numeric argument" msgstr "cos: s-a primit un argument nenumeric" -#: builtin.c:2137 +#: builtin.c:2162 msgid "srand: received non-numeric argument" msgstr "srand: s-a primit un argument nenumeric" -#: builtin.c:2172 +#: builtin.c:2197 msgid "match: third argument is not an array" msgstr "match: al treilea argument nu este un array" -#: builtin.c:2719 +#: builtin.c:2744 #, fuzzy msgid "gensub: third argument of 0 treated as 1" msgstr "gensub: al 3-lea argument care este 0 va fi considerat 1" -#: builtin.c:2835 +#: builtin.c:2860 msgid "lshift: received non-numeric first argument" msgstr "lshift: s-a primit un prim argument nenumeric" -#: builtin.c:2837 +#: builtin.c:2862 #, fuzzy msgid "lshift: received non-numeric second argument" msgstr "atan2: s-a primit un al doilea argument nenumeric" -#: builtin.c:2843 +#: builtin.c:2868 #, c-format msgid "lshift(%lf, %lf): negative values will give strange results" msgstr "lshift(%lf, %lf): valorile negative vor furniza rezultate ciudate" -#: builtin.c:2845 +#: builtin.c:2870 #, c-format msgid "lshift(%lf, %lf): fractional values will be truncated" msgstr "lshift(%lf, %lf): valorile fracþionale vor fi trunchiate" -#: builtin.c:2847 +#: builtin.c:2872 #, c-format msgid "lshift(%lf, %lf): too large shift value will give strange results" msgstr "" "lshift(%lf, %lf): valorile schimbate prea mult vor da rezultate ciudate" -#: builtin.c:2873 +#: builtin.c:2898 msgid "rshift: received non-numeric first argument" msgstr "rshift: s-a primit un prim argument nenumeric" -#: builtin.c:2875 +#: builtin.c:2900 #, fuzzy msgid "rshift: received non-numeric second argument" msgstr "atan2: s-a primit un al doilea argument nenumeric" -#: builtin.c:2881 +#: builtin.c:2906 #, c-format msgid "rshift(%lf, %lf): negative values will give strange results" msgstr "rshift(%lf, %lf): valorile negative vor da rezultate ciudate" -#: builtin.c:2883 +#: builtin.c:2908 #, c-format msgid "rshift(%lf, %lf): fractional values will be truncated" msgstr "rshift(%lf, %lf): valorile fracþionale vor fi trunchiate" -#: builtin.c:2885 +#: builtin.c:2910 #, c-format msgid "rshift(%lf, %lf): too large shift value will give strange results" msgstr "" "rshift(%lf, %lf): valorile schimbate prea mult vor da rezultate ciudate" -#: builtin.c:2911 +#: builtin.c:2936 msgid "and: received non-numeric first argument" msgstr "and: s-a primit un prim argument nenumeric" -#: builtin.c:2913 +#: builtin.c:2938 #, fuzzy msgid "and: received non-numeric second argument" msgstr "atan2: s-a primit un al doilea argument nenumeric" -#: builtin.c:2919 +#: builtin.c:2944 #, c-format msgid "and(%lf, %lf): negative values will give strange results" msgstr "and(%lf, %lf): valorile negative vor da rezultate ciudate" -#: builtin.c:2921 +#: builtin.c:2946 #, c-format msgid "and(%lf, %lf): fractional values will be truncated" msgstr "and(%lf, %lf): valorile fracþionale vor fi trunchiate" -#: builtin.c:2947 +#: builtin.c:2972 msgid "or: received non-numeric first argument" msgstr "or: s-a primit un prim argument nenumeric" -#: builtin.c:2949 +#: builtin.c:2974 #, fuzzy msgid "or: received non-numeric second argument" msgstr "atan2: s-a primit un al doilea argument nenumeric" -#: builtin.c:2955 +#: builtin.c:2980 #, c-format msgid "or(%lf, %lf): negative values will give strange results" msgstr "or(%lf, %lf): valorile negative for da rezultate ciudate" -#: builtin.c:2957 +#: builtin.c:2982 #, c-format msgid "or(%lf, %lf): fractional values will be truncated" msgstr "or(%lf, %lf): valorile fracþionale vor fi trunchiate" -#: builtin.c:2983 +#: builtin.c:3008 msgid "xor: received non-numeric first argument" msgstr "xor: s-a primit un prim argument nenumeric" -#: builtin.c:2985 +#: builtin.c:3010 #, fuzzy msgid "xor: received non-numeric second argument" msgstr "atan2: s-a primit un al doilea argument nenumeric" -#: builtin.c:2991 +#: builtin.c:3016 #, c-format msgid "xor(%lf, %lf): negative values will give strange results" msgstr "xor(%lf, %lf): valorile negative vor da rezultate ciudate" -#: builtin.c:2993 +#: builtin.c:3018 #, c-format msgid "xor(%lf, %lf): fractional values will be truncated" msgstr "xor(%lf, %lf): valorile fracþionale vor fi trunchiate" -#: builtin.c:3017 +#: builtin.c:3042 msgid "compl: received non-numeric argument" msgstr "compl: s-a primit argument nenumeric" -#: builtin.c:3023 +#: builtin.c:3048 #, c-format msgid "compl(%lf): negative value will give strange results" msgstr "compl(%lf): valorile negative vor da rezultate ciudate" -#: builtin.c:3025 +#: builtin.c:3050 #, c-format msgid "compl(%lf): fractional value will be truncated" msgstr "compl(%lf): valorile fracþionale vor fi trunchiate" -#: builtin.c:3198 +#: builtin.c:3223 #, c-format msgid "dcgettext: `%s' is not a valid locale category" msgstr "dcgettext: `%s' nu este o categorie localã validã" @@ -853,7 +866,7 @@ msgid "buffer overflow in genflags2str" msgstr "depãºire(overflow) de buffer în genflags2str" -#: eval.c:454 eval.c:460 profile.c:781 +#: eval.c:454 eval.c:460 profile.c:785 #, c-format msgid "attempt to use array `%s' in a scalar context" msgstr "încercare de a utiliza array-ul `%s' într-un context scalar" @@ -901,7 +914,7 @@ msgid "statement has no effect" msgstr "declaraþia nu are nici un efect" -#: eval.c:1029 eval.c:1999 +#: eval.c:1029 eval.c:2011 #, c-format msgid "can't use function name `%s' as variable or array" msgstr "nu se poate folosi numele funcþiei `%s' ca variabilã sau array" @@ -911,7 +924,7 @@ msgid "reference to uninitialized argument `%s'" msgstr "referinþã la argumentul neiniþializat `%s'" -#: eval.c:1051 eval.c:2008 +#: eval.c:1051 eval.c:2020 #, c-format msgid "reference to uninitialized variable `%s'" msgstr "referinþã la variabila neiniþializatã `%s'" @@ -932,7 +945,7 @@ msgid "division by zero attempted" msgstr "s-a încercat împãrþire la zero" -#: eval.c:1409 profile.c:657 +#: eval.c:1409 profile.c:661 #, c-format msgid "illegal type (%s) in tree_eval" msgstr "tip ilegal (%s) în tree_eval" @@ -946,18 +959,18 @@ msgid "division by zero attempted in `%%='" msgstr "s-a încercat împãrþire la zero în `%%='" -#: eval.c:1859 +#: eval.c:1871 #, c-format msgid "function `%s' called with more arguments than declared" msgstr "" "funcþia `%s' a fost apelatã cu mai multe argumente decât cele declarate" -#: eval.c:1904 +#: eval.c:1916 #, c-format msgid "function `%s' not defined" msgstr "funcþia `%s' nu este definitã" -#: eval.c:1971 +#: eval.c:1983 #, c-format msgid "" "\n" @@ -968,47 +981,47 @@ "\t# Stiva de Apelare a Funcþiei:\n" "\n" -#: eval.c:1974 +#: eval.c:1986 #, c-format msgid "\t# -- main --\n" msgstr "\t# -- principal(main) --\n" -#: eval.c:2129 +#: eval.c:2141 msgid "attempt to field reference from non-numeric value" msgstr "încercare de referinþã la câmp din valoare nenumericã" -#: eval.c:2131 +#: eval.c:2143 msgid "attempt to reference from null string" msgstr "încercare de referinþã din ºir de caractere vid(null)" -#: eval.c:2137 +#: eval.c:2149 #, c-format msgid "attempt to access field %d" msgstr "încercare de accesare a câmpului %d" -#: eval.c:2158 eval.c:2165 profile.c:836 +#: eval.c:2170 eval.c:2177 profile.c:840 msgid "assignment is not allowed to result of builtin function" msgstr "atribuirea nu este permisã rezultatului funcþiei interne" -#: eval.c:2229 +#: eval.c:2241 msgid "`IGNORECASE' is a gawk extension" msgstr "`IGNORECASE' este extensie gawk" -#: eval.c:2258 +#: eval.c:2270 msgid "`BINMODE' is a gawk extension" msgstr "`BINMODE' este extensie gawk" -#: eval.c:2316 +#: eval.c:2328 #, c-format msgid "BINMODE value `%s' is invalid, treated as 3" msgstr "" -#: eval.c:2406 +#: eval.c:2418 #, c-format msgid "bad `%sFMT' specification `%s'" msgstr "`%sFMT' specificaþie `%s' invalidã" -#: eval.c:2484 +#: eval.c:2496 msgid "turning off `--lint' due to assignment to `LINT'" msgstr "se dezactiveazã `--lint' din cauza atribuirii lui `LINT'" @@ -1109,56 +1122,61 @@ msgid "old awk does not support regexps as value of `FS'" msgstr "vechiul awk nu supoortã operatorul `**'" -#: getopt.c:570 getopt.c:586 +#: getopt.c:574 getopt.c:590 #, fuzzy, c-format msgid "%s: option '%s' is ambiguous\n" msgstr "%s: opþiunea `%s' este ambiguã\n" -#: getopt.c:619 getopt.c:623 +#: getopt.c:623 getopt.c:627 #, fuzzy, c-format msgid "%s: option '--%s' doesn't allow an argument\n" msgstr "%s: opþiunea `--%s' nu permite parametri\n" -#: getopt.c:632 getopt.c:637 +#: getopt.c:636 getopt.c:641 #, fuzzy, c-format msgid "%s: option '%c%s' doesn't allow an argument\n" msgstr "%s: opþiunea `%c%s' nu permite parametri\n" -#: getopt.c:680 getopt.c:699 getopt.c:1002 getopt.c:1021 +#: getopt.c:684 getopt.c:703 #, fuzzy, c-format -msgid "%s: option '%s' requires an argument\n" +msgid "%s: option '--%s' requires an argument\n" msgstr "%s: opþiunea `%s' necesitã un parametru\n" -#: getopt.c:737 getopt.c:740 +#: getopt.c:741 getopt.c:744 #, fuzzy, c-format msgid "%s: unrecognized option '--%s'\n" msgstr "%s: opþiune necunoscutã `--%s'\n" -#: getopt.c:748 getopt.c:751 +#: getopt.c:752 getopt.c:755 #, fuzzy, c-format msgid "%s: unrecognized option '%c%s'\n" msgstr "%s: opþiune necunoscutã `%c%s'\n" -#: getopt.c:800 getopt.c:803 +#: getopt.c:804 getopt.c:807 #, fuzzy, c-format msgid "%s: invalid option -- '%c'\n" msgstr "%s: opþiune invalidã -- %c\n" -#: getopt.c:853 getopt.c:870 getopt.c:1073 getopt.c:1091 +#: getopt.c:857 getopt.c:874 getopt.c:1082 getopt.c:1100 #, fuzzy, c-format msgid "%s: option requires an argument -- '%c'\n" msgstr "%s: opþiunea necesitã un parametru -- %c\n" -#: getopt.c:923 getopt.c:939 +#: getopt.c:930 getopt.c:946 #, fuzzy, c-format msgid "%s: option '-W %s' is ambiguous\n" msgstr "%s: opþiunea `-W %s' este ambiguã\n" -#: getopt.c:963 getopt.c:981 +#: getopt.c:970 getopt.c:988 #, fuzzy, c-format msgid "%s: option '-W %s' doesn't allow an argument\n" msgstr "%s: opþiunea `-W %s' nu permite parametri\n" +#: getopt.c:1009 getopt.c:1027 +#, fuzzy, c-format +msgid "%s: option '-W %s' requires an argument\n" +msgstr "%s: opþiunea `%s' necesitã un parametru\n" + #: io.c:322 io.c:352 #, c-format msgid "cannot open file `%s' for reading (%s)" @@ -1206,446 +1224,440 @@ msgid "can't open pipe `%s' for input (%s)" msgstr "nu se poate deschide legãtura(pipe) `%s' pentru input (%s)" -#: io.c:712 -#, c-format -msgid "can't open two way socket `%s' for input/output (%s)" -msgstr "" -"nu se poate deschide socketul bidirecþional `%s' pentru input/output (%s)" - -#: io.c:716 +#: io.c:717 #, c-format msgid "can't open two way pipe `%s' for input/output (%s)" msgstr "" "nu se poate deschide legãtura(pipe) bidirecþionalã `%s' pentru input/output " "(%s)" -#: io.c:793 +#: io.c:795 #, c-format msgid "can't redirect from `%s' (%s)" msgstr "nu se poate redirecta din `%s' (%s)" -#: io.c:796 +#: io.c:798 #, c-format msgid "can't redirect to `%s' (%s)" msgstr "nu se poate redirecta cãtre `%s' (%s)" -#: io.c:849 +#: io.c:851 msgid "" "reached system limit for open files: starting to multiplex file descriptors" msgstr "" "s-a atins limita sistemului pentru fiºiere deschise: se începe muliplexarea " "desciptorilor de fiºier" -#: io.c:865 +#: io.c:867 #, c-format msgid "close of `%s' failed (%s)." msgstr "închiderea `%s' eºuatã (%s)." -#: io.c:873 +#: io.c:875 msgid "too many pipes or input files open" msgstr "prea multe legãturi(pipe) sau fiºiere de intrare(input) deschise" -#: io.c:896 +#: io.c:898 msgid "close: second argument must be `to' or `from'" msgstr "close: al doilea argument trebuie sã fie `to' sau `from'" -#: io.c:910 +#: io.c:912 #, c-format msgid "close: `%.*s' is not an open file, pipe or co-process" msgstr "" "close: `%.*s' nu este un fiºier deschis, o legãturã(pipe) sau un coproces" -#: io.c:915 +#: io.c:917 msgid "close of redirection that was never opened" msgstr "închiderea unei redirectãri care n-a fost deschisã niciodatã" -#: io.c:1012 +#: io.c:1014 #, c-format msgid "close: redirection `%s' not opened with `|&', second argument ignored" msgstr "" "close: redirectarea `%s' nu a fost deschisã cu `|&', al doilea argument " "ignorat" -#: io.c:1028 +#: io.c:1030 #, c-format msgid "failure status (%d) on pipe close of `%s' (%s)" msgstr "stare de avarie (%d) în legãtura(pipe) închisã în `%s' (%s)" -#: io.c:1031 +#: io.c:1033 #, c-format msgid "failure status (%d) on file close of `%s' (%s)" msgstr "stare de avarie (%d) în fiºierul închis în `%s' (%s)" -#: io.c:1051 +#: io.c:1053 #, c-format msgid "no explicit close of socket `%s' provided" msgstr "nu s-a furnizat închiderea explicitã a socketului `%s'" -#: io.c:1054 +#: io.c:1056 #, c-format msgid "no explicit close of co-process `%s' provided" msgstr "nu s-a furnizat închiderea explicitã a coprocesului `%s' " -#: io.c:1057 +#: io.c:1059 #, c-format msgid "no explicit close of pipe `%s' provided" msgstr "nu s-a furnizat închiderea explicitã a legãturii(pipe) `%s'" -#: io.c:1060 +#: io.c:1062 #, c-format msgid "no explicit close of file `%s' provided" msgstr "nu s-a furnizat închiderea explicitã a fiºierului `%s'" -#: io.c:1088 io.c:1143 main.c:776 main.c:818 +#: io.c:1090 io.c:1145 main.c:781 main.c:823 #, c-format msgid "error writing standard output (%s)" msgstr "eroare în scrierea la ieºirea(output) standard (%s)" -#: io.c:1092 io.c:1148 +#: io.c:1094 io.c:1150 #, c-format msgid "error writing standard error (%s)" msgstr "eroare în scrierea la dispozitivul standard de eroare (%s)" -#: io.c:1100 +#: io.c:1102 #, c-format msgid "pipe flush of `%s' failed (%s)." msgstr "flush-ul legãturii(pipe) `%s' eºuat (%s)." -#: io.c:1103 +#: io.c:1105 #, c-format msgid "co-process flush of pipe to `%s' failed (%s)." msgstr "flush-ul legãturii(pipe) coprocesului la `%s' eºuat (%s)." -#: io.c:1106 +#: io.c:1108 #, c-format msgid "file flush of `%s' failed (%s)." msgstr "flush-ul de fiºier al `%s' eºuat (%s)." -#: io.c:1220 +#: io.c:1222 #, fuzzy, c-format msgid "local port %s invalid in `/inet'" msgstr "port local invalid în `%s'" -#: io.c:1237 +#: io.c:1239 #, c-format msgid "remote host and port information (%s, %s) invalid" msgstr "" -#: io.c:1272 +#: io.c:1274 msgid "/inet/raw client not ready yet, sorry" msgstr "clientul /inet/raw nu este pregãtit încã, scuze" -#: io.c:1275 io.c:1311 +#: io.c:1277 io.c:1313 msgid "only root may use `/inet/raw'." msgstr "doar root-ul poate folosi `/inet/raw'." -#: io.c:1309 +#: io.c:1311 msgid "/inet/raw server not ready yet, sorry" msgstr "serverul /inet/raw nu este pregãtit încã, scuze" -#: io.c:1407 +#: io.c:1409 #, c-format msgid "no (known) protocol supplied in special filename `%s'" msgstr "nici un protocol (cunoscut) furnizat în numele de fiºier special `%s'" -#: io.c:1421 +#: io.c:1423 #, c-format msgid "special file name `%s' is incomplete" msgstr "numele special de fiºier `%s' nu este complet" -#: io.c:1436 +#: io.c:1438 msgid "must supply a remote hostname to `/inet'" msgstr "trebuie furnizat un nume de host remote pentru `/inet'" -#: io.c:1454 +#: io.c:1456 msgid "must supply a remote port to `/inet'" msgstr "trebuie furnizat un port remote pentru `/inet'" -#: io.c:1485 +#: io.c:1502 msgid "TCP/IP communications are not supported" msgstr "Comunicaþiile TCP/IP nu sunt suportate" -#: io.c:1494 +#: io.c:1511 #, c-format msgid "file `%s' is a directory" msgstr "fiºierul `%s' este director" -#: io.c:1555 +#: io.c:1572 #, c-format msgid "use `PROCINFO[\"%s\"]' instead of `%s'" msgstr "folosiþi `PROCINFO[\"%s\"]' în loc de `%s'" -#: io.c:1593 +#: io.c:1610 msgid "use `PROCINFO[...]' instead of `/dev/user'" msgstr "folosiþi `PROCINFO[...]' în loc de `/dev/user'" -#: io.c:1658 io.c:1853 +#: io.c:1675 io.c:1872 #, c-format msgid "could not open `%s', mode `%s'" msgstr "nu s-a putut deschide `%s', modul `%s'" -#: io.c:1904 +#: io.c:1923 #, fuzzy, c-format msgid "close of master pty failed (%s)" msgstr "închiderea legãturii(pipe) a eºuat (%s)" -#: io.c:1906 io.c:2058 io.c:2209 +#: io.c:1925 io.c:2077 io.c:2228 #, c-format msgid "close of stdout in child failed (%s)" msgstr "închiderea stdout în copil(child) a eºuat (%s)" -#: io.c:1909 +#: io.c:1928 #, fuzzy, c-format msgid "moving slave pty to stdout in child failed (dup: %s)" msgstr "mutarea legãturii(pipe) la stdout în copil(child) a eºuat (dup: %s)" -#: io.c:1911 io.c:2063 +#: io.c:1930 io.c:2082 #, c-format msgid "close of stdin in child failed (%s)" msgstr "închiderea stdin în copil(child) a eºuat (%s)" -#: io.c:1914 +#: io.c:1933 #, fuzzy, c-format msgid "moving slave pty to stdin in child failed (dup: %s)" msgstr "mutarea legãturii(pipe) la stdin în copil(child) a eºuat (dup: %s)" -#: io.c:1916 io.c:1935 +#: io.c:1935 io.c:1954 #, fuzzy, c-format msgid "close of slave pty failed (%s)" msgstr "închiderea legãturii(pipe) a eºuat (%s)" -#: io.c:2009 io.c:2061 io.c:2190 io.c:2212 +#: io.c:2028 io.c:2080 io.c:2209 io.c:2231 #, c-format msgid "moving pipe to stdout in child failed (dup: %s)" msgstr "mutarea legãturii(pipe) la stdout în copil(child) a eºuat (dup: %s)" -#: io.c:2013 io.c:2066 +#: io.c:2032 io.c:2085 #, c-format msgid "moving pipe to stdin in child failed (dup: %s)" msgstr "mutarea legãturii(pipe) la stdin în copil(child) a eºuat (dup: %s)" -#: io.c:2030 io.c:2203 +#: io.c:2049 io.c:2222 msgid "restoring stdout in parent process failed\n" msgstr "refacerea stdout în procesul pãrinte a eºuat\n" -#: io.c:2035 +#: io.c:2054 msgid "restoring stdin in parent process failed\n" msgstr "refacerea stdin în procesul pãrinte a eºuat\n" -#: io.c:2069 io.c:2214 io.c:2225 +#: io.c:2088 io.c:2233 io.c:2244 #, c-format msgid "close of pipe failed (%s)" msgstr "închiderea legãturii(pipe) a eºuat (%s)" -#: io.c:2114 +#: io.c:2133 msgid "`|&' not supported" msgstr "`|&' nesuportat" -#: io.c:2180 +#: io.c:2199 #, c-format msgid "cannot open pipe `%s' (%s)" msgstr "nu s-a putut deschide legãtura(pipe) `%s' (%s)" -#: io.c:2221 +#: io.c:2240 #, c-format msgid "cannot create child process for `%s' (fork: %s)" msgstr "nu s-a putu crea proces copil(child) pentru `%s' (fork: %s)" -#: io.c:2603 +#: io.c:2622 #, c-format msgid "data file `%s' is empty" msgstr "fiºierul de date `%s' este vid" -#: io.c:2644 io.c:2652 +#: io.c:2663 io.c:2671 msgid "could not allocate more input memory" msgstr "" -#: io.c:3020 io.c:3093 +#: io.c:3039 io.c:3112 #, c-format msgid "error reading input file `%s': %s" msgstr "eroare în citirea fiºierului de intrare(input) `%s': %s" -#: io.c:3218 +#: io.c:3237 msgid "multicharacter value of `RS' is a gawk extension" msgstr "valoarea multicaracter a `RS' este extensie gawk" -#: main.c:304 +#: main.c:306 msgid "out of memory" msgstr "memorie plinã" -#: main.c:373 +#: main.c:374 msgid "`-m[fr]' option irrelevant in gawk" msgstr "`-m[fr]' opþiune irelevantã în gawk" -#: main.c:375 +#: main.c:376 msgid "-m option usage: `-m[fr] nnn'" msgstr "folosirea opþiunii -m : `-m[fr] nnn'" -#: main.c:392 +#: main.c:393 #, c-format msgid "%s: option `-W %s' unrecognized, ignored\n" msgstr "%s: opþiunea `-W %s' nu e recunoscutã, ignoratã\n" -#: main.c:433 +#: main.c:434 msgid "empty argument to `--source' ignored" msgstr "argument vid pentru `--source' ignorat" -#: main.c:487 +#: main.c:488 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: opþiunea necesitã un parametru -- %c\n" -#: main.c:506 +#: main.c:509 msgid "environment variable `POSIXLY_CORRECT' set: turning on `--posix'" msgstr "" "este setatã variabila de mediu `POSIXLY_CORRECT': se activeazã `--posix'" -#: main.c:512 +#: main.c:515 msgid "`--posix' overrides `--traditional'" msgstr "`--posix' suprascrie `--traditional'" -#: main.c:523 +#: main.c:526 msgid "`--posix'/`--traditional' overrides `--non-decimal-data'" msgstr "`--posix'/`--traditional' suprascrie `--non-decimal-data'" -#: main.c:527 +#: main.c:530 #, fuzzy, c-format msgid "running %s setuid root may be a security problem" msgstr "dacã se ruleazã %s setuid root poate apãrea o problemã de securitate" -#: main.c:568 +#: main.c:571 #, fuzzy, c-format msgid "can't set binary mode on stdin (%s)" msgstr "nu se poate seta modul pe stdin (%s)" -#: main.c:571 +#: main.c:574 #, fuzzy, c-format msgid "can't set binary mode on stdout (%s)" msgstr "nu se poate seta modul pe stdout (%s)" -#: main.c:573 +#: main.c:576 #, fuzzy, c-format msgid "can't set binary mode on stderr (%s)" msgstr "nu se poate seta modul pe stderr (%s)" -#: main.c:612 +#: main.c:617 msgid "no program text at all!" msgstr "nu existã nici un text de program!" -#: main.c:716 +#: main.c:721 #, c-format msgid "Usage: %s [POSIX or GNU style options] -f progfile [--] file ...\n" msgstr "" "Folosire: %s [opþiuni stil POSIX sau GNU] -f fiºierprogram [--] fiºier ...\n" -#: main.c:718 +#: main.c:723 #, c-format msgid "Usage: %s [POSIX or GNU style options] [--] %cprogram%c file ...\n" msgstr "" "Folosire: %s [opþiuni stil POSIX sau GNU] [--] %cprogram%c fiºier ...\n" -#: main.c:723 +#: main.c:728 msgid "POSIX options:\t\tGNU long options:\n" msgstr "opþiuni POSIX:\t\topþiuni lungi GNU:\n" -#: main.c:724 +#: main.c:729 msgid "\t-f progfile\t\t--file=progfile\n" msgstr "\t-f fiºierprogram\t\t--file=fiºierprogram\n" -#: main.c:725 +#: main.c:730 msgid "\t-F fs\t\t\t--field-separator=fs\n" msgstr "\t-F fs\t\t\t--field-separator=fs\n" -#: main.c:726 +#: main.c:731 msgid "\t-v var=val\t\t--assign=var=val\n" msgstr "\t-v var=val\t\t--assign=var=val\n" -#: main.c:727 +#: main.c:732 msgid "\t-m[fr] val\n" msgstr "\t-m[fr] val\n" -#: main.c:728 +#: main.c:733 msgid "\t-O\t\t\t--optimize\n" msgstr "" -#: main.c:729 +#: main.c:734 msgid "\t-W compat\t\t--compat\n" msgstr "\t-W compat\t\t--compat\n" -#: main.c:730 +#: main.c:735 msgid "\t-W copyleft\t\t--copyleft\n" msgstr "\t-W copyleft\t\t--copyleft\n" -#: main.c:731 +#: main.c:736 msgid "\t-W copyright\t\t--copyright\n" msgstr "\t-W copyright\t\t--copyright\n" -#: main.c:732 +#: main.c:737 msgid "\t-W dump-variables[=file]\t--dump-variables[=file]\n" msgstr "\t-W dump-variables[=fiºier]\t--dump-variables[=fiºier]\n" -#: main.c:733 +#: main.c:738 #, fuzzy msgid "\t-W exec=file\t\t--exec=file\n" msgstr "\t-W profile[=fiºier]\t--profile[=fiºier]\n" -#: main.c:734 +#: main.c:739 msgid "\t-W gen-po\t\t--gen-po\n" msgstr "\t-W gen-po\t\t--gen-po\n" -#: main.c:735 +#: main.c:740 msgid "\t-W help\t\t\t--help\n" msgstr "\t-W help\t\t\t--help\n" -#: main.c:736 +#: main.c:741 msgid "\t-W lint[=fatal]\t\t--lint[=fatal]\n" msgstr "\t-W lint[=fatal]\t\t--lint[=fatal]\n" -#: main.c:737 +#: main.c:742 msgid "\t-W lint-old\t\t--lint-old\n" msgstr "\t-W lint-old\t\t--lint-old\n" -#: main.c:738 +#: main.c:743 msgid "\t-W non-decimal-data\t--non-decimal-data\n" msgstr "\t-W non-decimal-data\t--non-decimal-data\n" -#: main.c:740 +#: main.c:745 msgid "\t-W nostalgia\t\t--nostalgia\n" msgstr "\t-W nostalgia\t\t--nostalgia\n" -#: main.c:743 +#: main.c:748 msgid "\t-W parsedebug\t\t--parsedebug\n" msgstr "\t-W parsedebug\t\t--parsedebug\n" -#: main.c:745 +#: main.c:750 msgid "\t-W profile[=file]\t--profile[=file]\n" msgstr "\t-W profile[=fiºier]\t--profile[=fiºier]\n" -#: main.c:746 +#: main.c:751 msgid "\t-W posix\t\t--posix\n" msgstr "\t-W posix\t\t--posix\n" -#: main.c:747 +#: main.c:752 msgid "\t-W re-interval\t\t--re-interval\n" msgstr "\t-W re-interval\t\t--re-interval\n" -#: main.c:748 +#: main.c:753 msgid "\t-W source=program-text\t--source=program-text\n" msgstr "\t-W source=program-text\t--source=program-text\n" -#: main.c:749 +#: main.c:754 msgid "\t-W traditional\t\t--traditional\n" msgstr "\t-W traditional\t\t--traditional\n" -#: main.c:750 +#: main.c:755 msgid "\t-W usage\t\t--usage\n" msgstr "\t-W usage\t\t--usage\n" -#: main.c:751 +#: main.c:756 msgid "\t-W use-lc-numeric\t--use-lc-numeric\n" msgstr "" -#: main.c:752 +#: main.c:757 msgid "\t-W version\t\t--version\n" msgstr "\t-W version\t\t--version\n" @@ -1654,7 +1666,7 @@ #. for this application. Please add _another line_ with the #. address for translation bugs. #. no-wrap -#: main.c:761 +#: main.c:766 #, fuzzy msgid "" "\n" @@ -1663,21 +1675,21 @@ "\n" msgstr "secþiunea `Reporting Problems and Bugs' în versiunea tipãritã.\n" -#: main.c:765 +#: main.c:770 msgid "" "gawk is a pattern scanning and processing language.\n" "By default it reads standard input and writes standard output.\n" "\n" msgstr "" -#: main.c:769 +#: main.c:774 msgid "" "Examples:\n" "\tgawk '{ sum += $1 }; END { print sum }' file\n" "\tgawk -F: '{ print $1 }' /etc/passwd\n" msgstr "" -#: main.c:789 +#: main.c:794 #, fuzzy, c-format msgid "" "Copyright (C) 1989, 1991-%d Free Software Foundation.\n" @@ -1696,7 +1708,7 @@ "(la latitudinea dumneavoastrã) orice versiune ulterioarã.\n" "\n" -#: main.c:797 +#: main.c:802 msgid "" "This program is distributed in the hope that it will be useful,\n" "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" @@ -1711,7 +1723,7 @@ "\n" "\n" -#: main.c:808 +#: main.c:813 #, fuzzy msgid "" "You should have received a copy of the GNU General Public License\n" @@ -1721,56 +1733,56 @@ "împreunã cu acest program; dacã nu, scrieþi la Free Software\n" "Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n" -#: main.c:843 +#: main.c:848 msgid "-Ft does not set FS to tab in POSIX awk" msgstr "-Ft nu seteazã FS în tab în POSIX awk" -#: main.c:1117 +#: main.c:1122 #, c-format msgid "" "%s: `%s' argument to `-v' not in `var=value' form\n" "\n" msgstr "" -#: main.c:1137 +#: main.c:1142 #, c-format msgid "`%s' is not a legal variable name" msgstr "" -#: main.c:1140 +#: main.c:1145 #, c-format msgid "`%s' is not a variable name, looking for file `%s=%s'" msgstr "" -#: main.c:1179 +#: main.c:1184 msgid "floating point exception" msgstr "excepþie virgulã mobilã" -#: main.c:1186 +#: main.c:1191 msgid "fatal error: internal error" msgstr "eroare fatalã: eroare internã" -#: main.c:1200 +#: main.c:1206 #, fuzzy msgid "fatal error: internal error: segfault" msgstr "eroare fatalã: eroare internã" -#: main.c:1212 +#: main.c:1218 #, fuzzy msgid "fatal error: internal error: stack overflow" msgstr "eroare fatalã: eroare internã" -#: main.c:1261 +#: main.c:1268 #, c-format msgid "no pre-opened fd %d" msgstr "nici un fd predeschis %d" -#: main.c:1268 +#: main.c:1275 #, c-format msgid "could not pre-open /dev/null for fd %d" msgstr "nu s-a putut predeschide /dev/null pentru fd %d" -#: main.c:1291 main.c:1300 +#: main.c:1298 main.c:1307 #, c-format msgid "could not find groups: %s" msgstr "nu am putut gãsi grupurile: %s" @@ -1796,31 +1808,31 @@ msgid "can't convert string to float" msgstr "nu se poate converti ºir de caractere în float" -#: node.c:462 +#: node.c:465 msgid "backslash at end of string" msgstr "backslash la sfârºitul ºirului de caractere" -#: node.c:606 +#: node.c:609 #, fuzzy, c-format msgid "old awk does not support the `\\%c' escape sequence" msgstr "vechiul awk nu supoortã operatorul `**'" -#: node.c:657 +#: node.c:660 msgid "POSIX does not allow `\\x' escapes" msgstr "POSIX nu permite escape-uri `\\x'" -#: node.c:663 +#: node.c:666 msgid "no hex digits in `\\x' escape sequence" msgstr "nu existã digiþi hexa în secvenþa de escape `\\x'" -#: node.c:685 +#: node.c:688 #, c-format msgid "" "hex escape \\x%.*s of %d characters probably not interpreted the way you " "expect" msgstr "" -#: node.c:700 +#: node.c:703 #, c-format msgid "escape sequence `\\%c' treated as plain `%c'" msgstr "secvenþa de escape `\\%c' tratatã ca `%c' simplu" @@ -1830,31 +1842,31 @@ msgid "%s %s `%s': could not set close-on-exec: (fcntl: %s)" msgstr "%s %s `%s': nu s-a putut seta close-on-exec: (fcntl: %s)" -#: profile.c:93 +#: profile.c:94 #, c-format msgid "could not open `%s' for writing: %s" msgstr "nu am putut deschide `%s' pentru scriere: %s" -#: profile.c:453 +#: profile.c:457 #, fuzzy, c-format msgid "internal error: %s with null vname" msgstr "eroare internã: Node_var cu vname null" -#: profile.c:517 +#: profile.c:521 msgid "# treated internally as `delete'" msgstr "" -#: profile.c:1069 +#: profile.c:1073 #, c-format msgid "# this is a dynamically loaded extension function" msgstr "" -#: profile.c:1100 +#: profile.c:1104 #, c-format msgid "\t# gawk profile, created %s\n" msgstr "\t# profil gawk, creat %s\n" -#: profile.c:1103 +#: profile.c:1107 #, c-format msgid "" "\t# BEGIN block(s)\n" @@ -1863,7 +1875,7 @@ "\t# bloc(uri) BEGIN\n" "\n" -#: profile.c:1113 +#: profile.c:1117 #, c-format msgid "" "\t# Rule(s)\n" @@ -1872,7 +1884,7 @@ "\t# Regulã(i)\n" "\n" -#: profile.c:1119 +#: profile.c:1123 #, c-format msgid "" "\t# END block(s)\n" @@ -1881,7 +1893,7 @@ "\t# bloc(uri) END\n" "\n" -#: profile.c:1139 +#: profile.c:1143 #, c-format msgid "" "\n" @@ -1890,91 +1902,88 @@ "\n" "\t# Funcþii, listate alfabetic\n" -#: profile.c:1400 +#: profile.c:1405 #, c-format msgid "unexpected type %s in prec_level" msgstr "tip %s neaºteptat în prec_level" -#: profile.c:1500 +#: profile.c:1527 #, fuzzy, c-format msgid "Unknown node type %s in pp_var" msgstr "tip nod %d necunoscut" -#: regcomp.c:133 +#: regcomp.c:132 msgid "Success" msgstr "Succes" -#: regcomp.c:136 +#: regcomp.c:135 msgid "No match" msgstr "Nici o potrivire" -#: regcomp.c:139 +#: regcomp.c:138 msgid "Invalid regular expression" msgstr "Expresie regularã invalidã" -#: regcomp.c:142 +#: regcomp.c:141 msgid "Invalid collation character" msgstr "Caracter de comparare invalid" -#: regcomp.c:145 +#: regcomp.c:144 msgid "Invalid character class name" msgstr "nume clasã caracter invalid" -#: regcomp.c:148 +#: regcomp.c:147 msgid "Trailing backslash" msgstr "Backslash final" -#: regcomp.c:151 +#: regcomp.c:150 msgid "Invalid back reference" msgstr "referinþã anterioarã(back) invalidã" -#: regcomp.c:154 +#: regcomp.c:153 msgid "Unmatched [ or [^" msgstr "[ sau [^ fãrã reciprocã" -#: regcomp.c:157 +#: regcomp.c:156 msgid "Unmatched ( or \\(" msgstr "( sau \\( fãrã reciprocã" -#: regcomp.c:160 +#: regcomp.c:159 msgid "Unmatched \\{" msgstr "{ fãrã reciprocã" -#: regcomp.c:163 +#: regcomp.c:162 msgid "Invalid content of \\{\\}" msgstr "Conþinut invalid al \\{\\}" -#: regcomp.c:166 +#: regcomp.c:165 msgid "Invalid range end" msgstr "Sfârºit de domeniu invalid" -#: regcomp.c:169 +#: regcomp.c:168 msgid "Memory exhausted" msgstr "Memorie plinã" -#: regcomp.c:172 +#: regcomp.c:171 msgid "Invalid preceding regular expression" msgstr "Expresie regularã anterioarã invalidã" -#: regcomp.c:175 +#: regcomp.c:174 msgid "Premature end of regular expression" msgstr "Sfârºit prematur de expresie regularã" -#: regcomp.c:178 +#: regcomp.c:177 msgid "Regular expression too big" msgstr "Expresie regularã prea mare" -#: regcomp.c:181 +#: regcomp.c:180 msgid "Unmatched ) or \\)" msgstr ") or \\) fãrã reciprocã" -#: regcomp.c:700 +#: regcomp.c:699 msgid "No previous regular expression" msgstr "Nu existã expresii regulare anterioare" -#~ msgid "%s: illegal option -- %c\n" -#~ msgstr "%s: opþiune ilegalã -- %c\n" - #~ msgid "delete: illegal use of variable `%s' as array" #~ msgstr "delete: folosire ilegalã a variabilei `%s' ca array" @@ -1984,6 +1993,9 @@ #~ msgid "asort: second argument is not an array" #~ msgstr "asort: al doilea argument nu este un array" +#~ msgid "%s: illegal option -- %c\n" +#~ msgstr "%s: opþiune ilegalã -- %c\n" + #~ msgid "" #~ "\n" #~ "To report bugs, see node `Bugs' in `gawk.info', which is\n" @@ -2047,6 +2059,10 @@ #~ msgid "function %s called\n" #~ msgstr "funcþia %s a fost apelatã\n" +#~ msgid "can't open two way socket `%s' for input/output (%s)" +#~ msgstr "" +#~ "nu se poate deschide socketul bidirecþional `%s' pentru input/output (%s)" + #~ msgid "remote port invalid in `%s'" #~ msgstr "port remote invalid în `%s'" diff -urN gawk-3.1.7/po/rw.po gawk-3.1.8/po/rw.po --- gawk-3.1.7/po/rw.po 2009-07-21 23:23:45.000000000 +0300 +++ gawk-3.1.8/po/rw.po 2010-05-06 20:57:37.000000000 +0300 @@ -16,7 +16,7 @@ msgstr "" "Project-Id-Version: gawk 3.1.4\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2009-07-21 23:23+0300\n" +"POT-Creation-Date: 2010-05-06 20:57+0300\n" "PO-Revision-Date: 2005-04-04 10:55-0700\n" "Last-Translator: Steven Michael Murphy \n" "Language-Team: Kinyarwanda \n" @@ -44,42 +44,42 @@ msgid "from %s" msgstr "Kuva:" -#: array.c:514 +#: array.c:513 #, fuzzy, c-format -msgid "reference to uninitialized element `%s[\"%s\"]'" +msgid "reference to uninitialized element `%s[\"%.*s\"]'" msgstr "Indango Kuri Itatangijwe Ikigize:" -#: array.c:520 +#: array.c:519 #, fuzzy, c-format msgid "subscript of array `%s' is null string" msgstr "Inyandiko nyesi Bya Imbonerahamwe ni NTAGIHARI Ikurikiranyanyuguti" -#: array.c:624 +#: array.c:623 #, fuzzy, c-format msgid "delete: index `%s' not in array `%s'" msgstr "Gusiba Umubarendanga OYA in Imbonerahamwe" -#: array.c:793 +#: array.c:792 #, fuzzy, c-format msgid "%s: empty (null)\n" msgstr "%s:ubusa NTAGIHARI" -#: array.c:798 +#: array.c:797 #, fuzzy, c-format msgid "%s: empty (zero)\n" msgstr "%s:ubusa Zeru" -#: array.c:802 +#: array.c:801 #, c-format msgid "%s: table_size = %d, array_size = %d\n" msgstr "" -#: array.c:831 +#: array.c:830 #, fuzzy, c-format msgid "%s: is parameter\n" msgstr "%s:ni" -#: array.c:836 +#: array.c:835 #, fuzzy, c-format msgid "%s: array_ref to %s\n" msgstr "%s:Kuri" @@ -392,7 +392,7 @@ msgid "could not open `%s' for writing (%s)" msgstr "OYA Gufungura kugirango" -#: awkgram.y:2748 profile.c:95 +#: awkgram.y:2748 profile.c:96 #, fuzzy msgid "sending profile to standard error" msgstr "Ibijyana Kuri Bisanzwe Ikosa" @@ -450,7 +450,12 @@ "Umumaro Na: Umwanya hagati Izina: Na Cyangwa Nka a IMPINDURAGACIRO Cyangwa " "Imbonerahamwe" -#: awkgram.y:3667 eval.c:1394 +#: awkgram.y:3664 +#, fuzzy +msgid "division by zero attempted in `/'" +msgstr "ku Zeru in" + +#: awkgram.y:3669 eval.c:1394 #, fuzzy, c-format msgid "division by zero attempted in `%%'" msgstr "ku Zeru in" @@ -515,392 +520,400 @@ msgid "`length(array)' is a gawk extension" msgstr "`Gusiba ni a Umugereka" -#: builtin.c:473 +#: builtin.c:471 +msgid "length: untyped parameter argument will be forced to scalar" +msgstr "" + +#: builtin.c:480 msgid "length: untyped argument will be forced to scalar" msgstr "" -#: builtin.c:477 +#: builtin.c:484 #, fuzzy msgid "length: received non-string argument" msgstr "Uburebure BYAKIRIWE Ikurikiranyanyuguti" -#: builtin.c:508 +#: builtin.c:515 #, fuzzy msgid "log: received non-numeric argument" msgstr "LOG BYAKIRIWE Bikurikije umubare" -#: builtin.c:511 +#: builtin.c:518 #, fuzzy, c-format msgid "log: received negative argument %g" msgstr "LOG BYAKIRIWE" -#: builtin.c:719 builtin.c:722 +#: builtin.c:726 builtin.c:729 #, fuzzy msgid "must use `count$' on all formats or none" msgstr "Gukoresha IBARA ku Byose Imiterere Cyangwa Ntacyo" -#: builtin.c:783 +#: builtin.c:790 #, c-format msgid "field width is ignored for `%%%%' specifier" msgstr "" -#: builtin.c:785 +#: builtin.c:792 #, c-format msgid "precision is ignored for `%%%%' specifier" msgstr "" -#: builtin.c:787 +#: builtin.c:794 #, c-format msgid "field width and precision are ignored for `%%%%' specifier" msgstr "" -#: builtin.c:838 +#: builtin.c:845 #, fuzzy msgid "`$' is not permitted in awk formats" msgstr "`$'ni OYA in Imiterere" -#: builtin.c:844 +#: builtin.c:851 #, fuzzy msgid "arg count with `$' must be > 0" msgstr "IBARA Na: 0" -#: builtin.c:846 +#: builtin.c:853 #, fuzzy, c-format msgid "arg count %ld greater than total number of supplied arguments" msgstr "IBARA Biruta Igiteranyo Umubare Bya ingingo" -#: builtin.c:848 +#: builtin.c:855 #, fuzzy msgid "`$' not permitted after period in format" msgstr "`$'OYA Nyuma Igihe in Imiterere" -#: builtin.c:861 +#: builtin.c:868 #, fuzzy msgid "no `$' supplied for positional field width or precision" msgstr "Oya kugirango Umwanya Ubugari Cyangwa" -#: builtin.c:927 +#: builtin.c:938 #, fuzzy msgid "`l' is meaningless in awk formats; ignored" msgstr "`ni in Imiterere" -#: builtin.c:931 +#: builtin.c:942 #, fuzzy msgid "`l' is not permitted in POSIX awk formats" msgstr "`ni OYA in Imiterere" -#: builtin.c:942 +#: builtin.c:953 #, fuzzy msgid "`L' is meaningless in awk formats; ignored" msgstr "`ni in Imiterere" -#: builtin.c:946 +#: builtin.c:957 #, fuzzy msgid "`L' is not permitted in POSIX awk formats" msgstr "`ni OYA in Imiterere" -#: builtin.c:957 +#: builtin.c:968 #, fuzzy msgid "`h' is meaningless in awk formats; ignored" msgstr "`ni in Imiterere" -#: builtin.c:961 +#: builtin.c:972 #, fuzzy msgid "`h' is not permitted in POSIX awk formats" msgstr "`ni OYA in Imiterere" -#: builtin.c:1236 +#: builtin.c:1252 #, fuzzy, c-format msgid "[s]printf: value %g is out of range for `%%%c' format" msgstr "[S Agaciro ni Inyuma Bya Urutonde kugirango Imiterere" -#: builtin.c:1316 +#: builtin.c:1332 #, c-format msgid "ignoring unknown format specifier character `%c': no argument converted" msgstr "" -#: builtin.c:1322 +#: builtin.c:1338 #, fuzzy msgid "not enough arguments to satisfy format string" msgstr "OYA ingingo Kuri Imiterere Ikurikiranyanyuguti" -#: builtin.c:1324 +#: builtin.c:1340 #, fuzzy msgid "^ ran out for this one" msgstr "^Inyuma kugirango iyi" -#: builtin.c:1330 +#: builtin.c:1346 #, fuzzy msgid "[s]printf: format specifier does not have control letter" msgstr "[S Imiterere OYA Igenzura Ibaruwa..." -#: builtin.c:1333 +#: builtin.c:1349 #, fuzzy msgid "too many arguments supplied for format string" msgstr "ingingo kugirango Imiterere Ikurikiranyanyuguti" -#: builtin.c:1408 builtin.c:1411 +#: builtin.c:1424 builtin.c:1427 #, fuzzy msgid "printf: no arguments" msgstr "Oya ingingo" -#: builtin.c:1435 +#: builtin.c:1451 #, fuzzy msgid "sqrt: received non-numeric argument" msgstr "SQRT BYAKIRIWE Bikurikije umubare" -#: builtin.c:1439 +#: builtin.c:1455 #, fuzzy, c-format msgid "sqrt: called with negative argument %g" msgstr "SQRT Na:" -#: builtin.c:1463 +#: builtin.c:1479 #, fuzzy, c-format msgid "substr: start index %g is invalid, using 1" msgstr "Gutangira Umubarendanga ni Sibyo ikoresha 1." -#: builtin.c:1468 +#: builtin.c:1484 #, fuzzy, c-format msgid "substr: non-integer start index %g will be truncated" msgstr "Umubare wuzuye Gutangira Umubarendanga" -#: builtin.c:1494 +#: builtin.c:1510 #, fuzzy, c-format msgid "substr: length %g is not >= 1" msgstr "Uburebure ni OYA 1." -#: builtin.c:1496 +#: builtin.c:1512 #, fuzzy, c-format msgid "substr: length %g is not >= 0" msgstr "Uburebure ni OYA 0" -#: builtin.c:1503 +#: builtin.c:1519 #, fuzzy, c-format msgid "substr: non-integer length %g will be truncated" msgstr "Umubare wuzuye Uburebure" -#: builtin.c:1508 +#: builtin.c:1524 #, fuzzy, c-format msgid "substr: length %g too big for string indexing, truncating to %g" msgstr "Uburebure kugirango Ikurikiranyanyuguti gushyiraho umugereka Kuri" -#: builtin.c:1520 +#: builtin.c:1536 #, fuzzy msgid "substr: source string is zero length" msgstr "Inkomoko Ikurikiranyanyuguti ni Zeru Uburebure" -#: builtin.c:1536 +#: builtin.c:1552 #, fuzzy, c-format msgid "substr: start index %g is past end of string" msgstr "Gutangira Umubarendanga ni Impera Bya Ikurikiranyanyuguti" -#: builtin.c:1544 +#: builtin.c:1560 #, fuzzy, c-format msgid "" "substr: length %g at start index %g exceeds length of first argument (%lu)" msgstr "Uburebure ku Gutangira Umubarendanga Uburebure Bya Itangira" -#: builtin.c:1621 +#: builtin.c:1637 #, fuzzy msgid "strftime: received non-string first argument" msgstr "BYAKIRIWE Ikurikiranyanyuguti Itangira" -#: builtin.c:1627 +#: builtin.c:1643 #, fuzzy msgid "strftime: received empty format string" msgstr "BYAKIRIWE ubusa Imiterere Ikurikiranyanyuguti" -#: builtin.c:1636 +#: builtin.c:1652 #, fuzzy msgid "strftime: received non-numeric second argument" msgstr "BYAKIRIWE Bikurikije umubare ISEGONDA" -#: builtin.c:1713 +#: builtin.c:1729 #, fuzzy msgid "mktime: received non-string argument" msgstr "BYAKIRIWE Ikurikiranyanyuguti" -#: builtin.c:1758 +#: builtin.c:1746 +msgid "mktime: at least one of the values is out of the default range" +msgstr "" + +#: builtin.c:1783 #, fuzzy msgid "system: received non-string argument" msgstr "Sisitemu BYAKIRIWE Ikurikiranyanyuguti" -#: builtin.c:1879 eval.c:2145 +#: builtin.c:1904 eval.c:2157 #, fuzzy, c-format msgid "reference to uninitialized field `$%d'" msgstr "Indango Kuri Itatangijwe Umwanya" -#: builtin.c:1984 +#: builtin.c:2009 #, fuzzy msgid "tolower: received non-string argument" msgstr "BYAKIRIWE Ikurikiranyanyuguti" -#: builtin.c:2014 +#: builtin.c:2039 #, fuzzy msgid "toupper: received non-string argument" msgstr "BYAKIRIWE Ikurikiranyanyuguti" -#: builtin.c:2047 +#: builtin.c:2072 #, fuzzy msgid "atan2: received non-numeric first argument" msgstr "ATAN2 BYAKIRIWE Bikurikije umubare Itangira" -#: builtin.c:2049 +#: builtin.c:2074 #, fuzzy msgid "atan2: received non-numeric second argument" msgstr "ATAN2 BYAKIRIWE Bikurikije umubare ISEGONDA" -#: builtin.c:2068 +#: builtin.c:2093 #, fuzzy msgid "sin: received non-numeric argument" msgstr "SIN BYAKIRIWE Bikurikije umubare" -#: builtin.c:2084 +#: builtin.c:2109 #, fuzzy msgid "cos: received non-numeric argument" msgstr "COS BYAKIRIWE Bikurikije umubare" -#: builtin.c:2137 +#: builtin.c:2162 #, fuzzy msgid "srand: received non-numeric argument" msgstr "BYAKIRIWE Bikurikije umubare" -#: builtin.c:2172 +#: builtin.c:2197 #, fuzzy msgid "match: third argument is not an array" msgstr "BIHUYE ni OYA Imbonerahamwe" -#: builtin.c:2719 +#: builtin.c:2744 #, fuzzy msgid "gensub: third argument of 0 treated as 1" msgstr "Bya 0 Nka 1." -#: builtin.c:2835 +#: builtin.c:2860 #, fuzzy msgid "lshift: received non-numeric first argument" msgstr "BYAKIRIWE Bikurikije umubare Itangira" -#: builtin.c:2837 +#: builtin.c:2862 #, fuzzy msgid "lshift: received non-numeric second argument" msgstr "BYAKIRIWE Bikurikije umubare ISEGONDA" -#: builtin.c:2843 +#: builtin.c:2868 #, fuzzy, c-format msgid "lshift(%lf, %lf): negative values will give strange results" msgstr "Uduciro Ibisubizo ku" -#: builtin.c:2845 +#: builtin.c:2870 #, fuzzy, c-format msgid "lshift(%lf, %lf): fractional values will be truncated" msgstr "Uduciro" -#: builtin.c:2847 +#: builtin.c:2872 #, fuzzy, c-format msgid "lshift(%lf, %lf): too large shift value will give strange results" msgstr "Binini Gusunika Agaciro Ibisubizo ku" -#: builtin.c:2873 +#: builtin.c:2898 #, fuzzy msgid "rshift: received non-numeric first argument" msgstr "BYAKIRIWE Bikurikije umubare Itangira" -#: builtin.c:2875 +#: builtin.c:2900 #, fuzzy msgid "rshift: received non-numeric second argument" msgstr "BYAKIRIWE Bikurikije umubare ISEGONDA" -#: builtin.c:2881 +#: builtin.c:2906 #, fuzzy, c-format msgid "rshift(%lf, %lf): negative values will give strange results" msgstr "Uduciro Ibisubizo ku" -#: builtin.c:2883 +#: builtin.c:2908 #, fuzzy, c-format msgid "rshift(%lf, %lf): fractional values will be truncated" msgstr "Uduciro" -#: builtin.c:2885 +#: builtin.c:2910 #, fuzzy, c-format msgid "rshift(%lf, %lf): too large shift value will give strange results" msgstr "Binini Gusunika Agaciro Ibisubizo ku" -#: builtin.c:2911 +#: builtin.c:2936 #, fuzzy msgid "and: received non-numeric first argument" msgstr "Na BYAKIRIWE Bikurikije umubare Itangira" -#: builtin.c:2913 +#: builtin.c:2938 #, fuzzy msgid "and: received non-numeric second argument" msgstr "Na BYAKIRIWE Bikurikije umubare ISEGONDA" -#: builtin.c:2919 +#: builtin.c:2944 #, fuzzy, c-format msgid "and(%lf, %lf): negative values will give strange results" msgstr "Na Uduciro Ibisubizo ku" -#: builtin.c:2921 +#: builtin.c:2946 #, fuzzy, c-format msgid "and(%lf, %lf): fractional values will be truncated" msgstr "Na Uduciro" -#: builtin.c:2947 +#: builtin.c:2972 #, fuzzy msgid "or: received non-numeric first argument" msgstr "Cyangwa BYAKIRIWE Bikurikije umubare Itangira" -#: builtin.c:2949 +#: builtin.c:2974 #, fuzzy msgid "or: received non-numeric second argument" msgstr "Cyangwa BYAKIRIWE Bikurikije umubare ISEGONDA" -#: builtin.c:2955 +#: builtin.c:2980 #, fuzzy, c-format msgid "or(%lf, %lf): negative values will give strange results" msgstr "Cyangwa Uduciro Ibisubizo ku" -#: builtin.c:2957 +#: builtin.c:2982 #, fuzzy, c-format msgid "or(%lf, %lf): fractional values will be truncated" msgstr "Cyangwa Uduciro" -#: builtin.c:2983 +#: builtin.c:3008 #, fuzzy msgid "xor: received non-numeric first argument" msgstr "BYAKIRIWE Bikurikije umubare Itangira" -#: builtin.c:2985 +#: builtin.c:3010 #, fuzzy msgid "xor: received non-numeric second argument" msgstr "BYAKIRIWE Bikurikije umubare ISEGONDA" -#: builtin.c:2991 +#: builtin.c:3016 #, fuzzy, c-format msgid "xor(%lf, %lf): negative values will give strange results" msgstr "Uduciro Ibisubizo ku" -#: builtin.c:2993 +#: builtin.c:3018 #, fuzzy, c-format msgid "xor(%lf, %lf): fractional values will be truncated" msgstr "Uduciro" -#: builtin.c:3017 +#: builtin.c:3042 #, fuzzy msgid "compl: received non-numeric argument" msgstr "BYAKIRIWE Bikurikije umubare" -#: builtin.c:3023 +#: builtin.c:3048 #, fuzzy, c-format msgid "compl(%lf): negative value will give strange results" msgstr "Agaciro Ibisubizo ku" -#: builtin.c:3025 +#: builtin.c:3050 #, fuzzy, c-format msgid "compl(%lf): fractional value will be truncated" msgstr "Agaciro" -#: builtin.c:3198 +#: builtin.c:3223 #, fuzzy, c-format msgid "dcgettext: `%s' is not a valid locale category" msgstr "ni OYA a Byemewe Umwanya Icyiciro" @@ -915,7 +928,7 @@ msgid "buffer overflow in genflags2str" msgstr "Byarenze urugero in" -#: eval.c:454 eval.c:460 profile.c:781 +#: eval.c:454 eval.c:460 profile.c:785 #, fuzzy, c-format msgid "attempt to use array `%s' in a scalar context" msgstr "Kuri Gukoresha Imbonerahamwe in a Imvugiro" @@ -970,7 +983,7 @@ msgid "statement has no effect" msgstr "Inyandiko Oya INGARUKA" -#: eval.c:1029 eval.c:1999 +#: eval.c:1029 eval.c:2011 #, fuzzy, c-format msgid "can't use function name `%s' as variable or array" msgstr "Gukoresha Umumaro Izina: Nka IMPINDURAGACIRO Cyangwa Imbonerahamwe" @@ -980,7 +993,7 @@ msgid "reference to uninitialized argument `%s'" msgstr "Indango Kuri Itatangijwe" -#: eval.c:1051 eval.c:2008 +#: eval.c:1051 eval.c:2020 #, fuzzy, c-format msgid "reference to uninitialized variable `%s'" msgstr "Indango Kuri Itatangijwe IMPINDURAGACIRO" @@ -1002,7 +1015,7 @@ msgid "division by zero attempted" msgstr "ku Zeru" -#: eval.c:1409 profile.c:657 +#: eval.c:1409 profile.c:661 #, fuzzy, c-format msgid "illegal type (%s) in tree_eval" msgstr "Ubwoko in" @@ -1017,17 +1030,17 @@ msgid "division by zero attempted in `%%='" msgstr "ku Zeru in" -#: eval.c:1859 +#: eval.c:1871 #, fuzzy, c-format msgid "function `%s' called with more arguments than declared" msgstr "Umumaro Na: Birenzeho ingingo" -#: eval.c:1904 +#: eval.c:1916 #, fuzzy, c-format msgid "function `%s' not defined" msgstr "Umumaro OYA" -#: eval.c:1971 +#: eval.c:1983 #, c-format msgid "" "\n" @@ -1035,52 +1048,52 @@ "\n" msgstr "" -#: eval.c:1974 +#: eval.c:1986 #, c-format msgid "\t# -- main --\n" msgstr "" -#: eval.c:2129 +#: eval.c:2141 #, fuzzy msgid "attempt to field reference from non-numeric value" msgstr "Kuri Umwanya Indango Bivuye Bikurikije umubare Agaciro" -#: eval.c:2131 +#: eval.c:2143 #, fuzzy msgid "attempt to reference from null string" msgstr "Kuri Indango Bivuye NTAGIHARI Ikurikiranyanyuguti" -#: eval.c:2137 +#: eval.c:2149 #, fuzzy, c-format msgid "attempt to access field %d" msgstr "Kuri Umwanya" -#: eval.c:2158 eval.c:2165 profile.c:836 +#: eval.c:2170 eval.c:2177 profile.c:840 #, fuzzy msgid "assignment is not allowed to result of builtin function" msgstr "Igenera ni OYA Kuri Igisubizo Bya Umumaro" -#: eval.c:2229 +#: eval.c:2241 #, fuzzy msgid "`IGNORECASE' is a gawk extension" msgstr "`ni a Umugereka" -#: eval.c:2258 +#: eval.c:2270 #, fuzzy msgid "`BINMODE' is a gawk extension" msgstr "`ni a Umugereka" -#: eval.c:2316 +#: eval.c:2328 #, c-format msgid "BINMODE value `%s' is invalid, treated as 3" msgstr "" -#: eval.c:2406 +#: eval.c:2418 #, c-format msgid "bad `%sFMT' specification `%s'" msgstr "" -#: eval.c:2484 +#: eval.c:2496 #, fuzzy msgid "turning off `--lint' due to assignment to `LINT'" msgstr "Bidakora Kuri Igenera Kuri" @@ -1189,56 +1202,61 @@ msgid "old awk does not support regexps as value of `FS'" msgstr "ki/ bishaje OYA Gushigikira Mukoresha" -#: getopt.c:570 getopt.c:586 +#: getopt.c:574 getopt.c:590 #, fuzzy, c-format msgid "%s: option '%s' is ambiguous\n" msgstr "%s:Ihitamo ni" -#: getopt.c:619 getopt.c:623 +#: getopt.c:623 getopt.c:627 #, fuzzy, c-format msgid "%s: option '--%s' doesn't allow an argument\n" msgstr "%s:Ihitamo Kwemerera" -#: getopt.c:632 getopt.c:637 +#: getopt.c:636 getopt.c:641 #, fuzzy, c-format msgid "%s: option '%c%s' doesn't allow an argument\n" msgstr "%s:Ihitamo Kwemerera" -#: getopt.c:680 getopt.c:699 getopt.c:1002 getopt.c:1021 +#: getopt.c:684 getopt.c:703 #, fuzzy, c-format -msgid "%s: option '%s' requires an argument\n" +msgid "%s: option '--%s' requires an argument\n" msgstr "%s:Ihitamo" -#: getopt.c:737 getopt.c:740 +#: getopt.c:741 getopt.c:744 #, fuzzy, c-format msgid "%s: unrecognized option '--%s'\n" msgstr "%s:Ihitamo" -#: getopt.c:748 getopt.c:751 +#: getopt.c:752 getopt.c:755 #, fuzzy, c-format msgid "%s: unrecognized option '%c%s'\n" msgstr "%s:Ihitamo" -#: getopt.c:800 getopt.c:803 +#: getopt.c:804 getopt.c:807 #, fuzzy, c-format msgid "%s: invalid option -- '%c'\n" msgstr "%s:Sibyo Ihitamo" -#: getopt.c:853 getopt.c:870 getopt.c:1073 getopt.c:1091 +#: getopt.c:857 getopt.c:874 getopt.c:1082 getopt.c:1100 #, fuzzy, c-format msgid "%s: option requires an argument -- '%c'\n" msgstr "%s:Ihitamo" -#: getopt.c:923 getopt.c:939 +#: getopt.c:930 getopt.c:946 #, fuzzy, c-format msgid "%s: option '-W %s' is ambiguous\n" msgstr "%s:Ihitamo ni" -#: getopt.c:963 getopt.c:981 +#: getopt.c:970 getopt.c:988 #, fuzzy, c-format msgid "%s: option '-W %s' doesn't allow an argument\n" msgstr "%s:Ihitamo Kwemerera" +#: getopt.c:1009 getopt.c:1027 +#, fuzzy, c-format +msgid "%s: option '-W %s' requires an argument\n" +msgstr "%s:Ihitamo" + #: io.c:322 io.c:352 #, fuzzy, c-format msgid "cannot open file `%s' for reading (%s)" @@ -1286,466 +1304,461 @@ msgid "can't open pipe `%s' for input (%s)" msgstr "Gufungura kugirango Iyinjiza" -#: io.c:712 -#, fuzzy, c-format -msgid "can't open two way socket `%s' for input/output (%s)" -msgstr "Gufungura kugirango Iyinjiza Ibisohoka" - -#: io.c:716 +#: io.c:717 #, fuzzy, c-format msgid "can't open two way pipe `%s' for input/output (%s)" msgstr "Gufungura kugirango Iyinjiza Ibisohoka" -#: io.c:793 +#: io.c:795 #, fuzzy, c-format msgid "can't redirect from `%s' (%s)" msgstr "Bivuye" -#: io.c:796 +#: io.c:798 #, fuzzy, c-format msgid "can't redirect to `%s' (%s)" msgstr "Kuri" -#: io.c:849 +#: io.c:851 #, fuzzy msgid "" "reached system limit for open files: starting to multiplex file descriptors" msgstr "Sisitemu kugirango Gufungura Idosiye Kuri IDOSIYE" -#: io.c:865 +#: io.c:867 #, fuzzy, c-format msgid "close of `%s' failed (%s)." msgstr "Gufunga Bya Byanze" -#: io.c:873 +#: io.c:875 #, fuzzy msgid "too many pipes or input files open" msgstr "Cyangwa Iyinjiza Idosiye Gufungura" -#: io.c:896 +#: io.c:898 #, fuzzy msgid "close: second argument must be `to' or `from'" msgstr "Gufunga ISEGONDA Cyangwa" -#: io.c:910 +#: io.c:912 #, fuzzy, c-format msgid "close: `%.*s' is not an open file, pipe or co-process" msgstr "Gufunga." -#: io.c:915 +#: io.c:917 #, fuzzy msgid "close of redirection that was never opened" msgstr "Gufunga Bya Nta narimwe" -#: io.c:1012 +#: io.c:1014 #, fuzzy, c-format msgid "close: redirection `%s' not opened with `|&', second argument ignored" msgstr "Gufunga OYA Na: ISEGONDA" -#: io.c:1028 +#: io.c:1030 #, fuzzy, c-format msgid "failure status (%d) on pipe close of `%s' (%s)" msgstr "Imimerere ku Gufunga Bya" -#: io.c:1031 +#: io.c:1033 #, fuzzy, c-format msgid "failure status (%d) on file close of `%s' (%s)" msgstr "Imimerere ku IDOSIYE Gufunga Bya" -#: io.c:1051 +#: io.c:1053 #, fuzzy, c-format msgid "no explicit close of socket `%s' provided" msgstr "Oya Gufunga Bya" -#: io.c:1054 +#: io.c:1056 #, fuzzy, c-format msgid "no explicit close of co-process `%s' provided" msgstr "Oya Gufunga Bya" -#: io.c:1057 +#: io.c:1059 #, fuzzy, c-format msgid "no explicit close of pipe `%s' provided" msgstr "Oya Gufunga Bya" -#: io.c:1060 +#: io.c:1062 #, fuzzy, c-format msgid "no explicit close of file `%s' provided" msgstr "Oya Gufunga Bya IDOSIYE" -#: io.c:1088 io.c:1143 main.c:776 main.c:818 +#: io.c:1090 io.c:1145 main.c:781 main.c:823 #, fuzzy, c-format msgid "error writing standard output (%s)" msgstr "Ikosa Bisanzwe Ibisohoka" -#: io.c:1092 io.c:1148 +#: io.c:1094 io.c:1150 #, fuzzy, c-format msgid "error writing standard error (%s)" msgstr "Ikosa Bisanzwe Ikosa" -#: io.c:1100 +#: io.c:1102 #, fuzzy, c-format msgid "pipe flush of `%s' failed (%s)." msgstr "Bya Byanze" -#: io.c:1103 +#: io.c:1105 #, fuzzy, c-format msgid "co-process flush of pipe to `%s' failed (%s)." msgstr "Bya Kuri Byanze" -#: io.c:1106 +#: io.c:1108 #, fuzzy, c-format msgid "file flush of `%s' failed (%s)." msgstr "IDOSIYE Bya Byanze" -#: io.c:1220 +#: io.c:1222 #, fuzzy, c-format msgid "local port %s invalid in `/inet'" msgstr "Umuyoboro Sibyo in" -#: io.c:1237 +#: io.c:1239 #, c-format msgid "remote host and port information (%s, %s) invalid" msgstr "" -#: io.c:1272 +#: io.c:1274 #, fuzzy msgid "/inet/raw client not ready yet, sorry" msgstr "/Umukiriya OYA Cyiteguye" -#: io.c:1275 io.c:1311 +#: io.c:1277 io.c:1313 #, fuzzy msgid "only root may use `/inet/raw'." msgstr "Imizi Gicurasi Gukoresha" -#: io.c:1309 +#: io.c:1311 #, fuzzy msgid "/inet/raw server not ready yet, sorry" msgstr "/Seriveri OYA Cyiteguye" -#: io.c:1407 +#: io.c:1409 #, fuzzy, c-format msgid "no (known) protocol supplied in special filename `%s'" msgstr "Oya Porotokole in Bidasanzwe Izina ry'idosiye:" -#: io.c:1421 +#: io.c:1423 #, fuzzy, c-format msgid "special file name `%s' is incomplete" msgstr "Bidasanzwe IDOSIYE Izina: ni" -#: io.c:1436 +#: io.c:1438 #, fuzzy msgid "must supply a remote hostname to `/inet'" msgstr "a Izina ry'inturo: Kuri" -#: io.c:1454 +#: io.c:1456 #, fuzzy msgid "must supply a remote port to `/inet'" msgstr "a Umuyoboro Kuri" -#: io.c:1485 +#: io.c:1502 #, fuzzy msgid "TCP/IP communications are not supported" msgstr "OYA" -#: io.c:1494 +#: io.c:1511 #, fuzzy, c-format msgid "file `%s' is a directory" msgstr "IDOSIYE ni a bushyinguro" -#: io.c:1555 +#: io.c:1572 #, fuzzy, c-format msgid "use `PROCINFO[\"%s\"]' instead of `%s'" msgstr "Gukoresha Bya" -#: io.c:1593 +#: io.c:1610 #, fuzzy msgid "use `PROCINFO[...]' instead of `/dev/user'" msgstr "Gukoresha Bya" -#: io.c:1658 io.c:1853 +#: io.c:1675 io.c:1872 #, fuzzy, c-format msgid "could not open `%s', mode `%s'" msgstr "OYA Gufungura Ubwoko" -#: io.c:1904 +#: io.c:1923 #, fuzzy, c-format msgid "close of master pty failed (%s)" msgstr "Gufunga Bya Mugenga Byanze" -#: io.c:1906 io.c:2058 io.c:2209 +#: io.c:1925 io.c:2077 io.c:2228 #, fuzzy, c-format msgid "close of stdout in child failed (%s)" msgstr "Gufunga Bya in Byanze" -#: io.c:1909 +#: io.c:1928 #, fuzzy, c-format msgid "moving slave pty to stdout in child failed (dup: %s)" msgstr "Kuri in Byanze" -#: io.c:1911 io.c:2063 +#: io.c:1930 io.c:2082 #, fuzzy, c-format msgid "close of stdin in child failed (%s)" msgstr "Gufunga Bya in Byanze" -#: io.c:1914 +#: io.c:1933 #, fuzzy, c-format msgid "moving slave pty to stdin in child failed (dup: %s)" msgstr "Kuri in Byanze" -#: io.c:1916 io.c:1935 +#: io.c:1935 io.c:1954 #, fuzzy, c-format msgid "close of slave pty failed (%s)" msgstr "Gufunga Bya Byanze" -#: io.c:2009 io.c:2061 io.c:2190 io.c:2212 +#: io.c:2028 io.c:2080 io.c:2209 io.c:2231 #, fuzzy, c-format msgid "moving pipe to stdout in child failed (dup: %s)" msgstr "Kuri in Byanze" -#: io.c:2013 io.c:2066 +#: io.c:2032 io.c:2085 #, fuzzy, c-format msgid "moving pipe to stdin in child failed (dup: %s)" msgstr "Kuri in Byanze" -#: io.c:2030 io.c:2203 +#: io.c:2049 io.c:2222 #, fuzzy msgid "restoring stdout in parent process failed\n" msgstr "in" -#: io.c:2035 +#: io.c:2054 #, fuzzy msgid "restoring stdin in parent process failed\n" msgstr "in" -#: io.c:2069 io.c:2214 io.c:2225 +#: io.c:2088 io.c:2233 io.c:2244 #, fuzzy, c-format msgid "close of pipe failed (%s)" msgstr "Gufunga Bya Byanze" -#: io.c:2114 +#: io.c:2133 #, fuzzy msgid "`|&' not supported" msgstr "`|&'OYA" -#: io.c:2180 +#: io.c:2199 #, fuzzy, c-format msgid "cannot open pipe `%s' (%s)" msgstr "Gufungura" -#: io.c:2221 +#: io.c:2240 #, fuzzy, c-format msgid "cannot create child process for `%s' (fork: %s)" msgstr "Kurema kugirango" -#: io.c:2603 +#: io.c:2622 #, fuzzy, c-format msgid "data file `%s' is empty" msgstr "Ibyatanzwe IDOSIYE ni ubusa" -#: io.c:2644 io.c:2652 +#: io.c:2663 io.c:2671 #, fuzzy msgid "could not allocate more input memory" msgstr "OYA Birenzeho Iyinjiza Ububiko" -#: io.c:3020 io.c:3093 +#: io.c:3039 io.c:3112 #, fuzzy, c-format msgid "error reading input file `%s': %s" msgstr "Ikosa Iyinjiza IDOSIYE" -#: io.c:3218 +#: io.c:3237 #, fuzzy msgid "multicharacter value of `RS' is a gawk extension" msgstr "Agaciro Bya ni a Umugereka" -#: main.c:304 +#: main.c:306 msgid "out of memory" msgstr "" -#: main.c:373 +#: main.c:374 #, fuzzy msgid "`-m[fr]' option irrelevant in gawk" msgstr "`-M Ihitamo in" -#: main.c:375 +#: main.c:376 #, fuzzy msgid "-m option usage: `-m[fr] nnn'" msgstr "-M Ihitamo Ikoresha: M" -#: main.c:392 +#: main.c:393 #, fuzzy, c-format msgid "%s: option `-W %s' unrecognized, ignored\n" msgstr "%s:Ihitamo" -#: main.c:433 +#: main.c:434 #, fuzzy msgid "empty argument to `--source' ignored" msgstr "ubusa Kuri" -#: main.c:487 +#: main.c:488 #, fuzzy, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s:Ihitamo" -#: main.c:506 +#: main.c:509 #, fuzzy msgid "environment variable `POSIXLY_CORRECT' set: turning on `--posix'" msgstr "IMPINDURAGACIRO Gushyiraho ku" -#: main.c:512 +#: main.c:515 msgid "`--posix' overrides `--traditional'" msgstr "" -#: main.c:523 +#: main.c:526 #, fuzzy msgid "`--posix'/`--traditional' overrides `--non-decimal-data'" msgstr "`--NYACUMI" -#: main.c:527 +#: main.c:530 #, fuzzy, c-format msgid "running %s setuid root may be a security problem" msgstr "Imizi Gicurasi a Umutekano" -#: main.c:568 +#: main.c:571 #, fuzzy, c-format msgid "can't set binary mode on stdin (%s)" msgstr "Gushyiraho Nyabibiri Ubwoko ku" -#: main.c:571 +#: main.c:574 #, fuzzy, c-format msgid "can't set binary mode on stdout (%s)" msgstr "Gushyiraho Nyabibiri Ubwoko ku" -#: main.c:573 +#: main.c:576 #, fuzzy, c-format msgid "can't set binary mode on stderr (%s)" msgstr "Gushyiraho Nyabibiri Ubwoko ku" -#: main.c:612 +#: main.c:617 #, fuzzy msgid "no program text at all!" msgstr "Oya Porogaramu Umwandiko ku Byose" -#: main.c:716 +#: main.c:721 #, fuzzy, c-format msgid "Usage: %s [POSIX or GNU style options] -f progfile [--] file ...\n" msgstr "Cyangwa IMISUSIRE Amahitamo F IDOSIYE" -#: main.c:718 +#: main.c:723 #, fuzzy, c-format msgid "Usage: %s [POSIX or GNU style options] [--] %cprogram%c file ...\n" msgstr "Cyangwa IMISUSIRE Amahitamo IDOSIYE" -#: main.c:723 +#: main.c:728 #, fuzzy msgid "POSIX options:\t\tGNU long options:\n" msgstr "Amahitamo Amahitamo" -#: main.c:724 +#: main.c:729 #, fuzzy msgid "\t-f progfile\t\t--file=progfile\n" msgstr "-F IDOSIYE" -#: main.c:725 +#: main.c:730 #, fuzzy msgid "\t-F fs\t\t\t--field-separator=fs\n" msgstr "-Umwanya Mutandukanya" -#: main.c:726 +#: main.c:731 #, fuzzy msgid "\t-v var=val\t\t--assign=var=val\n" msgstr "-v VAR Kugenera... VAR" -#: main.c:727 +#: main.c:732 #, fuzzy msgid "\t-m[fr] val\n" msgstr "-M" -#: main.c:728 +#: main.c:733 msgid "\t-O\t\t\t--optimize\n" msgstr "" -#: main.c:729 +#: main.c:734 msgid "\t-W compat\t\t--compat\n" msgstr "" -#: main.c:730 +#: main.c:735 msgid "\t-W copyleft\t\t--copyleft\n" msgstr "" -#: main.c:731 +#: main.c:736 msgid "\t-W copyright\t\t--copyright\n" msgstr "" -#: main.c:732 +#: main.c:737 #, fuzzy msgid "\t-W dump-variables[=file]\t--dump-variables[=file]\n" msgstr "-Ibihinduka IDOSIYE Ibihinduka IDOSIYE" -#: main.c:733 +#: main.c:738 #, fuzzy msgid "\t-W exec=file\t\t--exec=file\n" msgstr "-Ibijyana IDOSIYE Ibijyana IDOSIYE" -#: main.c:734 +#: main.c:739 msgid "\t-W gen-po\t\t--gen-po\n" msgstr "" -#: main.c:735 +#: main.c:740 msgid "\t-W help\t\t\t--help\n" msgstr "" -#: main.c:736 +#: main.c:741 msgid "\t-W lint[=fatal]\t\t--lint[=fatal]\n" msgstr "" -#: main.c:737 +#: main.c:742 msgid "\t-W lint-old\t\t--lint-old\n" msgstr "" -#: main.c:738 +#: main.c:743 #, fuzzy msgid "\t-W non-decimal-data\t--non-decimal-data\n" msgstr "-NYACUMI NYACUMI" -#: main.c:740 +#: main.c:745 msgid "\t-W nostalgia\t\t--nostalgia\n" msgstr "" -#: main.c:743 +#: main.c:748 msgid "\t-W parsedebug\t\t--parsedebug\n" msgstr "" -#: main.c:745 +#: main.c:750 #, fuzzy msgid "\t-W profile[=file]\t--profile[=file]\n" msgstr "-Ibijyana IDOSIYE Ibijyana IDOSIYE" -#: main.c:746 +#: main.c:751 msgid "\t-W posix\t\t--posix\n" msgstr "" -#: main.c:747 +#: main.c:752 msgid "\t-W re-interval\t\t--re-interval\n" msgstr "" -#: main.c:748 +#: main.c:753 #, fuzzy msgid "\t-W source=program-text\t--source=program-text\n" msgstr "-Inkomoko Porogaramu Inkomoko Porogaramu" -#: main.c:749 +#: main.c:754 msgid "\t-W traditional\t\t--traditional\n" msgstr "" -#: main.c:750 +#: main.c:755 msgid "\t-W usage\t\t--usage\n" msgstr "" -#: main.c:751 +#: main.c:756 msgid "\t-W use-lc-numeric\t--use-lc-numeric\n" msgstr "" -#: main.c:752 +#: main.c:757 msgid "\t-W version\t\t--version\n" msgstr "" @@ -1754,7 +1767,7 @@ #. for this application. Please add _another line_ with the #. address for translation bugs. #. no-wrap -#: main.c:761 +#: main.c:766 #, fuzzy msgid "" "\n" @@ -1763,7 +1776,7 @@ "\n" msgstr "Icyegeranyo in Na in i Byacapwe Verisiyo" -#: main.c:765 +#: main.c:770 #, fuzzy msgid "" "gawk is a pattern scanning and processing language.\n" @@ -1773,7 +1786,7 @@ "ni a Ishusho Na Inonosora Ururimi Mburabuzi Bisanzwe Iyinjiza Na Bisanzwe " "Ibisohoka" -#: main.c:769 +#: main.c:774 #, fuzzy msgid "" "Examples:\n" @@ -1781,7 +1794,7 @@ "\tgawk -F: '{ print $1 }' /etc/passwd\n" msgstr "Igiteranyo Gucapa Igiteranyo Gucapa" -#: main.c:789 +#: main.c:794 #, fuzzy, c-format msgid "" "Copyright (C) 1989, 1991-%d Free Software Foundation.\n" @@ -1795,7 +1808,7 @@ "C Porogaramu ni Kigenga Na Cyangwa i Bya i Nka Verisiyo 3. Bya i ku Ihitamo " "Verisiyo" -#: main.c:797 +#: main.c:802 #, fuzzy msgid "" "This program is distributed in the hope that it will be useful,\n" @@ -1806,7 +1819,7 @@ msgstr "" "Porogaramu ni in i ATARIIGIHARWE i Cyangwa A kugirango Birenzeho Birambuye" -#: main.c:808 +#: main.c:813 #, fuzzy msgid "" "You should have received a copy of the GNU General Public License\n" @@ -1814,59 +1827,59 @@ msgstr "" "BYAKIRIWE a Gukoporora Bya i Na: iyi Porogaramu NIBA OYA Kwandika Kuri i" -#: main.c:843 +#: main.c:848 #, fuzzy msgid "-Ft does not set FS to tab in POSIX awk" msgstr "-OYA Gushyiraho Kuri Isunika in" -#: main.c:1117 +#: main.c:1122 #, fuzzy, c-format msgid "" "%s: `%s' argument to `-v' not in `var=value' form\n" "\n" msgstr "%s:`%s'Kuri OYA in VAR" -#: main.c:1137 +#: main.c:1142 #, fuzzy, c-format msgid "`%s' is not a legal variable name" msgstr "`%s'ni OYA a By'amategeko IMPINDURAGACIRO Izina:" -#: main.c:1140 +#: main.c:1145 #, fuzzy, c-format msgid "`%s' is not a variable name, looking for file `%s=%s'" msgstr "`%s'ni OYA a IMPINDURAGACIRO Izina: kugirango IDOSIYE" -#: main.c:1179 +#: main.c:1184 #, fuzzy msgid "floating point exception" msgstr "Bihindagurika Akadomo Irengayobora(-)" -#: main.c:1186 +#: main.c:1191 #, fuzzy msgid "fatal error: internal error" msgstr "Ikosa By'imbere Ikosa" -#: main.c:1200 +#: main.c:1206 #, fuzzy msgid "fatal error: internal error: segfault" msgstr "Ikosa By'imbere Ikosa" -#: main.c:1212 +#: main.c:1218 #, fuzzy msgid "fatal error: internal error: stack overflow" msgstr "Ikosa By'imbere Ikosa" -#: main.c:1261 +#: main.c:1268 #, fuzzy, c-format msgid "no pre-opened fd %d" msgstr "Oya Byahawe imiterere mbere" -#: main.c:1268 +#: main.c:1275 #, fuzzy, c-format msgid "could not pre-open /dev/null for fd %d" msgstr "OYA Byahawe imiterere mbere Gufungura NTAGIHARI kugirango" -#: main.c:1291 main.c:1300 +#: main.c:1298 main.c:1307 #, fuzzy, c-format msgid "could not find groups: %s" msgstr "OYA Gushaka Amatsinda" @@ -1896,34 +1909,34 @@ msgid "can't convert string to float" msgstr "GUHINDURA Ikurikiranyanyuguti Kuri Kureremba" -#: node.c:462 +#: node.c:465 #, fuzzy msgid "backslash at end of string" msgstr "ku Impera Bya Ikurikiranyanyuguti" -#: node.c:606 +#: node.c:609 #, fuzzy, c-format msgid "old awk does not support the `\\%c' escape sequence" msgstr "ki/ bishaje OYA Gushigikira Mukoresha" -#: node.c:657 +#: node.c:660 #, fuzzy msgid "POSIX does not allow `\\x' escapes" msgstr "OYA Kwemerera" -#: node.c:663 +#: node.c:666 #, fuzzy msgid "no hex digits in `\\x' escape sequence" msgstr "Oya in" -#: node.c:685 +#: node.c:688 #, c-format msgid "" "hex escape \\x%.*s of %d characters probably not interpreted the way you " "expect" msgstr "" -#: node.c:700 +#: node.c:703 #, fuzzy, c-format msgid "escape sequence `\\%c' treated as plain `%c'" msgstr "Nka Byuzuye" @@ -1933,156 +1946,160 @@ msgid "%s %s `%s': could not set close-on-exec: (fcntl: %s)" msgstr "%s%s`%s':OYA Gushyiraho Gufunga ku" -#: profile.c:93 +#: profile.c:94 #, fuzzy, c-format msgid "could not open `%s' for writing: %s" msgstr "OYA Gufungura kugirango" -#: profile.c:453 +#: profile.c:457 #, fuzzy, c-format msgid "internal error: %s with null vname" msgstr "By'imbere Ikosa Na: NTAGIHARI" -#: profile.c:517 +#: profile.c:521 #, fuzzy msgid "# treated internally as `delete'" msgstr "#Nka" -#: profile.c:1069 +#: profile.c:1073 #, fuzzy, c-format msgid "# this is a dynamically loaded extension function" msgstr "#iyi ni a Umugereka Umumaro" -#: profile.c:1100 +#: profile.c:1104 #, fuzzy, c-format msgid "\t# gawk profile, created %s\n" msgstr "#Ibijyana Byaremwe" -#: profile.c:1103 +#: profile.c:1107 #, fuzzy, c-format msgid "" "\t# BEGIN block(s)\n" "\n" msgstr "#Funga S" -#: profile.c:1113 +#: profile.c:1117 #, fuzzy, c-format msgid "" "\t# Rule(s)\n" "\n" msgstr "#S" -#: profile.c:1119 +#: profile.c:1123 #, fuzzy, c-format msgid "" "\t# END block(s)\n" "\n" msgstr "#Funga S" -#: profile.c:1139 +#: profile.c:1143 #, c-format msgid "" "\n" "\t# Functions, listed alphabetically\n" msgstr "" -#: profile.c:1400 +#: profile.c:1405 #, fuzzy, c-format msgid "unexpected type %s in prec_level" msgstr "Ubwoko in" -#: profile.c:1500 +#: profile.c:1527 #, fuzzy, c-format msgid "Unknown node type %s in pp_var" msgstr "Kitazwi" -#: regcomp.c:133 +#: regcomp.c:132 msgid "Success" msgstr "Ibyatunganye" -#: regcomp.c:136 +#: regcomp.c:135 #, fuzzy msgid "No match" msgstr "BIHUYE" -#: regcomp.c:139 +#: regcomp.c:138 #, fuzzy msgid "Invalid regular expression" msgstr "Ibisanzwe imvugo" -#: regcomp.c:142 +#: regcomp.c:141 #, fuzzy msgid "Invalid collation character" msgstr "Inyuguti" -#: regcomp.c:145 +#: regcomp.c:144 #, fuzzy msgid "Invalid character class name" msgstr "Inyuguti ishuri Izina:" -#: regcomp.c:148 +#: regcomp.c:147 msgid "Trailing backslash" msgstr "" -#: regcomp.c:151 +#: regcomp.c:150 #, fuzzy msgid "Invalid back reference" msgstr "Inyuma Indango" -#: regcomp.c:154 +#: regcomp.c:153 #, fuzzy msgid "Unmatched [ or [^" msgstr "Cyangwa" -#: regcomp.c:157 +#: regcomp.c:156 #, fuzzy msgid "Unmatched ( or \\(" msgstr "Cyangwa" -#: regcomp.c:160 +#: regcomp.c:159 msgid "Unmatched \\{" msgstr "" -#: regcomp.c:163 +#: regcomp.c:162 #, fuzzy msgid "Invalid content of \\{\\}" msgstr "Ibikubiyemo Bya" -#: regcomp.c:166 +#: regcomp.c:165 #, fuzzy msgid "Invalid range end" msgstr "Urutonde Impera" -#: regcomp.c:169 +#: regcomp.c:168 msgid "Memory exhausted" msgstr "" -#: regcomp.c:172 +#: regcomp.c:171 #, fuzzy msgid "Invalid preceding regular expression" msgstr "Ibisanzwe imvugo" -#: regcomp.c:175 +#: regcomp.c:174 #, fuzzy msgid "Premature end of regular expression" msgstr "Impera Bya Ibisanzwe imvugo" -#: regcomp.c:178 +#: regcomp.c:177 #, fuzzy msgid "Regular expression too big" msgstr "imvugo" -#: regcomp.c:181 +#: regcomp.c:180 #, fuzzy msgid "Unmatched ) or \\)" msgstr "Cyangwa" -#: regcomp.c:700 +#: regcomp.c:699 #, fuzzy msgid "No previous regular expression" msgstr "Ibanjirije Ibisanzwe imvugo" #, fuzzy +#~ msgid "can't open two way socket `%s' for input/output (%s)" +#~ msgstr "Gufungura kugirango Iyinjiza Ibisohoka" + +#, fuzzy #~ msgid "%s: illegal option -- %c\n" #~ msgstr "%s:Ihitamo" diff -urN gawk-3.1.7/po/sv.po gawk-3.1.8/po/sv.po --- gawk-3.1.7/po/sv.po 2009-07-21 23:23:44.000000000 +0300 +++ gawk-3.1.8/po/sv.po 2010-05-06 20:57:37.000000000 +0300 @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: gawk 3.1.6\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2009-07-21 23:23+0300\n" +"POT-Creation-Date: 2010-05-06 20:57+0300\n" "PO-Revision-Date: 2008-01-16 05:30+0100\n" "Last-Translator: Christer Andersson \n" "Language-Team: Swedish \n" @@ -36,42 +36,42 @@ msgid "from %s" msgstr "från %s" -#: array.c:514 -#, c-format -msgid "reference to uninitialized element `%s[\"%s\"]'" +#: array.c:513 +#, fuzzy, c-format +msgid "reference to uninitialized element `%s[\"%.*s\"]'" msgstr "referens till ickeinitierat element \"%s[\"%s\"]\"" -#: array.c:520 +#: array.c:519 #, c-format msgid "subscript of array `%s' is null string" msgstr "index i vektorn \"%s\" är en tom sträng" -#: array.c:624 +#: array.c:623 #, c-format msgid "delete: index `%s' not in array `%s'" msgstr "delete: index \"%s\" finns inte i vektorn \"%s\"" -#: array.c:793 +#: array.c:792 #, c-format msgid "%s: empty (null)\n" msgstr "%s: tom (null)\n" -#: array.c:798 +#: array.c:797 #, c-format msgid "%s: empty (zero)\n" msgstr "%s: tom (noll)\n" -#: array.c:802 +#: array.c:801 #, c-format msgid "%s: table_size = %d, array_size = %d\n" msgstr "%s: tabellstorlek = %d, vektorstorlek = %d\n" -#: array.c:831 +#: array.c:830 #, c-format msgid "%s: is parameter\n" msgstr "%s: är en parameter\n" -#: array.c:836 +#: array.c:835 #, c-format msgid "%s: array_ref to %s\n" msgstr "%s: vektorreferens till %s\n" @@ -354,7 +354,7 @@ msgid "could not open `%s' for writing (%s)" msgstr "kunde inte öppna \"%s\" för skrivning (%s)" -#: awkgram.y:2748 profile.c:95 +#: awkgram.y:2748 profile.c:96 msgid "sending profile to standard error" msgstr "skickar profilen till standard fel" @@ -410,7 +410,12 @@ "funktionen \"%s\" anropad med blanktecken mellan namnet och \"(\",\n" "eller använd som variabel eller vektor" -#: awkgram.y:3667 eval.c:1394 +#: awkgram.y:3664 +#, fuzzy +msgid "division by zero attempted in `/'" +msgstr "försökte dividera med noll i \"/=\"" + +#: awkgram.y:3669 eval.c:1394 #, c-format msgid "division by zero attempted in `%%'" msgstr "försökte dividera med noll i \"%%\"" @@ -470,166 +475,170 @@ msgid "`length(array)' is a gawk extension" msgstr "\"length(array)\" är en gawk-utökning" -#: builtin.c:473 +#: builtin.c:471 +msgid "length: untyped parameter argument will be forced to scalar" +msgstr "" + +#: builtin.c:480 msgid "length: untyped argument will be forced to scalar" msgstr "" -#: builtin.c:477 +#: builtin.c:484 msgid "length: received non-string argument" msgstr "length: fick ett argument som inte är en sträng" -#: builtin.c:508 +#: builtin.c:515 msgid "log: received non-numeric argument" msgstr "log: fick ett ickenumeriskt argument" -#: builtin.c:511 +#: builtin.c:518 #, c-format msgid "log: received negative argument %g" msgstr "log: fick ett negativt argumentet %g" -#: builtin.c:719 builtin.c:722 +#: builtin.c:726 builtin.c:729 msgid "must use `count$' on all formats or none" msgstr "måste använda \"count$\" på alla eller inga format" -#: builtin.c:783 +#: builtin.c:790 #, c-format msgid "field width is ignored for `%%%%' specifier" msgstr "" -#: builtin.c:785 +#: builtin.c:792 #, c-format msgid "precision is ignored for `%%%%' specifier" msgstr "" -#: builtin.c:787 +#: builtin.c:794 #, c-format msgid "field width and precision are ignored for `%%%%' specifier" msgstr "" -#: builtin.c:838 +#: builtin.c:845 msgid "`$' is not permitted in awk formats" msgstr "\"$\" tillåts inte i awk-format" -#: builtin.c:844 +#: builtin.c:851 msgid "arg count with `$' must be > 0" msgstr "argumentantalet med \"$\" måste vara > 0" -#: builtin.c:846 +#: builtin.c:853 #, c-format msgid "arg count %ld greater than total number of supplied arguments" msgstr "argumentantalet %ld är större än antalet givna argument" -#: builtin.c:848 +#: builtin.c:855 msgid "`$' not permitted after period in format" msgstr "\"$\" tillåts inte efter en punkt i formatet" -#: builtin.c:861 +#: builtin.c:868 msgid "no `$' supplied for positional field width or precision" msgstr "inget \"$\" bifogat för positionsangiven fältbredd eller precision" -#: builtin.c:927 +#: builtin.c:938 msgid "`l' is meaningless in awk formats; ignored" msgstr "\"l\" är meningslös i awk-format, ignorerad" -#: builtin.c:931 +#: builtin.c:942 msgid "`l' is not permitted in POSIX awk formats" msgstr "\"l\" tillåts inte i POSIX awk-format" -#: builtin.c:942 +#: builtin.c:953 msgid "`L' is meaningless in awk formats; ignored" msgstr "\"L\" är meningslös i awk-format, ignorerad" -#: builtin.c:946 +#: builtin.c:957 msgid "`L' is not permitted in POSIX awk formats" msgstr "\"L\" tillåts inte i POSIX awk-format" -#: builtin.c:957 +#: builtin.c:968 msgid "`h' is meaningless in awk formats; ignored" msgstr "\"h\" är meningslös i awk-format, ignorerad" -#: builtin.c:961 +#: builtin.c:972 msgid "`h' is not permitted in POSIX awk formats" msgstr "\"h\" tillåts inte i POSIX awk-format" -#: builtin.c:1236 +#: builtin.c:1252 #, c-format msgid "[s]printf: value %g is out of range for `%%%c' format" msgstr "[s]printf: värdet %g är utanför \"%%%c\"-formatets giltiga intervall" -#: builtin.c:1316 +#: builtin.c:1332 #, c-format msgid "ignoring unknown format specifier character `%c': no argument converted" msgstr "" -#: builtin.c:1322 +#: builtin.c:1338 msgid "not enough arguments to satisfy format string" msgstr "för få argument för formatsträngen" -#: builtin.c:1324 +#: builtin.c:1340 msgid "^ ran out for this one" msgstr "^ tog slut här" -#: builtin.c:1330 +#: builtin.c:1346 msgid "[s]printf: format specifier does not have control letter" msgstr "[s]printf: formatspecifieraren har ingen kommandobokstav" -#: builtin.c:1333 +#: builtin.c:1349 msgid "too many arguments supplied for format string" msgstr "för många argument för formatsträngen" -#: builtin.c:1408 builtin.c:1411 +#: builtin.c:1424 builtin.c:1427 msgid "printf: no arguments" msgstr "printf: inga argument" -#: builtin.c:1435 +#: builtin.c:1451 msgid "sqrt: received non-numeric argument" msgstr "sqrt: fick ickenumeriskt argument" -#: builtin.c:1439 +#: builtin.c:1455 #, c-format msgid "sqrt: called with negative argument %g" msgstr "sqrt: anropad med negativt argument %g" -#: builtin.c:1463 +#: builtin.c:1479 #, c-format msgid "substr: start index %g is invalid, using 1" msgstr "substr: startindex %g är ogiltigt, använder 1" -#: builtin.c:1468 +#: builtin.c:1484 #, c-format msgid "substr: non-integer start index %g will be truncated" msgstr "substr: startindex %g som inte är ett heltal kommer trunkeras" -#: builtin.c:1494 +#: builtin.c:1510 #, c-format msgid "substr: length %g is not >= 1" msgstr "substr: längden %g är inte >= 1" -#: builtin.c:1496 +#: builtin.c:1512 #, c-format msgid "substr: length %g is not >= 0" msgstr "substr: längden %g är inte >= 0" -#: builtin.c:1503 +#: builtin.c:1519 #, c-format msgid "substr: non-integer length %g will be truncated" msgstr "substr: längden %g som inte är ett heltal kommer trunkeras" -#: builtin.c:1508 +#: builtin.c:1524 #, c-format msgid "substr: length %g too big for string indexing, truncating to %g" msgstr "substr: längden %g är för stor för strängindexering, trunkeras till %g" -#: builtin.c:1520 +#: builtin.c:1536 msgid "substr: source string is zero length" msgstr "substr: källsträngen är tom" -#: builtin.c:1536 +#: builtin.c:1552 #, c-format msgid "substr: start index %g is past end of string" msgstr "substr: startindex %g är bortom strängens slut" -#: builtin.c:1544 +#: builtin.c:1560 #, c-format msgid "" "substr: length %g at start index %g exceeds length of first argument (%lu)" @@ -637,182 +646,186 @@ "substr: längden %g vid startindex %g överskrider det första argumentets " "längd (%lu)" -#: builtin.c:1621 +#: builtin.c:1637 msgid "strftime: received non-string first argument" msgstr "strftime: fick ett första argument som inte är en sträng" -#: builtin.c:1627 +#: builtin.c:1643 msgid "strftime: received empty format string" msgstr "strftime: fick en tom formatsträng" -#: builtin.c:1636 +#: builtin.c:1652 msgid "strftime: received non-numeric second argument" msgstr "strftime: fick ett ickenumeriskt andra argument" -#: builtin.c:1713 +#: builtin.c:1729 msgid "mktime: received non-string argument" msgstr "mktime: fick ett argument som inte är en sträng" -#: builtin.c:1758 +#: builtin.c:1746 +msgid "mktime: at least one of the values is out of the default range" +msgstr "" + +#: builtin.c:1783 msgid "system: received non-string argument" msgstr "system: fick ett argument som inte är en sträng" -#: builtin.c:1879 eval.c:2145 +#: builtin.c:1904 eval.c:2157 #, c-format msgid "reference to uninitialized field `$%d'" msgstr "referens till icke initierat fält \"$%d\"" -#: builtin.c:1984 +#: builtin.c:2009 msgid "tolower: received non-string argument" msgstr "tolower: fick ett argument som inte är en sträng" -#: builtin.c:2014 +#: builtin.c:2039 msgid "toupper: received non-string argument" msgstr "toupper: fick ett argument som inte är en sträng" -#: builtin.c:2047 +#: builtin.c:2072 msgid "atan2: received non-numeric first argument" msgstr "atan2: fick ett ickenumeriskt första argument" -#: builtin.c:2049 +#: builtin.c:2074 msgid "atan2: received non-numeric second argument" msgstr "atan2: fick ett ickenumeriskt andra argument" -#: builtin.c:2068 +#: builtin.c:2093 msgid "sin: received non-numeric argument" msgstr "sin: fick ett ickenumeriskt argument" -#: builtin.c:2084 +#: builtin.c:2109 msgid "cos: received non-numeric argument" msgstr "cos: fick ett ickenumeriskt argument" -#: builtin.c:2137 +#: builtin.c:2162 msgid "srand: received non-numeric argument" msgstr "srand: fick ett ickenumeriskt argument" -#: builtin.c:2172 +#: builtin.c:2197 msgid "match: third argument is not an array" msgstr "match: tredje argumentet är inte en vektor" -#: builtin.c:2719 +#: builtin.c:2744 msgid "gensub: third argument of 0 treated as 1" msgstr "gensub: nollan i tredje argumentet behandlad som en etta" -#: builtin.c:2835 +#: builtin.c:2860 msgid "lshift: received non-numeric first argument" msgstr "lshift: fick ett ickenumeriskt första argument" -#: builtin.c:2837 +#: builtin.c:2862 msgid "lshift: received non-numeric second argument" msgstr "lshift: fick ett ickenumeriskt andra argument" -#: builtin.c:2843 +#: builtin.c:2868 #, c-format msgid "lshift(%lf, %lf): negative values will give strange results" msgstr "lshift(%lf, %lf): negativa värden kommer ge konstiga resultat" -#: builtin.c:2845 +#: builtin.c:2870 #, c-format msgid "lshift(%lf, %lf): fractional values will be truncated" msgstr "lshift(%lf, %lf): flyttalsvärden kommer trunkeras" -#: builtin.c:2847 +#: builtin.c:2872 #, c-format msgid "lshift(%lf, %lf): too large shift value will give strange results" msgstr "lshift(%lf, %lf): för stora skiftvärden kommer ge konstiga resultat" -#: builtin.c:2873 +#: builtin.c:2898 msgid "rshift: received non-numeric first argument" msgstr "rshift: fick ett ickenumeriskt första argument" -#: builtin.c:2875 +#: builtin.c:2900 msgid "rshift: received non-numeric second argument" msgstr "rshift: fick ett ickenumeriskt andra argument" -#: builtin.c:2881 +#: builtin.c:2906 #, c-format msgid "rshift(%lf, %lf): negative values will give strange results" msgstr "rshift(%lf, %lf): negativa värden kommer ge konstiga resultat" -#: builtin.c:2883 +#: builtin.c:2908 #, c-format msgid "rshift(%lf, %lf): fractional values will be truncated" msgstr "rshift(%lf, %lf): flyttalsvärden kommer trunkeras" -#: builtin.c:2885 +#: builtin.c:2910 #, c-format msgid "rshift(%lf, %lf): too large shift value will give strange results" msgstr "rshift(%lf, %lf): för stora skiftvärden kommer ge konstiga resultat" -#: builtin.c:2911 +#: builtin.c:2936 msgid "and: received non-numeric first argument" msgstr "and: fick ett ickenumeriskt första argument" -#: builtin.c:2913 +#: builtin.c:2938 msgid "and: received non-numeric second argument" msgstr "and: fick ett ickenumeriskt andra argument" -#: builtin.c:2919 +#: builtin.c:2944 #, c-format msgid "and(%lf, %lf): negative values will give strange results" msgstr "and(%lf, %lf): negativa värden kommer ge konstiga resultat" -#: builtin.c:2921 +#: builtin.c:2946 #, c-format msgid "and(%lf, %lf): fractional values will be truncated" msgstr "and(%lf, %lf): flyttalsvärden kommer trunkeras" -#: builtin.c:2947 +#: builtin.c:2972 msgid "or: received non-numeric first argument" msgstr "or: fick ett ickenumeriskt första argument" -#: builtin.c:2949 +#: builtin.c:2974 msgid "or: received non-numeric second argument" msgstr "or: fick ett ickenumeriskt andra argument" -#: builtin.c:2955 +#: builtin.c:2980 #, c-format msgid "or(%lf, %lf): negative values will give strange results" msgstr "or(%lf, %lf): negativa värden kommer ge konstiga resultat" -#: builtin.c:2957 +#: builtin.c:2982 #, c-format msgid "or(%lf, %lf): fractional values will be truncated" msgstr "or(%lf, %lf): flyttalsvärden kommer trunkeras" -#: builtin.c:2983 +#: builtin.c:3008 msgid "xor: received non-numeric first argument" msgstr "xor: fick ett ickenumeriskt första argument" -#: builtin.c:2985 +#: builtin.c:3010 msgid "xor: received non-numeric second argument" msgstr "xor: fick ett ickenumeriskt andra argument" -#: builtin.c:2991 +#: builtin.c:3016 #, c-format msgid "xor(%lf, %lf): negative values will give strange results" msgstr "xor(%lf, %lf): negativa värden kommer ge konstiga resultat" -#: builtin.c:2993 +#: builtin.c:3018 #, c-format msgid "xor(%lf, %lf): fractional values will be truncated" msgstr "xor(%lf, %lf): flyttalsvärden kommer trunkeras" -#: builtin.c:3017 +#: builtin.c:3042 msgid "compl: received non-numeric argument" msgstr "compl: fick ett ickenumeriskt argument" -#: builtin.c:3023 +#: builtin.c:3048 #, c-format msgid "compl(%lf): negative value will give strange results" msgstr "compl(%lf): negativa värden kommer ge konstiga resultat" -#: builtin.c:3025 +#: builtin.c:3050 #, c-format msgid "compl(%lf): fractional value will be truncated" msgstr "compl(%lf): flyttalsvärden kommer trunkeras" -#: builtin.c:3198 +#: builtin.c:3223 #, c-format msgid "dcgettext: `%s' is not a valid locale category" msgstr "dcgettext: \"%s\" är inte en giltig lokalkategori" @@ -826,7 +839,7 @@ msgid "buffer overflow in genflags2str" msgstr "buffertöverflöd i genflags2str" -#: eval.c:454 eval.c:460 profile.c:781 +#: eval.c:454 eval.c:460 profile.c:785 #, c-format msgid "attempt to use array `%s' in a scalar context" msgstr "försök att använda vektorn \"%s\" i skalärsammanhang" @@ -874,7 +887,7 @@ msgid "statement has no effect" msgstr "kommandot har ingen effekt" -#: eval.c:1029 eval.c:1999 +#: eval.c:1029 eval.c:2011 #, c-format msgid "can't use function name `%s' as variable or array" msgstr "kan inte använda funktionsnamnet \"%s\" som variabel eller vektor" @@ -884,7 +897,7 @@ msgid "reference to uninitialized argument `%s'" msgstr "referens till icke initierat argument \"%s\"" -#: eval.c:1051 eval.c:2008 +#: eval.c:1051 eval.c:2020 #, c-format msgid "reference to uninitialized variable `%s'" msgstr "referens till icke initierad variabel \"%s\"" @@ -904,7 +917,7 @@ msgid "division by zero attempted" msgstr "försökte dividera med noll" -#: eval.c:1409 profile.c:657 +#: eval.c:1409 profile.c:661 #, c-format msgid "illegal type (%s) in tree_eval" msgstr "otillåten typ (%s) i tree_eval" @@ -918,17 +931,17 @@ msgid "division by zero attempted in `%%='" msgstr "försökte dividera med noll i \"%%=\"" -#: eval.c:1859 +#: eval.c:1871 #, c-format msgid "function `%s' called with more arguments than declared" msgstr "funktionen \"%s\" anropad med fler argument än vad som deklarerats" -#: eval.c:1904 +#: eval.c:1916 #, c-format msgid "function `%s' not defined" msgstr "funktionen \"%s\" är inte definierad" -#: eval.c:1971 +#: eval.c:1983 #, c-format msgid "" "\n" @@ -939,47 +952,47 @@ "\t# Funktionsanropsstack:\n" "\n" -#: eval.c:1974 +#: eval.c:1986 #, c-format msgid "\t# -- main --\n" msgstr "\t# -- main --\n" -#: eval.c:2129 +#: eval.c:2141 msgid "attempt to field reference from non-numeric value" msgstr "försök att fältreferera från ickenumeriskt värde" -#: eval.c:2131 +#: eval.c:2143 msgid "attempt to reference from null string" msgstr "försök att referera från tom sträng" -#: eval.c:2137 +#: eval.c:2149 #, c-format msgid "attempt to access field %d" msgstr "försök att komma åt fält nummer %d" -#: eval.c:2158 eval.c:2165 profile.c:836 +#: eval.c:2170 eval.c:2177 profile.c:840 msgid "assignment is not allowed to result of builtin function" msgstr "det är inte tillåtet att tilldela resultatet från en inbyggd funktion" -#: eval.c:2229 +#: eval.c:2241 msgid "`IGNORECASE' is a gawk extension" msgstr "\"IGNORECASE\" är en gawk-utökning" -#: eval.c:2258 +#: eval.c:2270 msgid "`BINMODE' is a gawk extension" msgstr "\"BINMODE\" är en gawk-utökning" -#: eval.c:2316 +#: eval.c:2328 #, c-format msgid "BINMODE value `%s' is invalid, treated as 3" msgstr "" -#: eval.c:2406 +#: eval.c:2418 #, c-format msgid "bad `%sFMT' specification `%s'" msgstr "felaktig \"%sFMT\"-specifikation \"%s\"" -#: eval.c:2484 +#: eval.c:2496 msgid "turning off `--lint' due to assignment to `LINT'" msgstr "slår av \"--lint\" på grund av en tilldelning till \"LINT\"" @@ -1080,56 +1093,61 @@ msgid "old awk does not support regexps as value of `FS'" msgstr "gamla awk stöder inte reguljära uttryck som värden på \"FS\"" -#: getopt.c:570 getopt.c:586 +#: getopt.c:574 getopt.c:590 #, fuzzy, c-format msgid "%s: option '%s' is ambiguous\n" msgstr "%s: flaggan \"%s\" är tvetydig\n" -#: getopt.c:619 getopt.c:623 +#: getopt.c:623 getopt.c:627 #, fuzzy, c-format msgid "%s: option '--%s' doesn't allow an argument\n" msgstr "%s: flaggan \"--%s\" tillåter inte argument\n" -#: getopt.c:632 getopt.c:637 +#: getopt.c:636 getopt.c:641 #, fuzzy, c-format msgid "%s: option '%c%s' doesn't allow an argument\n" msgstr "%s: flaggan \"%c%s\" tillåter inte argument\n" -#: getopt.c:680 getopt.c:699 getopt.c:1002 getopt.c:1021 +#: getopt.c:684 getopt.c:703 #, fuzzy, c-format -msgid "%s: option '%s' requires an argument\n" +msgid "%s: option '--%s' requires an argument\n" msgstr "%s: flaggan \"%s\" kräver ett argument\n" -#: getopt.c:737 getopt.c:740 +#: getopt.c:741 getopt.c:744 #, fuzzy, c-format msgid "%s: unrecognized option '--%s'\n" msgstr "%s: okänd flagga \"--%s\"\n" -#: getopt.c:748 getopt.c:751 +#: getopt.c:752 getopt.c:755 #, fuzzy, c-format msgid "%s: unrecognized option '%c%s'\n" msgstr "%s: okänd flagga \"%c%s\"\n" -#: getopt.c:800 getopt.c:803 +#: getopt.c:804 getopt.c:807 #, fuzzy, c-format msgid "%s: invalid option -- '%c'\n" msgstr "%s: ogiltig flagga -- %c\n" -#: getopt.c:853 getopt.c:870 getopt.c:1073 getopt.c:1091 +#: getopt.c:857 getopt.c:874 getopt.c:1082 getopt.c:1100 #, fuzzy, c-format msgid "%s: option requires an argument -- '%c'\n" msgstr "%s: flaggan kräver ett argument -- %c\n" -#: getopt.c:923 getopt.c:939 +#: getopt.c:930 getopt.c:946 #, fuzzy, c-format msgid "%s: option '-W %s' is ambiguous\n" msgstr "%s: flaggan \"-W %s\" är tvetydig\n" -#: getopt.c:963 getopt.c:981 +#: getopt.c:970 getopt.c:988 #, fuzzy, c-format msgid "%s: option '-W %s' doesn't allow an argument\n" msgstr "%s: flaggan \"-W %s\" tillåter inte något argument\n" +#: getopt.c:1009 getopt.c:1027 +#, fuzzy, c-format +msgid "%s: option '-W %s' requires an argument\n" +msgstr "%s: flaggan \"%s\" kräver ett argument\n" + #: io.c:322 io.c:352 #, c-format msgid "cannot open file `%s' for reading (%s)" @@ -1177,439 +1195,434 @@ msgid "can't open pipe `%s' for input (%s)" msgstr "kan inte öppna röret \"%s\" för inmatning (%s)" -#: io.c:712 -#, c-format -msgid "can't open two way socket `%s' for input/output (%s)" -msgstr "kan inte öppna tvåvägsuttaget \"%s\" för in-/utmatning (%s)" - -#: io.c:716 +#: io.c:717 #, c-format msgid "can't open two way pipe `%s' for input/output (%s)" msgstr "kan inte öppna tvåvägsröret \"%s\" för in-/utmatning (%s)" -#: io.c:793 +#: io.c:795 #, c-format msgid "can't redirect from `%s' (%s)" msgstr "kan inte dirigera om från \"%s\" (%s)" -#: io.c:796 +#: io.c:798 #, c-format msgid "can't redirect to `%s' (%s)" msgstr "kan inte dirigera om till \"%s\" (%s)" -#: io.c:849 +#: io.c:851 msgid "" "reached system limit for open files: starting to multiplex file descriptors" msgstr "" "nådde systembegränsningen för öppna filer: börjar multiplexa fildeskriptorer" -#: io.c:865 +#: io.c:867 #, c-format msgid "close of `%s' failed (%s)." msgstr "stängning av \"%s\" misslyckades (%s)" -#: io.c:873 +#: io.c:875 msgid "too many pipes or input files open" msgstr "för många rör eller indatafiler öppna" -#: io.c:896 +#: io.c:898 msgid "close: second argument must be `to' or `from'" msgstr "close: andra argumentet måste vara \"to\" eller \"from\"" -#: io.c:910 +#: io.c:912 #, c-format msgid "close: `%.*s' is not an open file, pipe or co-process" msgstr "close: \"%.*s\" är inte en öppen fil, rör eller koprocess" -#: io.c:915 +#: io.c:917 msgid "close of redirection that was never opened" msgstr "stängning av omdirigering som aldrig öppnades" -#: io.c:1012 +#: io.c:1014 #, c-format msgid "close: redirection `%s' not opened with `|&', second argument ignored" msgstr "" "close: omdirigeringen \"%s\" öppnades inte med \"|&\", andra argumentet " "ignorerat" -#: io.c:1028 +#: io.c:1030 #, c-format msgid "failure status (%d) on pipe close of `%s' (%s)" msgstr "felstatus (%d) från rörstängning av \"%s\" (%s)" -#: io.c:1031 +#: io.c:1033 #, c-format msgid "failure status (%d) on file close of `%s' (%s)" msgstr "felstatus (%d) från filstängning av \"%s\" (%s)" -#: io.c:1051 +#: io.c:1053 #, c-format msgid "no explicit close of socket `%s' provided" msgstr "ingen explicit stängning av uttaget \"%s\" tillhandahållen" -#: io.c:1054 +#: io.c:1056 #, c-format msgid "no explicit close of co-process `%s' provided" msgstr "ingen explicit stängning av koprocessen \"%s\" tillhandahållen" -#: io.c:1057 +#: io.c:1059 #, c-format msgid "no explicit close of pipe `%s' provided" msgstr "ingen explicit stängning av röret \"%s\" tillhandahållen" -#: io.c:1060 +#: io.c:1062 #, c-format msgid "no explicit close of file `%s' provided" msgstr "ingen explicit stängning av filen \"%s\" tillhandahållen" -#: io.c:1088 io.c:1143 main.c:776 main.c:818 +#: io.c:1090 io.c:1145 main.c:781 main.c:823 #, c-format msgid "error writing standard output (%s)" msgstr "fel vid skrivning till standard ut (%s)" -#: io.c:1092 io.c:1148 +#: io.c:1094 io.c:1150 #, c-format msgid "error writing standard error (%s)" msgstr "fel vid skrivning till standard fel (%s)" -#: io.c:1100 +#: io.c:1102 #, c-format msgid "pipe flush of `%s' failed (%s)." msgstr "rörspolning av \"%s\" misslyckades (%s)" -#: io.c:1103 +#: io.c:1105 #, c-format msgid "co-process flush of pipe to `%s' failed (%s)." msgstr "koprocesspolning av röret till \"%s\" misslyckades (%s)" -#: io.c:1106 +#: io.c:1108 #, c-format msgid "file flush of `%s' failed (%s)." msgstr "filspolning av \"%s\" misslyckades (%s)" -#: io.c:1220 +#: io.c:1222 #, c-format msgid "local port %s invalid in `/inet'" msgstr "lokal port %s ogiltig i \"/inet\"" -#: io.c:1237 +#: io.c:1239 #, c-format msgid "remote host and port information (%s, %s) invalid" msgstr "ogiltig information (%s, %s) för fjärrvärd och fjärrport" -#: io.c:1272 +#: io.c:1274 msgid "/inet/raw client not ready yet, sorry" msgstr "/inet/raw-klient är tyvärr inte klar än" -#: io.c:1275 io.c:1311 +#: io.c:1277 io.c:1313 msgid "only root may use `/inet/raw'." msgstr "bara root kan använda \"/inet/raw\"." -#: io.c:1309 +#: io.c:1311 msgid "/inet/raw server not ready yet, sorry" msgstr "/inet/raw-server inte redo än, ledsen" -#: io.c:1407 +#: io.c:1409 #, c-format msgid "no (known) protocol supplied in special filename `%s'" msgstr "" "inget (känt) protokoll tillhandahållet i det speciella filnamnet \"%s\"" -#: io.c:1421 +#: io.c:1423 #, c-format msgid "special file name `%s' is incomplete" msgstr "speciellt filnamn \"%s\" är ofullständigt" -#: io.c:1436 +#: io.c:1438 msgid "must supply a remote hostname to `/inet'" msgstr "måste tillhandahålla ett fjärrdatornamn till \"/inet\"" -#: io.c:1454 +#: io.c:1456 msgid "must supply a remote port to `/inet'" msgstr "måste tillhandahålla en fjärrport till \"/inet\"" -#: io.c:1485 +#: io.c:1502 msgid "TCP/IP communications are not supported" msgstr "TCP/IP-kommunikation stöds inte" -#: io.c:1494 +#: io.c:1511 #, c-format msgid "file `%s' is a directory" msgstr "filen \"%s\" är en katalog" -#: io.c:1555 +#: io.c:1572 #, c-format msgid "use `PROCINFO[\"%s\"]' instead of `%s'" msgstr "använd \"PROCINFO[\"%s\"]\" istället för \"%s\"" -#: io.c:1593 +#: io.c:1610 msgid "use `PROCINFO[...]' instead of `/dev/user'" msgstr "använd \"PROCINFO[...]\" istället för \"dev/user\"" -#: io.c:1658 io.c:1853 +#: io.c:1675 io.c:1872 #, c-format msgid "could not open `%s', mode `%s'" msgstr "kunde inte öppna \"%s\", läge \"%s\"" -#: io.c:1904 +#: io.c:1923 #, c-format msgid "close of master pty failed (%s)" msgstr "stängning av huvudpty misslyckades (%s)" -#: io.c:1906 io.c:2058 io.c:2209 +#: io.c:1925 io.c:2077 io.c:2228 #, c-format msgid "close of stdout in child failed (%s)" msgstr "stängning av standard ut i barnet misslyckades (%s)" -#: io.c:1909 +#: io.c:1928 #, c-format msgid "moving slave pty to stdout in child failed (dup: %s)" msgstr "flyttandet av slavpty till standard ut i barnet misslyckades (dup: %s)" -#: io.c:1911 io.c:2063 +#: io.c:1930 io.c:2082 #, c-format msgid "close of stdin in child failed (%s)" msgstr "stängning av standard in i barnet misslyckades (%s)" -#: io.c:1914 +#: io.c:1933 #, c-format msgid "moving slave pty to stdin in child failed (dup: %s)" msgstr "flyttandet av slavpty till standard in i barnet misslyckades (dup: %s)" -#: io.c:1916 io.c:1935 +#: io.c:1935 io.c:1954 #, c-format msgid "close of slave pty failed (%s)" msgstr "stängning av slavpty misslyckades (%s)" -#: io.c:2009 io.c:2061 io.c:2190 io.c:2212 +#: io.c:2028 io.c:2080 io.c:2209 io.c:2231 #, c-format msgid "moving pipe to stdout in child failed (dup: %s)" msgstr "flyttande av rör till standard ut i barnet misslyckades (dup: %s)" -#: io.c:2013 io.c:2066 +#: io.c:2032 io.c:2085 #, c-format msgid "moving pipe to stdin in child failed (dup: %s)" msgstr "flyttande av rör till standard in i barnet misslyckades (dup: %s)" -#: io.c:2030 io.c:2203 +#: io.c:2049 io.c:2222 msgid "restoring stdout in parent process failed\n" msgstr "återställande av standard ut i förälderprocessen misslyckades\n" -#: io.c:2035 +#: io.c:2054 msgid "restoring stdin in parent process failed\n" msgstr "återställande av standard in i förälderprocessen misslyckades\n" -#: io.c:2069 io.c:2214 io.c:2225 +#: io.c:2088 io.c:2233 io.c:2244 #, c-format msgid "close of pipe failed (%s)" msgstr "stängning av röret misslyckades (%s)" -#: io.c:2114 +#: io.c:2133 msgid "`|&' not supported" msgstr "\"|&\" stöds inte" -#: io.c:2180 +#: io.c:2199 #, c-format msgid "cannot open pipe `%s' (%s)" msgstr "kan inte öppna röret \"%s\" (%s)" -#: io.c:2221 +#: io.c:2240 #, c-format msgid "cannot create child process for `%s' (fork: %s)" msgstr "kan inte skapa barnprocess för \"%s\" (fork: %s)" -#: io.c:2603 +#: io.c:2622 #, c-format msgid "data file `%s' is empty" msgstr "datafilen \"%s\" är tom" -#: io.c:2644 io.c:2652 +#: io.c:2663 io.c:2671 msgid "could not allocate more input memory" msgstr "kunde inte allokera mer indataminne" -#: io.c:3020 io.c:3093 +#: io.c:3039 io.c:3112 #, c-format msgid "error reading input file `%s': %s" msgstr "fel vid läsning av indatafilen \"%s\": %s" -#: io.c:3218 +#: io.c:3237 msgid "multicharacter value of `RS' is a gawk extension" msgstr "flerteckensvärdet av \"RS\" är en gawk-utökning" -#: main.c:304 +#: main.c:306 msgid "out of memory" msgstr "slut på minne" -#: main.c:373 +#: main.c:374 msgid "`-m[fr]' option irrelevant in gawk" msgstr "\"-m[fr]\"-flaggan är irrelevant i gawk" -#: main.c:375 +#: main.c:376 msgid "-m option usage: `-m[fr] nnn'" msgstr "-m-flaggans användning: \"-m[fr] nnn\"" -#: main.c:392 +#: main.c:393 #, c-format msgid "%s: option `-W %s' unrecognized, ignored\n" msgstr "%s: flaggan \"-W %s\" okänd, ignorerad\n" -#: main.c:433 +#: main.c:434 msgid "empty argument to `--source' ignored" msgstr "tomt argument till \"--source\" ignorerat" -#: main.c:487 +#: main.c:488 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: flaggan kräver ett argument -- %c\n" -#: main.c:506 +#: main.c:509 msgid "environment variable `POSIXLY_CORRECT' set: turning on `--posix'" msgstr "miljövariabeln \"POSIXLY_CORRECT\" satt: slår på \"--posix\"" -#: main.c:512 +#: main.c:515 msgid "`--posix' overrides `--traditional'" msgstr "\"--posix\" åsidosätter \"--traditional\"" -#: main.c:523 +#: main.c:526 msgid "`--posix'/`--traditional' overrides `--non-decimal-data'" msgstr "\"--posix\"/\"--traditional\" åsidosätter \"--non-decimal-data\"" -#: main.c:527 +#: main.c:530 #, c-format msgid "running %s setuid root may be a security problem" msgstr "att köra %s setuid root kan vara ett säkerhetsproblem" -#: main.c:568 +#: main.c:571 #, c-format msgid "can't set binary mode on stdin (%s)" msgstr "kan inte sätta binärläge på standard in (%s)" -#: main.c:571 +#: main.c:574 #, c-format msgid "can't set binary mode on stdout (%s)" msgstr "kan inte sätta binärläge på standard ut (%s)" -#: main.c:573 +#: main.c:576 #, c-format msgid "can't set binary mode on stderr (%s)" msgstr "kan inte sätta binärläge på standard fel (%s)" -#: main.c:612 +#: main.c:617 msgid "no program text at all!" msgstr "ingen programtext alls!" -#: main.c:716 +#: main.c:721 #, c-format msgid "Usage: %s [POSIX or GNU style options] -f progfile [--] file ...\n" msgstr "" "Användning: %s [POSIX- eller GNU-stilsflaggor] -f progfil [--] fil ...\n" -#: main.c:718 +#: main.c:723 #, c-format msgid "Usage: %s [POSIX or GNU style options] [--] %cprogram%c file ...\n" msgstr "Användning: %s [POSIX- eller GNU-stilsflaggor] %cprogram%c fil ...\n" -#: main.c:723 +#: main.c:728 msgid "POSIX options:\t\tGNU long options:\n" msgstr "POSIX-flaggor:\t\tGNU långa flaggor:\n" -#: main.c:724 +#: main.c:729 msgid "\t-f progfile\t\t--file=progfile\n" msgstr "\t-f progfil\t\t--file=progfil\n" -#: main.c:725 +#: main.c:730 msgid "\t-F fs\t\t\t--field-separator=fs\n" msgstr "\t-F fs\t\t\t--field-separator=fs\n" -#: main.c:726 +#: main.c:731 msgid "\t-v var=val\t\t--assign=var=val\n" msgstr "\t-v var=värde\t\t--assign=var=värde\n" -#: main.c:727 +#: main.c:732 msgid "\t-m[fr] val\n" msgstr "\t-m[fr] värde\n" -#: main.c:728 +#: main.c:733 msgid "\t-O\t\t\t--optimize\n" msgstr "" -#: main.c:729 +#: main.c:734 msgid "\t-W compat\t\t--compat\n" msgstr "\t-W compat\t\t--compat\n" -#: main.c:730 +#: main.c:735 msgid "\t-W copyleft\t\t--copyleft\n" msgstr "\t-W copyleft\t\t--copyleft\n" -#: main.c:731 +#: main.c:736 msgid "\t-W copyright\t\t--copyright\n" msgstr "\t-W copyright\t\t--copyright\n" -#: main.c:732 +#: main.c:737 msgid "\t-W dump-variables[=file]\t--dump-variables[=file]\n" msgstr "\t-W dump-variables[=fil]\t--dump-variables[=fil]\n" -#: main.c:733 +#: main.c:738 msgid "\t-W exec=file\t\t--exec=file\n" msgstr "\t-W exec=fil\t\t--exec=fil\n" -#: main.c:734 +#: main.c:739 msgid "\t-W gen-po\t\t--gen-po\n" msgstr "\t-W gen-po\t\t--gen-po\n" -#: main.c:735 +#: main.c:740 msgid "\t-W help\t\t\t--help\n" msgstr "\t-W help\t\t\t--help\n" -#: main.c:736 +#: main.c:741 msgid "\t-W lint[=fatal]\t\t--lint[=fatal]\n" msgstr "\t-W lint[=fatal]\t\t--lint[=fatal]\n" -#: main.c:737 +#: main.c:742 msgid "\t-W lint-old\t\t--lint-old\n" msgstr "\t-W lint-old\t\t--lint-old\n" -#: main.c:738 +#: main.c:743 msgid "\t-W non-decimal-data\t--non-decimal-data\n" msgstr "\t-W non-decimal-data\t--non-decimal-data\n" -#: main.c:740 +#: main.c:745 msgid "\t-W nostalgia\t\t--nostalgia\n" msgstr "\t-W nostalgia\t\t--nostalgia\n" -#: main.c:743 +#: main.c:748 msgid "\t-W parsedebug\t\t--parsedebug\n" msgstr "\t-W parsedebug\t\t--parsedebug\n" -#: main.c:745 +#: main.c:750 msgid "\t-W profile[=file]\t--profile[=file]\n" msgstr "\t-W profile[=fil]\t--profile[=fil]\n" -#: main.c:746 +#: main.c:751 msgid "\t-W posix\t\t--posix\n" msgstr "\t-W posix\t\t--posix\n" -#: main.c:747 +#: main.c:752 msgid "\t-W re-interval\t\t--re-interval\n" msgstr "\t-W re-interval\t\t--re-interval\n" -#: main.c:748 +#: main.c:753 msgid "\t-W source=program-text\t--source=program-text\n" msgstr "\t-W source=programtext\t--source=programtext\n" -#: main.c:749 +#: main.c:754 msgid "\t-W traditional\t\t--traditional\n" msgstr "\t-W traditional\t\t--traditional\n" -#: main.c:750 +#: main.c:755 msgid "\t-W usage\t\t--usage\n" msgstr "\t-W usage\t\t--usage\n" -#: main.c:751 +#: main.c:756 msgid "\t-W use-lc-numeric\t--use-lc-numeric\n" msgstr "\t-W use-lc-numeric\t--use-lc-numeric\n" -#: main.c:752 +#: main.c:757 msgid "\t-W version\t\t--version\n" msgstr "\t-W version\t\t--version\n" @@ -1618,7 +1631,7 @@ #. for this application. Please add _another line_ with the #. address for translation bugs. #. no-wrap -#: main.c:761 +#: main.c:766 msgid "" "\n" "To report bugs, see node `Bugs' in `gawk.info', which is\n" @@ -1632,7 +1645,7 @@ "Rapportera synpunkter på översättningen till .\n" "\n" -#: main.c:765 +#: main.c:770 msgid "" "gawk is a pattern scanning and processing language.\n" "By default it reads standard input and writes standard output.\n" @@ -1642,7 +1655,7 @@ "Normalt läser det från standard in och skriver till standard ut.\n" "\n" -#: main.c:769 +#: main.c:774 msgid "" "Examples:\n" "\tgawk '{ sum += $1 }; END { print sum }' file\n" @@ -1652,7 +1665,7 @@ "\tgawk '{ sum += $1 }; END { print sum }' fil\n" "\tgawk -F: '{print $1 }' /etc/passwd\n" -#: main.c:789 +#: main.c:794 #, c-format msgid "" "Copyright (C) 1989, 1991-%d Free Software Foundation.\n" @@ -1671,7 +1684,7 @@ "någon senare version.\n" "\n" -#: main.c:797 +#: main.c:802 msgid "" "This program is distributed in the hope that it will be useful,\n" "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" @@ -1685,7 +1698,7 @@ "General Public License för ytterligare information.\n" "\n" -#: main.c:808 +#: main.c:813 msgid "" "You should have received a copy of the GNU General Public License\n" "along with this program. If not, see http://www.gnu.org/licenses/.\n" @@ -1693,56 +1706,56 @@ "Du bör ha fått en kopia av GNU General Public License tillsammans\n" "med detta program. Om inte, se http//www.gnu.org/liceences/.\n" -#: main.c:843 +#: main.c:848 msgid "-Ft does not set FS to tab in POSIX awk" msgstr "-Ft sätter inte FS till tab i POSIX-awk" -#: main.c:1117 +#: main.c:1122 #, c-format msgid "" "%s: `%s' argument to `-v' not in `var=value' form\n" "\n" msgstr "%s: Argumentet \"%s\" till \"-v\" är inte på formatet \"var=värde\"\n" -#: main.c:1137 +#: main.c:1142 #, c-format msgid "`%s' is not a legal variable name" msgstr "\"%s\" är inte ett giltigt variabelnamn" -#: main.c:1140 +#: main.c:1145 #, c-format msgid "`%s' is not a variable name, looking for file `%s=%s'" msgstr "\"%s\" är inte ett variabelnamn, letar efter filen \"%s=%s\"" -#: main.c:1179 +#: main.c:1184 msgid "floating point exception" msgstr "flyttalsundantag" -#: main.c:1186 +#: main.c:1191 msgid "fatal error: internal error" msgstr "ödesdigert fel: internt fel" -#: main.c:1200 +#: main.c:1206 #, fuzzy msgid "fatal error: internal error: segfault" msgstr "ödesdigert fel: internt fel" -#: main.c:1212 +#: main.c:1218 #, fuzzy msgid "fatal error: internal error: stack overflow" msgstr "ödesdigert fel: internt fel" -#: main.c:1261 +#: main.c:1268 #, c-format msgid "no pre-opened fd %d" msgstr "ingen föröppnad fd %d" -#: main.c:1268 +#: main.c:1275 #, c-format msgid "could not pre-open /dev/null for fd %d" msgstr "kunde inte föröppna /dev/null för fd %d" -#: main.c:1291 main.c:1300 +#: main.c:1298 main.c:1307 #, c-format msgid "could not find groups: %s" msgstr "kunde inte hitta grupper: %s" @@ -1768,31 +1781,31 @@ msgid "can't convert string to float" msgstr "kan inte konvertera en sträng till flyttal" -#: node.c:462 +#: node.c:465 msgid "backslash at end of string" msgstr "omvänt snedstreck i slutet av strängen" -#: node.c:606 +#: node.c:609 #, c-format msgid "old awk does not support the `\\%c' escape sequence" msgstr "gamla awk stöder inte kontrollsekvensen \"\\%c\"" -#: node.c:657 +#: node.c:660 msgid "POSIX does not allow `\\x' escapes" msgstr "POSIX tillåter inte \"\\x\"-kontrollsekvenser" -#: node.c:663 +#: node.c:666 msgid "no hex digits in `\\x' escape sequence" msgstr "inga hexadecimala siffror i \"\\x\"-kontrollsekvenser" -#: node.c:685 +#: node.c:688 #, c-format msgid "" "hex escape \\x%.*s of %d characters probably not interpreted the way you " "expect" msgstr "" -#: node.c:700 +#: node.c:703 #, c-format msgid "escape sequence `\\%c' treated as plain `%c'" msgstr "kontrollsekvensen \"\\%c\" behandlad som bara \"%c\"" @@ -1802,32 +1815,31 @@ msgid "%s %s `%s': could not set close-on-exec: (fcntl: %s)" msgstr "%s %s \"%s\": kunde inte sätta stäng-vid-exec (fcntl: %s)" -#: profile.c:93 +#: profile.c:94 #, c-format msgid "could not open `%s' for writing: %s" msgstr "kunde inte öppna \"%s\" för skrivning: %s" -#: profile.c:453 +#: profile.c:457 #, c-format msgid "internal error: %s with null vname" msgstr "internt fel: %s med null vname" -#: profile.c:517 -#, fuzzy +#: profile.c:521 msgid "# treated internally as `delete'" msgstr "# behandlad internt som \"delete\"" -#: profile.c:1069 +#: profile.c:1073 #, c-format msgid "# this is a dynamically loaded extension function" msgstr "# detta är en dynamiskt inläst utökningsfunktion" -#: profile.c:1100 +#: profile.c:1104 #, c-format msgid "\t# gawk profile, created %s\n" msgstr "\t# gawkprofil, skapad %s\n" -#: profile.c:1103 +#: profile.c:1107 #, c-format msgid "" "\t# BEGIN block(s)\n" @@ -1836,7 +1848,7 @@ "\t# BEGIN-block\n" "\n" -#: profile.c:1113 +#: profile.c:1117 #, c-format msgid "" "\t# Rule(s)\n" @@ -1845,7 +1857,7 @@ "\t# Regel/regler\n" "\n" -#: profile.c:1119 +#: profile.c:1123 #, c-format msgid "" "\t# END block(s)\n" @@ -1854,7 +1866,7 @@ "\t# END-block\n" "\n" -#: profile.c:1139 +#: profile.c:1143 #, c-format msgid "" "\n" @@ -1863,91 +1875,94 @@ "\n" "\t# Funktioner, listade alfabetiskt\n" -#: profile.c:1400 +#: profile.c:1405 #, c-format msgid "unexpected type %s in prec_level" msgstr "oväntad typ %s i prec_level" -#: profile.c:1500 +#: profile.c:1527 #, fuzzy, c-format msgid "Unknown node type %s in pp_var" msgstr "okänd nodtyp %d" -#: regcomp.c:133 +#: regcomp.c:132 msgid "Success" msgstr "Lyckades" -#: regcomp.c:136 +#: regcomp.c:135 msgid "No match" msgstr "Misslyckades" -#: regcomp.c:139 +#: regcomp.c:138 msgid "Invalid regular expression" msgstr "Ogiltigt reguljärt uttryck" -#: regcomp.c:142 +#: regcomp.c:141 msgid "Invalid collation character" msgstr "Ogiltigt kollationeringstecken" -#: regcomp.c:145 +#: regcomp.c:144 msgid "Invalid character class name" msgstr "Ogiltigt teckenklassnamn" -#: regcomp.c:148 +#: regcomp.c:147 msgid "Trailing backslash" msgstr "Eftersläpande omvänt snedstreck" -#: regcomp.c:151 +#: regcomp.c:150 msgid "Invalid back reference" msgstr "Ogiltig bakåtrerefens" -#: regcomp.c:154 +#: regcomp.c:153 msgid "Unmatched [ or [^" msgstr "Obalanserad [ eller [^" -#: regcomp.c:157 +#: regcomp.c:156 msgid "Unmatched ( or \\(" msgstr "Obalanserad ( eller \\(" -#: regcomp.c:160 +#: regcomp.c:159 msgid "Unmatched \\{" msgstr "Obalanserad \\{" -#: regcomp.c:163 +#: regcomp.c:162 msgid "Invalid content of \\{\\}" msgstr "Ogiltigt innehåll i \\{\\}" -#: regcomp.c:166 +#: regcomp.c:165 msgid "Invalid range end" msgstr "Ogiltigt omfångsslut" -#: regcomp.c:169 +#: regcomp.c:168 msgid "Memory exhausted" msgstr "Minnet slut" -#: regcomp.c:172 +#: regcomp.c:171 msgid "Invalid preceding regular expression" msgstr "Ogiltigt föregående reguljärt uttryck" -#: regcomp.c:175 +#: regcomp.c:174 msgid "Premature end of regular expression" msgstr "För tidigt slut på reguljärt uttryck" -#: regcomp.c:178 +#: regcomp.c:177 msgid "Regular expression too big" msgstr "Reguljärt uttryck för stort" -#: regcomp.c:181 +#: regcomp.c:180 msgid "Unmatched ) or \\)" msgstr "Obalanserad ) eller \\)" -#: regcomp.c:700 +#: regcomp.c:699 msgid "No previous regular expression" msgstr "Inget föregående reguljärt uttryck" #~ msgid "%s: illegal option -- %c\n" #~ msgstr "%s: otillåten flagga -- %c\n" +#~ msgid "can't open two way socket `%s' for input/output (%s)" +#~ msgstr "kan inte öppna tvåvägsuttaget \"%s\" för in-/utmatning (%s)" + #~ msgid "delete: illegal use of variable `%s' as array" #~ msgstr "delete: otillåten användning av variabeln \"%s\" som vektor" diff -urN gawk-3.1.7/po/tr.po gawk-3.1.8/po/tr.po --- gawk-3.1.7/po/tr.po 2009-07-21 23:23:44.000000000 +0300 +++ gawk-3.1.8/po/tr.po 2010-05-06 20:57:37.000000000 +0300 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: gawk 3.1.5f\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2009-07-21 23:23+0300\n" +"POT-Creation-Date: 2010-05-06 20:57+0300\n" "PO-Revision-Date: 2007-05-19 19:32+0300\n" "Last-Translator: Nilgün Belma Bugüner \n" "Language-Team: Turkish \n" @@ -35,42 +35,42 @@ msgid "from %s" msgstr "%s'den" -#: array.c:514 -#, c-format -msgid "reference to uninitialized element `%s[\"%s\"]'" +#: array.c:513 +#, fuzzy, c-format +msgid "reference to uninitialized element `%s[\"%.*s\"]'" msgstr "ilklendirilmemiÅŸ öğeye ( %s[\"%s\"] ) baÅŸvuru yapılıyor" -#: array.c:520 +#: array.c:519 #, c-format msgid "subscript of array `%s' is null string" msgstr "dizinin indisi `%s' bir null dizge" -#: array.c:624 +#: array.c:623 #, c-format msgid "delete: index `%s' not in array `%s'" msgstr "delete: `%s' indeksi `%s' dizisinde deÄŸil" -#: array.c:793 +#: array.c:792 #, c-format msgid "%s: empty (null)\n" msgstr "%s: boÅŸ (null)\n" -#: array.c:798 +#: array.c:797 #, c-format msgid "%s: empty (zero)\n" msgstr "%s: boÅŸ (sıfır)\n" -#: array.c:802 +#: array.c:801 #, c-format msgid "%s: table_size = %d, array_size = %d\n" msgstr "%s: tablo_uzunluÄŸu = %d, dizi_indisi = %d\n" -#: array.c:831 +#: array.c:830 #, c-format msgid "%s: is parameter\n" msgstr "%s: parametredir\n" -#: array.c:836 +#: array.c:835 #, c-format msgid "%s: array_ref to %s\n" msgstr "%s: %s için dizi baÅŸvurusu\n" @@ -344,7 +344,7 @@ msgid "could not open `%s' for writing (%s)" msgstr "`%s' yazmak için açılamadı (%s)" -#: awkgram.y:2748 profile.c:95 +#: awkgram.y:2748 profile.c:96 msgid "sending profile to standard error" msgstr "profil standart hataya gönderiliyor" @@ -400,7 +400,12 @@ "`%s' iÅŸlevi `(' ile isim arasında boÅŸlukla çaÄŸrılmış,\n" "ya da bir deÄŸiÅŸken veya bir dizi olarak kullanılmış" -#: awkgram.y:3667 eval.c:1394 +#: awkgram.y:3664 +#, fuzzy +msgid "division by zero attempted in `/'" +msgstr "`/='de sıfırla bölme hatası" + +#: awkgram.y:3669 eval.c:1394 #, c-format msgid "division by zero attempted in `%%'" msgstr "`%%'de sıfırla bölme hatası" @@ -461,169 +466,173 @@ msgid "`length(array)' is a gawk extension" msgstr "`length(array)' bir gawk uzantısıdır" -#: builtin.c:473 +#: builtin.c:471 +msgid "length: untyped parameter argument will be forced to scalar" +msgstr "" + +#: builtin.c:480 msgid "length: untyped argument will be forced to scalar" msgstr "" -#: builtin.c:477 +#: builtin.c:484 msgid "length: received non-string argument" msgstr "length: dizge olmayan argüman alındı" -#: builtin.c:508 +#: builtin.c:515 msgid "log: received non-numeric argument" msgstr "log: sayısal olmayan argüman alındı" -#: builtin.c:511 +#: builtin.c:518 #, c-format msgid "log: received negative argument %g" msgstr "log: negatif argüman %g alındı" -#: builtin.c:719 builtin.c:722 +#: builtin.c:726 builtin.c:729 msgid "must use `count$' on all formats or none" msgstr "tüm biçemlerde ya `count$' kullanmalısınız ya da hiçbir ÅŸey" -#: builtin.c:783 +#: builtin.c:790 #, c-format msgid "field width is ignored for `%%%%' specifier" msgstr "" -#: builtin.c:785 +#: builtin.c:792 #, c-format msgid "precision is ignored for `%%%%' specifier" msgstr "" -#: builtin.c:787 +#: builtin.c:794 #, c-format msgid "field width and precision are ignored for `%%%%' specifier" msgstr "" -#: builtin.c:838 +#: builtin.c:845 msgid "`$' is not permitted in awk formats" msgstr "`$' awk biçemlerde kullanılmaz" -#: builtin.c:844 +#: builtin.c:851 msgid "arg count with `$' must be > 0" msgstr "`$' ile birlikte verilen argüman sayısı > 0 olmalıdır" -#: builtin.c:846 +#: builtin.c:853 #, c-format msgid "arg count %ld greater than total number of supplied arguments" msgstr "argüman sayısı %ld saÄŸlanmış toplam argüman sayısından büyük" -#: builtin.c:848 +#: builtin.c:855 msgid "`$' not permitted after period in format" msgstr "`$' biçem içinde noktadan sonra kullanılmaz" -#: builtin.c:861 +#: builtin.c:868 msgid "no `$' supplied for positional field width or precision" msgstr "konumsal alan geniÅŸliÄŸi ya da duyarlığı için `$' kullanılmamış" -#: builtin.c:927 +#: builtin.c:938 msgid "`l' is meaningless in awk formats; ignored" msgstr "`l' awk biçemlerde anlamsız; yoksayıldı" -#: builtin.c:931 +#: builtin.c:942 msgid "`l' is not permitted in POSIX awk formats" msgstr "`l' POSIX awk biçemlerde kullanılmaz" -#: builtin.c:942 +#: builtin.c:953 msgid "`L' is meaningless in awk formats; ignored" msgstr "`L' awk biçemlerde anlamsız; yoksayıldı" -#: builtin.c:946 +#: builtin.c:957 msgid "`L' is not permitted in POSIX awk formats" msgstr "`L' POSIX awk biçemlerde kullanılmaz" -#: builtin.c:957 +#: builtin.c:968 msgid "`h' is meaningless in awk formats; ignored" msgstr "`h' awk biçemlerde anlamsız; yoksayıldı" -#: builtin.c:961 +#: builtin.c:972 msgid "`h' is not permitted in POSIX awk formats" msgstr "`h' POSIX awk biçemlerde kullanılmaz" -#: builtin.c:1236 +#: builtin.c:1252 #, c-format msgid "[s]printf: value %g is out of range for `%%%c' format" msgstr "[s]printf: %g deÄŸeri `%%%c' biçimi için kapsamdışı" -#: builtin.c:1316 +#: builtin.c:1332 #, c-format msgid "ignoring unknown format specifier character `%c': no argument converted" msgstr "" -#: builtin.c:1322 +#: builtin.c:1338 msgid "not enough arguments to satisfy format string" msgstr "biçem dizgesini oluÅŸturacak yeterli argüman yok" -#: builtin.c:1324 +#: builtin.c:1340 msgid "^ ran out for this one" msgstr "bir bunun için ^ tükendi" -#: builtin.c:1330 +#: builtin.c:1346 msgid "[s]printf: format specifier does not have control letter" msgstr "[s]printf: biçem belirteci denetim karakteri içermiyor" -#: builtin.c:1333 +#: builtin.c:1349 msgid "too many arguments supplied for format string" msgstr "biçem dizgesi için çok fazla argüman saÄŸlanmış" -#: builtin.c:1408 builtin.c:1411 +#: builtin.c:1424 builtin.c:1427 msgid "printf: no arguments" msgstr "printf: argüman yok" -#: builtin.c:1435 +#: builtin.c:1451 msgid "sqrt: received non-numeric argument" msgstr "sqrt: sayısal olmayan argüman alındı" -#: builtin.c:1439 +#: builtin.c:1455 #, c-format msgid "sqrt: called with negative argument %g" msgstr "sqrt: negatif argüman %g ile çaÄŸrıldı" -#: builtin.c:1463 +#: builtin.c:1479 #, c-format msgid "substr: start index %g is invalid, using 1" msgstr "substr: baÅŸlangıç indeksi olarak %g geçersiz, 1 kullanılıyor" -#: builtin.c:1468 +#: builtin.c:1484 #, c-format msgid "substr: non-integer start index %g will be truncated" msgstr "" "substr: tamsayı olmayan baÅŸlangıç indeksi %g den ondalık kısım çıkarılacak" -#: builtin.c:1494 +#: builtin.c:1510 #, c-format msgid "substr: length %g is not >= 1" msgstr "substr: uzunluk %g >= 1 deÄŸil" -#: builtin.c:1496 +#: builtin.c:1512 #, c-format msgid "substr: length %g is not >= 0" msgstr "substr: uzunluk %g => 0 deÄŸil" -#: builtin.c:1503 +#: builtin.c:1519 #, c-format msgid "substr: non-integer length %g will be truncated" msgstr "substr: tamsayı olmayan uzunluk %g den ondalık kısım çıkarılacak" -#: builtin.c:1508 +#: builtin.c:1524 #, c-format msgid "substr: length %g too big for string indexing, truncating to %g" msgstr "" "substr: dizge indislemesi için uzunluk olarak %g çok fazla, %g den sonrası " "gözardı ediliyor" -#: builtin.c:1520 +#: builtin.c:1536 msgid "substr: source string is zero length" msgstr "substr: kaynak dizge sıfır uzunlukta" -#: builtin.c:1536 +#: builtin.c:1552 #, c-format msgid "substr: start index %g is past end of string" msgstr "substr: baÅŸlangıç indisi %g dizgenin sonundan sonra" -#: builtin.c:1544 +#: builtin.c:1560 #, c-format msgid "" "substr: length %g at start index %g exceeds length of first argument (%lu)" @@ -631,182 +640,186 @@ "substr: uzunluk %g, %g baÅŸlangıç indisinde ilk argümanın uzunluÄŸunu (%lu) " "aÅŸar" -#: builtin.c:1621 +#: builtin.c:1637 msgid "strftime: received non-string first argument" msgstr "strftime: ilk argüman dizge olmayan türde alındı" -#: builtin.c:1627 +#: builtin.c:1643 msgid "strftime: received empty format string" msgstr "strftime: boÅŸ biçem dizgesi alındı" -#: builtin.c:1636 +#: builtin.c:1652 msgid "strftime: received non-numeric second argument" msgstr "strftime: ikinci argüman sayısal olmayan türde alındı" -#: builtin.c:1713 +#: builtin.c:1729 msgid "mktime: received non-string argument" msgstr "mktime: dizge olmayan argüman alındı" -#: builtin.c:1758 +#: builtin.c:1746 +msgid "mktime: at least one of the values is out of the default range" +msgstr "" + +#: builtin.c:1783 msgid "system: received non-string argument" msgstr "system: dizge olmayan argüman alındı" -#: builtin.c:1879 eval.c:2145 +#: builtin.c:1904 eval.c:2157 #, c-format msgid "reference to uninitialized field `$%d'" msgstr "ilklendirilmemiÅŸ `$%d' alanına baÅŸvuru" -#: builtin.c:1984 +#: builtin.c:2009 msgid "tolower: received non-string argument" msgstr "tolower: dizge olmayan argüman alındı" -#: builtin.c:2014 +#: builtin.c:2039 msgid "toupper: received non-string argument" msgstr "toupper: dizge olmayan argüman alındı" -#: builtin.c:2047 +#: builtin.c:2072 msgid "atan2: received non-numeric first argument" msgstr "atan2: ilk argüman sayısal olmayan türde alındı" -#: builtin.c:2049 +#: builtin.c:2074 msgid "atan2: received non-numeric second argument" msgstr "atan2: ikinci argüman sayısal olmayan türde alındı" -#: builtin.c:2068 +#: builtin.c:2093 msgid "sin: received non-numeric argument" msgstr "sin: sayısal olmayan argüman alındı" -#: builtin.c:2084 +#: builtin.c:2109 msgid "cos: received non-numeric argument" msgstr "cos: sayısal olmayan argüman alındı" -#: builtin.c:2137 +#: builtin.c:2162 msgid "srand: received non-numeric argument" msgstr "srand: sayısal olmayan argüman alındı" -#: builtin.c:2172 +#: builtin.c:2197 msgid "match: third argument is not an array" msgstr "match: üçüncü argüman bir dizi deÄŸil" -#: builtin.c:2719 +#: builtin.c:2744 msgid "gensub: third argument of 0 treated as 1" msgstr "gensub: 0 olan 3. argüman 1 kabul edildi" -#: builtin.c:2835 +#: builtin.c:2860 msgid "lshift: received non-numeric first argument" msgstr "lshift: ilk argüman sayısal olmayan türde alındı" -#: builtin.c:2837 +#: builtin.c:2862 msgid "lshift: received non-numeric second argument" msgstr "lshift: ikinci argüman sayısal deÄŸil" -#: builtin.c:2843 +#: builtin.c:2868 #, c-format msgid "lshift(%lf, %lf): negative values will give strange results" msgstr "lshift(%lf, %lf): negatif deÄŸerler tuhaf sonuçlar verecek" -#: builtin.c:2845 +#: builtin.c:2870 #, c-format msgid "lshift(%lf, %lf): fractional values will be truncated" msgstr "lshift(%lf, %lf): tamsayı kısım kalacak ÅŸekilde kalanı atılacak" -#: builtin.c:2847 +#: builtin.c:2872 #, c-format msgid "lshift(%lf, %lf): too large shift value will give strange results" msgstr "lshift(%lf, %lf): çok büyük kaydırma deÄŸeri tuhaf sonuçlar verecek" -#: builtin.c:2873 +#: builtin.c:2898 msgid "rshift: received non-numeric first argument" msgstr "rshift: ilk argüman sayısal olmayan türde alındı" -#: builtin.c:2875 +#: builtin.c:2900 msgid "rshift: received non-numeric second argument" msgstr "rshift: ikinci argüman sayısal deÄŸil" -#: builtin.c:2881 +#: builtin.c:2906 #, c-format msgid "rshift(%lf, %lf): negative values will give strange results" msgstr "rshift(%lf, %lf): negatif deÄŸerler tuhaf sonuçlar verecek" -#: builtin.c:2883 +#: builtin.c:2908 #, c-format msgid "rshift(%lf, %lf): fractional values will be truncated" msgstr "rshift(%lf, %lf): tamsayı kısım kalacak ÅŸekilde kalanı atılacak" -#: builtin.c:2885 +#: builtin.c:2910 #, c-format msgid "rshift(%lf, %lf): too large shift value will give strange results" msgstr "rshift(%lf, %lf): çok büyük kaydırma deÄŸeri tuhaf sonuçlar verecek" -#: builtin.c:2911 +#: builtin.c:2936 msgid "and: received non-numeric first argument" msgstr "and: ilk argüman sayısal olmayan türde alındı" -#: builtin.c:2913 +#: builtin.c:2938 msgid "and: received non-numeric second argument" msgstr "and: ikinci argüman sayısal deÄŸil" -#: builtin.c:2919 +#: builtin.c:2944 #, c-format msgid "and(%lf, %lf): negative values will give strange results" msgstr "and(%lf, %lf): negatif deÄŸerler tuhaf sonuçlar verecek" -#: builtin.c:2921 +#: builtin.c:2946 #, c-format msgid "and(%lf, %lf): fractional values will be truncated" msgstr "and(%lf, %lf): tamsayı kısım kalacak ÅŸekilde kalanı atılacak" -#: builtin.c:2947 +#: builtin.c:2972 msgid "or: received non-numeric first argument" msgstr "or: ilk argüman sayısal olmayan türde alındı" -#: builtin.c:2949 +#: builtin.c:2974 msgid "or: received non-numeric second argument" msgstr "or: ikinci argüman sayısal deÄŸil" -#: builtin.c:2955 +#: builtin.c:2980 #, c-format msgid "or(%lf, %lf): negative values will give strange results" msgstr "or(%lf, %lf): negatif deÄŸerler tuhaf sonuçlar verecek" -#: builtin.c:2957 +#: builtin.c:2982 #, c-format msgid "or(%lf, %lf): fractional values will be truncated" msgstr "or(%lf, %lf): tamsayı kısım kalacak ÅŸekilde kalanı atılacak" -#: builtin.c:2983 +#: builtin.c:3008 msgid "xor: received non-numeric first argument" msgstr "xor: ilk argüman sayısal olmayan türde alındı" -#: builtin.c:2985 +#: builtin.c:3010 msgid "xor: received non-numeric second argument" msgstr "xor: ikinci argüman sayısal deÄŸil" -#: builtin.c:2991 +#: builtin.c:3016 #, c-format msgid "xor(%lf, %lf): negative values will give strange results" msgstr "xor(%lf, %lf): negatif deÄŸerler tuhaf sonuçlar verecek" -#: builtin.c:2993 +#: builtin.c:3018 #, c-format msgid "xor(%lf, %lf): fractional values will be truncated" msgstr "xor(%lf, %lf): tamsayı kısım kalacak ÅŸekilde kalanı atılacak" -#: builtin.c:3017 +#: builtin.c:3042 msgid "compl: received non-numeric argument" msgstr "compl: sayısal olmayan argüman alındı" -#: builtin.c:3023 +#: builtin.c:3048 #, c-format msgid "compl(%lf): negative value will give strange results" msgstr "compl(%lf): negatif deÄŸerler tuhaf sonuçlar verecek" -#: builtin.c:3025 +#: builtin.c:3050 #, c-format msgid "compl(%lf): fractional value will be truncated" msgstr "compl(%lf): tamsayı kısım kalacak ÅŸekilde kalanı atılacak" -#: builtin.c:3198 +#: builtin.c:3223 #, c-format msgid "dcgettext: `%s' is not a valid locale category" msgstr "dcgettext: `%s' geçerli bir yerel kategori deÄŸil" @@ -820,7 +833,7 @@ msgid "buffer overflow in genflags2str" msgstr "genflags2str içinde tampon taÅŸtı" -#: eval.c:454 eval.c:460 profile.c:781 +#: eval.c:454 eval.c:460 profile.c:785 #, c-format msgid "attempt to use array `%s' in a scalar context" msgstr "`%s' dizisi bir sayısal baÄŸlamda kullanılmaya çalışılıyor" @@ -868,7 +881,7 @@ msgid "statement has no effect" msgstr "deyim etkisiz" -#: eval.c:1029 eval.c:1999 +#: eval.c:1029 eval.c:2011 #, c-format msgid "can't use function name `%s' as variable or array" msgstr "`%s' iÅŸlev ismi bir deÄŸiÅŸken ya da dizi olarak kullanılamaz" @@ -878,7 +891,7 @@ msgid "reference to uninitialized argument `%s'" msgstr "baÅŸlangıç deÄŸeri olmayan `%s' argümanına baÅŸvuru" -#: eval.c:1051 eval.c:2008 +#: eval.c:1051 eval.c:2020 #, c-format msgid "reference to uninitialized variable `%s'" msgstr "öndeÄŸer ataması yapılmamış `%s' deÄŸiÅŸkenine baÅŸvuru" @@ -898,7 +911,7 @@ msgid "division by zero attempted" msgstr "sıfırla bölme hatası" -#: eval.c:1409 profile.c:657 +#: eval.c:1409 profile.c:661 #, c-format msgid "illegal type (%s) in tree_eval" msgstr "tree_eval içinde kuraldışı tür (%s)" @@ -912,17 +925,17 @@ msgid "division by zero attempted in `%%='" msgstr "`%%='de sıfırla bölme hatası" -#: eval.c:1859 +#: eval.c:1871 #, c-format msgid "function `%s' called with more arguments than declared" msgstr "`%s' iÅŸlevi bildirilenden daha fazla argümanla çaÄŸrıldı" -#: eval.c:1904 +#: eval.c:1916 #, c-format msgid "function `%s' not defined" msgstr "`%s' iÅŸlevi tanımsız" -#: eval.c:1971 +#: eval.c:1983 #, c-format msgid "" "\n" @@ -933,47 +946,47 @@ "\t# Ä°ÅŸlev ÇaÄŸrı Yığını:\n" "\n" -#: eval.c:1974 +#: eval.c:1986 #, c-format msgid "\t# -- main --\n" msgstr "\t# -- main --\n" -#: eval.c:2129 +#: eval.c:2141 msgid "attempt to field reference from non-numeric value" msgstr "sayısal olmayan deÄŸerden alan baÅŸvurusu" -#: eval.c:2131 +#: eval.c:2143 msgid "attempt to reference from null string" msgstr "null dizgeden alan baÅŸvurusu" -#: eval.c:2137 +#: eval.c:2149 #, c-format msgid "attempt to access field %d" msgstr "%d. alana eriÅŸilmeye çalışılıyor" -#: eval.c:2158 eval.c:2165 profile.c:836 +#: eval.c:2170 eval.c:2177 profile.c:840 msgid "assignment is not allowed to result of builtin function" msgstr "deÄŸiÅŸken ismine yerleÅŸik iÅŸlevin sonucu atanamaz" -#: eval.c:2229 +#: eval.c:2241 msgid "`IGNORECASE' is a gawk extension" msgstr "`IGNORECASE' bir gawk uzantısıdır" -#: eval.c:2258 +#: eval.c:2270 msgid "`BINMODE' is a gawk extension" msgstr "`BINMODE' bir gawk uzantısıdır" -#: eval.c:2316 +#: eval.c:2328 #, c-format msgid "BINMODE value `%s' is invalid, treated as 3" msgstr "" -#: eval.c:2406 +#: eval.c:2418 #, c-format msgid "bad `%sFMT' specification `%s'" msgstr "`%sFMT' özelliÄŸi `%s' hatalı" -#: eval.c:2484 +#: eval.c:2496 msgid "turning off `--lint' due to assignment to `LINT'" msgstr "`LINT' atamasından dolayı `--lint' kapatılıyor" @@ -1077,56 +1090,61 @@ msgid "old awk does not support regexps as value of `FS'" msgstr "eski awk düzenli ifadeleri `FS' deÄŸeriyle desteklemiyor" -#: getopt.c:570 getopt.c:586 +#: getopt.c:574 getopt.c:590 #, fuzzy, c-format msgid "%s: option '%s' is ambiguous\n" msgstr "%s: `%s' seçeneÄŸi belirsiz\n" -#: getopt.c:619 getopt.c:623 +#: getopt.c:623 getopt.c:627 #, fuzzy, c-format msgid "%s: option '--%s' doesn't allow an argument\n" msgstr "%s: `--%s' seçeneÄŸi argümansız kullanılır\n" -#: getopt.c:632 getopt.c:637 +#: getopt.c:636 getopt.c:641 #, fuzzy, c-format msgid "%s: option '%c%s' doesn't allow an argument\n" msgstr "%s: seçenek `%c%s' argümansız kullanılır\n" -#: getopt.c:680 getopt.c:699 getopt.c:1002 getopt.c:1021 +#: getopt.c:684 getopt.c:703 #, fuzzy, c-format -msgid "%s: option '%s' requires an argument\n" +msgid "%s: option '--%s' requires an argument\n" msgstr "%s: `%s' seçeneÄŸi bir argümanla kullanılır\n" -#: getopt.c:737 getopt.c:740 +#: getopt.c:741 getopt.c:744 #, fuzzy, c-format msgid "%s: unrecognized option '--%s'\n" msgstr "%s: `--%s' seçeneÄŸi bilinmiyor\n" -#: getopt.c:748 getopt.c:751 +#: getopt.c:752 getopt.c:755 #, fuzzy, c-format msgid "%s: unrecognized option '%c%s'\n" msgstr "%s: `%c%s' seçeneÄŸi bilinmiyor\n" -#: getopt.c:800 getopt.c:803 +#: getopt.c:804 getopt.c:807 #, fuzzy, c-format msgid "%s: invalid option -- '%c'\n" msgstr "%s: geçersiz seçenek -- %c\n" -#: getopt.c:853 getopt.c:870 getopt.c:1073 getopt.c:1091 +#: getopt.c:857 getopt.c:874 getopt.c:1082 getopt.c:1100 #, fuzzy, c-format msgid "%s: option requires an argument -- '%c'\n" msgstr "%s: seçenek bir argümanla kullanılır -- %c\n" -#: getopt.c:923 getopt.c:939 +#: getopt.c:930 getopt.c:946 #, fuzzy, c-format msgid "%s: option '-W %s' is ambiguous\n" msgstr "%s: `-W %s' seçeneÄŸi belirsiz\n" -#: getopt.c:963 getopt.c:981 +#: getopt.c:970 getopt.c:988 #, fuzzy, c-format msgid "%s: option '-W %s' doesn't allow an argument\n" msgstr "%s: `-W %s' seçeneÄŸi argümansız kullanılır\n" +#: getopt.c:1009 getopt.c:1027 +#, fuzzy, c-format +msgid "%s: option '-W %s' requires an argument\n" +msgstr "%s: `%s' seçeneÄŸi bir argümanla kullanılır\n" + #: io.c:322 io.c:352 #, c-format msgid "cannot open file `%s' for reading (%s)" @@ -1173,442 +1191,437 @@ msgid "can't open pipe `%s' for input (%s)" msgstr "`%s' veriyolu girdi için açılamadı (%s)" -#: io.c:712 -#, c-format -msgid "can't open two way socket `%s' for input/output (%s)" -msgstr "iki yönlü `%s' soketi G/Ç için açılamıyor (%s)" - -#: io.c:716 +#: io.c:717 #, c-format msgid "can't open two way pipe `%s' for input/output (%s)" msgstr "iki yönlü `%s' veriyolu G/Ç için açılamıyor (%s)" -#: io.c:793 +#: io.c:795 #, c-format msgid "can't redirect from `%s' (%s)" msgstr "`%s'den yönlendirilemiyor (%s)" -#: io.c:796 +#: io.c:798 #, c-format msgid "can't redirect to `%s' (%s)" msgstr "`%s'e yönlendirilemiyor (%s)" -#: io.c:849 +#: io.c:851 msgid "" "reached system limit for open files: starting to multiplex file descriptors" msgstr "" "açık dosyalar için sistem sınırı aşıldı: çoÄŸul dosya tanımlayıcılara " "baÅŸlarken" -#: io.c:865 +#: io.c:867 #, c-format msgid "close of `%s' failed (%s)." msgstr "`%s' kapatılamadı (%s)." -#: io.c:873 +#: io.c:875 msgid "too many pipes or input files open" msgstr "çok fazla veriyolu ya da dosya açık" -#: io.c:896 +#: io.c:898 msgid "close: second argument must be `to' or `from'" msgstr "close: ikinci argüman `to' ya da `from' olmalı" -#: io.c:910 +#: io.c:912 #, c-format msgid "close: `%.*s' is not an open file, pipe or co-process" msgstr "close: `%.*s' bir açık dosya, veriyolu ya da alt-iÅŸlem deÄŸil" -#: io.c:915 +#: io.c:917 msgid "close of redirection that was never opened" msgstr "hiç açılmamış bir yönlendirmenin kapatılması" -#: io.c:1012 +#: io.c:1014 #, c-format msgid "close: redirection `%s' not opened with `|&', second argument ignored" msgstr "" "close: `%s' yönlendirmesi bir `|&' ile açılmamış, ikinci argüman yoksayıldı" -#: io.c:1028 +#: io.c:1030 #, c-format msgid "failure status (%d) on pipe close of `%s' (%s)" msgstr "baÅŸarısızlık durumu (%d): `%s' veriyolunun kapatılması (%s)" -#: io.c:1031 +#: io.c:1033 #, c-format msgid "failure status (%d) on file close of `%s' (%s)" msgstr "baÅŸarısızlık durumu (%d): `%s' dosyasının kapatılması (%s)" -#: io.c:1051 +#: io.c:1053 #, c-format msgid "no explicit close of socket `%s' provided" msgstr "`%s' soketinin açıkça kapatılması istenmedi" -#: io.c:1054 +#: io.c:1056 #, c-format msgid "no explicit close of co-process `%s' provided" msgstr "`%s' alt-iÅŸleminin açıkça kapatılması istenmedi" -#: io.c:1057 +#: io.c:1059 #, c-format msgid "no explicit close of pipe `%s' provided" msgstr "`%s' veriyolunun açıkça kapatılması istenmedi" -#: io.c:1060 +#: io.c:1062 #, c-format msgid "no explicit close of file `%s' provided" msgstr "`%s' dosyasının açıkça kapatılması istenmedi" -#: io.c:1088 io.c:1143 main.c:776 main.c:818 +#: io.c:1090 io.c:1145 main.c:781 main.c:823 #, c-format msgid "error writing standard output (%s)" msgstr "standart çıktıya yazarken hata (%s)" -#: io.c:1092 io.c:1148 +#: io.c:1094 io.c:1150 #, c-format msgid "error writing standard error (%s)" msgstr "standart hataya yazarken hata (%s)" -#: io.c:1100 +#: io.c:1102 #, c-format msgid "pipe flush of `%s' failed (%s)." msgstr "`%s'in veriyolu ile veri aktarımı baÅŸarısız (%s)." -#: io.c:1103 +#: io.c:1105 #, c-format msgid "co-process flush of pipe to `%s' failed (%s)." msgstr "`%s'e veriyolunun alt-iÅŸlemi ile veri aktarımı baÅŸarısız (%s)." -#: io.c:1106 +#: io.c:1108 #, c-format msgid "file flush of `%s' failed (%s)." msgstr "`%s'in dosya ile veri aktarımı baÅŸarısız (%s)." -#: io.c:1220 +#: io.c:1222 #, c-format msgid "local port %s invalid in `/inet'" msgstr "yerel port `%s' `/inet' için geçersiz" -#: io.c:1237 +#: io.c:1239 #, c-format msgid "remote host and port information (%s, %s) invalid" msgstr "uzak konak ve port bilgisi (%s, %s) geçersiz" -#: io.c:1272 +#: io.c:1274 msgid "/inet/raw client not ready yet, sorry" msgstr "/inet/raw istemci henüz hazır deÄŸil" -#: io.c:1275 io.c:1311 +#: io.c:1277 io.c:1313 msgid "only root may use `/inet/raw'." msgstr "`/inet/raw' sadece root tarafından kullanılabilir" -#: io.c:1309 +#: io.c:1311 msgid "/inet/raw server not ready yet, sorry" msgstr "/inet/raw sunucu henüz hazır deÄŸil" -#: io.c:1407 +#: io.c:1409 #, c-format msgid "no (known) protocol supplied in special filename `%s'" msgstr "özel dosya ismi `%s' içinde (bilinen) bir protokol saÄŸlanmamış" -#: io.c:1421 +#: io.c:1423 #, c-format msgid "special file name `%s' is incomplete" msgstr "özel dosya ismi `%s' tamamlanmamış" -#: io.c:1436 +#: io.c:1438 msgid "must supply a remote hostname to `/inet'" msgstr "`/inet' e bir karşı makina ismi saÄŸlanmalı" -#: io.c:1454 +#: io.c:1456 msgid "must supply a remote port to `/inet'" msgstr "`/inet' e bir karşı port saÄŸlanmalı" -#: io.c:1485 +#: io.c:1502 msgid "TCP/IP communications are not supported" msgstr "TCP/IP haberleÅŸmesi desteklenmiyor" -#: io.c:1494 +#: io.c:1511 #, c-format msgid "file `%s' is a directory" msgstr "`%s' dosya deÄŸil dizin" -#: io.c:1555 +#: io.c:1572 #, c-format msgid "use `PROCINFO[\"%s\"]' instead of `%s'" msgstr "`PROCINFO[\"%s\"]' kullanın (`%s' yerine)" -#: io.c:1593 +#: io.c:1610 msgid "use `PROCINFO[...]' instead of `/dev/user'" msgstr "`/dev/user' yerine `PROCINFO[...]' kullanın" -#: io.c:1658 io.c:1853 +#: io.c:1675 io.c:1872 #, c-format msgid "could not open `%s', mode `%s'" msgstr "`%s', `%s' kipinde açılamadı" -#: io.c:1904 +#: io.c:1923 #, c-format msgid "close of master pty failed (%s)" msgstr "ana pty kapatılamadı (%s)" -#: io.c:1906 io.c:2058 io.c:2209 +#: io.c:1925 io.c:2077 io.c:2228 #, c-format msgid "close of stdout in child failed (%s)" msgstr "ast süreçte stdÇ kapatılamadı (%s)" -#: io.c:1909 +#: io.c:1928 #, c-format msgid "moving slave pty to stdout in child failed (dup: %s)" msgstr "ast süreçte yardımcı pty standart çıktıya taşınamadı (dup: %s)" -#: io.c:1911 io.c:2063 +#: io.c:1930 io.c:2082 #, c-format msgid "close of stdin in child failed (%s)" msgstr "ast süreçte stdG kapatılamadı (%s)" -#: io.c:1914 +#: io.c:1933 #, c-format msgid "moving slave pty to stdin in child failed (dup: %s)" msgstr "ast süreçte yardımcı pty standart girdiye taşınamadı (dup: %s)" -#: io.c:1916 io.c:1935 +#: io.c:1935 io.c:1954 #, c-format msgid "close of slave pty failed (%s)" msgstr "yardımcı pty kapatılamadı (%s)" -#: io.c:2009 io.c:2061 io.c:2190 io.c:2212 +#: io.c:2028 io.c:2080 io.c:2209 io.c:2231 #, c-format msgid "moving pipe to stdout in child failed (dup: %s)" msgstr "ast süreçte veriyolu standart çıktıya taşınamadı (dup: %s)" -#: io.c:2013 io.c:2066 +#: io.c:2032 io.c:2085 #, c-format msgid "moving pipe to stdin in child failed (dup: %s)" msgstr "ast süreçte veriyolu standart girdiye taşınamadı (dup: %s)" -#: io.c:2030 io.c:2203 +#: io.c:2049 io.c:2222 msgid "restoring stdout in parent process failed\n" msgstr "üst süreçte stdÇ eski durumuna getirilemedi\n" -#: io.c:2035 +#: io.c:2054 msgid "restoring stdin in parent process failed\n" msgstr "üst süreçte stdG eski durumuna getirilemedi\n" -#: io.c:2069 io.c:2214 io.c:2225 +#: io.c:2088 io.c:2233 io.c:2244 #, c-format msgid "close of pipe failed (%s)" msgstr "veriyolu kapatılamadı (%s)" -#: io.c:2114 +#: io.c:2133 msgid "`|&' not supported" msgstr "`|&' desteklenmiyor" -#: io.c:2180 +#: io.c:2199 #, c-format msgid "cannot open pipe `%s' (%s)" msgstr "`%s' veriyolu açılamıyor (%s)" -#: io.c:2221 +#: io.c:2240 #, c-format msgid "cannot create child process for `%s' (fork: %s)" msgstr "`%s' için ast süreç oluÅŸturulamıyor (fork: %s)" -#: io.c:2603 +#: io.c:2622 #, c-format msgid "data file `%s' is empty" msgstr "veri dosyası `%s' boÅŸ" -#: io.c:2644 io.c:2652 +#: io.c:2663 io.c:2671 msgid "could not allocate more input memory" msgstr "daha fazla girdi belleÄŸi ayrılamadı" -#: io.c:3020 io.c:3093 +#: io.c:3039 io.c:3112 #, c-format msgid "error reading input file `%s': %s" msgstr "`%s' girdi dosyası okunurken hata: %s" -#: io.c:3218 +#: io.c:3237 msgid "multicharacter value of `RS' is a gawk extension" msgstr "`RS' çoklu karakter deÄŸeri bir gawk uzantısıdır" -#: main.c:304 +#: main.c:306 msgid "out of memory" msgstr "" -#: main.c:373 +#: main.c:374 msgid "`-m[fr]' option irrelevant in gawk" msgstr "`-m[fr]' seçeneÄŸi gawk'da böyle kullanılmaz" -#: main.c:375 +#: main.c:376 msgid "-m option usage: `-m[fr] nnn'" msgstr "-m seçeneÄŸinin kullanımı: `-m[fr] nnn'" -#: main.c:392 +#: main.c:393 #, c-format msgid "%s: option `-W %s' unrecognized, ignored\n" msgstr "%s: `-W %s' seçeneÄŸi tanımlı deÄŸil, yok sayıldı\n" -#: main.c:433 +#: main.c:434 msgid "empty argument to `--source' ignored" msgstr "`--source' seçeneÄŸi için boÅŸ argüman yoksayıldı" -#: main.c:487 +#: main.c:488 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: seçenek bir argümanla kullanılır -- %c\n" -#: main.c:506 +#: main.c:509 msgid "environment variable `POSIXLY_CORRECT' set: turning on `--posix'" msgstr "ortam deÄŸiÅŸkeni `POSIXLY_CORRECT' var: `--posix' kullanılıyor" -#: main.c:512 +#: main.c:515 msgid "`--posix' overrides `--traditional'" msgstr "`--posix' seçeneÄŸi `--traditional' seçeneÄŸini etkisiz kılar" -#: main.c:523 +#: main.c:526 msgid "`--posix'/`--traditional' overrides `--non-decimal-data'" msgstr "" "`--posix'/`--traditional' seçenekleri `--non-decimal-data' seçeneÄŸini " "etkisiz kılar" -#: main.c:527 +#: main.c:530 #, c-format msgid "running %s setuid root may be a security problem" msgstr "%s root yetkileriyle çalıştırıldığında güvenlik sorunları olabilir" -#: main.c:568 +#: main.c:571 #, c-format msgid "can't set binary mode on stdin (%s)" msgstr "standart girdi ikilik kipe ayarlanamaz (%s)" -#: main.c:571 +#: main.c:574 #, c-format msgid "can't set binary mode on stdout (%s)" msgstr "standart çıktı ikilik kipe ayarlanamaz (%s)" -#: main.c:573 +#: main.c:576 #, c-format msgid "can't set binary mode on stderr (%s)" msgstr "standart hata ikilik kipe ayarlanamaz (%s)" -#: main.c:612 +#: main.c:617 msgid "no program text at all!" msgstr "program metni hiç yok!" -#: main.c:716 +#: main.c:721 #, c-format msgid "Usage: %s [POSIX or GNU style options] -f progfile [--] file ...\n" msgstr "" "Kullanımı: %s [POSIX veya GNU tarzı seçenekler] -f progdosyası [--] " "dosya ...\n" -#: main.c:718 +#: main.c:723 #, c-format msgid "Usage: %s [POSIX or GNU style options] [--] %cprogram%c file ...\n" msgstr "" "Kullanımı: %s [POSIX veya GNU tarzı seçenekler] %cprogram%c dosya ...\n" -#: main.c:723 +#: main.c:728 msgid "POSIX options:\t\tGNU long options:\n" msgstr "POSIX seçenekleri: GNU uzun seçenekleri:\n" -#: main.c:724 +#: main.c:729 msgid "\t-f progfile\t\t--file=progfile\n" msgstr " -f progDosyası --file=progDosyası\n" -#: main.c:725 +#: main.c:730 msgid "\t-F fs\t\t\t--field-separator=fs\n" msgstr " -F ayraç --field-separator=ayraç\n" -#: main.c:726 +#: main.c:731 msgid "\t-v var=val\t\t--assign=var=val\n" msgstr " -v var=deÄŸer --assign=var=deÄŸer\n" -#: main.c:727 +#: main.c:732 msgid "\t-m[fr] val\n" msgstr " -m[fr] deÄŸer\n" -#: main.c:728 +#: main.c:733 msgid "\t-O\t\t\t--optimize\n" msgstr "" -#: main.c:729 +#: main.c:734 msgid "\t-W compat\t\t--compat\n" msgstr " -W compat --compat\n" -#: main.c:730 +#: main.c:735 msgid "\t-W copyleft\t\t--copyleft\n" msgstr " -W copyleft --copyleft\n" -#: main.c:731 +#: main.c:736 msgid "\t-W copyright\t\t--copyright\n" msgstr " -W copyright --copyright\n" -#: main.c:732 +#: main.c:737 msgid "\t-W dump-variables[=file]\t--dump-variables[=file]\n" msgstr " -W dump-variables[=dosya] --dump-variables[=dosya]\n" -#: main.c:733 +#: main.c:738 msgid "\t-W exec=file\t\t--exec=file\n" msgstr " -W exec=dosya --exec=dosya\n" -#: main.c:734 +#: main.c:739 msgid "\t-W gen-po\t\t--gen-po\n" msgstr " -W gen-po --gen-po\n" -#: main.c:735 +#: main.c:740 msgid "\t-W help\t\t\t--help\n" msgstr " -W help --help\n" -#: main.c:736 +#: main.c:741 msgid "\t-W lint[=fatal]\t\t--lint[=fatal]\n" msgstr " -W lint[=ölümcül] --lint[=ölümcül]\n" -#: main.c:737 +#: main.c:742 msgid "\t-W lint-old\t\t--lint-old\n" msgstr " -W lint-old --lint-old\n" -#: main.c:738 +#: main.c:743 msgid "\t-W non-decimal-data\t--non-decimal-data\n" msgstr " -W non-decimal-data --non-decimal-data\n" -#: main.c:740 +#: main.c:745 msgid "\t-W nostalgia\t\t--nostalgia\n" msgstr " -W nostalgia --nostalgia\n" -#: main.c:743 +#: main.c:748 msgid "\t-W parsedebug\t\t--parsedebug\n" msgstr " -W parsedebug --parsedebug\n" -#: main.c:745 +#: main.c:750 msgid "\t-W profile[=file]\t--profile[=file]\n" msgstr " -W profile[=dosya] --profile[=dosya]\n" -#: main.c:746 +#: main.c:751 msgid "\t-W posix\t\t--posix\n" msgstr " -W posix --posix\n" -#: main.c:747 +#: main.c:752 msgid "\t-W re-interval\t\t--re-interval\n" msgstr " -W re-interval --re-interval\n" -#: main.c:748 +#: main.c:753 msgid "\t-W source=program-text\t--source=program-text\n" msgstr " -W source=program-metni --source=program-metni\n" -#: main.c:749 +#: main.c:754 msgid "\t-W traditional\t\t--traditional\n" msgstr " -W traditional --traditional\n" -#: main.c:750 +#: main.c:755 msgid "\t-W usage\t\t--usage\n" msgstr " -W usage --usage\n" -#: main.c:751 +#: main.c:756 msgid "\t-W use-lc-numeric\t--use-lc-numeric\n" msgstr "" -#: main.c:752 +#: main.c:757 msgid "\t-W version\t\t--version\n" msgstr " -W version --version\n" @@ -1617,7 +1630,7 @@ #. for this application. Please add _another line_ with the #. address for translation bugs. #. no-wrap -#: main.c:761 +#: main.c:766 msgid "" "\n" "To report bugs, see node `Bugs' in `gawk.info', which is\n" @@ -1631,7 +1644,7 @@ "Çeviri hatalarını adresine bildiriniz.\n" "\n" -#: main.c:765 +#: main.c:770 msgid "" "gawk is a pattern scanning and processing language.\n" "By default it reads standard input and writes standard output.\n" @@ -1641,7 +1654,7 @@ "Öntanımlı olarak standart girdiyi okur ve standart çıktıya yazar.\n" "\n" -#: main.c:769 +#: main.c:774 msgid "" "Examples:\n" "\tgawk '{ sum += $1 }; END { print sum }' file\n" @@ -1651,7 +1664,7 @@ "\tgawk '{ sum += $1 }; END { print sum }' dosya\n" "\tgawk -F: '{ print $1 }' /etc/passwd\n" -#: main.c:789 +#: main.c:794 #, fuzzy, c-format msgid "" "Copyright (C) 1989, 1991-%d Free Software Foundation.\n" @@ -1670,7 +1683,7 @@ "üzerinde deÄŸiÅŸiklik yapabilirsiniz.\n" "\n" -#: main.c:797 +#: main.c:802 msgid "" "This program is distributed in the hope that it will be useful,\n" "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" @@ -1684,7 +1697,7 @@ "edinmek için GNU Genel Kamu Lisansına bakınız.\n" "\n" -#: main.c:808 +#: main.c:813 #, fuzzy msgid "" "You should have received a copy of the GNU General Public License\n" @@ -1694,11 +1707,11 @@ "olacaksınız; yoksa Free Software Foundation, Inc., 51 Franklin Street,\n" "Fifth Floor, Boston, MA 02110-1301, USA adresinden isteyebilirsiniz.\n" -#: main.c:843 +#: main.c:848 msgid "-Ft does not set FS to tab in POSIX awk" msgstr "POSIX awk -Ft ile dosya sistemini belirlemez" -#: main.c:1117 +#: main.c:1122 #, c-format msgid "" "%s: `%s' argument to `-v' not in `var=value' form\n" @@ -1707,45 +1720,45 @@ "%s: `-v' ile verilen `%s' argümanı `var=deÄŸer' biçiminde deÄŸil\n" "\n" -#: main.c:1137 +#: main.c:1142 #, c-format msgid "`%s' is not a legal variable name" msgstr "`%s' kurala uygun bir deÄŸiÅŸken ismi deÄŸil" -#: main.c:1140 +#: main.c:1145 #, c-format msgid "`%s' is not a variable name, looking for file `%s=%s'" msgstr "`%2$s=%3$s' için dosyaya bakınca, `%1$s' bir deÄŸiÅŸken ismi deÄŸil" -#: main.c:1179 +#: main.c:1184 msgid "floating point exception" msgstr "Gerçel sayı istisnası" -#: main.c:1186 +#: main.c:1191 msgid "fatal error: internal error" msgstr "ölümcül iç hata" -#: main.c:1200 +#: main.c:1206 #, fuzzy msgid "fatal error: internal error: segfault" msgstr "ölümcül iç hata" -#: main.c:1212 +#: main.c:1218 #, fuzzy msgid "fatal error: internal error: stack overflow" msgstr "ölümcül iç hata" -#: main.c:1261 +#: main.c:1268 #, c-format msgid "no pre-opened fd %d" msgstr "ön açılışlı bir %d dosya tanımlayıcısı yok" -#: main.c:1268 +#: main.c:1275 #, c-format msgid "could not pre-open /dev/null for fd %d" msgstr "%d dosya tanımlayıcısı için /dev/null ön açılışı yapılamadı" -#: main.c:1291 main.c:1300 +#: main.c:1298 main.c:1307 #, c-format msgid "could not find groups: %s" msgstr "gruplar bulunamadı: %s" @@ -1771,31 +1784,31 @@ msgid "can't convert string to float" msgstr "dizge gerçel sayıya dönüştürülemiyor" -#: node.c:462 +#: node.c:465 msgid "backslash at end of string" msgstr "dizge sonunda tersbölü" -#: node.c:606 +#: node.c:609 #, c-format msgid "old awk does not support the `\\%c' escape sequence" msgstr "eski awk `\\%c' önceleme dizilimini desteklemiyor" -#: node.c:657 +#: node.c:660 msgid "POSIX does not allow `\\x' escapes" msgstr "POSIX `\\x' öncelemelerine izin vermez" -#: node.c:663 +#: node.c:666 msgid "no hex digits in `\\x' escape sequence" msgstr "`\\x' önceleme dizgesinde onaltılık rakamlar yok" -#: node.c:685 +#: node.c:688 #, c-format msgid "" "hex escape \\x%.*s of %d characters probably not interpreted the way you " "expect" msgstr "" -#: node.c:700 +#: node.c:703 #, c-format msgid "escape sequence `\\%c' treated as plain `%c'" msgstr "`\\%c' önceleme dizgesi `%c' olarak kullanıldı" @@ -1805,32 +1818,31 @@ msgid "%s %s `%s': could not set close-on-exec: (fcntl: %s)" msgstr "%s %s `%s': close-on-exec belirlenemedi: (fcntl: %s)" -#: profile.c:93 +#: profile.c:94 #, c-format msgid "could not open `%s' for writing: %s" msgstr "`%s' yazmak için açılamadı: %s" -#: profile.c:453 +#: profile.c:457 #, c-format msgid "internal error: %s with null vname" msgstr "iç hata: null vname'li %s" -#: profile.c:517 -#, fuzzy +#: profile.c:521 msgid "# treated internally as `delete'" msgstr "# dahili olarak `delete' varsayıldı" -#: profile.c:1069 +#: profile.c:1073 #, c-format msgid "# this is a dynamically loaded extension function" msgstr "# bu özdevimli olarak yüklenmiÅŸ bir ek iÅŸlevdir" -#: profile.c:1100 +#: profile.c:1104 #, c-format msgid "\t# gawk profile, created %s\n" msgstr "\t# gawk profili, oluÅŸturuldu: %s\n" -#: profile.c:1103 +#: profile.c:1107 #, c-format msgid "" "\t# BEGIN block(s)\n" @@ -1839,7 +1851,7 @@ "\t# BEGIN blokları\n" "\n" -#: profile.c:1113 +#: profile.c:1117 #, c-format msgid "" "\t# Rule(s)\n" @@ -1848,7 +1860,7 @@ "\t# Kurallar\n" "\n" -#: profile.c:1119 +#: profile.c:1123 #, c-format msgid "" "\t# END block(s)\n" @@ -1857,7 +1869,7 @@ "\t# END blokları\n" "\n" -#: profile.c:1139 +#: profile.c:1143 #, c-format msgid "" "\n" @@ -1866,87 +1878,90 @@ "\n" "\t# Ä°ÅŸlevler, alfabetik sırayla\n" -#: profile.c:1400 +#: profile.c:1405 #, c-format msgid "unexpected type %s in prec_level" msgstr "prec_level'da anlaşılamayan tür %s" -#: profile.c:1500 +#: profile.c:1527 #, fuzzy, c-format msgid "Unknown node type %s in pp_var" msgstr "%d. düğümtürü bilinmiyor" -#: regcomp.c:133 +#: regcomp.c:132 msgid "Success" msgstr "BaÅŸarılı" -#: regcomp.c:136 +#: regcomp.c:135 msgid "No match" msgstr "EÅŸleÅŸmez" -#: regcomp.c:139 +#: regcomp.c:138 msgid "Invalid regular expression" msgstr "Düzenli ifade geçersiz" -#: regcomp.c:142 +#: regcomp.c:141 msgid "Invalid collation character" msgstr "KarşılaÅŸtırma karakteri geçersiz" -#: regcomp.c:145 +#: regcomp.c:144 msgid "Invalid character class name" msgstr "Karakter sınıf ismi geçersiz" -#: regcomp.c:148 +#: regcomp.c:147 msgid "Trailing backslash" msgstr "Ä°zleyen tersbölü" -#: regcomp.c:151 +#: regcomp.c:150 msgid "Invalid back reference" msgstr "Geriye baÅŸvuru geçersiz" -#: regcomp.c:154 +#: regcomp.c:153 msgid "Unmatched [ or [^" msgstr "[ ya da [^ eÅŸleÅŸmiyor" -#: regcomp.c:157 +#: regcomp.c:156 msgid "Unmatched ( or \\(" msgstr "( ya da \\( eÅŸleÅŸmiyor" -#: regcomp.c:160 +#: regcomp.c:159 msgid "Unmatched \\{" msgstr "\\{ eÅŸleÅŸmiyor" -#: regcomp.c:163 +#: regcomp.c:162 msgid "Invalid content of \\{\\}" msgstr "\\{\\} içeriÄŸi geçersiz" -#: regcomp.c:166 +#: regcomp.c:165 msgid "Invalid range end" msgstr "Kapsam sonu geçersiz" -#: regcomp.c:169 +#: regcomp.c:168 msgid "Memory exhausted" msgstr "Bellek tükendi" -#: regcomp.c:172 +#: regcomp.c:171 msgid "Invalid preceding regular expression" msgstr "düzenli ifade önceliÄŸi geçersiz" -#: regcomp.c:175 +#: regcomp.c:174 msgid "Premature end of regular expression" msgstr "Düzenli ifade sonu eksik kalmış" -#: regcomp.c:178 +#: regcomp.c:177 msgid "Regular expression too big" msgstr "Düzenli ifade çok büyük" -#: regcomp.c:181 +#: regcomp.c:180 msgid "Unmatched ) or \\)" msgstr ") ya da \\) eÅŸleÅŸmiyor" -#: regcomp.c:700 +#: regcomp.c:699 msgid "No previous regular expression" msgstr "Daha önce düzenli ifade yok" #~ msgid "%s: illegal option -- %c\n" #~ msgstr "%s: kuraldışı seçenek -- %c\n" + +#~ msgid "can't open two way socket `%s' for input/output (%s)" +#~ msgstr "iki yönlü `%s' soketi G/Ç için açılamıyor (%s)" diff -urN gawk-3.1.7/po/vi.po gawk-3.1.8/po/vi.po --- gawk-3.1.7/po/vi.po 2009-07-21 23:23:45.000000000 +0300 +++ gawk-3.1.8/po/vi.po 2010-05-06 20:57:38.000000000 +0300 @@ -1,25 +1,26 @@ # Vietnamese translation for Gawk. -# Copyright © 2007 Free Software Foundation, Inc. -# Clytie Siddall , 2005-2007. +# Copyright © 2010 Free Software Foundation, Inc. +# This file is distributed under the same license as the gawk package. +# Clytie Siddall , 2005-2010. # msgid "" msgstr "" -"Project-Id-Version: gawk 3.1.6\n" +"Project-Id-Version: gawk 3.1.7i\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2009-07-21 23:23+0300\n" -"PO-Revision-Date: 2007-11-30 22:29+1030\n" +"POT-Creation-Date: 2010-05-06 20:57+0300\n" +"PO-Revision-Date: 2010-05-03 18:32+0930\n" "Last-Translator: Clytie Siddall \n" "Language-Team: Vietnamese \n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" +"Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: LocFactoryEditor 1.7b1\n" +"X-Generator: LocFactoryEditor 1.8\n" #: array.c:112 #, c-format msgid "attempt to use function `%s' as an array" -msgstr "cố gắng dùng chức năng « %s » nhÆ° mảng" +msgstr "cố gắng dùng hàm « %s » nhÆ° mảng" #: array.c:115 #, c-format @@ -36,42 +37,42 @@ msgid "from %s" msgstr "từ %s" -#: array.c:514 +#: array.c:513 #, c-format -msgid "reference to uninitialized element `%s[\"%s\"]'" -msgstr "tham chiếu đến phần tá»­ chÆ°a sở khởi « %s[\"%s\"] »" +msgid "reference to uninitialized element `%s[\"%.*s\"]'" +msgstr "tham chiếu đến phần tá»­ chÆ°a sở khởi « %s[\"%.*s\"] »" -#: array.c:520 +#: array.c:519 #, c-format msgid "subscript of array `%s' is null string" -msgstr "chữ in dÆ°á»›i mảng «%s» là chuá»—i rá»—ng" +msgstr "chữ in dÆ°á»›i mảng « %s » là chuá»—i rá»—ng" -#: array.c:624 +#: array.c:623 #, c-format msgid "delete: index `%s' not in array `%s'" -msgstr "delete: (xóa bá») số mÅ© « %s » không phải nằm trong mảng « %s »" +msgstr "delete: (xoá) số mÅ© « %s » không phải nằm trong mảng « %s »" -#: array.c:793 +#: array.c:792 #, c-format msgid "%s: empty (null)\n" msgstr "%s: rá»—ng (vô giá trị)\n" -#: array.c:798 +#: array.c:797 #, c-format msgid "%s: empty (zero)\n" msgstr "%s: rá»—ng (số không)\n" -#: array.c:802 +#: array.c:801 #, c-format msgid "%s: table_size = %d, array_size = %d\n" msgstr "%s: cỡ_bảng = %d, cỡ_mảng = %d\n" -#: array.c:831 +#: array.c:830 #, c-format msgid "%s: is parameter\n" msgstr "%s: là tham số\n" -#: array.c:836 +#: array.c:835 #, c-format msgid "%s: array_ref to %s\n" msgstr "%s: « array_ref » (mảng tham chiếu) đến « %s »\n" @@ -94,7 +95,7 @@ #: awkgram.y:285 #, c-format msgid "`%s' is a built-in function, it cannot be redefined" -msgstr "« %s » là má»™t chức năng có sẵn nên nó không thể được định nghÄ©a lái." +msgstr "« %s » là má»™t hàm có sẵn nên nó không thể được định nghÄ©a lái." #: awkgram.y:331 msgid "regexp constant `//' looks like a C++ comment, but is not" @@ -123,7 +124,7 @@ #: awkgram.y:492 msgid "`return' used outside function context" -msgstr "« return » (trở vá») được dùng ở ngoại ngữ cảnh chức năng" +msgstr "« return » (trở vá») được dùng ở ngoại ngữ cảnh hàm" #: awkgram.y:534 msgid "plain `print' in BEGIN or END rule should probably be `print \"\"'" @@ -133,11 +134,11 @@ #: awkgram.y:550 awkgram.y:558 msgid "`delete array' is a gawk extension" -msgstr "« delete array » (xóa bá» mảng) là má»™t phần mở rá»™ng gawk" +msgstr "« delete array » (xoá mảng) là má»™t phần mở rá»™ng gawk" #: awkgram.y:572 awkgram.y:580 msgid "`delete(array)' is a non-portable tawk extension" -msgstr "« delete array » (xóa bá» mảng) là phần mở rá»™ng gawk không thể mang theo" +msgstr "« delete array » (xoá mảng) là phần mở rá»™ng gawk không thể mang theo" #: awkgram.y:624 #, c-format @@ -216,7 +217,7 @@ #: awkgram.y:1536 #, c-format msgid "source file `%s' is empty" -msgstr "tập tin nguồn «%s» là rá»—ng" +msgstr "tập tin nguồn « %s » là rá»—ng" #: awkgram.y:1728 awkgram.y:1850 awkgram.y:1868 awkgram.y:2243 awkgram.y:2330 msgid "source file does not end in newline" @@ -304,7 +305,7 @@ #: awkgram.y:2345 #, c-format msgid "POSIX does not allow `%s'" -msgstr "POSIX không cho phép «%s»" +msgstr "POSIX không cho phép « %s »" #: awkgram.y:2349 #, c-format @@ -351,19 +352,19 @@ #: awkgram.y:2602 #, c-format msgid "function `%s': parameter #%d, `%s', duplicates parameter #%d" -msgstr "chức năng « %s »: tham số « #%d », « %s », nhân đôi tham số « #%d »" +msgstr "hàm « %s »: tham số « #%d », « %s », nhân đôi tham số « #%d »" #: awkgram.y:2635 #, c-format msgid "function `%s': parameter `%s' shadows global variable" -msgstr "chức năng « %s »: tham số « %s » che biến toàn cục" +msgstr "hàm « %s »: tham số « %s » che biến toàn cục" #: awkgram.y:2747 #, c-format msgid "could not open `%s' for writing (%s)" -msgstr "không mở được «%s» để ghi (%s)" +msgstr "không mở được « %s » để ghi (%s)" -#: awkgram.y:2748 profile.c:95 +#: awkgram.y:2748 profile.c:96 msgid "sending profile to standard error" msgstr "Ä‘ang gởi hồ sÆ¡ cho thiết bị lá»—i chuẩn" @@ -374,7 +375,7 @@ #: awkgram.y:2901 msgid "shadow_funcs() called twice!" -msgstr "shadow_funcs() (chức năng bóng) được gá»i hai lần !" +msgstr "shadow_funcs() (hàm bóng) được gá»i hai lần !" #: awkgram.y:2928 msgid "there were shadowed variables." @@ -383,27 +384,27 @@ #: awkgram.y:3001 #, c-format msgid "function `%s': can't use function name as parameter name" -msgstr "chức năng « %s »: không thể dùng tên chức năng nhÆ° là tên tham số" +msgstr "hàm « %s »: không thể dùng tên hàm nhÆ° là tên tham số" #: awkgram.y:3004 -#, fuzzy, c-format +#, c-format msgid "function `%s': can't use special variable `%s' as a function parameter" -msgstr "chức năng « %s »: không thể dùng tên chức năng nhÆ° là tên tham số" +msgstr "hàm « %s »: không thể dùng biến đặc biệt « %s » nhÆ° là tham số hàm" #: awkgram.y:3014 #, c-format msgid "function name `%s' previously defined" -msgstr "tên chức năng « %s » được xác định trÆ°á»›c" +msgstr "tên hàm « %s » được xác định trÆ°á»›c" #: awkgram.y:3165 awkgram.y:3171 #, c-format msgid "function `%s' called but never defined" -msgstr "chức năng « %s » được gá»i nhÆ°ng mà chÆ°a xác định" +msgstr "hàm « %s » được gá»i nhÆ°ng mà chÆ°a xác định" #: awkgram.y:3174 #, c-format msgid "function `%s' defined but never called" -msgstr "chức năng « %s » được xác định nhÆ°ng mà chÆ°a được gá»i" +msgstr "hàm « %s » được xác định nhÆ°ng mà chÆ°a được gá»i" #: awkgram.y:3201 #, c-format @@ -416,13 +417,17 @@ "function `%s' called with space between name and `(',\n" "or used as a variable or an array" msgstr "" -"chức năng « %s » được gá»i vá»›i dấu cách nằm giữa tên và « ( »\n" +"hàm « %s » được gá»i vá»›i dấu cách nằm giữa tên và « ( »\n" "hoặc được dùng nhÆ° là biến hay mảng" -#: awkgram.y:3667 eval.c:1394 +#: awkgram.y:3664 +msgid "division by zero attempted in `/'" +msgstr "thá»­ chia cho không trong « / »" + +#: awkgram.y:3669 eval.c:1394 #, c-format msgid "division by zero attempted in `%%'" -msgstr "cố gắng chia cho số không trong « %% »" +msgstr "thá»­ chia cho không trong « %% »" #: builtin.c:122 #, c-format @@ -450,13 +455,13 @@ #, c-format msgid "fflush: cannot flush: pipe `%s' opened for reading, not writing" msgstr "" -"fflush: không thể xóa sạch: ống dẫn « %s » được mở để Ä‘á»c, không phải để ghi" +"fflush: không thể xoá sạch: ống dẫn « %s » được mở để Ä‘á»c, không phải để ghi" #: builtin.c:204 #, c-format msgid "fflush: cannot flush: file `%s' opened for reading, not writing" msgstr "" -"fflush: không thể xóa sạch: tập tin «%s» được mở để Ä‘á»c, không phải để ghi" +"fflush: không thể xoá sạch: tập tin « %s » được mở để Ä‘á»c, không phải để ghi" #: builtin.c:216 #, c-format @@ -479,168 +484,175 @@ msgid "`length(array)' is a gawk extension" msgstr "« length(array) » (Ä‘á»™ dài mảng) là má»™t phần mở rá»™ng gawk" -#: builtin.c:473 -msgid "length: untyped argument will be forced to scalar" +#: builtin.c:471 +msgid "length: untyped parameter argument will be forced to scalar" msgstr "" +"length: (chiá»u dài) tham số không có loại thì bị ép buá»™c thành vô hÆ°á»›ng" -#: builtin.c:477 +#: builtin.c:480 +msgid "length: untyped argument will be forced to scalar" +msgstr "length: (chiá»u dài) đối số không có loại thì bị ép buá»™c thành vô hÆ°á»›ng" + +#: builtin.c:484 msgid "length: received non-string argument" -msgstr "length: (Ä‘á»™ dài) đã nhận đối số không phải chuá»—i" +msgstr "length: (chiá»u dài) đã nhận đối số không phải chuá»—i" -#: builtin.c:508 +#: builtin.c:515 msgid "log: received non-numeric argument" msgstr "log: (bản ghi) đã nhận đối số không phải thuá»™c số" -#: builtin.c:511 +#: builtin.c:518 #, c-format msgid "log: received negative argument %g" -msgstr "log: (bản ghi) đã nhận đối số âm «%g»" +msgstr "log: (bản ghi) đã nhận đối số âm « %g »" -#: builtin.c:719 builtin.c:722 +#: builtin.c:726 builtin.c:729 msgid "must use `count$' on all formats or none" msgstr "phải dùng « count$ » vá»›i má»i dạng thức hay không dùng cả" -#: builtin.c:783 +#: builtin.c:790 #, c-format msgid "field width is ignored for `%%%%' specifier" -msgstr "" +msgstr "chiá»u rá»™ng trÆ°á»ng bị bá» qua đối vá»›i toán tá»­ « %%%% »" -#: builtin.c:785 +#: builtin.c:792 #, c-format msgid "precision is ignored for `%%%%' specifier" -msgstr "" +msgstr "Ä‘á»™ chính xác bị bá» qua đối vá»›i toán tá»­ « %%%% »" -#: builtin.c:787 +#: builtin.c:794 #, c-format msgid "field width and precision are ignored for `%%%%' specifier" -msgstr "" +msgstr "chiá»u rá»™ng trÆ°á»ng và Ä‘á»™ chính xác bị bá» qua đối vá»›i toán tá»­ « %%%% »" -#: builtin.c:838 +#: builtin.c:845 msgid "`$' is not permitted in awk formats" msgstr "không cho phép « $ » trong định dạng awk" -#: builtin.c:844 +#: builtin.c:851 msgid "arg count with `$' must be > 0" msgstr "số đếm đối số vá»›i « $ » phải là >0" -#: builtin.c:846 +#: builtin.c:853 #, c-format msgid "arg count %ld greater than total number of supplied arguments" msgstr "số đếm đối số %ld lá»›n hÆ¡n tổng số đối số được cung cấp" -#: builtin.c:848 +#: builtin.c:855 msgid "`$' not permitted after period in format" msgstr "không cho phép « $ » nằm sau dấu chấm trong định dạng" -#: builtin.c:861 +#: builtin.c:868 msgid "no `$' supplied for positional field width or precision" msgstr "" "chÆ°a cung cấp « $ » cho Ä‘á»™ rá»™ng trÆ°á»ng thuá»™c vị trí hay cho Ä‘á»™ chính xác" -#: builtin.c:927 +#: builtin.c:938 msgid "`l' is meaningless in awk formats; ignored" msgstr "chữ « l » không có nghÄ©a trong định dạng awk nên bị bá» qua" -#: builtin.c:931 +#: builtin.c:942 msgid "`l' is not permitted in POSIX awk formats" msgstr "không cho phép chữ « l » nằm trong định dạng awk POSIX" -#: builtin.c:942 +#: builtin.c:953 msgid "`L' is meaningless in awk formats; ignored" msgstr "chữ « L » không có nghÄ©a trong định dạng awk nên bị bá» qua" -#: builtin.c:946 +#: builtin.c:957 msgid "`L' is not permitted in POSIX awk formats" msgstr "không cho phép chữ « L » nằm trong định dạng awk POSIX" -#: builtin.c:957 +#: builtin.c:968 msgid "`h' is meaningless in awk formats; ignored" msgstr "chữ « h » không có nghÄ©a trong định dạng awk nên bị bá» qua" -#: builtin.c:961 +#: builtin.c:972 msgid "`h' is not permitted in POSIX awk formats" msgstr "không cho phép chữ « h » nằm trong định dạng awk POSIX" -#: builtin.c:1236 +#: builtin.c:1252 #, c-format msgid "[s]printf: value %g is out of range for `%%%c' format" msgstr "[s]printf: giá trị %g ở ngoại phạm vị cho dạng thức « %%%c »" -#: builtin.c:1316 +#: builtin.c:1332 #, c-format msgid "ignoring unknown format specifier character `%c': no argument converted" msgstr "" +"Ä‘ang bá» qua ký tá»± ghi rõ định dạng không rõ « %c »: không có đối số được " +"chuyển đổi" -#: builtin.c:1322 +#: builtin.c:1338 msgid "not enough arguments to satisfy format string" msgstr "chÆ°a có đủ đối số để đáp ứng chuá»—i định dạng" -#: builtin.c:1324 +#: builtin.c:1340 msgid "^ ran out for this one" -msgstr "hết « ^ » cho Ä‘iá»u này" +msgstr "bị hết « ^ » cho Ä‘iá»u này" -#: builtin.c:1330 +#: builtin.c:1346 msgid "[s]printf: format specifier does not have control letter" msgstr "[s]printf: Ä‘iá»u ghi rõ định dạng không có chữ Ä‘iá»u khiển" -#: builtin.c:1333 +#: builtin.c:1349 msgid "too many arguments supplied for format string" msgstr "quá nhiá»u đối số được cung cấp cho chuá»—i định dạng" -#: builtin.c:1408 builtin.c:1411 +#: builtin.c:1424 builtin.c:1427 msgid "printf: no arguments" msgstr "printf: không có đối số" -#: builtin.c:1435 +#: builtin.c:1451 msgid "sqrt: received non-numeric argument" msgstr "sqrt: (căn bậc hai) đã nhận đối số không phải thuá»™c số" -#: builtin.c:1439 +#: builtin.c:1455 #, c-format msgid "sqrt: called with negative argument %g" -msgstr "sqrt: (căn bậc hai) đã gá»i vá»›i đối số âm «%g»" +msgstr "sqrt: (căn bậc hai) đã gá»i vá»›i đối số âm « %g »" -#: builtin.c:1463 +#: builtin.c:1479 #, c-format msgid "substr: start index %g is invalid, using 1" msgstr "substr: (chuá»—i phụ) số chỉ mục đầu « %g » không hợp lệ nên dùng 1" -#: builtin.c:1468 +#: builtin.c:1484 #, c-format msgid "substr: non-integer start index %g will be truncated" msgstr "" "substr: (chuá»—i phụ) số chỉ mục đầu không phải số nguyên « %g » sẽ bị cắt ngắn" -#: builtin.c:1494 +#: builtin.c:1510 #, c-format msgid "substr: length %g is not >= 1" msgstr "substr: (chuá»—i phụ) Ä‘á»™ dài %g không phải ≥1" -#: builtin.c:1496 +#: builtin.c:1512 #, c-format msgid "substr: length %g is not >= 0" msgstr "substr: (chuá»—i phụ) Ä‘á»™ dài %g không phải ≥0" -#: builtin.c:1503 +#: builtin.c:1519 #, c-format msgid "substr: non-integer length %g will be truncated" msgstr "substr: (chuá»—i phụ) sẽ cắt xén Ä‘á»™ dài không phải số nguyên « %g »" -#: builtin.c:1508 +#: builtin.c:1524 #, c-format msgid "substr: length %g too big for string indexing, truncating to %g" msgstr "substr: Ä‘á»™ dài %g quá lá»›n để chỉ mục chuá»—i nên xén ngắn thành %g" -#: builtin.c:1520 +#: builtin.c:1536 msgid "substr: source string is zero length" msgstr "substr: (chuá»—i con) chuá»—i nguồn có Ä‘á»™ dài số không" -#: builtin.c:1536 +#: builtin.c:1552 #, c-format msgid "substr: start index %g is past end of string" msgstr "substr: (chuá»—i phụ) số chỉ mục đầu %g nằm sau kết thúc của chuá»—i" -#: builtin.c:1544 +#: builtin.c:1560 #, c-format msgid "" "substr: length %g at start index %g exceeds length of first argument (%lu)" @@ -648,185 +660,189 @@ "substr: (chuá»—i phụ) Ä‘á»™ dài %g tại số chỉ mục đầu %g vượt quá Ä‘á»™ dài của đối " "số đầu (%lu)" -#: builtin.c:1621 +#: builtin.c:1637 msgid "strftime: received non-string first argument" msgstr "strftime: đã nhận đối số thứ nhất khác chuá»—i" -#: builtin.c:1627 +#: builtin.c:1643 msgid "strftime: received empty format string" msgstr "strftime: đã nhận chuá»—i định dạng rá»—ng" -#: builtin.c:1636 +#: builtin.c:1652 msgid "strftime: received non-numeric second argument" msgstr "strftime: đã nhận đối số thứ hai khác thuá»™c số" -#: builtin.c:1713 +#: builtin.c:1729 msgid "mktime: received non-string argument" msgstr "mktime: đã nhận đối số khác chuá»—i" -#: builtin.c:1758 +#: builtin.c:1746 +msgid "mktime: at least one of the values is out of the default range" +msgstr "mktime: ít nhất má»™t của những giá trị nằm ở ngoại phạm vi mặc định" + +#: builtin.c:1783 msgid "system: received non-string argument" msgstr "system: (hệ thống) đã nhận đối số khác chuá»—i" -#: builtin.c:1879 eval.c:2145 +#: builtin.c:1904 eval.c:2157 #, c-format msgid "reference to uninitialized field `$%d'" msgstr "gặp tham chiếu đến trÆ°á»ng chÆ°a được sở khởi « $%d »" -#: builtin.c:1984 +#: builtin.c:2009 msgid "tolower: received non-string argument" msgstr "tolower: (đến thấp hÆ¡n) đã nhận đối số khác chuá»—i" -#: builtin.c:2014 +#: builtin.c:2039 msgid "toupper: received non-string argument" msgstr "toupper: (đến cao hÆ¡n) đã nhận đối số khác chuá»—i" -#: builtin.c:2047 +#: builtin.c:2072 msgid "atan2: received non-numeric first argument" msgstr "atan2: đã nhận đối số thứ nhất khác thuá»™c số" -#: builtin.c:2049 +#: builtin.c:2074 msgid "atan2: received non-numeric second argument" msgstr "atan2: đã nhận đối số thứ hai khác thuá»™c số" -#: builtin.c:2068 +#: builtin.c:2093 msgid "sin: received non-numeric argument" msgstr "sin: đã nhận đối số không phải thuá»™c số" -#: builtin.c:2084 +#: builtin.c:2109 msgid "cos: received non-numeric argument" msgstr "cos: đã nhận đối số không phải thuá»™c số" -#: builtin.c:2137 +#: builtin.c:2162 msgid "srand: received non-numeric argument" msgstr "srand: đã nhận đối số không phải thuá»™c số" -#: builtin.c:2172 +#: builtin.c:2197 msgid "match: third argument is not an array" msgstr "match: (khá»›p) đối số thứ ba không phải là mảng" -#: builtin.c:2719 +#: builtin.c:2744 msgid "gensub: third argument of 0 treated as 1" msgstr "gensub: đối số thứ ba 0 được xá»­ lý nhÆ° 1" -#: builtin.c:2835 +#: builtin.c:2860 msgid "lshift: received non-numeric first argument" msgstr "lshift: đã nhận đối số đầu không phải thuá»™c số" -#: builtin.c:2837 +#: builtin.c:2862 msgid "lshift: received non-numeric second argument" msgstr "lshift: (dịch bên trái) đã nhận đối số thứ hai khác thuá»™c số" -#: builtin.c:2843 +#: builtin.c:2868 #, c-format msgid "lshift(%lf, %lf): negative values will give strange results" msgstr "lshift(%lf, %lf): giá trị âm sẽ gây ra kết quả lạ" -#: builtin.c:2845 +#: builtin.c:2870 #, c-format msgid "lshift(%lf, %lf): fractional values will be truncated" msgstr "lshift(%lf, %lf): giá trị thuá»™c phân số sẽ bị xén ngắn" -#: builtin.c:2847 +#: builtin.c:2872 #, c-format msgid "lshift(%lf, %lf): too large shift value will give strange results" msgstr "lshift(%lf, %lf): giá trị dịch quá lá»›n sẽ gây ra kết quả lạ" -#: builtin.c:2873 +#: builtin.c:2898 msgid "rshift: received non-numeric first argument" msgstr "rshift: đã nhận đối số thứ nhất khác thuá»™c số" -#: builtin.c:2875 +#: builtin.c:2900 msgid "rshift: received non-numeric second argument" msgstr "rshift: (dịch bên phải) đã nhận đối số thứ hai khác thuá»™c số" -#: builtin.c:2881 +#: builtin.c:2906 #, c-format msgid "rshift(%lf, %lf): negative values will give strange results" msgstr "rshift(%lf, %lf): giá trị âm sẽ gây ra kết quả lạ" -#: builtin.c:2883 +#: builtin.c:2908 #, c-format msgid "rshift(%lf, %lf): fractional values will be truncated" msgstr "rshift(%lf, %lf): giá trị thuá»™c phân số sẽ bị xén ngắn" -#: builtin.c:2885 +#: builtin.c:2910 #, c-format msgid "rshift(%lf, %lf): too large shift value will give strange results" msgstr "rshift(%lf, %lf): giá trị dịch quá lá»›n sẽ gây ra kết quả lạ" -#: builtin.c:2911 +#: builtin.c:2936 msgid "and: received non-numeric first argument" msgstr "and: (và) đã nhận đối số đầu không phải thuá»™c số" -#: builtin.c:2913 +#: builtin.c:2938 msgid "and: received non-numeric second argument" msgstr "and: (và) đã nhận đối số thứ hai khác thuá»™c số" -#: builtin.c:2919 +#: builtin.c:2944 #, c-format msgid "and(%lf, %lf): negative values will give strange results" msgstr "and(%lf, %lf): (và) giá trị âm sẽ gây ra kết quả lạ" -#: builtin.c:2921 +#: builtin.c:2946 #, c-format msgid "and(%lf, %lf): fractional values will be truncated" msgstr "and(%lf, %lf): (và) giá trị thuá»™c phân số sẽ bị xén ngắn" -#: builtin.c:2947 +#: builtin.c:2972 msgid "or: received non-numeric first argument" msgstr "or: (hoặc) đã nhận đối số đầu không phải thuá»™c số" -#: builtin.c:2949 +#: builtin.c:2974 msgid "or: received non-numeric second argument" msgstr "or: (hoặc) đã nhận đối số thứ hai khác thuá»™c số" -#: builtin.c:2955 +#: builtin.c:2980 #, c-format msgid "or(%lf, %lf): negative values will give strange results" msgstr "or(%lf, %lf): (hoặc) giá trị âm sẽ gây ra kết quả lạ" -#: builtin.c:2957 +#: builtin.c:2982 #, c-format msgid "or(%lf, %lf): fractional values will be truncated" msgstr "or(%lf, %lf): (hoặc) giá trị thuá»™c phân số sẽ bị xén ngắn" -#: builtin.c:2983 +#: builtin.c:3008 msgid "xor: received non-numeric first argument" msgstr "xor: (không hoặc) đã nhận đối số thứ nhất khác thuá»™c số" -#: builtin.c:2985 +#: builtin.c:3010 msgid "xor: received non-numeric second argument" msgstr "xor: đã nhận đối số thứ hai khác thuá»™c số" -#: builtin.c:2991 +#: builtin.c:3016 #, c-format msgid "xor(%lf, %lf): negative values will give strange results" msgstr "xor(%lf, %lf): (không hoặc) giá trị âm sẽ gây ra kết quả lạ" -#: builtin.c:2993 +#: builtin.c:3018 #, c-format msgid "xor(%lf, %lf): fractional values will be truncated" msgstr "xor(%lf, %lf): (không hoặc) giá trị thuá»™c phân số sẽ bị xén ngắn" -#: builtin.c:3017 +#: builtin.c:3042 msgid "compl: received non-numeric argument" msgstr "compl: (biên dịch) đã nhận đối số khác thuá»™c số" -#: builtin.c:3023 +#: builtin.c:3048 #, c-format msgid "compl(%lf): negative value will give strange results" msgstr "compl(%lf): (biên dịch) giá trị âm sẽ gây ra kết quả lạ" -#: builtin.c:3025 +#: builtin.c:3050 #, c-format msgid "compl(%lf): fractional value will be truncated" msgstr "compl(%lf): (biên dịch) giá trị thuá»™c phân số se bị xén ngắn" -#: builtin.c:3198 +#: builtin.c:3223 #, c-format msgid "dcgettext: `%s' is not a valid locale category" -msgstr "dcgettext: «%s» không phải là má»™t phân loại miá»n địa phÆ°Æ¡ng hợp lệ" +msgstr "dcgettext: « %s » không phải là má»™t phân loại miá»n địa phÆ°Æ¡ng hợp lệ" #: eval.c:372 #, c-format @@ -837,7 +853,7 @@ msgid "buffer overflow in genflags2str" msgstr "tràn bá»™ đệm trong « genflags2str » (tạo ra cỠđến chuá»—i)" -#: eval.c:454 eval.c:460 profile.c:781 +#: eval.c:454 eval.c:460 profile.c:785 #, c-format msgid "attempt to use array `%s' in a scalar context" msgstr "cố gắng dùng mảng « %s » trong má»™t ngữ cảnh vô hÆ°á»›ng" @@ -887,17 +903,17 @@ msgid "statement has no effect" msgstr "câu không có tác dụng" -#: eval.c:1029 eval.c:1999 +#: eval.c:1029 eval.c:2011 #, c-format msgid "can't use function name `%s' as variable or array" -msgstr "không thể dùng tên chức năng « %s » nhÆ° là biến hay mảng" +msgstr "không thể dùng tên hàm « %s » nhÆ° là biến hay mảng" #: eval.c:1036 eval.c:1042 #, c-format msgid "reference to uninitialized argument `%s'" msgstr "gặp tham chiếu đến đối số chÆ°a được sở khởi « %s »" -#: eval.c:1051 eval.c:2008 +#: eval.c:1051 eval.c:2020 #, c-format msgid "reference to uninitialized variable `%s'" msgstr "gặp tham chiếu đến biến chÆ°a được sở khởi « %s »" @@ -918,7 +934,7 @@ msgid "division by zero attempted" msgstr "cố gắng chia cho số không" -#: eval.c:1409 profile.c:657 +#: eval.c:1409 profile.c:661 #, c-format msgid "illegal type (%s) in tree_eval" msgstr "không cho phép kiểu (%s) trong « tree_eval » (Æ°á»›c lượng cây)" @@ -932,17 +948,17 @@ msgid "division by zero attempted in `%%='" msgstr "cố gắng chia cho số không trong « %%= »" -#: eval.c:1859 +#: eval.c:1871 #, c-format msgid "function `%s' called with more arguments than declared" -msgstr "chức năng « %s » được gá»i vá»›i số đối số hÆ¡n số được tuyên bố" +msgstr "hàm « %s » được gá»i vá»›i số đối số hÆ¡n số được tuyên bố" -#: eval.c:1904 +#: eval.c:1916 #, c-format msgid "function `%s' not defined" -msgstr "chÆ°a xác định chức năng « %s »" +msgstr "chÆ°a xác định hàm « %s »" -#: eval.c:1971 +#: eval.c:1983 #, c-format msgid "" "\n" @@ -950,52 +966,52 @@ "\n" msgstr "" "\n" -"\t# Äống gá»i chức năng:\n" +"\t# Äống gá»i hàm:\n" "\n" -#: eval.c:1974 +#: eval.c:1986 #, c-format msgid "\t# -- main --\n" msgstr "" "\t# -- main --\n" "(chính)\n" -#: eval.c:2129 +#: eval.c:2141 msgid "attempt to field reference from non-numeric value" msgstr "cố gắng tham chiếu trÆ°á»ng từ giá trị khác thuá»™c số" -#: eval.c:2131 +#: eval.c:2143 msgid "attempt to reference from null string" msgstr "cố tham chiếu từ chuá»—i vô giá trị" -#: eval.c:2137 +#: eval.c:2149 #, c-format msgid "attempt to access field %d" msgstr "cố gắng truy cập trÆ°á»ng %d" -#: eval.c:2158 eval.c:2165 profile.c:836 +#: eval.c:2170 eval.c:2177 profile.c:840 msgid "assignment is not allowed to result of builtin function" -msgstr "không cho phép gán cho kết quả của chức năng « builtin » (có sẵn)" +msgstr "không cho phép gán cho kết quả của hàm « builtin » (có sẵn)" -#: eval.c:2229 +#: eval.c:2241 msgid "`IGNORECASE' is a gawk extension" msgstr "« IGNORECASE » (bá» qua chữ hoa/thÆ°á»ng) là phần mở rá»™ng gawk" -#: eval.c:2258 +#: eval.c:2270 msgid "`BINMODE' is a gawk extension" msgstr "« BINMODE » (chế Ä‘á»™ nhị phân) là phần mở rá»™ng gawk" -#: eval.c:2316 +#: eval.c:2328 #, c-format msgid "BINMODE value `%s' is invalid, treated as 3" -msgstr "" +msgstr "Giá trị BINMODE (chế Ä‘á»™ nhị phân) « %s » không hợp lệ nên thấy là 3" -#: eval.c:2406 +#: eval.c:2418 #, c-format msgid "bad `%sFMT' specification `%s'" msgstr "đặc tả « %sFMT » sai « %s »" -#: eval.c:2484 +#: eval.c:2496 msgid "turning off `--lint' due to assignment to `LINT'" msgstr "Ä‘ang tắt « --lint » do việc gán cho « LINT »" @@ -1012,60 +1028,58 @@ #, c-format msgid "extension: library `%s': cannot call function `%s' (%s)\n" msgstr "" -"extension: (phần mở rá»™ng) thÆ° viện « %s »: không thể gá»i chức năng « %s » (%" -"s)\n" +"extension: (phần mở rá»™ng) thÆ° viện « %s »: không thể gá»i hàm « %s » (%s)\n" #: ext.c:105 msgid "extension: missing function name" -msgstr "extension: (phần mở rá»™ng) tên chức năng còn thiếu" +msgstr "extension: (phần mở rá»™ng) tên hàm còn thiếu" #: ext.c:110 #, c-format msgid "extension: illegal character `%c' in function name `%s'" -msgstr "" -"extension: (phần mở rá»™ng) gặp ký tá»± cấm « %c » nằm trong tên chức năng « %s »" +msgstr "extension: (phần mở rá»™ng) gặp ký tá»± cấm « %c » nằm trong tên hàm « %s »" #: ext.c:116 #, c-format msgid "extension: can't redefine function `%s'" -msgstr "extension: (phần mở rá»™ng) không thể xác định lại chức năng « %s »" +msgstr "extension: (phần mở rá»™ng) không thể xác định lại hàm « %s »" #: ext.c:120 #, c-format msgid "extension: function `%s' already defined" -msgstr "extension: (phần mở rá»™ng) chức năng « %s » đã được xác định" +msgstr "extension: (phần mở rá»™ng) hàm « %s » đã được xác định" #: ext.c:125 #, c-format msgid "extension: can't use gawk built-in `%s' as function name" msgstr "" "extension: (phần mở rá»™ng) không thể dùng Ä‘iá»u có sẵn của gawk « %s » nhÆ° là " -"tên chức năng" +"tên hàm" #: ext.c:127 #, c-format msgid "extension: function name `%s' previously defined" -msgstr "tên chức năng « %s » đã được xác định trÆ°á»›c" +msgstr "tên hàm « %s » đã được xác định trÆ°á»›c" #: ext.c:204 #, c-format msgid "function `%s' defined to take no more than %d argument(s)" -msgstr "chức năng « %s » được xác định để chấp nhấn %d đối số tối Ä‘a" +msgstr "hàm « %s » được xác định để chấp nhấn %d đối số tối Ä‘a" #: ext.c:207 #, c-format msgid "function `%s': missing argument #%d" -msgstr "chức năng « %s » còn thiếu đối số thứ %d" +msgstr "hàm « %s » còn thiếu đối số thứ %d" #: ext.c:217 #, c-format msgid "function `%s': argument #%d: attempt to use scalar as an array" -msgstr "chức năng « %s »: đối số thứ %d: cố gắng dùng Ä‘iá»u vô hÆ°á»›ng nhÆ° là mảng" +msgstr "hàm « %s »: đối số thứ %d: cố gắng dùng Ä‘iá»u vô hÆ°á»›ng nhÆ° là mảng" #: ext.c:221 #, c-format msgid "function `%s': argument #%d: attempt to use array as a scalar" -msgstr "chức năng « %s »: đối số thứ %d: cố gắng dùng mảng nhÆ° là Ä‘iá»u vô hÆ°á»›ng" +msgstr "hàm « %s »: đối số thứ %d: cố gắng dùng mảng nhÆ° là Ä‘iá»u vô hÆ°á»›ng" #: ext.c:246 msgid "Operation Not Supported" @@ -1101,65 +1115,70 @@ msgid "old awk does not support regexps as value of `FS'" msgstr "awk cÅ© không há»— trợ biểu thức chính quy làm giá trị của « FS »" -#: getopt.c:570 getopt.c:586 -#, fuzzy, c-format +#: getopt.c:574 getopt.c:590 +#, c-format msgid "%s: option '%s' is ambiguous\n" -msgstr "%s: tùy chá»n « %s » là mÆ¡ hồ\n" +msgstr "%s: tùy chá»n « %s » vẫn mÆ¡ hồ\n" -#: getopt.c:619 getopt.c:623 -#, fuzzy, c-format +#: getopt.c:623 getopt.c:627 +#, c-format msgid "%s: option '--%s' doesn't allow an argument\n" msgstr "%s: tùy chá»n « --%s » không cho phép đối số\n" -#: getopt.c:632 getopt.c:637 -#, fuzzy, c-format +#: getopt.c:636 getopt.c:641 +#, c-format msgid "%s: option '%c%s' doesn't allow an argument\n" msgstr "%s: tùy chá»n « %c%s » không cho phép đối số\n" -#: getopt.c:680 getopt.c:699 getopt.c:1002 getopt.c:1021 -#, fuzzy, c-format -msgid "%s: option '%s' requires an argument\n" -msgstr "%s: tùy chá»n «%s» cần đến đối số\n" +#: getopt.c:684 getopt.c:703 +#, c-format +msgid "%s: option '--%s' requires an argument\n" +msgstr "%s: tùy chá»n « --%s » yêu cầu má»™t đối số\n" -#: getopt.c:737 getopt.c:740 -#, fuzzy, c-format +#: getopt.c:741 getopt.c:744 +#, c-format msgid "%s: unrecognized option '--%s'\n" -msgstr "%s: không nhận diện tùy chá»n « --%s »\n" +msgstr "%s: không nhận ra tùy chá»n « --%s »\n" -#: getopt.c:748 getopt.c:751 -#, fuzzy, c-format +#: getopt.c:752 getopt.c:755 +#, c-format msgid "%s: unrecognized option '%c%s'\n" -msgstr "%s: không nhận diện tùy chá»n « %c%s »\n" +msgstr "%s: không nhận ra tùy chá»n « %c%s »\n" -#: getopt.c:800 getopt.c:803 -#, fuzzy, c-format +#: getopt.c:804 getopt.c:807 +#, c-format msgid "%s: invalid option -- '%c'\n" -msgstr "%s: tùy chá»n không hợp lệ « -- %c »\n" +msgstr "%s: tùy chá»n không hợp lệ -- « %c »\n" -#: getopt.c:853 getopt.c:870 getopt.c:1073 getopt.c:1091 -#, fuzzy, c-format +#: getopt.c:857 getopt.c:874 getopt.c:1082 getopt.c:1100 +#, c-format msgid "%s: option requires an argument -- '%c'\n" -msgstr "%s: tùy chá»n cần đến đối số « -- %c »\n" +msgstr "%s: tùy chá»n yêu cầu má»™t đối số -- « %c »\n" -#: getopt.c:923 getopt.c:939 -#, fuzzy, c-format +#: getopt.c:930 getopt.c:946 +#, c-format msgid "%s: option '-W %s' is ambiguous\n" -msgstr "%s: tùy chá»n « -W %s » là mÆ¡ hồ\n" +msgstr "%s: tùy chá»n « -W %s » vẫn mÆ¡ hồ\n" -#: getopt.c:963 getopt.c:981 -#, fuzzy, c-format +#: getopt.c:970 getopt.c:988 +#, c-format msgid "%s: option '-W %s' doesn't allow an argument\n" -msgstr "%s: tùy chá»n «-W %s» không cho phép đối số\n" +msgstr "%s: tùy chá»n « -W %s » không cho phép đối số\n" + +#: getopt.c:1009 getopt.c:1027 +#, c-format +msgid "%s: option '-W %s' requires an argument\n" +msgstr "%s: tùy chá»n « -W %s » yêu cầu má»™t đối số\n" #: io.c:322 io.c:352 #, c-format msgid "cannot open file `%s' for reading (%s)" -msgstr "không mở được tập tin «%s» để ghi (%s)" +msgstr "không mở được tập tin « %s » để Ä‘á»c (%s)" #: io.c:443 #, c-format msgid "close of fd %d (`%s') failed (%s)" -msgstr "lá»—i đóng « fd %d » (« %s ») (%s)" +msgstr "lá»—i đóng fd %d (« %s ») (%s)" #: io.c:583 #, c-format @@ -1174,13 +1193,13 @@ #: io.c:595 #, c-format msgid "expression for `%s' redirection has null string value" -msgstr "biểu thức cho Ä‘iá»u chuyển hÆ°á»›ng «%s» có giá trị chuá»—i vô giá trị" +msgstr "biểu thức cho Ä‘iá»u chuyển hÆ°á»›ng « %s » có giá trị chuá»—i vô giá trị" #: io.c:600 #, c-format msgid "filename `%s' for `%s' redirection may be result of logical expression" msgstr "" -"tên tập tin «%s» cho Ä‘iá»u chuyển hÆ°á»›ng «%s» có lẽ là kết quả của biểu thức " +"tên tập tin « %s » cho Ä‘iá»u chuyển hÆ°á»›ng « %s » có lẽ là kết quả của biểu thức " "luận lý" #: io.c:638 @@ -1198,506 +1217,486 @@ msgid "can't open pipe `%s' for input (%s)" msgstr "không thể mở ống dẫn « %s » để nhập (%s)" -#: io.c:712 -#, c-format -msgid "can't open two way socket `%s' for input/output (%s)" -msgstr "không thể mở ổ cắm hai chiá»u « %s » để nhập/xuất (%s)" - -#: io.c:716 +#: io.c:717 #, c-format msgid "can't open two way pipe `%s' for input/output (%s)" msgstr "không thể mở ống dẫn hai chiá»u « %s » để nhập/xuất (%s)" -#: io.c:793 +#: io.c:795 #, c-format msgid "can't redirect from `%s' (%s)" msgstr "không thể chuyển hÆ°á»›ng từ « %s » (%s)" -#: io.c:796 +#: io.c:798 #, c-format msgid "can't redirect to `%s' (%s)" -msgstr "không thể chuyển hÆ°á»›ng đến «%s» (%s)" +msgstr "không thể chuyển hÆ°á»›ng đến « %s » (%s)" -#: io.c:849 +#: io.c:851 msgid "" "reached system limit for open files: starting to multiplex file descriptors" msgstr "" "đã tá»›i giá»›i hạn hệ thống vá» tập tin được mở nên bắt đầu phối hợp nhiá»u dòng " "Ä‘iá»u mô tả tập tin" -#: io.c:865 +#: io.c:867 #, c-format msgid "close of `%s' failed (%s)." msgstr "lá»—i đóng « %s » (%s)" -#: io.c:873 +#: io.c:875 msgid "too many pipes or input files open" msgstr "quá nhiá»u ống dẫn hay tập tin nhập được mở" -#: io.c:896 +#: io.c:898 msgid "close: second argument must be `to' or `from'" msgstr "close: (đóng) đối số thứ hai phải là « to » (đến) hay « from » (từ)" -#: io.c:910 +#: io.c:912 #, c-format msgid "close: `%.*s' is not an open file, pipe or co-process" msgstr "" "close: (đóng) « %.*s » không phải là tập tin được mở, ống dẫn hay tiến trình " "vá»›i nhau" -#: io.c:915 +#: io.c:917 msgid "close of redirection that was never opened" msgstr "việc đóng Ä‘iá»u chuyển hÆ°á»›ng chÆ°a mở" -#: io.c:1012 +#: io.c:1014 #, c-format msgid "close: redirection `%s' not opened with `|&', second argument ignored" msgstr "" "close: (đóng) Ä‘iá»u chuyển hÆ°á»›ng « %s » không được mở bởi « |& » nên đối số thứ " "hai bị bá» qua" -#: io.c:1028 +#: io.c:1030 #, c-format msgid "failure status (%d) on pipe close of `%s' (%s)" -msgstr "trạng thái thất bại (%d) khi đóng ống dẫn «%s» (%s)" +msgstr "trạng thái thất bại (%d) khi đóng ống dẫn « %s » (%s)" -#: io.c:1031 +#: io.c:1033 #, c-format msgid "failure status (%d) on file close of `%s' (%s)" -msgstr "trạng thái thất bại (%d) khi đóng tập tin «%s» (%s)" +msgstr "trạng thái thất bại (%d) khi đóng tập tin « %s » (%s)" -#: io.c:1051 +#: io.c:1053 #, c-format msgid "no explicit close of socket `%s' provided" msgstr "không có việc đóng dứt khoát ổ cắm « %s » được cung cấp" -#: io.c:1054 +#: io.c:1056 #, c-format msgid "no explicit close of co-process `%s' provided" msgstr "không có việc đóng dứt khoát đồng tiến trình « %s » được cung cấp" -#: io.c:1057 +#: io.c:1059 #, c-format msgid "no explicit close of pipe `%s' provided" msgstr "không có việc đóng dứt khoát ống dẫn « %s » được cung cấp" -#: io.c:1060 +#: io.c:1062 #, c-format msgid "no explicit close of file `%s' provided" msgstr "không có việc đóng dứt khoát tập tin « %s » được cung cấp" -#: io.c:1088 io.c:1143 main.c:776 main.c:818 +#: io.c:1090 io.c:1145 main.c:781 main.c:823 #, c-format msgid "error writing standard output (%s)" msgstr "gặp lá»—i khi ghi thiết bị xụất chuẩn (%s)" -#: io.c:1092 io.c:1148 +#: io.c:1094 io.c:1150 #, c-format msgid "error writing standard error (%s)" msgstr "gặp lá»—i khi ghi thiết bị lá»—i chuẩn (%s)" -#: io.c:1100 +#: io.c:1102 #, c-format msgid "pipe flush of `%s' failed (%s)." -msgstr "lá»—i xóa sạch ống dẫn « %s » (%s)" +msgstr "lá»—i xoá sạch ống dẫn « %s » (%s)" -#: io.c:1103 +#: io.c:1105 #, c-format msgid "co-process flush of pipe to `%s' failed (%s)." -msgstr "lá»—i xóa sạch ống dẫn đồng tiến trình đến « %s » (%s)" +msgstr "lá»—i xoá sạch ống dẫn đồng tiến trình đến « %s » (%s)" -#: io.c:1106 +#: io.c:1108 #, c-format msgid "file flush of `%s' failed (%s)." -msgstr "lá»—i xóa sạch tập tin « %s » (%s)" +msgstr "lá»—i xoá sạch tập tin « %s » (%s)" -#: io.c:1220 +#: io.c:1222 #, c-format msgid "local port %s invalid in `/inet'" msgstr "cổng cục bá»™ %s không hợp lệ trong « /inet »" -#: io.c:1237 +#: io.c:1239 #, c-format msgid "remote host and port information (%s, %s) invalid" msgstr "thông tin vá» máy/cổng ở xa (%s, %s) không phải hợp lệ" -#: io.c:1272 +#: io.c:1274 msgid "/inet/raw client not ready yet, sorry" msgstr "tiếc là ứng dụng khách chÆ°a sẵn sàng" -#: io.c:1275 io.c:1311 +#: io.c:1277 io.c:1313 msgid "only root may use `/inet/raw'." msgstr "chỉ ngÆ°á»i chủ (root) có thể dùng thôi" -#: io.c:1309 +#: io.c:1311 msgid "/inet/raw server not ready yet, sorry" msgstr "tiếc là trình phục vụ chÆ°a sẵn sàng" -#: io.c:1407 +#: io.c:1409 #, c-format msgid "no (known) protocol supplied in special filename `%s'" msgstr "" "trong tên tập tin đặc biệt « %s » không cung cấp giao thức (đã biết) nào" -#: io.c:1421 +#: io.c:1423 #, c-format msgid "special file name `%s' is incomplete" msgstr "tên tập tin đặc biệt « %s » chÆ°a xong" -#: io.c:1436 +#: io.c:1438 msgid "must supply a remote hostname to `/inet'" msgstr "phải cung cấp má»™t tên máy từ xa cho " -#: io.c:1454 +#: io.c:1456 msgid "must supply a remote port to `/inet'" msgstr "phải cung cấp má»™t cổng từ xa cho " -#: io.c:1485 +#: io.c:1502 msgid "TCP/IP communications are not supported" msgstr "truyá»n thông TCP/IP không được há»— trợ" -#: io.c:1494 +#: io.c:1511 #, c-format msgid "file `%s' is a directory" msgstr "tập tin « %s » là thÆ° mục" -#: io.c:1555 +#: io.c:1572 #, c-format msgid "use `PROCINFO[\"%s\"]' instead of `%s'" msgstr "hãy dùng « PROCINFO[\"%s\"] » (thông tin tiến trình) thay cho « %s »" -#: io.c:1593 +#: io.c:1610 msgid "use `PROCINFO[...]' instead of `/dev/user'" msgstr "hãy dùng « PROCINFO[...] » (thông tin tiến trình) thay cho " -#: io.c:1658 io.c:1853 +#: io.c:1675 io.c:1872 #, c-format msgid "could not open `%s', mode `%s'" -msgstr "không mở được «%s», chế Ä‘á»™ «%s»" +msgstr "không mở được « %s », chế Ä‘á»™ « %s »" -#: io.c:1904 +#: io.c:1923 #, c-format msgid "close of master pty failed (%s)" msgstr "lá»—i đóng pty (tài sản?) chính (%s)" -#: io.c:1906 io.c:2058 io.c:2209 +#: io.c:1925 io.c:2077 io.c:2228 #, c-format msgid "close of stdout in child failed (%s)" msgstr "lá»—i đóng thiết bị xuất chuẩn trong tiến trình con (%s)" -#: io.c:1909 +#: io.c:1928 #, c-format msgid "moving slave pty to stdout in child failed (dup: %s)" msgstr "" "lá»—i di chuyển pty (tài sản?) phụ tá»›i thiết bị xuất chuẩn trong Ä‘iá»u con " "(nhân đôi: %s)" -#: io.c:1911 io.c:2063 +#: io.c:1930 io.c:2082 #, c-format msgid "close of stdin in child failed (%s)" msgstr "lá»—i đóng thiết bị nhập chuẩn trong tiến trình con (%s)" -#: io.c:1914 +#: io.c:1933 #, c-format msgid "moving slave pty to stdin in child failed (dup: %s)" msgstr "" "lá»—i di chuyển pty (tài sản?) phụ tá»›i thiết bị nhập chuẩn trong Ä‘iá»u con " "(nhân đôi: %s)" -#: io.c:1916 io.c:1935 +#: io.c:1935 io.c:1954 #, c-format msgid "close of slave pty failed (%s)" msgstr "lá»—i đóng pty (tài sản?) phụ (%s)" -#: io.c:2009 io.c:2061 io.c:2190 io.c:2212 +#: io.c:2028 io.c:2080 io.c:2209 io.c:2231 #, c-format msgid "moving pipe to stdout in child failed (dup: %s)" msgstr "" "lá»—i di chuyển ống dẫn đến thiết bị xuất chuẩn trong tiến trình con (dup: %s) " "(nhân đôi)" -#: io.c:2013 io.c:2066 +#: io.c:2032 io.c:2085 #, c-format msgid "moving pipe to stdin in child failed (dup: %s)" msgstr "" "lá»—i di chuyển ống dẫn đến thiết bị nhập chuẩn trong tiến trình con (dup: %s) " "(nhân đôi)" -#: io.c:2030 io.c:2203 +#: io.c:2049 io.c:2222 msgid "restoring stdout in parent process failed\n" msgstr "lá»—i phục hồi thiết bị xuất chuẩn trong tiến trình mẹ\n" -#: io.c:2035 +#: io.c:2054 msgid "restoring stdin in parent process failed\n" msgstr "lá»—i phục hồi thiết bị nhập chuẩn trong tiến trình mẹ\n" -#: io.c:2069 io.c:2214 io.c:2225 +#: io.c:2088 io.c:2233 io.c:2244 #, c-format msgid "close of pipe failed (%s)" msgstr "lá»—i đóng ống dẫn (%s)" -#: io.c:2114 +#: io.c:2133 msgid "`|&' not supported" msgstr "« |& » không được há»— trợ" -#: io.c:2180 +#: io.c:2199 #, c-format msgid "cannot open pipe `%s' (%s)" msgstr "không thể mở ống dẫn « %s » (%s)" -#: io.c:2221 +#: io.c:2240 #, c-format msgid "cannot create child process for `%s' (fork: %s)" msgstr "không thể tạo tiến trình con cho « %s » (fork: %s)" -#: io.c:2603 +#: io.c:2622 #, c-format msgid "data file `%s' is empty" msgstr "tập tin dữ liệu « %s » là rá»—ng" -#: io.c:2644 io.c:2652 +#: io.c:2663 io.c:2671 msgid "could not allocate more input memory" msgstr "không thể cấp phát bá»™ nhá»› nhập thêm nữa" -#: io.c:3020 io.c:3093 +#: io.c:3039 io.c:3112 #, c-format msgid "error reading input file `%s': %s" msgstr "gặp lá»—i khi Ä‘á»c tập tin nhập « %s »: %s" -#: io.c:3218 +#: io.c:3237 msgid "multicharacter value of `RS' is a gawk extension" msgstr "giá trị Ä‘a ký tá»± của « RS » là phần mở rá»™ng gawk" -#: main.c:304 +#: main.c:306 msgid "out of memory" -msgstr "" +msgstr "không đủ bá»™ nhá»›" -#: main.c:373 +#: main.c:374 msgid "`-m[fr]' option irrelevant in gawk" msgstr "tùy chá»n « -m[fr] » không thích Ä‘ang trong gawk" -#: main.c:375 +#: main.c:376 msgid "-m option usage: `-m[fr] nnn'" -msgstr "cách sá»­ dụng tùy chá»n «-m»: « -m[fr] nnn »" +msgstr "cách sá»­ dụng tùy chá»n « -m »: « -m[fr] nnn »" -#: main.c:392 +#: main.c:393 #, c-format msgid "%s: option `-W %s' unrecognized, ignored\n" msgstr "%s: tùy chá»n « -W %s » không được nhận diện nên bị bá» qua\n" -#: main.c:433 +#: main.c:434 msgid "empty argument to `--source' ignored" msgstr "đối số rá»—ng tá»›i « --source » (nguồn) bị bá» qua" -#: main.c:487 +#: main.c:488 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: tùy chá»n cần đến đối số « -- %c »\n" -#: main.c:506 +#: main.c:509 msgid "environment variable `POSIXLY_CORRECT' set: turning on `--posix'" msgstr "" "biến môi trÆ°á»ng « POSIXLY_CORRECT » (đúng kiểu POSIX) đã được đặt; Ä‘ang bật " "tùy chá»n « --posix »" -#: main.c:512 +#: main.c:515 msgid "`--posix' overrides `--traditional'" msgstr "tùy chá»n « --posix » có quyá»n cao hÆ¡n « --traditional » (truyá»n thống)" -#: main.c:523 +#: main.c:526 msgid "`--posix'/`--traditional' overrides `--non-decimal-data'" msgstr "" "« --posix »/« --traditional » (truyá»n thống) có quyá»n cao hÆ¡n « --non-decimal-" "data » (dữ liệu khác thập phân)" -#: main.c:527 +#: main.c:530 #, c-format msgid "running %s setuid root may be a security problem" msgstr "việc chạy %s vá»›i tÆ° cách « setuid root » có thể rủi rá» bảo mật" -#: main.c:568 +#: main.c:571 #, c-format msgid "can't set binary mode on stdin (%s)" msgstr "không thể đặt chế Ä‘á»™ nhị phân trên thiết bị nhập chuẩn (%s)" -#: main.c:571 +#: main.c:574 #, c-format msgid "can't set binary mode on stdout (%s)" msgstr "không thể đặt chế Ä‘á»™ nhị phân trên thiết bị xuất chuẩn (%s)" -#: main.c:573 +#: main.c:576 #, c-format msgid "can't set binary mode on stderr (%s)" msgstr "không thể đặt chế Ä‘á»™ nhị phân trên thiết bị lá»—i chuẩn (%s)" -#: main.c:612 +#: main.c:617 msgid "no program text at all!" msgstr "không có Ä‘oạn chữ chÆ°Æ¡ng trình nào cả !" -#: main.c:716 +#: main.c:721 #, c-format msgid "Usage: %s [POSIX or GNU style options] -f progfile [--] file ...\n" msgstr "" "Cách sá»­ dụng: %s [tùy chá»n kiểu POSIX hay GNU] -f tập_tin_chÆ°Æ¡ng_trình [--] " "tập_tin ...\n" -#: main.c:718 +#: main.c:723 #, c-format msgid "Usage: %s [POSIX or GNU style options] [--] %cprogram%c file ...\n" msgstr "" "Cách sá»­ dụng: %s [tùy chá»n kiểu POSIX hay GNU] [--] %cchÆ°Æ¡ng_trình%c " "tập_tin ...\n" -#: main.c:723 +#: main.c:728 msgid "POSIX options:\t\tGNU long options:\n" msgstr "tùy chá»n POSIX:\t\ttùy chá»n dài GNU:\n" -#: main.c:724 +#: main.c:729 msgid "\t-f progfile\t\t--file=progfile\n" msgstr "\t-f tập_tin_chÆ°Æ¡ng_trình\t\t--file=tập_tin_chÆ°Æ¡ng_trình\n" -#: main.c:725 +#: main.c:730 msgid "\t-F fs\t\t\t--field-separator=fs\n" msgstr "\t-F fs\t\t\t--field-separator=Ä‘iá»u phân cách trÆ°á»ng\n" -#: main.c:726 +#: main.c:731 msgid "\t-v var=val\t\t--assign=var=val\n" msgstr "" "\t-v var=giá trị\t\t--assign=biến=giá_trị\n" -"(assign: gán, var: biến)\n" +"(assign: gán)\n" -#: main.c:727 +#: main.c:732 msgid "\t-m[fr] val\n" msgstr "\t-m[fr] giá_trị\n" -#: main.c:728 +#: main.c:733 msgid "\t-O\t\t\t--optimize\n" -msgstr "" +msgstr "\t-O\t\t\t--optimize\ttối Æ°u hoá\n" -#: main.c:729 +#: main.c:734 msgid "\t-W compat\t\t--compat\n" -msgstr "" -"\t-W compat\t\t--compat\n" -"(compat là viết tắt cho compatible: tÆ°Æ¡ng thích)\n" +msgstr "\t-W compat\t\t--compat\ttÆ°Æ¡ng thích\n" -#: main.c:730 +#: main.c:735 msgid "\t-W copyleft\t\t--copyleft\n" -msgstr "" -"\t-W copyleft\t\t--copyleft\n" -"(tắc quyá»n ngược)\n" +msgstr "\t-W copyleft\t\t--copyleft\ttác quyá»n ngược\n" -#: main.c:731 +#: main.c:736 msgid "\t-W copyright\t\t--copyright\n" -msgstr "" -"\t-W copyright\t\t--copyright\n" -"(tác quyá»n)\n" +msgstr "\t-W copyright\t\t--copyright\ttác quyá»n\n" -#: main.c:732 +#: main.c:737 msgid "\t-W dump-variables[=file]\t--dump-variables[=file]\n" msgstr "" "\t-W dump-variables[=tập_tin]\t--dump-variables[=tập_tin]\n" "(đổ các biến)\n" -#: main.c:733 +#: main.c:738 msgid "\t-W exec=file\t\t--exec=file\n" msgstr "\t-W exec=tập_tin\t\t--exec=tập_tin\n" -#: main.c:734 +#: main.c:739 msgid "\t-W gen-po\t\t--gen-po\n" msgstr "" "\t-W gen-po\t\t--gen-po\n" "(gen là viết tắt cho generate: tạo ra)\n" -#: main.c:735 +#: main.c:740 msgid "\t-W help\t\t\t--help\n" -msgstr "" -"\t-W help\t\t\t--help\n" -"(trợ giúp)\n" +msgstr "\t-W help\t\t\t--help\ttrợ giúp\n" -#: main.c:736 +#: main.c:741 msgid "\t-W lint[=fatal]\t\t--lint[=fatal]\n" msgstr "" "\t-W lint[=fatal]\t\t--lint[=fatal]\n" -"(l? int là viết tắt cho integer: số nguyên\n" -"fatal: nghiêm trá»ng)\n" +"(fatal: nghiêm trá»ng)\n" -#: main.c:737 +#: main.c:742 msgid "\t-W lint-old\t\t--lint-old\n" msgstr "" "\t-W lint-old\t\t--lint-old\n" "(old: cÅ©)\n" -#: main.c:738 +#: main.c:743 msgid "\t-W non-decimal-data\t--non-decimal-data\n" msgstr "" "\t-W non-decimal-data\t--non-decimal-data\n" "(dữ liệu khác thập phân)\n" -#: main.c:740 +#: main.c:745 msgid "\t-W nostalgia\t\t--nostalgia\n" msgstr "" "\t-W nostalgia\t\t--nostalgia\n" "(ná»—i luyến tiếc quá khứ)\n" -#: main.c:743 +#: main.c:748 msgid "\t-W parsedebug\t\t--parsedebug\n" msgstr "" "\t-W parsedebug\t\t--parsedebug\n" -"(parse: phân tách\n" +"(parse: phân tích\n" "debug: gỡ lá»—i)\n" -#: main.c:745 +#: main.c:750 msgid "\t-W profile[=file]\t--profile[=file]\n" msgstr "" "\t-W profile[=tập_tin]\t--profile[=tập_tin]\n" "(profile: hồ sÆ¡)\n" -#: main.c:746 +#: main.c:751 msgid "\t-W posix\t\t--posix\n" msgstr "\t-W posix\t\t--posix\n" -#: main.c:747 +#: main.c:752 msgid "\t-W re-interval\t\t--re-interval\n" msgstr "" "\t-W re-interval\t\t--re-interval\n" "(re-[Ä‘á»™ng từ]: [làm] lại\n" "interval: thá»i gian giữa hai lúc)\n" -#: main.c:748 +#: main.c:753 msgid "\t-W source=program-text\t--source=program-text\n" msgstr "" "\t-W source=program-text\t--source=program-text\n" "(source: nguồn\n" "program-text: Ä‘oạn chữ của chÆ°Æ¡ng trình)\n" -#: main.c:749 +#: main.c:754 msgid "\t-W traditional\t\t--traditional\n" -msgstr "" -"\t-W traditional\t\t--traditional\n" -"(truyá»n thống)\n" +msgstr "\t-W traditional\t\t--traditional\ttruyá»n thống\n" -#: main.c:750 +#: main.c:755 msgid "\t-W usage\t\t--usage\n" -msgstr "" -"\t-W usage\t\t--usage\n" -"(cách sá»­ dụng)\n" +msgstr "\t-W usage\t\t--usage\tcách sá»­ dụng\n" -#: main.c:751 +#: main.c:756 msgid "\t-W use-lc-numeric\t--use-lc-numeric\n" msgstr "\t-W use-lc-numeric\t--use-lc-numeric\n" -#: main.c:752 +#: main.c:757 msgid "\t-W version\t\t--version\n" -msgstr "" -"\t-W version\t\t--version\n" -"(phiên bản)\n" +msgstr "\t-W version\t\t--version\tphiên bản\n" #. TRANSLATORS: --help output 5 (end) #. TRANSLATORS: the placeholder indicates the bug-reporting address #. for this application. Please add _another line_ with the #. address for translation bugs. #. no-wrap -#: main.c:761 +#: main.c:766 msgid "" "\n" "To report bugs, see node `Bugs' in `gawk.info', which is\n" @@ -1711,7 +1710,7 @@ "trong bản in.\n" "\n" -#: main.c:765 +#: main.c:770 msgid "" "gawk is a pattern scanning and processing language.\n" "By default it reads standard input and writes standard output.\n" @@ -1721,7 +1720,7 @@ "Mặc định là nó Ä‘á»c thiết bị nhập chuẩn và ghi ra thiết bị xuất chuẩn.\n" "\n" -#: main.c:769 +#: main.c:774 msgid "" "Examples:\n" "\tgawk '{ sum += $1 }; END { print sum }' file\n" @@ -1731,7 +1730,7 @@ "\tgawk '{ sum += $1 }; END { print sum }' file\n" "\tgawk -F: '{ print $1 }' /etc/passwd\n" -#: main.c:789 +#: main.c:794 #, c-format msgid "" "Copyright (C) 1989, 1991-%d Free Software Foundation.\n" @@ -1750,7 +1749,7 @@ "kỳ phiên bản sau nào.\n" "\n" -#: main.c:797 +#: main.c:802 msgid "" "This program is distributed in the hope that it will be useful,\n" "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" @@ -1764,7 +1763,7 @@ "Hãy xem Bản Quyá»n Công Chung GNU (GPL) để tìm chi tiết.\n" "\n" -#: main.c:808 +#: main.c:813 msgid "" "You should have received a copy of the GNU General Public License\n" "along with this program. If not, see http://www.gnu.org/licenses/.\n" @@ -1773,11 +1772,11 @@ "cùng vá»›i chÆ°Æ¡ng trình này. Không thì xem địa chỉ « http://www.gnu.org/" "licenses/ ».\n" -#: main.c:843 +#: main.c:848 msgid "-Ft does not set FS to tab in POSIX awk" msgstr "-Ft không đặt FS (hệ thống tập tin?) là tab trong awk POSIX" -#: main.c:1117 +#: main.c:1122 #, c-format msgid "" "%s: `%s' argument to `-v' not in `var=value' form\n" @@ -1786,45 +1785,43 @@ "%s: đối số « %s » đối vá»›i « -v » không phải có dạng « biến=giá_trị »\n" "\n" -#: main.c:1137 +#: main.c:1142 #, c-format msgid "`%s' is not a legal variable name" msgstr "« %s » không phải là tên biến hợp lệ" -#: main.c:1140 +#: main.c:1145 #, c-format msgid "`%s' is not a variable name, looking for file `%s=%s'" msgstr "« %s » không phải là tên biến; Ä‘ang tìm tập tin « %s=%s »" -#: main.c:1179 +#: main.c:1184 msgid "floating point exception" msgstr "ngoại lệ Ä‘iểm phù Ä‘á»™ng" -#: main.c:1186 +#: main.c:1191 msgid "fatal error: internal error" msgstr "lá»—i nghiêm trá»ng: lá»—i ná»™i bá»™" -#: main.c:1200 -#, fuzzy +#: main.c:1206 msgid "fatal error: internal error: segfault" -msgstr "lá»—i nghiêm trá»ng: lá»—i ná»™i bá»™" +msgstr "lá»—i nghiêm trá»ng: lá»—i ná»™i bá»™ : lá»—i chia ra từng Ä‘oạn" -#: main.c:1212 -#, fuzzy +#: main.c:1218 msgid "fatal error: internal error: stack overflow" -msgstr "lá»—i nghiêm trá»ng: lá»—i ná»™i bá»™" +msgstr "lá»—i nghiêm trá»ng: lá»—i ná»™i bá»™ : tràn đống" -#: main.c:1261 +#: main.c:1268 #, c-format msgid "no pre-opened fd %d" msgstr "không có fd (chỉ thị tập tin?) %d đã mở trÆ°á»›c" -#: main.c:1268 +#: main.c:1275 #, c-format msgid "could not pre-open /dev/null for fd %d" -msgstr "không thể mở trÆ°á»›c cho fd (chỉ thị tập tin?) %d" +msgstr "không thể mở sẵn « /dev/null » cho fd %d" -#: main.c:1291 main.c:1300 +#: main.c:1298 main.c:1307 #, c-format msgid "could not find groups: %s" msgstr "không tìm thấy nhóm: %s" @@ -1850,31 +1847,33 @@ msgid "can't convert string to float" msgstr "không thể chuyển đổi chuá»—i sang Ä‘iá»u lÆ¡ lá»­ng" -#: node.c:462 +#: node.c:465 msgid "backslash at end of string" msgstr "gặp xuyệc ngoặc tại kết thúc của chuá»—i" -#: node.c:606 +#: node.c:609 #, c-format msgid "old awk does not support the `\\%c' escape sequence" msgstr "awk cÅ© không há»— trợ dãy thoát « \\%c »" -#: node.c:657 +#: node.c:660 msgid "POSIX does not allow `\\x' escapes" msgstr "POSIX không cho phép Ä‘iá»u thoát « \\x »" -#: node.c:663 +#: node.c:666 msgid "no hex digits in `\\x' escape sequence" msgstr "không có số thập lúc nằm trong dây thoát « \\x »" -#: node.c:685 +#: node.c:688 #, c-format msgid "" "hex escape \\x%.*s of %d characters probably not interpreted the way you " "expect" msgstr "" +"dây thoát thập lục \\x%.*s chứa %d ký tá»± mà rất có thể không phải được Ä‘á»c " +"bằng cách dá»± định" -#: node.c:700 +#: node.c:703 #, c-format msgid "escape sequence `\\%c' treated as plain `%c'" msgstr "dây thoát « \\%c » được xá»­ lý nhÆ° là « %c » chuẩn" @@ -1886,32 +1885,31 @@ "%s %s « %s »: không thể đặt « close-on-exec » (đóng má»™t khi thá»±c hiện) (fcntl: " "%s)" -#: profile.c:93 +#: profile.c:94 #, c-format msgid "could not open `%s' for writing: %s" msgstr "không thể mở « %s » để ghi: %s" -#: profile.c:453 +#: profile.c:457 #, c-format msgid "internal error: %s with null vname" msgstr "lá»—i ná»™i bá»™: %s vá»›i vname (tên biến?) vô giá trị" -#: profile.c:517 -#, fuzzy +#: profile.c:521 msgid "# treated internally as `delete'" -msgstr "# được xá»­ lý ná»™i bá»™ là « delete » (xoá bá»)" +msgstr "# được xá»­ lý ná»™i bá»™ là « delete » (xoá)" -#: profile.c:1069 +#: profile.c:1073 #, c-format msgid "# this is a dynamically loaded extension function" -msgstr "# đây là má»™t chức năng mở rá»™ng được tải Ä‘á»™ng" +msgstr "# đây là má»™t hàm mở rá»™ng được nạp Ä‘á»™ng" -#: profile.c:1100 +#: profile.c:1104 #, c-format msgid "\t# gawk profile, created %s\n" msgstr "\t# hồ sÆ¡ gawk, được tạo %s\n" -#: profile.c:1103 +#: profile.c:1107 #, c-format msgid "" "\t# BEGIN block(s)\n" @@ -1920,7 +1918,7 @@ "\t# khối BEGIN (bắt đầu)\n" "\n" -#: profile.c:1113 +#: profile.c:1117 #, c-format msgid "" "\t# Rule(s)\n" @@ -1929,105 +1927,102 @@ "\t# Quy tắc\n" "\n" -#: profile.c:1119 +#: profile.c:1123 #, c-format msgid "" "\t# END block(s)\n" "\n" msgstr "" -"\t# khối END (kết thúc)\n" +"\t# khối END (cuối)\n" "\n" -#: profile.c:1139 +#: profile.c:1143 #, c-format msgid "" "\n" "\t# Functions, listed alphabetically\n" msgstr "" "\n" -"\t# Danh sách các chức năng theo thứ tá»± abc\n" +"\t# Danh sách các hàm theo thứ tá»± abc\n" -#: profile.c:1400 +#: profile.c:1405 #, c-format msgid "unexpected type %s in prec_level" msgstr "gặp kiểu bất ngỠ« %s » trong « prec_level » (cấp nằm trÆ°á»›c?)" -#: profile.c:1500 -#, fuzzy, c-format +#: profile.c:1527 +#, c-format msgid "Unknown node type %s in pp_var" -msgstr "không biết kiểu nút %d" +msgstr "Không rõ loại nút %s trong pp_var" -#: regcomp.c:133 +#: regcomp.c:132 msgid "Success" msgstr "Thành công" -#: regcomp.c:136 +#: regcomp.c:135 msgid "No match" msgstr "Không khá»›p" -#: regcomp.c:139 +#: regcomp.c:138 msgid "Invalid regular expression" msgstr "Biểu thức chính quy không hợp lệ" -#: regcomp.c:142 +#: regcomp.c:141 msgid "Invalid collation character" msgstr "Ký tá»± đối chiếu không hợp lệ" -#: regcomp.c:145 +#: regcomp.c:144 msgid "Invalid character class name" msgstr "Tên hạng ký tá»± không hợp lệ" -#: regcomp.c:148 +#: regcomp.c:147 msgid "Trailing backslash" msgstr "Gặp xuyệc ngược nằm theo" -#: regcomp.c:151 +#: regcomp.c:150 msgid "Invalid back reference" msgstr "Tham chiếu trở lại không hợp lệ" -#: regcomp.c:154 +#: regcomp.c:153 msgid "Unmatched [ or [^" msgstr "ChÆ°a khá»›p « [ » hay « [^ »" -#: regcomp.c:157 +#: regcomp.c:156 msgid "Unmatched ( or \\(" msgstr "ChÆ°a khá»›p « ( » hay « \\( »" -#: regcomp.c:160 +#: regcomp.c:159 msgid "Unmatched \\{" msgstr "ChÆ°a khá»›p « \\{ »" -#: regcomp.c:163 +#: regcomp.c:162 msgid "Invalid content of \\{\\}" msgstr "Ná»™i dụng « \\{\\} » không hợp lệ" -#: regcomp.c:166 +#: regcomp.c:165 msgid "Invalid range end" msgstr "Kết thúc phạm vị không hợp lệ" -#: regcomp.c:169 +#: regcomp.c:168 msgid "Memory exhausted" msgstr "Hết bá»™ nhá»› rồi" -#: regcomp.c:172 +#: regcomp.c:171 msgid "Invalid preceding regular expression" msgstr "Biểu thức chính quy nằm trÆ°á»›c không hợp lệ" -#: regcomp.c:175 +#: regcomp.c:174 msgid "Premature end of regular expression" msgstr "Kết thúc quá sá»›m của biểu thức chính quy" -#: regcomp.c:178 +#: regcomp.c:177 msgid "Regular expression too big" msgstr "Biểu thức chính quy quá lá»›n" -#: regcomp.c:181 +#: regcomp.c:180 msgid "Unmatched ) or \\)" msgstr "ChÆ°a khá»›p « ) » hay « \\) »" -#: regcomp.c:700 +#: regcomp.c:699 msgid "No previous regular expression" msgstr "Không có biểu thức chính quy nằm trÆ°á»›c" - -#~ msgid "%s: illegal option -- %c\n" -#~ msgstr "%s: không cho phép tùy chá»n « -- %c »\n" diff -urN gawk-3.1.7/po/zh_CN.po gawk-3.1.8/po/zh_CN.po --- gawk-3.1.7/po/zh_CN.po 2009-07-21 23:23:45.000000000 +0300 +++ gawk-3.1.8/po/zh_CN.po 2010-05-06 20:57:38.000000000 +0300 @@ -8,11 +8,10 @@ msgstr "" "Project-Id-Version: gawk 3.1.6c\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2009-07-21 23:23+0300\n" +"POT-Creation-Date: 2010-05-06 20:57+0300\n" "PO-Revision-Date: 2009-06-09 21:51+0800\n" "Last-Translator: LI Daobing \n" -"Language-Team: Chinese (simplified) \n" +"Language-Team: Chinese (simplified) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -37,42 +36,42 @@ msgid "from %s" msgstr "从 %s" -#: array.c:514 -#, c-format -msgid "reference to uninitialized element `%s[\"%s\"]'" +#: array.c:513 +#, fuzzy, c-format +msgid "reference to uninitialized element `%s[\"%.*s\"]'" msgstr "引用未åˆå§‹åŒ–的元素“%s[\"%s\"]â€" -#: array.c:520 +#: array.c:519 #, c-format msgid "subscript of array `%s' is null string" msgstr "数组“%sâ€çš„下标是空字符串" -#: array.c:624 +#: array.c:623 #, c-format msgid "delete: index `%s' not in array `%s'" msgstr "删除: 索引“%sâ€ä¸åœ¨æ•°ç»„“%sâ€ä¸­" -#: array.c:793 +#: array.c:792 #, c-format msgid "%s: empty (null)\n" msgstr "%s: 空(null)\n" -#: array.c:798 +#: array.c:797 #, c-format msgid "%s: empty (zero)\n" msgstr "%s: 空(zero)\n" -#: array.c:802 +#: array.c:801 #, c-format msgid "%s: table_size = %d, array_size = %d\n" msgstr "%s: è¡¨æ ¼å¤§å° = %d, æ•°ç»„å¤§å° = %d\n" -#: array.c:831 +#: array.c:830 #, c-format msgid "%s: is parameter\n" msgstr "%s: 是å‚æ•°\n" -#: array.c:836 +#: array.c:835 #, c-format msgid "%s: array_ref to %s\n" msgstr "%s: 数组引用到 %s\n" @@ -346,7 +345,7 @@ msgid "could not open `%s' for writing (%s)" msgstr "无法以写模å¼æ‰“开“%sâ€ï¼ˆ%s)" -#: awkgram.y:2748 profile.c:95 +#: awkgram.y:2748 profile.c:96 msgid "sending profile to standard error" msgstr "å‘é€é…置到标准错误输出" @@ -402,7 +401,12 @@ "函数“%sâ€è¢«è°ƒç”¨æ—¶å字与“(â€é—´æœ‰ç©ºæ ¼ï¼Œ\n" "或被用作å˜é‡æˆ–数组" -#: awkgram.y:3667 eval.c:1394 +#: awkgram.y:3664 +#, fuzzy +msgid "division by zero attempted in `/'" +msgstr "在“/=â€ä¸­è¯•å›¾é™¤0" + +#: awkgram.y:3669 eval.c:1394 #, c-format msgid "division by zero attempted in `%%'" msgstr "在“%%â€ä¸­è¯•å›¾é™¤0" @@ -460,347 +464,356 @@ msgid "`length(array)' is a gawk extension" msgstr "“length(array)â€æ˜¯ gawk 扩展" -#: builtin.c:473 +#: builtin.c:471 +#, fuzzy +msgid "length: untyped parameter argument will be forced to scalar" +msgstr "length: 无类型的å‚数会被强制转æ¢ä¸ºæ ‡é‡" + +#: builtin.c:480 msgid "length: untyped argument will be forced to scalar" msgstr "length: 无类型的å‚数会被强制转æ¢ä¸ºæ ‡é‡" -#: builtin.c:477 +#: builtin.c:484 msgid "length: received non-string argument" msgstr "length: 收到éžå­—符串å‚æ•°" -#: builtin.c:508 +#: builtin.c:515 msgid "log: received non-numeric argument" msgstr "log: 收到éžæ•°å­—å‚æ•°" -#: builtin.c:511 +#: builtin.c:518 #, c-format msgid "log: received negative argument %g" msgstr "log: 收到负数å‚æ•° %g" -#: builtin.c:719 builtin.c:722 +#: builtin.c:726 builtin.c:729 msgid "must use `count$' on all formats or none" msgstr "è¦ä¹ˆåœ¨æ‰€æœ‰æ ¼å¼ä¸Šä½¿ç”¨â€œcount$â€ï¼Œè¦ä¹ˆå®Œå…¨ä¸ä½¿ç”¨" -#: builtin.c:783 +#: builtin.c:790 #, c-format msgid "field width is ignored for `%%%%' specifier" msgstr "“%%%%â€çš„字段宽度被忽略" -#: builtin.c:785 +#: builtin.c:792 #, c-format msgid "precision is ignored for `%%%%' specifier" msgstr "“%%%%â€çš„精度被忽略" -#: builtin.c:787 +#: builtin.c:794 #, c-format msgid "field width and precision are ignored for `%%%%' specifier" msgstr "“%%%%â€çš„字段宽度和精度被忽略" -#: builtin.c:838 +#: builtin.c:845 msgid "`$' is not permitted in awk formats" msgstr "awk æ ¼å¼ä¸­ä¸å…许 “$â€" -#: builtin.c:844 +#: builtin.c:851 msgid "arg count with `$' must be > 0" msgstr "å«æœ‰â€œ$â€çš„å‚数个数必须大于0" -#: builtin.c:846 +#: builtin.c:853 #, c-format msgid "arg count %ld greater than total number of supplied arguments" msgstr "å‚数个数 %ld 大于æ供的å‚数总个数" -#: builtin.c:848 +#: builtin.c:855 msgid "`$' not permitted after period in format" msgstr "æ ¼å¼ä¸å…许在“.â€åŽä½¿ç”¨â€œ$â€" -#: builtin.c:861 +#: builtin.c:868 msgid "no `$' supplied for positional field width or precision" msgstr "没有为格å¼å®½åº¦æˆ–精度æ供“$â€" -#: builtin.c:927 +#: builtin.c:938 msgid "`l' is meaningless in awk formats; ignored" msgstr "“lâ€åœ¨ awk æ ¼å¼ä¸­æ— æ„义;忽略" -#: builtin.c:931 +#: builtin.c:942 msgid "`l' is not permitted in POSIX awk formats" msgstr "“lâ€ä¸å…许在 POSIX awk æ ¼å¼ä¸­ä½¿ç”¨" -#: builtin.c:942 +#: builtin.c:953 msgid "`L' is meaningless in awk formats; ignored" msgstr "“Lâ€åœ¨ awk æ ¼å¼ä¸­æ— æ„义;忽略" -#: builtin.c:946 +#: builtin.c:957 msgid "`L' is not permitted in POSIX awk formats" msgstr "“Lâ€ä¸å…许在 POSIX awk æ ¼å¼ä¸­ä½¿ç”¨" -#: builtin.c:957 +#: builtin.c:968 msgid "`h' is meaningless in awk formats; ignored" msgstr "“hâ€åœ¨ awk æ ¼å¼ä¸­æ— æ„义;忽略" -#: builtin.c:961 +#: builtin.c:972 msgid "`h' is not permitted in POSIX awk formats" msgstr "“hâ€ä¸å…许在 POSIX awk æ ¼å¼ä¸­ä½¿ç”¨" -#: builtin.c:1236 +#: builtin.c:1252 #, c-format msgid "[s]printf: value %g is out of range for `%%%c' format" msgstr "[s]printf: 值 %g 对“%%%câ€æ ¼å¼æ¥è¯´è¶…出范围" -#: builtin.c:1316 +#: builtin.c:1332 #, c-format msgid "ignoring unknown format specifier character `%c': no argument converted" msgstr "忽略ä½ç½®çš„æ ¼å¼åŒ–字符“%câ€: æ— å‚数被转化" -#: builtin.c:1322 +#: builtin.c:1338 msgid "not enough arguments to satisfy format string" msgstr "相对格å¼æ¥è¯´å‚数个数ä¸è¶³" -#: builtin.c:1324 +#: builtin.c:1340 msgid "^ ran out for this one" msgstr "^ 跑出范围" -#: builtin.c:1330 +#: builtin.c:1346 msgid "[s]printf: format specifier does not have control letter" msgstr "[s]printf: 指定格å¼ä¸å«æŽ§åˆ¶å­—符" -#: builtin.c:1333 +#: builtin.c:1349 msgid "too many arguments supplied for format string" msgstr "相对格å¼æ¥è¯´å‚数个数过多" -#: builtin.c:1408 builtin.c:1411 +#: builtin.c:1424 builtin.c:1427 msgid "printf: no arguments" msgstr "printf: 没有å‚æ•°" -#: builtin.c:1435 +#: builtin.c:1451 msgid "sqrt: received non-numeric argument" msgstr "sqrt: 收到éžæ•°å­—å‚æ•°" -#: builtin.c:1439 +#: builtin.c:1455 #, c-format msgid "sqrt: called with negative argument %g" msgstr "sqrt: 收到负数å‚æ•° %g" -#: builtin.c:1463 +#: builtin.c:1479 #, c-format msgid "substr: start index %g is invalid, using 1" msgstr "substr: 开始åæ ‡ %g 无效,使用 1" -#: builtin.c:1468 +#: builtin.c:1484 #, c-format msgid "substr: non-integer start index %g will be truncated" msgstr "substr: éžæ•´æ•°çš„开始åæ ‡ %g 会被截断" -#: builtin.c:1494 +#: builtin.c:1510 #, c-format msgid "substr: length %g is not >= 1" msgstr "substr: 长度 %g å°äºŽ 1" -#: builtin.c:1496 +#: builtin.c:1512 #, c-format msgid "substr: length %g is not >= 0" msgstr "substr: 长度 %g å°äºŽ 0" -#: builtin.c:1503 +#: builtin.c:1519 #, c-format msgid "substr: non-integer length %g will be truncated" msgstr "substr: éžæ•´æ•°çš„长度 %g 会被截断" -#: builtin.c:1508 +#: builtin.c:1524 #, c-format msgid "substr: length %g too big for string indexing, truncating to %g" msgstr "substr: 长度 %g 作为字符串å标过大,截断至 %g" -#: builtin.c:1520 +#: builtin.c:1536 msgid "substr: source string is zero length" msgstr "substr: æºå­—符串长度为0" -#: builtin.c:1536 +#: builtin.c:1552 #, c-format msgid "substr: start index %g is past end of string" msgstr "substr: 开始åæ ‡ %g 超出字符串尾部" -#: builtin.c:1544 +#: builtin.c:1560 #, c-format msgid "" "substr: length %g at start index %g exceeds length of first argument (%lu)" msgstr "substr: 在开始åæ ‡ %2$g 下长度 %1$g 超出第一个å‚数的长度 (%3$lu)" -#: builtin.c:1621 +#: builtin.c:1637 msgid "strftime: received non-string first argument" msgstr "strftime: 第一个å‚æ•°ä¸æ˜¯å­—符串" -#: builtin.c:1627 +#: builtin.c:1643 msgid "strftime: received empty format string" msgstr "strftime: 收到空格å¼å­—符串" -#: builtin.c:1636 +#: builtin.c:1652 msgid "strftime: received non-numeric second argument" msgstr "strftime: 第二个å‚æ•°ä¸æ˜¯æ•°å­—" -#: builtin.c:1713 +#: builtin.c:1729 msgid "mktime: received non-string argument" msgstr "mktime: 收到éžå­—符串å‚æ•°" -#: builtin.c:1758 +#: builtin.c:1746 +msgid "mktime: at least one of the values is out of the default range" +msgstr "" + +#: builtin.c:1783 msgid "system: received non-string argument" msgstr "system: 收到éžå­—符串å‚æ•°" -#: builtin.c:1879 eval.c:2145 +#: builtin.c:1904 eval.c:2157 #, c-format msgid "reference to uninitialized field `$%d'" msgstr "引用未åˆå§‹åŒ–的字段“$%dâ€" -#: builtin.c:1984 +#: builtin.c:2009 msgid "tolower: received non-string argument" msgstr "tolower: 收到éžå­—符串å‚æ•°" -#: builtin.c:2014 +#: builtin.c:2039 msgid "toupper: received non-string argument" msgstr "toupper: 收到éžå­—符串å‚æ•°" -#: builtin.c:2047 +#: builtin.c:2072 msgid "atan2: received non-numeric first argument" msgstr "atan2: 第一个å‚æ•°ä¸æ˜¯æ•°å­—" -#: builtin.c:2049 +#: builtin.c:2074 msgid "atan2: received non-numeric second argument" msgstr "atan2: 第二个å‚æ•°ä¸æ˜¯æ•°å­—" -#: builtin.c:2068 +#: builtin.c:2093 msgid "sin: received non-numeric argument" msgstr "sin: 收到éžæ•°å­—å‚æ•°" -#: builtin.c:2084 +#: builtin.c:2109 msgid "cos: received non-numeric argument" msgstr "cos: 收到éžæ•°å­—å‚æ•°" -#: builtin.c:2137 +#: builtin.c:2162 msgid "srand: received non-numeric argument" msgstr "srand: 收到éžæ•°å­—å‚æ•°" -#: builtin.c:2172 +#: builtin.c:2197 msgid "match: third argument is not an array" msgstr "match: 第三个å‚æ•°ä¸æ˜¯æ•°ç»„" -#: builtin.c:2719 +#: builtin.c:2744 msgid "gensub: third argument of 0 treated as 1" msgstr "gensub: 第三个å‚æ•° 0 被当作 1" -#: builtin.c:2835 +#: builtin.c:2860 msgid "lshift: received non-numeric first argument" msgstr "lshift: 第一个å‚æ•°ä¸æ˜¯æ•°å­—" -#: builtin.c:2837 +#: builtin.c:2862 msgid "lshift: received non-numeric second argument" msgstr "lshift: 第二个å‚æ•°ä¸æ˜¯æ•°å­—" -#: builtin.c:2843 +#: builtin.c:2868 #, c-format msgid "lshift(%lf, %lf): negative values will give strange results" msgstr "lshift(%lf, %lf): 负值会得到奇怪的结果" -#: builtin.c:2845 +#: builtin.c:2870 #, c-format msgid "lshift(%lf, %lf): fractional values will be truncated" msgstr "lshift(%lf, %lf): å°æ•°éƒ¨åˆ†ä¼šè¢«æˆªæ–­" -#: builtin.c:2847 +#: builtin.c:2872 #, c-format msgid "lshift(%lf, %lf): too large shift value will give strange results" msgstr "lshift(%lf, %lf): 过大的移ä½ä¼šå¾—到奇怪的结果" -#: builtin.c:2873 +#: builtin.c:2898 msgid "rshift: received non-numeric first argument" msgstr "rshift: 第一个å‚æ•°ä¸æ˜¯æ•°å­—" -#: builtin.c:2875 +#: builtin.c:2900 msgid "rshift: received non-numeric second argument" msgstr "rshift: 第二个å‚æ•°ä¸æ˜¯æ•°å­—" -#: builtin.c:2881 +#: builtin.c:2906 #, c-format msgid "rshift(%lf, %lf): negative values will give strange results" msgstr "rshift(%lf, %lf): 负值会得到奇怪的结果" -#: builtin.c:2883 +#: builtin.c:2908 #, c-format msgid "rshift(%lf, %lf): fractional values will be truncated" msgstr "rshift(%lf, %lf): å°æ•°éƒ¨åˆ†ä¼šè¢«æˆªæ–­" -#: builtin.c:2885 +#: builtin.c:2910 #, c-format msgid "rshift(%lf, %lf): too large shift value will give strange results" msgstr "rshift(%lf, %lf): 过大的移ä½ä¼šå¾—到奇怪的结果" -#: builtin.c:2911 +#: builtin.c:2936 msgid "and: received non-numeric first argument" msgstr "and: 第一个å‚æ•°ä¸æ˜¯æ•°å­—" -#: builtin.c:2913 +#: builtin.c:2938 msgid "and: received non-numeric second argument" msgstr "and: 第二个å‚æ•°ä¸æ˜¯æ•°å­—" -#: builtin.c:2919 +#: builtin.c:2944 #, c-format msgid "and(%lf, %lf): negative values will give strange results" msgstr "and(%lf, %lf): 负值会得到奇怪的结果" -#: builtin.c:2921 +#: builtin.c:2946 #, c-format msgid "and(%lf, %lf): fractional values will be truncated" msgstr "and(%lf, %lf): å°æ•°éƒ¨åˆ†ä¼šè¢«æˆªæ–­" -#: builtin.c:2947 +#: builtin.c:2972 msgid "or: received non-numeric first argument" msgstr "or: 第一个å‚æ•°ä¸æ˜¯æ•°å­—" -#: builtin.c:2949 +#: builtin.c:2974 msgid "or: received non-numeric second argument" msgstr "or: 第二个å‚æ•°ä¸æ˜¯æ•°å­—" -#: builtin.c:2955 +#: builtin.c:2980 #, c-format msgid "or(%lf, %lf): negative values will give strange results" msgstr "or(%lf, %lf): 负值会得到奇怪的结果" -#: builtin.c:2957 +#: builtin.c:2982 #, c-format msgid "or(%lf, %lf): fractional values will be truncated" msgstr "or(%lf, %lf): å°æ•°éƒ¨åˆ†ä¼šè¢«æˆªæ–­" -#: builtin.c:2983 +#: builtin.c:3008 msgid "xor: received non-numeric first argument" msgstr "xor: 第一个å‚æ•°ä¸æ˜¯æ•°å­—" -#: builtin.c:2985 +#: builtin.c:3010 msgid "xor: received non-numeric second argument" msgstr "xor: 第二个å‚æ•°ä¸æ˜¯æ•°å­—" -#: builtin.c:2991 +#: builtin.c:3016 #, c-format msgid "xor(%lf, %lf): negative values will give strange results" msgstr "xor(%lf, %lf): 负值会得到奇怪的结果" -#: builtin.c:2993 +#: builtin.c:3018 #, c-format msgid "xor(%lf, %lf): fractional values will be truncated" msgstr "xor(%lf, %lf): å°æ•°éƒ¨åˆ†ä¼šè¢«æˆªæ–­" -#: builtin.c:3017 +#: builtin.c:3042 msgid "compl: received non-numeric argument" msgstr "compl: 收到éžæ•°å­—å‚æ•°" -#: builtin.c:3023 +#: builtin.c:3048 #, c-format msgid "compl(%lf): negative value will give strange results" msgstr "compl(%lf): 负值会得到奇怪的结果" -#: builtin.c:3025 +#: builtin.c:3050 #, c-format msgid "compl(%lf): fractional value will be truncated" msgstr "compl(%lf): å°æ•°éƒ¨åˆ†ä¼šè¢«æˆªæ–­" -#: builtin.c:3198 +#: builtin.c:3223 #, c-format msgid "dcgettext: `%s' is not a valid locale category" msgstr "dcgettext: “%sâ€ä¸æ˜¯ä¸€ä¸ªåˆç†çš„本地化目录" @@ -814,7 +827,7 @@ msgid "buffer overflow in genflags2str" msgstr "genflags2str 时缓冲区溢出" -#: eval.c:454 eval.c:460 profile.c:781 +#: eval.c:454 eval.c:460 profile.c:785 #, c-format msgid "attempt to use array `%s' in a scalar context" msgstr "试图在标é‡çŽ¯å¢ƒä¸­ä½¿ç”¨æ•°ç»„“%sâ€" @@ -860,7 +873,7 @@ msgid "statement has no effect" msgstr "表达å¼æ— ä»»ä½•ä½œç”¨" -#: eval.c:1029 eval.c:1999 +#: eval.c:1029 eval.c:2011 #, c-format msgid "can't use function name `%s' as variable or array" msgstr "无法使用函数å“%sâ€ä½œä¸ºå˜é‡æˆ–数组" @@ -870,7 +883,7 @@ msgid "reference to uninitialized argument `%s'" msgstr "引用未åˆå§‹åŒ–çš„å‚数“%sâ€" -#: eval.c:1051 eval.c:2008 +#: eval.c:1051 eval.c:2020 #, c-format msgid "reference to uninitialized variable `%s'" msgstr "引用未åˆå§‹åŒ–çš„å˜é‡â€œ%sâ€" @@ -889,7 +902,7 @@ msgid "division by zero attempted" msgstr "试图除0" -#: eval.c:1409 profile.c:657 +#: eval.c:1409 profile.c:661 #, c-format msgid "illegal type (%s) in tree_eval" msgstr "tree_eval 中的éžæ³•ç±»åž‹ (%s)" @@ -903,17 +916,17 @@ msgid "division by zero attempted in `%%='" msgstr "在“%%=â€ä¸­è¯•å›¾é™¤0" -#: eval.c:1859 +#: eval.c:1871 #, c-format msgid "function `%s' called with more arguments than declared" msgstr "函数“%sâ€è¢«è°ƒç”¨æ—¶æ供了比声明时更多的å‚æ•°" -#: eval.c:1904 +#: eval.c:1916 #, c-format msgid "function `%s' not defined" msgstr "函数“%sâ€æœªå®šä¹‰" -#: eval.c:1971 +#: eval.c:1983 #, c-format msgid "" "\n" @@ -924,47 +937,47 @@ "\t# 函数调用栈:\n" "\n" -#: eval.c:1974 +#: eval.c:1986 #, c-format msgid "\t# -- main --\n" msgstr "\t# -- main --\n" -#: eval.c:2129 +#: eval.c:2141 msgid "attempt to field reference from non-numeric value" msgstr "试图从éžæ•°å€¼å¼•ç”¨å­—段编å·" -#: eval.c:2131 +#: eval.c:2143 msgid "attempt to reference from null string" msgstr "试图从空字符串引用" -#: eval.c:2137 +#: eval.c:2149 #, c-format msgid "attempt to access field %d" msgstr "试图访问字段 %d" -#: eval.c:2158 eval.c:2165 profile.c:836 +#: eval.c:2170 eval.c:2177 profile.c:840 msgid "assignment is not allowed to result of builtin function" msgstr "ä¸å…许对内置函数的结果赋值" -#: eval.c:2229 +#: eval.c:2241 msgid "`IGNORECASE' is a gawk extension" msgstr "“IGNORECASEâ€æ˜¯ gawk 扩展" -#: eval.c:2258 +#: eval.c:2270 msgid "`BINMODE' is a gawk extension" msgstr "“BINMODEâ€æ˜¯ gawk 扩展" -#: eval.c:2316 +#: eval.c:2328 #, c-format msgid "BINMODE value `%s' is invalid, treated as 3" msgstr "BINMODE 值 “%s†éžæ³•ï¼ŒæŒ‰ 3 处ç†" -#: eval.c:2406 +#: eval.c:2418 #, c-format msgid "bad `%sFMT' specification `%s'" msgstr "错误的“%sFMTâ€å®žçŽ°â€œ%sâ€" -#: eval.c:2484 +#: eval.c:2496 msgid "turning off `--lint' due to assignment to `LINT'" msgstr "由于对“LINTâ€èµ‹å€¼æ‰€ä»¥å…³é—­â€œ--lintâ€" @@ -1064,56 +1077,61 @@ msgid "old awk does not support regexps as value of `FS'" msgstr "è€ awk ä¸æ”¯æŒæŠŠâ€œFSâ€è®¾ç½®ä¸ºæ­£åˆ™è¡¨è¾¾å¼" -#: getopt.c:570 getopt.c:586 +#: getopt.c:574 getopt.c:590 #, c-format msgid "%s: option '%s' is ambiguous\n" msgstr "%s: 选项“%sâ€æœ‰æ­§ä¹‰\n" -#: getopt.c:619 getopt.c:623 +#: getopt.c:623 getopt.c:627 #, c-format msgid "%s: option '--%s' doesn't allow an argument\n" msgstr "%s: 选项“--%sâ€ä¸å…许有å‚æ•°\n" -#: getopt.c:632 getopt.c:637 +#: getopt.c:636 getopt.c:641 #, c-format msgid "%s: option '%c%s' doesn't allow an argument\n" msgstr "%s: 选项“%c%sâ€ä¸å…许有å‚æ•°\n" -#: getopt.c:680 getopt.c:699 getopt.c:1002 getopt.c:1021 -#, c-format -msgid "%s: option '%s' requires an argument\n" +#: getopt.c:684 getopt.c:703 +#, fuzzy, c-format +msgid "%s: option '--%s' requires an argument\n" msgstr "%s: 选项“%sâ€éœ€è¦ä¸€ä¸ªå‚æ•°\n" -#: getopt.c:737 getopt.c:740 +#: getopt.c:741 getopt.c:744 #, c-format msgid "%s: unrecognized option '--%s'\n" msgstr "%s: 无法识别选项“--%sâ€\n" -#: getopt.c:748 getopt.c:751 +#: getopt.c:752 getopt.c:755 #, c-format msgid "%s: unrecognized option '%c%s'\n" msgstr "%s: 无法识别选项“%c%sâ€\n" -#: getopt.c:800 getopt.c:803 +#: getopt.c:804 getopt.c:807 #, c-format msgid "%s: invalid option -- '%c'\n" msgstr "%s: 无效选项 -- “%câ€\n" -#: getopt.c:853 getopt.c:870 getopt.c:1073 getopt.c:1091 +#: getopt.c:857 getopt.c:874 getopt.c:1082 getopt.c:1100 #, c-format msgid "%s: option requires an argument -- '%c'\n" msgstr "%s: 选项需è¦ä¸€ä¸ªå‚æ•° -- “%câ€\n" -#: getopt.c:923 getopt.c:939 +#: getopt.c:930 getopt.c:946 #, c-format msgid "%s: option '-W %s' is ambiguous\n" msgstr "%s: 选项“-W %sâ€æœ‰æ­§ä¹‰\n" -#: getopt.c:963 getopt.c:981 +#: getopt.c:970 getopt.c:988 #, c-format msgid "%s: option '-W %s' doesn't allow an argument\n" msgstr "%s: 选项“-W %sâ€ä¸å…许å‚æ•°\n" +#: getopt.c:1009 getopt.c:1027 +#, fuzzy, c-format +msgid "%s: option '-W %s' requires an argument\n" +msgstr "%s: 选项“%sâ€éœ€è¦ä¸€ä¸ªå‚æ•°\n" + #: io.c:322 io.c:352 #, c-format msgid "cannot open file `%s' for reading (%s)" @@ -1159,434 +1177,429 @@ msgid "can't open pipe `%s' for input (%s)" msgstr "无法为输入打开管é““%sâ€(%s)" -#: io.c:712 -#, c-format -msgid "can't open two way socket `%s' for input/output (%s)" -msgstr "无法为输入/输出打开åŒå‘端å£â€œ%sâ€(%s)" - -#: io.c:716 +#: io.c:717 #, c-format msgid "can't open two way pipe `%s' for input/output (%s)" msgstr "无法为输入/输出打开åŒå‘管é““%sâ€(%s)" -#: io.c:793 +#: io.c:795 #, c-format msgid "can't redirect from `%s' (%s)" msgstr "无法自“%sâ€é‡å®šå‘(%s)" -#: io.c:796 +#: io.c:798 #, c-format msgid "can't redirect to `%s' (%s)" msgstr "无法é‡å®šå‘到“%sâ€(%s)" -#: io.c:849 +#: io.c:851 msgid "" "reached system limit for open files: starting to multiplex file descriptors" msgstr "打开的文件数达到系统é™åˆ¶: 开始å¤ç”¨æ–‡ä»¶æ述符" -#: io.c:865 +#: io.c:867 #, c-format msgid "close of `%s' failed (%s)." msgstr "关闭“%sâ€å¤±è´¥(%s)。" -#: io.c:873 +#: io.c:875 msgid "too many pipes or input files open" msgstr "打开过多管é“或输入文件" -#: io.c:896 +#: io.c:898 msgid "close: second argument must be `to' or `from'" msgstr "close: 第二个å‚数必须是“toâ€æˆ–“fromâ€" -#: io.c:910 +#: io.c:912 #, c-format msgid "close: `%.*s' is not an open file, pipe or co-process" msgstr "close: “%.*sâ€ä¸æ˜¯ä¸€ä¸ªå·²æ‰“开文件ã€ç®¡é“或åˆä½œè¿›ç¨‹" -#: io.c:915 +#: io.c:917 msgid "close of redirection that was never opened" msgstr "关闭一个从未被打开的é‡å®šå‘" -#: io.c:1012 +#: io.c:1014 #, c-format msgid "close: redirection `%s' not opened with `|&', second argument ignored" msgstr "close: é‡å®šå‘“%sâ€ä¸æ˜¯ç”¨â€œ|&â€æ‰“开,第二个å‚数被忽略" -#: io.c:1028 +#: io.c:1030 #, c-format msgid "failure status (%d) on pipe close of `%s' (%s)" msgstr "关闭管é““%2$sâ€æ—¶å¤±è´¥ï¼Œå¤±è´¥çŠ¶æ€ä¸º(%1$d)(%3$s)" -#: io.c:1031 +#: io.c:1033 #, c-format msgid "failure status (%d) on file close of `%s' (%s)" msgstr "关闭文件“%2$sâ€æ—¶å¤±è´¥ï¼Œå¤±è´¥çŠ¶æ€ä¸º(%1$d)(%3$s)" -#: io.c:1051 +#: io.c:1053 #, c-format msgid "no explicit close of socket `%s' provided" msgstr "未显å¼å…³é—­ç«¯å£â€œ%sâ€" -#: io.c:1054 +#: io.c:1056 #, c-format msgid "no explicit close of co-process `%s' provided" msgstr "未显å¼å…³é—­åˆä½œè¿›ç¨‹â€œ%sâ€" -#: io.c:1057 +#: io.c:1059 #, c-format msgid "no explicit close of pipe `%s' provided" msgstr "未显å¼å…³é—­ç®¡é““%sâ€" -#: io.c:1060 +#: io.c:1062 #, c-format msgid "no explicit close of file `%s' provided" msgstr "未显å¼å…³é—­æ–‡ä»¶â€œ%sâ€" -#: io.c:1088 io.c:1143 main.c:776 main.c:818 +#: io.c:1090 io.c:1145 main.c:781 main.c:823 #, c-format msgid "error writing standard output (%s)" msgstr "å‘标准输出写时å‘生错误 (%s)" -#: io.c:1092 io.c:1148 +#: io.c:1094 io.c:1150 #, c-format msgid "error writing standard error (%s)" msgstr "å‘标准错误输出写时å‘生错误 (%s)" -#: io.c:1100 +#: io.c:1102 #, c-format msgid "pipe flush of `%s' failed (%s)." msgstr "刷新管é““%sâ€æ—¶å‡ºé”™(%s)。" -#: io.c:1103 +#: io.c:1105 #, c-format msgid "co-process flush of pipe to `%s' failed (%s)." msgstr "刷新åˆä½œè¿›ç¨‹ç®¡é““%sâ€æ—¶å‡ºé”™(%s)。" -#: io.c:1106 +#: io.c:1108 #, c-format msgid "file flush of `%s' failed (%s)." msgstr "刷新文件“%sâ€æ—¶å‡ºé”™(%s)。" -#: io.c:1220 +#: io.c:1222 #, c-format msgid "local port %s invalid in `/inet'" msgstr "æœ¬åœ°ç«¯å£ %s 在“/inetâ€ä¸­æ— æ•ˆ" -#: io.c:1237 +#: io.c:1239 #, c-format msgid "remote host and port information (%s, %s) invalid" msgstr "远程主机和端å£ä¿¡æ¯ (%s, %s) 无效" -#: io.c:1272 +#: io.c:1274 msgid "/inet/raw client not ready yet, sorry" msgstr "/inet/raw 客户端未准备好,对ä¸èµ·" -#: io.c:1275 io.c:1311 +#: io.c:1277 io.c:1313 msgid "only root may use `/inet/raw'." msgstr "ä»… root 能使用 “/inet/rawâ€" -#: io.c:1309 +#: io.c:1311 msgid "/inet/raw server not ready yet, sorry" msgstr "/inet/raw æœåŠ¡å™¨æœªå‡†å¤‡å¥½ï¼Œå¯¹ä¸èµ·" -#: io.c:1407 +#: io.c:1409 #, c-format msgid "no (known) protocol supplied in special filename `%s'" msgstr "未æ供特殊文件å的“%sâ€çš„访问åè®®" -#: io.c:1421 +#: io.c:1423 #, c-format msgid "special file name `%s' is incomplete" msgstr "特殊文件å“%sâ€æ˜¯ä¸å®Œæ•´çš„" -#: io.c:1436 +#: io.c:1438 msgid "must supply a remote hostname to `/inet'" msgstr "å¿…é¡»æ供远程主机å给“/inetâ€" -#: io.c:1454 +#: io.c:1456 msgid "must supply a remote port to `/inet'" msgstr "å¿…é¡»æ供远程端å£ç»™â€œ/inetâ€" -#: io.c:1485 +#: io.c:1502 msgid "TCP/IP communications are not supported" msgstr "TCP/IP 通讯ä¸è¢«æ”¯æŒ" -#: io.c:1494 +#: io.c:1511 #, c-format msgid "file `%s' is a directory" msgstr "文件“%sâ€æ˜¯ä¸€ä¸ªç›®å½•" -#: io.c:1555 +#: io.c:1572 #, c-format msgid "use `PROCINFO[\"%s\"]' instead of `%s'" msgstr "使用“PROCINFO[\"%s\"]â€è€Œä¸æ˜¯â€œ%sâ€" -#: io.c:1593 +#: io.c:1610 msgid "use `PROCINFO[...]' instead of `/dev/user'" msgstr "使用“PROCINFO[...]â€è€Œä¸æ˜¯â€œ/dev/userâ€" -#: io.c:1658 io.c:1853 +#: io.c:1675 io.c:1872 #, c-format msgid "could not open `%s', mode `%s'" msgstr "无法以模å¼â€œ%2$sâ€æ‰“开“%1$sâ€" -#: io.c:1904 +#: io.c:1923 #, c-format msgid "close of master pty failed (%s)" msgstr "关闭主 pty 失败(%s)" -#: io.c:1906 io.c:2058 io.c:2209 +#: io.c:1925 io.c:2077 io.c:2228 #, c-format msgid "close of stdout in child failed (%s)" msgstr "在å­è¿›ç¨‹ä¸­å…³é—­æ ‡å‡†è¾“出失败(%s)" -#: io.c:1909 +#: io.c:1928 #, c-format msgid "moving slave pty to stdout in child failed (dup: %s)" msgstr "在å­è¿›ç¨‹ä¸­å°†ä»Ž pty 改为标准输出失败(dup: %s)" -#: io.c:1911 io.c:2063 +#: io.c:1930 io.c:2082 #, c-format msgid "close of stdin in child failed (%s)" msgstr "在å­è¿›ç¨‹ä¸­å…³é—­æ ‡å‡†è¾“入失败(%s)" -#: io.c:1914 +#: io.c:1933 #, c-format msgid "moving slave pty to stdin in child failed (dup: %s)" msgstr "在å­è¿›ç¨‹ä¸­å°†ä»Ž pty 改为标准输入失败(dup: %s)" -#: io.c:1916 io.c:1935 +#: io.c:1935 io.c:1954 #, c-format msgid "close of slave pty failed (%s)" msgstr "关闭从 pty 失败(%s)" -#: io.c:2009 io.c:2061 io.c:2190 io.c:2212 +#: io.c:2028 io.c:2080 io.c:2209 io.c:2231 #, c-format msgid "moving pipe to stdout in child failed (dup: %s)" msgstr "在å­è¿›ç¨‹ä¸­å°†ç®¡é“改为标准输出失败(dup: %s)" -#: io.c:2013 io.c:2066 +#: io.c:2032 io.c:2085 #, c-format msgid "moving pipe to stdin in child failed (dup: %s)" msgstr "在å­è¿›ç¨‹ä¸­å°†ç®¡é“改为标准输入失败(dup: %s)" -#: io.c:2030 io.c:2203 +#: io.c:2049 io.c:2222 msgid "restoring stdout in parent process failed\n" msgstr "在父进程中æ¢å¤æ ‡å‡†è¾“出失败\n" -#: io.c:2035 +#: io.c:2054 msgid "restoring stdin in parent process failed\n" msgstr "在父进程中æ¢å¤æ ‡å‡†è¾“入失败\n" -#: io.c:2069 io.c:2214 io.c:2225 +#: io.c:2088 io.c:2233 io.c:2244 #, c-format msgid "close of pipe failed (%s)" msgstr "关闭管é“失败(%s)" -#: io.c:2114 +#: io.c:2133 msgid "`|&' not supported" msgstr "“|&â€ä¸è¢«æ”¯æŒ" -#: io.c:2180 +#: io.c:2199 #, c-format msgid "cannot open pipe `%s' (%s)" msgstr "无法打开管é““%sâ€(%s)" -#: io.c:2221 +#: io.c:2240 #, c-format msgid "cannot create child process for `%s' (fork: %s)" msgstr "无法为“%sâ€åˆ›å»ºå­è¿›ç¨‹(fork: %s)" -#: io.c:2603 +#: io.c:2622 #, c-format msgid "data file `%s' is empty" msgstr "æ•°æ®æ–‡ä»¶â€œ%sâ€ä¸ºç©º" -#: io.c:2644 io.c:2652 +#: io.c:2663 io.c:2671 msgid "could not allocate more input memory" msgstr "无法分é…更多的输入内存" -#: io.c:3020 io.c:3093 +#: io.c:3039 io.c:3112 #, c-format msgid "error reading input file `%s': %s" msgstr "读å–输入文件“%sâ€æ—¶å‡ºé”™: %s" -#: io.c:3218 +#: io.c:3237 msgid "multicharacter value of `RS' is a gawk extension" msgstr "“RSâ€è®¾ç½®ä¸ºå¤šå­—符是 gawk 扩展" -#: main.c:304 +#: main.c:306 msgid "out of memory" msgstr "内存ä¸è¶³" -#: main.c:373 +#: main.c:374 msgid "`-m[fr]' option irrelevant in gawk" msgstr "“-m[fr]â€é€‰é¡¹åœ¨ gawk 中ä¸ç›¸å…³" -#: main.c:375 +#: main.c:376 msgid "-m option usage: `-m[fr] nnn'" msgstr "-m 选项用法: “-m[fr] nnnâ€" -#: main.c:392 +#: main.c:393 #, c-format msgid "%s: option `-W %s' unrecognized, ignored\n" msgstr "%s: 选项“-W %sâ€æ— æ³•è¯†åˆ«ï¼Œå¿½ç•¥\n" -#: main.c:433 +#: main.c:434 msgid "empty argument to `--source' ignored" msgstr "“--sourceâ€çš„空å‚数被忽略" -#: main.c:487 +#: main.c:488 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: 选项需è¦ä¸€ä¸ªå‚æ•° -- %c\n" -#: main.c:506 +#: main.c:509 msgid "environment variable `POSIXLY_CORRECT' set: turning on `--posix'" msgstr "环境å˜é‡â€œPOSIXLY_CORRECTâ€è¢«è®¾ç½®: 打开“--posixâ€" -#: main.c:512 +#: main.c:515 msgid "`--posix' overrides `--traditional'" msgstr "“--posixâ€è¦†ç›–“--traditionalâ€" -#: main.c:523 +#: main.c:526 msgid "`--posix'/`--traditional' overrides `--non-decimal-data'" msgstr "“--posixâ€æˆ–“--traditionalâ€è¦†ç›–“--non-decimal-dataâ€" -#: main.c:527 +#: main.c:530 #, c-format msgid "running %s setuid root may be a security problem" msgstr "以设置 root ID æ–¹å¼è¿è¡Œâ€œ%sâ€å¯èƒ½å­˜åœ¨å®‰å…¨æ¼æ´ž" -#: main.c:568 +#: main.c:571 #, c-format msgid "can't set binary mode on stdin (%s)" msgstr "无法在标准输入上设置二进制模å¼(%s)" -#: main.c:571 +#: main.c:574 #, c-format msgid "can't set binary mode on stdout (%s)" msgstr "无法在标准输出上设置二进制模å¼(%s)" -#: main.c:573 +#: main.c:576 #, c-format msgid "can't set binary mode on stderr (%s)" msgstr "无法在标准错误输出上设置二进制模å¼(%s)" -#: main.c:612 +#: main.c:617 msgid "no program text at all!" msgstr "完全没有程åºæ­£æ–‡ï¼" -#: main.c:716 +#: main.c:721 #, c-format msgid "Usage: %s [POSIX or GNU style options] -f progfile [--] file ...\n" msgstr "用法: %s [POSIX 或 GNU 风格选项] -f 脚本文件 [--] 文件 ...\n" -#: main.c:718 +#: main.c:723 #, c-format msgid "Usage: %s [POSIX or GNU style options] [--] %cprogram%c file ...\n" msgstr "用法: %s [POSIX 或 GNU 风格选项] [--] %c程åº%c 文件 ...\n" -#: main.c:723 +#: main.c:728 msgid "POSIX options:\t\tGNU long options:\n" msgstr "POSIX 选项: \t\tGNU 长选项:\n" -#: main.c:724 +#: main.c:729 msgid "\t-f progfile\t\t--file=progfile\n" msgstr "\t-f 脚本文件\t\t--file=脚本文件\n" -#: main.c:725 +#: main.c:730 msgid "\t-F fs\t\t\t--field-separator=fs\n" msgstr "\t-F fs\t\t\t--field-separator=fs\n" -#: main.c:726 +#: main.c:731 msgid "\t-v var=val\t\t--assign=var=val\n" msgstr "\t-v var=val\t\t--assign=var=val\n" -#: main.c:727 +#: main.c:732 msgid "\t-m[fr] val\n" msgstr "\t-m[fr] val\n" -#: main.c:728 +#: main.c:733 msgid "\t-O\t\t\t--optimize\n" msgstr "\t-O\t\t\t--optimize\n" -#: main.c:729 +#: main.c:734 msgid "\t-W compat\t\t--compat\n" msgstr "\t-W compat\t\t--compat\n" -#: main.c:730 +#: main.c:735 msgid "\t-W copyleft\t\t--copyleft\n" msgstr "\t-W copyleft\t\t--copyleft\n" -#: main.c:731 +#: main.c:736 msgid "\t-W copyright\t\t--copyright\n" msgstr "\t-W copyright\t\t--copyright\n" -#: main.c:732 +#: main.c:737 msgid "\t-W dump-variables[=file]\t--dump-variables[=file]\n" msgstr "\t-W dump-variables[=file]\t--dump-variables[=file]\n" -#: main.c:733 +#: main.c:738 msgid "\t-W exec=file\t\t--exec=file\n" msgstr "\t-W exec=file\t\t--exec=file\n" -#: main.c:734 +#: main.c:739 msgid "\t-W gen-po\t\t--gen-po\n" msgstr "\t-W gen-po\t\t--gen-po\n" -#: main.c:735 +#: main.c:740 msgid "\t-W help\t\t\t--help\n" msgstr "\t-W help\t\t\t--help\n" -#: main.c:736 +#: main.c:741 msgid "\t-W lint[=fatal]\t\t--lint[=fatal]\n" msgstr "\t-W lint[=fatal]\t\t--lint[=fatal]\n" -#: main.c:737 +#: main.c:742 msgid "\t-W lint-old\t\t--lint-old\n" msgstr "\t-W lint-old\t\t--lint-old\n" -#: main.c:738 +#: main.c:743 msgid "\t-W non-decimal-data\t--non-decimal-data\n" msgstr "\t-W non-decimal-data\t--non-decimal-data\n" -#: main.c:740 +#: main.c:745 msgid "\t-W nostalgia\t\t--nostalgia\n" msgstr "\t-W nostalgia\t\t--nostalgia\n" -#: main.c:743 +#: main.c:748 msgid "\t-W parsedebug\t\t--parsedebug\n" msgstr "\t-W parsedebug\t\t--parsedebug\n" -#: main.c:745 +#: main.c:750 msgid "\t-W profile[=file]\t--profile[=file]\n" msgstr "\t-W profile[=file]\t--profile[=file]\n" -#: main.c:746 +#: main.c:751 msgid "\t-W posix\t\t--posix\n" msgstr "\t-W posix\t\t--posix\n" -#: main.c:747 +#: main.c:752 msgid "\t-W re-interval\t\t--re-interval\n" msgstr "\t-W re-interval\t\t--re-interval\n" -#: main.c:748 +#: main.c:753 msgid "\t-W source=program-text\t--source=program-text\n" msgstr "\t-W source=program-text\t--source=program-text\n" -#: main.c:749 +#: main.c:754 msgid "\t-W traditional\t\t--traditional\n" msgstr "\t-W traditional\t\t--traditional\n" -#: main.c:750 +#: main.c:755 msgid "\t-W usage\t\t--usage\n" msgstr "\t-W usage\t\t--usage\n" -#: main.c:751 +#: main.c:756 msgid "\t-W use-lc-numeric\t--use-lc-numeric\n" msgstr "\t-W use-lc-numeric\t--use-lc-numeric\n" -#: main.c:752 +#: main.c:757 msgid "\t-W version\t\t--version\n" msgstr "\t-W version\t\t--version\n" @@ -1595,7 +1608,7 @@ #. for this application. Please add _another line_ with the #. address for translation bugs. #. no-wrap -#: main.c:761 +#: main.c:766 msgid "" "\n" "To report bugs, see node `Bugs' in `gawk.info', which is\n" @@ -1609,7 +1622,7 @@ "翻译错误请å‘信至 translation-team-zh-cn@lists.sourceforge.net\n" "\n" -#: main.c:765 +#: main.c:770 msgid "" "gawk is a pattern scanning and processing language.\n" "By default it reads standard input and writes standard output.\n" @@ -1618,7 +1631,7 @@ "gawk 是一个模å¼æ‰«æåŠå¤„ç†è¯­è¨€ã€‚缺çœæƒ…况下它从标准输入读入并写至标准输出。\n" "\n" -#: main.c:769 +#: main.c:774 msgid "" "Examples:\n" "\tgawk '{ sum += $1 }; END { print sum }' file\n" @@ -1628,7 +1641,7 @@ "\tgawk '{ sum += $1 }; END { print sum }' file\n" "\tgawk -F: '{ print $1 }' /etc/passwd\n" -#: main.c:789 +#: main.c:794 #, c-format msgid "" "Copyright (C) 1989, 1991-%d Free Software Foundation.\n" @@ -1645,7 +1658,7 @@ "3版或以åŽç‰ˆæœ¬ä¸‹ä¿®æ”¹æˆ–é‡æ–°å‘布。\n" "\n" -#: main.c:797 +#: main.c:802 msgid "" "This program is distributed in the hope that it will be useful,\n" "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" @@ -1658,7 +1671,7 @@ "共许å¯è¯(GPL)。\n" "\n" -#: main.c:808 +#: main.c:813 msgid "" "You should have received a copy of the GNU General Public License\n" "along with this program. If not, see http://www.gnu.org/licenses/.\n" @@ -1666,11 +1679,11 @@ "你应该收到程åºé™„带的一份 GNU 通用公共许å¯è¯(GPL)。如果没有收到,请å‚看 " "http://www.gnu.org/licenses/ 。\n" -#: main.c:843 +#: main.c:848 msgid "-Ft does not set FS to tab in POSIX awk" msgstr "在 POSIX awk 中 -Ft ä¸ä¼šå°† FS 设为制表符(tab)" -#: main.c:1117 +#: main.c:1122 #, c-format msgid "" "%s: `%s' argument to `-v' not in `var=value' form\n" @@ -1679,43 +1692,43 @@ "%s: “-vâ€çš„å‚数“%sâ€ä¸æ˜¯â€œvar=valueâ€å½¢å¼\n" "\n" -#: main.c:1137 +#: main.c:1142 #, c-format msgid "`%s' is not a legal variable name" msgstr "“%sâ€ä¸æ˜¯ä¸€ä¸ªåˆæ³•çš„å˜é‡å" -#: main.c:1140 +#: main.c:1145 #, c-format msgid "`%s' is not a variable name, looking for file `%s=%s'" msgstr "“%sâ€ä¸æ˜¯ä¸€ä¸ªå˜é‡å,查找文件“%s=%sâ€" -#: main.c:1179 +#: main.c:1184 msgid "floating point exception" msgstr "浮点数异常" -#: main.c:1186 +#: main.c:1191 msgid "fatal error: internal error" msgstr "致命错误: 内部错误" -#: main.c:1200 +#: main.c:1206 msgid "fatal error: internal error: segfault" msgstr "致命错误: 内部错误: 段错误" -#: main.c:1212 +#: main.c:1218 msgid "fatal error: internal error: stack overflow" msgstr "致命错误: 内部错误: 栈溢出" -#: main.c:1261 +#: main.c:1268 #, c-format msgid "no pre-opened fd %d" msgstr "文件æ述符 %d 未被打开" -#: main.c:1268 +#: main.c:1275 #, c-format msgid "could not pre-open /dev/null for fd %d" msgstr "无法为文件æ述符 %d 预打开 /dev/null" -#: main.c:1291 main.c:1300 +#: main.c:1298 main.c:1307 #, c-format msgid "could not find groups: %s" msgstr "无法找到组: %s" @@ -1741,31 +1754,31 @@ msgid "can't convert string to float" msgstr "无法将字符串转化为浮点数" -#: node.c:462 +#: node.c:465 msgid "backslash at end of string" msgstr "字符串尾部的åæ–œæ " -#: node.c:606 +#: node.c:609 #, c-format msgid "old awk does not support the `\\%c' escape sequence" msgstr "è€ awk ä¸æ”¯æŒâ€œ\\%câ€è½¬ä¹‰åºåˆ—" -#: node.c:657 +#: node.c:660 msgid "POSIX does not allow `\\x' escapes" msgstr "POSIX ä¸å…许“\\xâ€è½¬ä¹‰ç¬¦" -#: node.c:663 +#: node.c:666 msgid "no hex digits in `\\x' escape sequence" msgstr "“\\xâ€è½¬ä¹‰åºåˆ—中没有å六进制数" -#: node.c:685 +#: node.c:688 #, c-format msgid "" "hex escape \\x%.*s of %d characters probably not interpreted the way you " "expect" msgstr "" -#: node.c:700 +#: node.c:703 #, c-format msgid "escape sequence `\\%c' treated as plain `%c'" msgstr "转义åºåˆ—“\\%câ€è¢«å½“作å•çº¯çš„“%câ€" @@ -1775,32 +1788,32 @@ msgid "%s %s `%s': could not set close-on-exec: (fcntl: %s)" msgstr "%s %s “%sâ€: 无法设置 close-on-exec: (fcntl: %s)" -#: profile.c:93 +#: profile.c:94 #, c-format msgid "could not open `%s' for writing: %s" msgstr "无法以写模å¼æ‰“开“%sâ€: %s" -#: profile.c:453 +#: profile.c:457 #, c-format msgid "internal error: %s with null vname" msgstr "内部错误: %s 带有空的 vname" -#: profile.c:517 +#: profile.c:521 #, fuzzy msgid "# treated internally as `delete'" msgstr "# 内部处ç†ä¸ºâ€œdeleteâ€" -#: profile.c:1069 +#: profile.c:1073 #, c-format msgid "# this is a dynamically loaded extension function" msgstr "# 这是一个动æ€åŠ è½½çš„扩展函数" -#: profile.c:1100 +#: profile.c:1104 #, c-format msgid "\t# gawk profile, created %s\n" msgstr "\t# gawk é…ç½®, 创建 %s\n" -#: profile.c:1103 +#: profile.c:1107 #, c-format msgid "" "\t# BEGIN block(s)\n" @@ -1809,7 +1822,7 @@ "\t# BEGIN å—\n" "\n" -#: profile.c:1113 +#: profile.c:1117 #, c-format msgid "" "\t# Rule(s)\n" @@ -1818,7 +1831,7 @@ "\t# 规则\n" "\n" -#: profile.c:1119 +#: profile.c:1123 #, c-format msgid "" "\t# END block(s)\n" @@ -1827,7 +1840,7 @@ "\t# END å—\n" "\n" -#: profile.c:1139 +#: profile.c:1143 #, c-format msgid "" "\n" @@ -1836,84 +1849,87 @@ "\n" "\t# 函数列表,字典åº\n" -#: profile.c:1400 +#: profile.c:1405 #, c-format msgid "unexpected type %s in prec_level" msgstr "在 prec_level 中未预期的类型 %s" -#: profile.c:1500 +#: profile.c:1527 #, c-format msgid "Unknown node type %s in pp_var" msgstr "pp_var 中的未知的结点类型 %s" -#: regcomp.c:133 +#: regcomp.c:132 msgid "Success" msgstr "æˆåŠŸ" -#: regcomp.c:136 +#: regcomp.c:135 msgid "No match" msgstr "无匹é…" -#: regcomp.c:139 +#: regcomp.c:138 msgid "Invalid regular expression" msgstr "无效的正则表达å¼" -#: regcomp.c:142 +#: regcomp.c:141 msgid "Invalid collation character" msgstr "无效的收集字符" -#: regcomp.c:145 +#: regcomp.c:144 msgid "Invalid character class name" msgstr "无效的字符类型å" -#: regcomp.c:148 +#: regcomp.c:147 msgid "Trailing backslash" msgstr "尾端的åæ–œæ " -#: regcomp.c:151 +#: regcomp.c:150 msgid "Invalid back reference" msgstr "无效的回引用" -#: regcomp.c:154 +#: regcomp.c:153 msgid "Unmatched [ or [^" msgstr "未匹é…çš„ [ 或 [^" -#: regcomp.c:157 +#: regcomp.c:156 msgid "Unmatched ( or \\(" msgstr "未匹é…çš„ ( 或 \\(" -#: regcomp.c:160 +#: regcomp.c:159 msgid "Unmatched \\{" msgstr "未匹é…çš„ \\{" -#: regcomp.c:163 +#: regcomp.c:162 msgid "Invalid content of \\{\\}" msgstr "\\{\\} 中内容无效" -#: regcomp.c:166 +#: regcomp.c:165 msgid "Invalid range end" msgstr "无效的范围结æŸ" -#: regcomp.c:169 +#: regcomp.c:168 msgid "Memory exhausted" msgstr "内存耗尽" -#: regcomp.c:172 +#: regcomp.c:171 msgid "Invalid preceding regular expression" msgstr "无效的å‰ç½®æ­£åˆ™è¡¨è¾¾å¼" -#: regcomp.c:175 +#: regcomp.c:174 msgid "Premature end of regular expression" msgstr "正则表达å¼éžæ­£å¸¸ç»“æŸ" -#: regcomp.c:178 +#: regcomp.c:177 msgid "Regular expression too big" msgstr "正则表达å¼è¿‡å¤§" -#: regcomp.c:181 +#: regcomp.c:180 msgid "Unmatched ) or \\)" msgstr "未匹é…çš„ ) 或 \\)" -#: regcomp.c:700 +#: regcomp.c:699 msgid "No previous regular expression" msgstr "å‰é¢æ²¡æœ‰æ­£åˆ™è¡¨è¾¾å¼" + +#~ msgid "can't open two way socket `%s' for input/output (%s)" +#~ msgstr "无法为输入/输出打开åŒå‘端å£â€œ%sâ€(%s)" diff -urN gawk-3.1.7/posix/ChangeLog gawk-3.1.8/posix/ChangeLog --- gawk-3.1.7/posix/ChangeLog 2009-07-21 22:30:22.000000000 +0300 +++ gawk-3.1.8/posix/ChangeLog 2010-05-06 20:56:44.000000000 +0300 @@ -1,3 +1,11 @@ +Thu May 6 20:55:14 2010 Arnold D. Robbins + + * Release 3.1.8: Release tar file made. + +Tue Apr 13 22:38:01 2010 Arnold D. Robbins + + * gawkmisc.c: Remove use of ISxxx in favor of standard names. + Tue Jul 21 22:28:56 2009 Arnold D. Robbins * Release 3.1.7: Release tar file made. diff -urN gawk-3.1.7/posix/gawkmisc.c gawk-3.1.8/posix/gawkmisc.c --- gawk-3.1.7/posix/gawkmisc.c 2006-08-11 15:50:15.000000000 +0300 +++ gawk-3.1.8/posix/gawkmisc.c 2010-04-13 22:26:17.000000000 +0300 @@ -107,8 +107,8 @@ if ((val = getenv("AWKBUFSIZE")) != NULL) { if (strcmp(val, "exact") == 0) exact = TRUE; - else if (ISDIGIT(*val)) { - for (; *val && ISDIGIT(*val); val++) + else if (isdigit(*val)) { + for (; *val && isdigit(*val); val++) env_val = (env_val * 10) + *val - '0'; return env_val; diff -urN gawk-3.1.7/profile.c gawk-3.1.8/profile.c --- gawk-3.1.7/profile.c 2009-07-21 23:19:31.000000000 +0300 +++ gawk-3.1.8/profile.c 2010-01-31 22:45:32.000000000 +0200 @@ -3,7 +3,7 @@ */ /* - * Copyright (C) 1999-2009 the Free Software Foundation, Inc. + * Copyright (C) 1999-2010 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. @@ -34,6 +34,7 @@ #undef tree_eval static void tree_eval P((NODE *tree)); static void parenthesize P((NODETYPE parent_type, NODE *tree)); +static void parenthesize_expr P((NODETYPE parent_type, NODE *tree)); static void eval_condition P((NODE *tree)); static void pp_op_assign P((NODE *tree)); static void pp_func_call P((NODE *tree)); @@ -267,6 +268,9 @@ break; case Node_switch_body: + pprint(tree->lnode); + break; + case Node_case_list: pprint(tree->lnode); pprint(tree->rnode); @@ -465,15 +469,15 @@ return; case Node_and: - eval_condition(tree->lnode); + parenthesize_expr(Node_and, tree->lnode); fprintf(prof_fp, " && "); - eval_condition(tree->rnode); + parenthesize_expr(Node_and, tree->rnode); return; case Node_or: - eval_condition(tree->lnode); + parenthesize_expr(Node_or, tree->lnode); fprintf(prof_fp, " || "); - eval_condition(tree->rnode); + parenthesize_expr(Node_or, tree->rnode); return; case Node_not: @@ -1331,6 +1335,7 @@ case Node_RS: case Node_SUBSEP: case Node_TEXTDOMAIN: + case Node_regex: return 15; case Node_field_spec: @@ -1430,6 +1435,28 @@ in_expr--; } +/* parenthesize_expr --- print an expression subtree in parentheses if need be */ + +static void +parenthesize_expr(NODETYPE parent_type, NODE *tree) +{ + NODETYPE child_type; + + if (tree == NULL) + return; + + child_type = tree->type; + + in_expr++; + if (prec_level(child_type) < prec_level(parent_type)) { + fprintf(prof_fp, "("); + eval_condition(tree); + fprintf(prof_fp, ")"); + } else + eval_condition(tree); + in_expr--; +} + /* pp_var --- print builtin variables, do it in one place */ static void diff -urN gawk-3.1.7/re.c gawk-3.1.8/re.c --- gawk-3.1.7/re.c 2009-07-09 22:34:51.000000000 +0300 +++ gawk-3.1.8/re.c 2010-04-20 11:04:05.000000000 +0300 @@ -3,7 +3,7 @@ */ /* - * Copyright (C) 1991-2009 the Free Software Foundation, Inc. + * Copyright (C) 1991-2010 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. @@ -112,7 +112,7 @@ * literally in re's, so escape regexp * metacharacters. */ - if (do_traditional && ! do_posix && (ISDIGIT(c) || c == 'x') + if (do_traditional && ! do_posix && (isdigit(c) || c == 'x') && strchr("()|*+?.^$\\[]", c2) != NULL) *dest++ = '\\'; *dest++ = (char) c2; @@ -150,6 +150,7 @@ *dest = '\0' ; /* Only necessary if we print dest ? */ emalloc(rp, Regexp *, sizeof(*rp), "make_regexp"); memset((char *) rp, 0, sizeof(*rp)); + rp->dfareg = dfaalloc(); rp->pat.allocated = 0; /* regex will allocate the buffer */ emalloc(rp->pat.fastmap, char *, 256, "make_regexp"); @@ -191,7 +192,7 @@ /* gack. this must be done *after* re_compile_pattern */ rp->pat.newline_anchor = FALSE; /* don't get \n in middle of string */ if (dfa && ! no_dfa) { - dfacomp(temp, len, &(rp->dfareg), TRUE); + dfacomp(temp, len, rp->dfareg, TRUE); rp->dfa = TRUE; } else rp->dfa = FALSE; @@ -244,7 +245,7 @@ * text. So we just save and restore the character. */ save = str[start+len]; - ret = dfaexec(&(rp->dfareg), str+start, str+start+len, TRUE, + ret = dfaexec(rp->dfareg, str+start, str+start+len, TRUE, &count, &try_backref); str[start+len] = save; } @@ -284,8 +285,10 @@ free(rp->regs.start); if (rp->regs.end) free(rp->regs.end); - if (rp->dfa) - dfafree(&(rp->dfareg)); + if (rp->dfa) { + dfafree(rp->dfareg); + free(rp->dfareg); + } free(rp); } @@ -369,9 +372,6 @@ { char *end; - if (re->re_reg->dfareg.broken) - return TRUE; - if (! re->re_reg->has_anchor) return FALSE; diff -urN gawk-3.1.7/regcomp.c gawk-3.1.8/regcomp.c --- gawk-3.1.7/regcomp.c 2009-01-12 22:14:03.000000000 +0200 +++ gawk-3.1.8/regcomp.c 2010-04-13 21:55:31.000000000 +0300 @@ -1,6 +1,5 @@ /* Extended regular expression matching and search library. - Copyright (C) 2002,2003,2004,2005,2006,2007,2009 - Free Software Foundation, Inc. + Copyright (C) 2002-2007,2009,2010 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Isamu Hasegawa . @@ -397,7 +396,7 @@ applies to multibyte character sets; for single byte character sets, the SIMPLE_BRACKET again suffices. */ if (dfa->mb_cur_max > 1 - && (cset->nchar_classes || cset->non_match + && (cset->nchar_classes || cset->non_match || cset->nranges # ifdef _LIBC || cset->nequiv_classes # endif /* _LIBC */ @@ -430,8 +429,8 @@ != (size_t) -1) re_set_fastmap (fastmap, false, *(unsigned char *) buf); } - } - } + } + } } #endif /* RE_ENABLE_I18N */ else if (type == OP_PERIOD @@ -635,7 +634,7 @@ re_dfastate_t *state = entry->array[j]; free_state (state); } - re_free (entry->array); + re_free (entry->array); } re_free (dfa->state_table); #ifdef RE_ENABLE_I18N @@ -1044,7 +1043,11 @@ int dest_idx = dfa->edests[node_idx].elems[0]; if (!re_node_set_contains (&init_nodes, dest_idx)) { - re_node_set_merge (&init_nodes, dfa->eclosures + dest_idx); + reg_errcode_t err = re_node_set_merge (&init_nodes, + dfa->eclosures + + dest_idx); + if (err != REG_NOERROR) + return err; i = 0; } } @@ -1110,8 +1113,8 @@ } break; case OP_PERIOD: - has_period = 1; - break; + has_period = 1; + break; case OP_BACK_REF: case OP_ALT: case END_OF_RE: @@ -1124,7 +1127,7 @@ case SIMPLE_BRACKET: /* Just double check. The non-ASCII range starts at 0x80. */ assert (0x80 % BITSET_WORD_BITS == 0); - for (i = 0x80 / BITSET_WORD_BITS; i < BITSET_WORDS; ++i) + for (i = 0x80 / BITSET_WORD_BITS; i < BITSET_WORDS; ++i) if (dfa->nodes[node].opr.sbcset[i]) return; break; @@ -1205,7 +1208,7 @@ { dfa->inveclosures = re_malloc (re_node_set, dfa->nodes_len); if (BE (dfa->inveclosures == NULL, 0)) - return REG_ESPACE; + return REG_ESPACE; ret = calc_inveclosure (dfa); } @@ -1227,16 +1230,16 @@ if that's the only child). */ while (node->left || node->right) if (node->left) - node = node->left; - else - node = node->right; + node = node->left; + else + node = node->right; do { reg_errcode_t err = fn (extra, node); if (BE (err != REG_NOERROR, 0)) return err; - if (node->parent == NULL) + if (node->parent == NULL) return REG_NOERROR; prev = node; node = node->parent; @@ -1270,7 +1273,7 @@ prev = node; node = node->parent; if (!node) - return REG_NOERROR; + return REG_NOERROR; } node = node->right; } @@ -1293,13 +1296,13 @@ } else if (node->token.type == SUBEXP - && node->left && node->left->token.type == SUBEXP) + && node->left && node->left->token.type == SUBEXP) { int other_idx = node->left->token.opr.idx; node->left = node->left->left; if (node->left) - node->left->parent = node; + node->left->parent = node; dfa->subexp_map[other_idx] = dfa->subexp_map[node->token.opr.idx]; if (other_idx < BITSET_WORD_BITS) @@ -1384,9 +1387,9 @@ node->first = node; node->node_idx = re_dfa_add_node (dfa, node->token); if (BE (node->node_idx == -1, 0)) - return REG_ESPACE; + return REG_ESPACE; if (node->token.type == ANCHOR) - dfa->nodes[node->node_idx].constraint = node->token.opr.ctx_type; + dfa->nodes[node->node_idx].constraint = node->token.opr.ctx_type; } return REG_NOERROR; } @@ -1408,7 +1411,7 @@ if (node->left) node->left->next = node->next; if (node->right) - node->right->next = node->next; + node->right->next = node->next; break; } return REG_NOERROR; @@ -1459,7 +1462,7 @@ case OP_BACK_REF: dfa->nexts[idx] = node->next->node_idx; if (node->token.type == OP_BACK_REF) - re_node_set_init_1 (dfa->edests + idx, dfa->nexts[idx]); + err = re_node_set_init_1 (dfa->edests + idx, dfa->nexts[idx]); break; default: @@ -1687,9 +1690,10 @@ calc_eclosure_iter (re_node_set *new_set, re_dfa_t *dfa, int node, int root) { reg_errcode_t err; - int i, incomplete; + int i; re_node_set eclosure; - incomplete = 0; + int ret; + int incomplete = 0; err = re_node_set_alloc (&eclosure, dfa->edests[node].nelem + 1); if (BE (err != REG_NOERROR, 0)) return err; @@ -1734,7 +1738,9 @@ else eclosure_elem = dfa->eclosures[edest]; /* Merge the epsilon closure of `edest'. */ - re_node_set_merge (&eclosure, &eclosure_elem); + err = re_node_set_merge (&eclosure, &eclosure_elem); + if (BE (err != REG_NOERROR, 0)) + return err; /* If the epsilon closure of `edest' is incomplete, the epsilon closure of this node is also incomplete. */ if (dfa->eclosures[edest].nelem == 0) @@ -1744,8 +1750,10 @@ } } - /* Epsilon closures include itself. */ - re_node_set_insert (&eclosure, node); + /* An epsilon closure includes itself. */ + ret = re_node_set_insert (&eclosure, node); + if (BE (ret < 0, 0)) + return REG_ESPACE; if (incomplete && !root) dfa->eclosures[node].nelem = 0; else @@ -2331,7 +2339,7 @@ && dfa->word_ops_used == 0) init_word_char (dfa); if (token->opr.ctx_type == WORD_DELIM - || token->opr.ctx_type == NOT_WORD_DELIM) + || token->opr.ctx_type == NOT_WORD_DELIM) { bin_tree_t *tree_first, *tree_last; if (token->opr.ctx_type == WORD_DELIM) @@ -2339,13 +2347,13 @@ token->opr.ctx_type = WORD_FIRST; tree_first = create_token_tree (dfa, NULL, NULL, token); token->opr.ctx_type = WORD_LAST; - } - else - { + } + else + { token->opr.ctx_type = INSIDE_WORD; tree_first = create_token_tree (dfa, NULL, NULL, token); token->opr.ctx_type = INSIDE_NOTWORD; - } + } tree_last = create_token_tree (dfa, NULL, NULL, token); tree = create_tree (dfa, tree_first, tree_last, OP_ALT); if (BE (tree_first == NULL || tree_last == NULL || tree == NULL, 0)) @@ -2456,7 +2464,7 @@ { tree = parse_reg_exp (regexp, preg, token, syntax, nest, err); if (BE (*err == REG_NOERROR && token->type != OP_CLOSE_SUBEXP, 0)) - *err = REG_EPAREN; + *err = REG_EPAREN; if (BE (*err != REG_NOERROR, 0)) return NULL; } @@ -2533,7 +2541,7 @@ return elem; } - if (BE (end != -1 && start > end, 0)) + if (BE ((end != -1 && start > end) || token->type != OP_CLOSE_DUP_NUM, 0)) { /* First number greater than second. */ *err = REG_BADBR; @@ -2593,11 +2601,11 @@ elem = duplicate_tree (elem, dfa); tree = create_tree (dfa, tree, elem, CONCAT); if (BE (elem == NULL || tree == NULL, 0)) - goto parse_dup_op_espace; + goto parse_dup_op_espace; tree = create_tree (dfa, tree, NULL, OP_ALT); if (BE (tree == NULL, 0)) - goto parse_dup_op_espace; + goto parse_dup_op_espace; } if (old_tree) @@ -2690,9 +2698,9 @@ no MBCSET if dfa->mb_cur_max == 1. */ if (mbcset) { - /* Check the space of the arrays. */ - if (BE (*range_alloc == mbcset->nranges, 0)) - { + /* Check the space of the arrays. */ + if (BE (*range_alloc == mbcset->nranges, 0)) + { /* There is not enough space, need realloc. */ wchar_t *new_array_start, *new_array_end; int new_nranges; @@ -2702,9 +2710,9 @@ /* Use realloc since mbcset->range_starts and mbcset->range_ends are NULL if *range_alloc == 0. */ new_array_start = re_realloc (mbcset->range_starts, wchar_t, - new_nranges); + new_nranges); new_array_end = re_realloc (mbcset->range_ends, wchar_t, - new_nranges); + new_nranges); if (BE (new_array_start == NULL || new_array_end == NULL, 0)) return REG_ESPACE; @@ -2712,10 +2720,10 @@ mbcset->range_starts = new_array_start; mbcset->range_ends = new_array_end; *range_alloc = new_nranges; - } + } - mbcset->range_starts[mbcset->nranges] = start_wc; - mbcset->range_ends[mbcset->nranges++] = end_wc; + mbcset->range_starts[mbcset->nranges] = start_wc; + mbcset->range_ends[mbcset->nranges++] = end_wc; } /* Build the table for single byte characters. */ @@ -2934,8 +2942,8 @@ build below suffices. */ if (nrules > 0 || dfa->mb_cur_max > 1) { - /* Check the space of the arrays. */ - if (BE (*range_alloc == mbcset->nranges, 0)) + /* Check the space of the arrays. */ + if (BE (*range_alloc == mbcset->nranges, 0)) { /* There is not enough space, need realloc. */ uint32_t *new_array_start; @@ -2947,18 +2955,18 @@ new_array_start = re_realloc (mbcset->range_starts, uint32_t, new_nranges); new_array_end = re_realloc (mbcset->range_ends, uint32_t, - new_nranges); + new_nranges); if (BE (new_array_start == NULL || new_array_end == NULL, 0)) - return REG_ESPACE; + return REG_ESPACE; mbcset->range_starts = new_array_start; mbcset->range_ends = new_array_end; *range_alloc = new_nranges; } - mbcset->range_starts[mbcset->nranges] = start_collseq; - mbcset->range_ends[mbcset->nranges++] = end_collseq; + mbcset->range_starts[mbcset->nranges] = start_collseq; + mbcset->range_ends[mbcset->nranges++] = end_collseq; } /* Build the table for single byte characters. */ @@ -3291,17 +3299,17 @@ of having both SIMPLE_BRACKET and COMPLEX_BRACKET. */ if (sbc_idx < BITSET_WORDS) { - /* Build a tree for simple bracket. */ - br_token.type = SIMPLE_BRACKET; - br_token.opr.sbcset = sbcset; - work_tree = create_token_tree (dfa, NULL, NULL, &br_token); - if (BE (work_tree == NULL, 0)) - goto parse_bracket_exp_espace; - - /* Then join them by ALT node. */ - work_tree = create_tree (dfa, work_tree, mbc_tree, OP_ALT); - if (BE (work_tree == NULL, 0)) - goto parse_bracket_exp_espace; + /* Build a tree for simple bracket. */ + br_token.type = SIMPLE_BRACKET; + br_token.opr.sbcset = sbcset; + work_tree = create_token_tree (dfa, NULL, NULL, &br_token); + if (BE (work_tree == NULL, 0)) + goto parse_bracket_exp_espace; + + /* Then join them by ALT node. */ + work_tree = create_tree (dfa, work_tree, mbc_tree, OP_ALT); + if (BE (work_tree == NULL, 0)) + goto parse_bracket_exp_espace; } else { @@ -3320,7 +3328,7 @@ br_token.opr.sbcset = sbcset; work_tree = create_token_tree (dfa, NULL, NULL, &br_token); if (BE (work_tree == NULL, 0)) - goto parse_bracket_exp_espace; + goto parse_bracket_exp_espace; } return work_tree; @@ -3877,7 +3885,7 @@ node = node->parent; dup_node = dup_node->parent; if (!node) - return dup_root; + return dup_root; } node = node->right; p_new = &dup_node->right; diff -urN gawk-3.1.7/regex_internal.c gawk-3.1.8/regex_internal.c --- gawk-3.1.7/regex_internal.c 2009-01-12 22:04:36.000000000 +0200 +++ gawk-3.1.8/regex_internal.c 2010-04-21 22:28:20.000000000 +0300 @@ -1,5 +1,5 @@ /* Extended regular expression matching and search library. - Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. + Copyright (C) 2002-2006, 2010 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Isamu Hasegawa . @@ -29,6 +29,15 @@ const re_node_set *nodes, unsigned int context, unsigned int hash) internal_function; + +#ifdef GAWK +#undef MAX /* safety */ +static int +MAX(size_t a, size_t b) +{ + return (a > b ? a : b); +} +#endif /* Functions for string operation. */ @@ -133,7 +142,14 @@ #ifdef RE_ENABLE_I18N if (pstr->mb_cur_max > 1) { - wint_t *new_wcs = re_realloc (pstr->wcs, wint_t, new_buf_len); + wint_t *new_wcs; + + /* Avoid overflow in realloc. */ + const size_t max_object_size = MAX (sizeof (wint_t), sizeof (int)); + if (BE (SIZE_MAX / max_object_size < new_buf_len, 0)) + return REG_ESPACE; + + new_wcs = re_realloc (pstr->wcs, wint_t, new_buf_len); if (BE (new_wcs == NULL, 0)) return REG_ESPACE; pstr->wcs = new_wcs; @@ -423,8 +439,8 @@ src_idx += mbclen; continue; } - else - memcpy (pstr->mbs + byte_idx, p, mbclen); + else + memcpy (pstr->mbs + byte_idx, p, mbclen); } else memcpy (pstr->mbs + byte_idx, p, mbclen); @@ -482,16 +498,16 @@ mbstate_t prev_st; int rawbuf_idx; size_t mbclen; - wchar_t wc = WEOF; + wint_t wc = WEOF; /* Skip the characters which are not necessary to check. */ for (rawbuf_idx = pstr->raw_mbs_idx + pstr->valid_raw_len; rawbuf_idx < new_raw_idx;) { - int remain_len; - remain_len = pstr->len - rawbuf_idx; + wchar_t wc2; + int remain_len = pstr->len - rawbuf_idx; prev_st = pstr->cur_state; - mbclen = __mbrtowc (&wc, (const char *) pstr->raw_mbs + rawbuf_idx, + mbclen = __mbrtowc (&wc2, (const char *) pstr->raw_mbs + rawbuf_idx, remain_len, &pstr->cur_state); if (BE (mbclen == (size_t) -2 || mbclen == (size_t) -1 || mbclen == 0, 0)) { @@ -503,6 +519,8 @@ mbclen = 1; pstr->cur_state = prev_st; } + else + wc = (wint_t) wc2; /* Then proceed the next character. */ rawbuf_idx += mbclen; } @@ -694,7 +712,7 @@ if (pstr->is_utf8) { - const unsigned char *raw, *p, *q, *end; + const unsigned char *raw, *p, *end; /* Special case UTF-8. Multi-byte chars start with any byte other than 0x80 - 0xbf. */ @@ -723,13 +741,11 @@ unsigned char buf[6]; size_t mbclen; - q = p; if (BE (pstr->trans != NULL, 0)) { int i = mlen < 6 ? mlen : 6; while (--i >= 0) buf[i] = pstr->trans[p[i]]; - q = buf; } /* XXX Don't use mbrtowc, we know which conversion to use (UTF-8 -> UCS4). */ @@ -1059,7 +1075,7 @@ int new_alloc = src1->nelem + src2->nelem + dest->alloc; int *new_elems = re_realloc (dest->elems, int, new_alloc); if (BE (new_elems == NULL, 0)) - return REG_ESPACE; + return REG_ESPACE; dest->elems = new_elems; dest->alloc = new_alloc; } @@ -1078,8 +1094,8 @@ while (id >= 0 && dest->elems[id] > src1->elems[i1]) --id; - if (id < 0 || dest->elems[id] != src1->elems[i1]) - dest->elems[--sbase] = src1->elems[i1]; + if (id < 0 || dest->elems[id] != src1->elems[i1]) + dest->elems[--sbase] = src1->elems[i1]; if (--i1 < 0 || --i2 < 0) break; @@ -1109,20 +1125,20 @@ if (delta > 0 && id >= 0) for (;;) { - if (dest->elems[is] > dest->elems[id]) - { - /* Copy from the top. */ - dest->elems[id + delta--] = dest->elems[is--]; - if (delta == 0) - break; - } - else - { - /* Slide from the bottom. */ - dest->elems[id + delta] = dest->elems[id]; - if (--id < 0) - break; - } + if (dest->elems[is] > dest->elems[id]) + { + /* Copy from the top. */ + dest->elems[id + delta--] = dest->elems[is--]; + if (delta == 0) + break; + } + else + { + /* Slide from the bottom. */ + dest->elems[id + delta] = dest->elems[id]; + if (--id < 0) + break; + } } /* Copy remaining SRC elements. */ @@ -1217,11 +1233,11 @@ is = src->nelem - 1, id = dest->nelem - 1; is >= 0 && id >= 0; ) { if (dest->elems[id] == src->elems[is]) - is--, id--; + is--, id--; else if (dest->elems[id] < src->elems[is]) - dest->elems[--sbase] = src->elems[is--]; + dest->elems[--sbase] = src->elems[is--]; else /* if (dest->elems[id] > src->elems[is]) */ - --id; + --id; } if (is >= 0) @@ -1243,21 +1259,21 @@ for (;;) { if (dest->elems[is] > dest->elems[id]) - { + { /* Copy from the top. */ - dest->elems[id + delta--] = dest->elems[is--]; + dest->elems[id + delta--] = dest->elems[is--]; if (delta == 0) break; } else - { - /* Slide from the bottom. */ - dest->elems[id + delta] = dest->elems[id]; + { + /* Slide from the bottom. */ + dest->elems[id + delta] = dest->elems[id]; if (--id < 0) { /* Copy remaining SRC elements. */ memcpy (dest->elems, dest->elems + sbase, - delta * sizeof (int)); + delta * sizeof (int)); break; } } @@ -1309,12 +1325,12 @@ { idx = 0; for (idx = set->nelem; idx > 0; idx--) - set->elems[idx] = set->elems[idx - 1]; + set->elems[idx] = set->elems[idx - 1]; } else { for (idx = set->nelem; set->elems[idx - 1] > elem; idx--) - set->elems[idx] = set->elems[idx - 1]; + set->elems[idx] = set->elems[idx - 1]; } /* Insert the new element. */ @@ -1413,8 +1429,11 @@ re_node_set *new_edests, *new_eclosures; re_token_t *new_nodes; - /* Avoid overflows. */ - if (BE (new_nodes_alloc < dfa->nodes_alloc, 0)) + /* Avoid overflows in realloc. */ + const size_t max_object_size = MAX (sizeof (re_token_t), + MAX (sizeof (re_node_set), + sizeof (int))); + if (BE (SIZE_MAX / max_object_size < new_nodes_alloc, 0)) return -1; new_nodes = re_realloc (dfa->nodes, re_token_t, new_nodes_alloc); @@ -1563,7 +1582,8 @@ { int elem = newstate->nodes.elems[i]; if (!IS_EPSILON_NODE (dfa->nodes[elem].type)) - re_node_set_insert_last (&newstate->non_eps_nodes, elem); + if (re_node_set_insert_last (&newstate->non_eps_nodes, elem) < 0) + return REG_ESPACE; } spot = dfa->state_table + (hash & dfa->state_hash_mask); @@ -1700,7 +1720,9 @@ free_state (newstate); return NULL; } - re_node_set_init_copy (newstate->entrance_nodes, nodes); + if (re_node_set_init_copy (newstate->entrance_nodes, nodes) + != REG_NOERROR) + return NULL; nctx_nodes = 0; newstate->has_constraint = 1; } diff -urN gawk-3.1.7/regex_internal.h gawk-3.1.8/regex_internal.h --- gawk-3.1.7/regex_internal.h 2009-01-13 09:11:37.000000000 +0200 +++ gawk-3.1.8/regex_internal.h 2010-04-20 11:21:31.000000000 +0300 @@ -1,5 +1,5 @@ /* Extended regular expression matching and search library. - Copyright (C) 2002-2005, 2007, 2008 Free Software Foundation, Inc. + Copyright (C) 2002-2005, 2007, 2008, 2010 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Isamu Hasegawa . diff -urN gawk-3.1.7/regexec.c gawk-3.1.8/regexec.c --- gawk-3.1.7/regexec.c 2009-01-13 09:19:26.000000000 +0200 +++ gawk-3.1.8/regexec.c 2010-04-13 22:06:58.000000000 +0300 @@ -1,5 +1,5 @@ /* Extended regular expression matching and search library. - Copyright (C) 2002, 2003, 2004, 2005, 2007, 2009 Free Software Foundation, Inc. + Copyright (C) 2002-2005, 2007, 2009, 2010 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Isamu Hasegawa . @@ -390,8 +390,7 @@ else str = string1; - rval = re_search_stub (bufp, str, len, start, range, stop, regs, - ret_len); + rval = re_search_stub (bufp, str, len, start, range, stop, regs, ret_len); if (free_str) re_free ((char *) str); return rval; @@ -506,9 +505,14 @@ if (regs_allocated == REGS_UNALLOCATED) { /* No. So allocate them with malloc. */ regs->start = re_malloc (regoff_t, need_regs); - regs->end = re_malloc (regoff_t, need_regs); - if (BE (regs->start == NULL, 0) || BE (regs->end == NULL, 0)) + if (BE (regs->start == NULL, 0)) return REGS_UNALLOCATED; + regs->end = re_malloc (regoff_t, need_regs); + if (BE (regs->end == NULL, 0)) + { + re_free (regs->start); + return REGS_UNALLOCATED; + } regs->num_regs = need_regs; } else if (regs_allocated == REGS_REALLOCATE) @@ -518,9 +522,15 @@ if (BE (need_regs > regs->num_regs, 0)) { regoff_t *new_start = re_realloc (regs->start, regoff_t, need_regs); - regoff_t *new_end = re_realloc (regs->end, regoff_t, need_regs); - if (BE (new_start == NULL, 0) || BE (new_end == NULL, 0)) + regoff_t *new_end; + if (BE (new_start == NULL, 0)) return REGS_UNALLOCATED; + new_end = re_realloc (regs->end, regoff_t, need_regs); + if (BE (new_end == NULL, 0)) + { + re_free (new_start); + return REGS_UNALLOCATED; + } regs->start = new_start; regs->end = new_end; regs->num_regs = need_regs; @@ -662,7 +672,7 @@ || !preg->newline_anchor)) { if (start != 0 && start + range != 0) - return REG_NOMATCH; + return REG_NOMATCH; start = range = 0; } @@ -687,6 +697,13 @@ multi character collating element. */ if (nmatch > 1 || dfa->has_mb_node) { + /* Avoid overflow. */ + if (BE (SIZE_MAX / sizeof (re_dfastate_t *) <= mctx.input.bufs_len, 0)) + { + err = REG_ESPACE; + goto free_return; + } + mctx.state_log = re_malloc (re_dfastate_t *, mctx.input.bufs_len + 1); if (BE (mctx.state_log == NULL, 0)) { @@ -794,10 +811,10 @@ break; match_first += incr; if (match_first < left_lim || match_first > right_lim) - { - err = REG_NOMATCH; - goto free_return; - } + { + err = REG_NOMATCH; + goto free_return; + } } break; } @@ -911,14 +928,14 @@ } if (dfa->subexp_map) - for (reg_idx = 0; reg_idx + 1 < nmatch; reg_idx++) - if (dfa->subexp_map[reg_idx] != reg_idx) - { - pmatch[reg_idx + 1].rm_so - = pmatch[dfa->subexp_map[reg_idx] + 1].rm_so; - pmatch[reg_idx + 1].rm_eo - = pmatch[dfa->subexp_map[reg_idx] + 1].rm_eo; - } + for (reg_idx = 0; reg_idx + 1 < nmatch; reg_idx++) + if (dfa->subexp_map[reg_idx] != reg_idx) + { + pmatch[reg_idx + 1].rm_so + = pmatch[dfa->subexp_map[reg_idx] + 1].rm_so; + pmatch[reg_idx + 1].rm_eo + = pmatch[dfa->subexp_map[reg_idx] + 1].rm_eo; + } } free_return: @@ -944,6 +961,11 @@ #endif match_last = mctx->match_last; halt_node = mctx->last_node; + + /* Avoid overflow. */ + if (BE (SIZE_MAX / sizeof (re_dfastate_t *) <= match_last, 0)) + return REG_ESPACE; + sifted_states = re_malloc (re_dfastate_t *, match_last + 1); if (BE (sifted_states == NULL, 0)) { @@ -1102,7 +1124,7 @@ { err = transit_state_bkref (mctx, &cur_state->nodes); if (BE (err != REG_NOERROR, 0)) - return err; + return err; } } } @@ -1129,16 +1151,16 @@ int next_char_idx = re_string_cur_idx (&mctx->input) + 1; if (BE (next_char_idx >= mctx->input.bufs_len, 0) - || (BE (next_char_idx >= mctx->input.valid_len, 0) - && mctx->input.valid_len < mctx->input.len)) - { - err = extend_buffers (mctx); - if (BE (err != REG_NOERROR, 0)) + || (BE (next_char_idx >= mctx->input.valid_len, 0) + && mctx->input.valid_len < mctx->input.len)) + { + err = extend_buffers (mctx); + if (BE (err != REG_NOERROR, 0)) { assert (err == REG_ESPACE); return -2; } - } + } cur_state = transit_state (&err, mctx, cur_state); if (mctx->state_log != NULL) @@ -1257,20 +1279,20 @@ int candidate = edests->elems[i]; if (!re_node_set_contains (cur_nodes, candidate)) continue; - if (dest_node == -1) + if (dest_node == -1) dest_node = candidate; - else + else { /* In order to avoid infinite loop like "(a*)*", return the second - epsilon-transition if the first was already considered. */ + epsilon-transition if the first was already considered. */ if (re_node_set_contains (eps_via_nodes, dest_node)) - return candidate; + return candidate; /* Otherwise, push the second epsilon-transition on the fail stack. */ else if (fs != NULL && push_fail_stack (fs, *pidx, candidate, nregs, regs, - eps_via_nodes)) + eps_via_nodes)) return -2; /* We know we are going to exit. */ @@ -1620,7 +1642,7 @@ if (mctx->state_log[str_idx]) { err = build_sifted_states (mctx, sctx, str_idx, &cur_dest); - if (BE (err != REG_NOERROR, 0)) + if (BE (err != REG_NOERROR, 0)) goto free_return; } @@ -1816,10 +1838,14 @@ { err = re_node_set_alloc (&state->inveclosure, dest_nodes->nelem); if (BE (err != REG_NOERROR, 0)) - return REG_ESPACE; + return REG_ESPACE; for (i = 0; i < dest_nodes->nelem; i++) - re_node_set_merge (&state->inveclosure, - dfa->inveclosures + dest_nodes->elems[i]); + { + err = re_node_set_merge (&state->inveclosure, + dfa->inveclosures + dest_nodes->elems[i]); + if (BE (err != REG_NOERROR, 0)) + return REG_ESPACE; + } } return re_node_set_add_intersect (dest_nodes, candidates, &state->inveclosure); @@ -1931,7 +1957,7 @@ { struct re_backref_cache_entry *ent = mctx->bkref_ents + bkref_idx; do - { + { int dst, cpos; if (ent->node != node) @@ -1952,9 +1978,9 @@ if (dst == from_node) { if (boundaries & 1) - return -1; + return -1; else /* if (boundaries & 2) */ - return 0; + return 0; } cpos = @@ -1968,7 +1994,7 @@ if (subexp_idx < BITSET_WORD_BITS) ent->eps_reachable_subexps_map &= ~((bitset_word_t) 1 << subexp_idx); - } + } while (ent++->more); } break; @@ -2193,7 +2219,7 @@ re_node_set_remove (&local_sctx.limits, enabled_idx); /* mctx->bkref_ents may have changed, reload the pointer. */ - entry = mctx->bkref_ents + enabled_idx; + entry = mctx->bkref_ents + enabled_idx; } while (enabled_idx++, entry++->more); } @@ -2274,7 +2300,7 @@ trtable = state->word_trtable; if (BE (trtable != NULL, 1)) - { + { unsigned int context; context = re_string_context_at (&mctx->input, @@ -2320,21 +2346,21 @@ unsigned int context; re_node_set next_nodes, *log_nodes, *table_nodes = NULL; /* If (state_log[cur_idx] != 0), it implies that cur_idx is - the destination of a multibyte char/collating element/ - back reference. Then the next state is the union set of - these destinations and the results of the transition table. */ + the destination of a multibyte char/collating element/ + back reference. Then the next state is the union set of + these destinations and the results of the transition table. */ pstate = mctx->state_log[cur_idx]; log_nodes = pstate->entrance_nodes; if (next_state != NULL) - { - table_nodes = next_state->entrance_nodes; - *err = re_node_set_init_union (&next_nodes, table_nodes, + { + table_nodes = next_state->entrance_nodes; + *err = re_node_set_init_union (&next_nodes, table_nodes, log_nodes); - if (BE (*err != REG_NOERROR, 0)) + if (BE (*err != REG_NOERROR, 0)) return NULL; - } + } else - next_nodes = *log_nodes; + next_nodes = *log_nodes; /* Note: We already add the nodes of the initial state, then we don't need to add them here. */ @@ -2342,12 +2368,12 @@ re_string_cur_idx (&mctx->input) - 1, mctx->eflags); next_state = mctx->state_log[cur_idx] - = re_acquire_state_context (err, dfa, &next_nodes, context); + = re_acquire_state_context (err, dfa, &next_nodes, context); /* We don't need to check errors here, since the return value of - this function is next_state and ERR is already set. */ + this function is next_state and ERR is already set. */ if (table_nodes != NULL) - re_node_set_free (&next_nodes); + re_node_set_free (&next_nodes); } if (BE (dfa->nbackref, 0) && next_state != NULL) @@ -2388,9 +2414,9 @@ do { - if (++cur_str_idx > max) - return NULL; - re_string_skip_bytes (&mctx->input, 1); + if (++cur_str_idx > max) + return NULL; + re_string_skip_bytes (&mctx->input, 1); } while (mctx->state_log[cur_str_idx] == NULL); @@ -2497,7 +2523,7 @@ re_dfastate_t *dest_state; if (!dfa->nodes[cur_node_idx].accept_mb) - continue; + continue; if (dfa->nodes[cur_node_idx].constraint) { @@ -2678,7 +2704,7 @@ const struct re_backref_cache_entry *entry = mctx->bkref_ents + cache_idx; do - if (entry->node == bkref_node) + if (entry->node == bkref_node) return REG_NOERROR; /* We already checked it. */ while (entry++->more); } @@ -3033,6 +3059,7 @@ const re_dfa_t *const dfa = mctx->dfa; int result; int cur_idx; + reg_errcode_t err = REG_NOERROR; re_node_set union_set; re_node_set_init_empty (&union_set); for (cur_idx = 0; cur_idx < cur_nodes->nelem; ++cur_idx) @@ -3047,7 +3074,6 @@ /* If the node may accept `multi byte'. */ if (dfa->nodes[cur_node].accept_mb) { - reg_errcode_t err = REG_NOERROR; naccepted = check_node_accept_bytes (dfa, cur_node, &mctx->input, str_idx); if (naccepted > 1) @@ -3354,6 +3380,13 @@ if (BE (err != REG_NOERROR, 0)) goto out_free; + /* Avoid arithmetic overflow in size calculation. */ + if (BE ((((SIZE_MAX - (sizeof (re_node_set) + sizeof (bitset_t)) * SBC_MAX) + / (3 * sizeof (re_dfastate_t *))) + < ndests), + 0)) + goto out_free; + #ifdef HAVE_ALLOCA if (__libc_use_alloca ((sizeof (re_node_set) + sizeof (bitset_t)) * SBC_MAX + ndests * 3 * sizeof (re_dfastate_t *))) @@ -3564,13 +3597,13 @@ } #ifdef RE_ENABLE_I18N else if (type == OP_UTF8_PERIOD) - { + { memset (accepts, '\xff', sizeof (bitset_t) / 2); if (!(dfa->syntax & RE_DOT_NEWLINE)) bitset_clear (accepts, '\n'); if (dfa->syntax & RE_DOT_NOT_NULL) bitset_clear (accepts, '\0'); - } + } #endif else continue; @@ -3776,7 +3809,7 @@ if (node->type == OP_PERIOD) { if (char_len <= 1) - return 0; + return 0; /* FIXME: I don't think this if is needed, as both '\n' and '\0' are char_len == 1. */ /* '.' accepts any one character except the following two cases. */ @@ -4027,18 +4060,18 @@ { case CHARACTER: if (node->opr.c != ch) - return 0; + return 0; break; case SIMPLE_BRACKET: if (!bitset_contain (node->opr.sbcset, ch)) - return 0; + return 0; break; #ifdef RE_ENABLE_I18N case OP_UTF8_PERIOD: if (ch >= 0x80) - return 0; + return 0; /* FALLTHROUGH */ #endif case OP_PERIOD: @@ -4073,6 +4106,10 @@ reg_errcode_t ret; re_string_t *pstr = &mctx->input; + /* Avoid overflow. */ + if (BE (INT_MAX / 2 / sizeof (re_dfastate_t *) <= pstr->bufs_len, 0)) + return REG_ESPACE; + /* Double the lengthes of the buffers. */ ret = re_string_realloc_buffers (pstr, pstr->bufs_len * 2); if (BE (ret != REG_NOERROR, 0)) diff -urN gawk-3.1.7/replace.c gawk-3.1.8/replace.c --- gawk-3.1.7/replace.c 2009-07-21 23:21:51.000000000 +0300 +++ gawk-3.1.8/replace.c 2010-03-19 09:13:54.000000000 +0200 @@ -3,7 +3,7 @@ */ /* - * Copyright (C) 1989, 1991-2009 the Free Software Foundation, Inc. + * Copyright (C) 1989, 1991-2010 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. @@ -111,3 +111,7 @@ #if defined(HAVE_SOCKETS) && ! defined(HAVE_GETADDRINFO) #include "missing_d/getaddrinfo.c" #endif + +#ifndef HAVE_USLEEP +#include "missing_d/usleep.c" +#endif diff -urN gawk-3.1.7/test/ChangeLog gawk-3.1.8/test/ChangeLog --- gawk-3.1.7/test/ChangeLog 2009-07-21 22:30:32.000000000 +0300 +++ gawk-3.1.8/test/ChangeLog 2010-05-06 20:57:03.000000000 +0300 @@ -1,3 +1,40 @@ +Thu May 6 20:55:14 2010 Arnold D. Robbins + + * Release 3.1.8: Release tar file made. + +Wed Apr 21 22:23:30 2010 Arnold D. Robbins + + * Makefile.am (EXTRA_DIST): Add Gentests.vms so it'll be + in the dist. + * localenl.sh, localenl.ok: Remove UNKNOWN locale per + request from Nelson Beebe. + * lc_num1.awk, lc_num1.ok: Revised to not fail on systems + where the quote flag isn't supported. Also per Nelson Beebe. + +Thu Feb 18 22:50:54 2010 Arnold D. Robbins + + * Makefile.am (fcall_exit2): New test. + * fcall_exit2.awk, fcall_exit2.in, fcall_exit2.ok: New files. + +Wed Feb 17 23:25:27 2010 Arnold D. Robbins + + * Makefile.am (fcall_exit): New test. + * fcall_exit.awk, fcall_exit.ok: New files. + +Fri Feb 5 13:02:10 2010 Arnold D. Robbins + + * Makefile.am (forref): New test. + * forref.awk, forref.ok: New files. + +Tue Oct 6 19:49:22 2009 Arnold D. Robbins + + * Makefile.am (uninit5): New test. + * uninit5.awk, uninit5.ok: New files. + +Tue Aug 4 06:04:04 2009 Arnold D. Robbins + + * hsprint.ok: Updated. + Tue Jul 21 22:28:56 2009 Arnold D. Robbins * Release 3.1.7: Release tar file made. diff -urN gawk-3.1.7/test/Gentests.vms gawk-3.1.8/test/Gentests.vms --- gawk-3.1.7/test/Gentests.vms 1970-01-01 02:00:00.000000000 +0200 +++ gawk-3.1.8/test/Gentests.vms 2007-05-15 22:04:29.000000000 +0300 @@ -0,0 +1,102 @@ +# Gentests.vms - supplements Gentests to generate tests in vms format +# gawk -v "VMSTESTS=1" -f Gentests -f Gentests.vms Makefile.am *.awk *.in >Maketests.vms + +/^FAIL_CODE1 *=/,/[^\\]$/ { + gsub(/(^FAIL_CODE1 *=|\\$)/,"") + for (i = 1; i <= NF; i++) + fail_code1[$i] + next +} + +END { + if (VMSTESTS) vmsepilog() +} + +# wildcard expansion done by gawk's vms_arg_fixup() to simulate shell +# globbing produces full filenames: device:[directory]name.type;# +# and by default also forces the value into upper case +function vmsargvfixup( i, f) +{ + # we're forcing lowercase below; need to override for some files + vmscasefixup["makefile.in"] = "Makefile.in" + + for (i = 2; i < ARGC; i++) { + f = ARGV[i] + sub(/^.+[]>]/, "", f) # strip dev+dir prefix + sub(/\;[0-9]+$/, "", f) # strip version suffix + f = tolower(f) + if (f in vmscasefixup) f = vmscasefixup[f] + ARGV[i] = f + } + + vmsprolog() # insert some stuff into the output file +} + +# output sufficient for the simplest tests in vms/vmstest.com +function vmsgenerate(x, s, o) +{ + # generate a gosub-style subroutine; start with its label + printf "$" x ":" + + s = "" + if (x in lint) { + s = s " --lint" + delete lint[x] + } + if (x in lint_old) { + s = s " --lint-old" + delete lint_old[x] + } + if (x".in" in files) { + s = s " <" x ".in" + delete files[x".in"] + } + + o = "_" x ".tmp" + print "\techo \"" x "\"" + print "$\tAWKPATH_srcdir" + print "$\tgawk -f " x ".awk" s " >" o " 2>&1" + print "$\tif .not.$status then call exit_code \"" o "\" " \ + ((x in fail_code1) ? "1" : "2") + print "$\tcmp " x ".ok " o + print "$\tif $status" + print "$\tthen\trm " o ";" + print "$\telse\techo \"test \"\"" x "\"\" failed\"" + print "$\tendif" + print "$\treturn" + + return +} + +# prolog for Maketests.vms +function vmsprolog() +{ + print "$" + print "$\techo\t= \"write sys$output\"" + print "$\tcmp\t= \"diff/Output=_NL:/Maximum=1\"" + print "$\trm\t= \"delete/noConfirm/noLog\"" + print "$\tgawk\t= \"$sys$disk:[-]gawk.exe\"" + print "$\tAWKPATH_srcdir = \"define/User AWKPATH sys$disk:[]\"" + print "$" + + print "$\tset noOn" + print "$ gosub 'p1'" + print "$\tset On" + print "$ exit" + print "$" +} + +# epilog for Maketests.vms +function vmsepilog() +{ + print "$" + print "$! add a fake \"EXIT CODE\" record to the end of temporary output file" + print "$! to simulate the ``|| echo EXIT CODE $$? >>_$@'' shell script usage" + print "$exit_code: subroutine" + print "$\tif f$trnlnm(\"FTMP\").nes.\"\" then close/noLog ftmp" + print "$\topen/Append ftmp 'p1'" + print "$\twrite ftmp \"EXIT CODE: \",p2" + print "$\tclose ftmp" + print "$ endsubroutine !exit_code" + print "$" +} diff -urN gawk-3.1.7/test/Makefile.am gawk-3.1.8/test/Makefile.am --- gawk-3.1.7/test/Makefile.am 2009-07-03 12:31:11.000000000 +0300 +++ gawk-3.1.8/test/Makefile.am 2010-04-21 22:23:22.000000000 +0300 @@ -1,7 +1,7 @@ # # test/Makefile.am --- automake input file for gawk # -# Copyright (C) 1988-2008 the Free Software Foundation, Inc. +# Copyright (C) 1988-2010 the Free Software Foundation, Inc. # # This file is part of GAWK, the GNU implementation of the # AWK Programming Language. @@ -27,6 +27,7 @@ reg \ lib \ Gentests \ + Gentests.vms \ Maketests \ README \ addcomma.awk \ @@ -161,6 +162,11 @@ exitval2.awk \ exitval2.ok \ exitval2.w32 \ + fcall_exit.awk \ + fcall_exit.ok \ + fcall_exit2.awk \ + fcall_exit2.ok \ + fcall_exit2.in \ fflush.ok \ fflush.sh \ fieldwdth.awk \ @@ -196,6 +202,8 @@ fnparydl.ok \ fordel.awk \ fordel.ok \ + forref.awk \ + forref.ok \ forsimp.awk \ forsimp.ok \ fsbs.awk \ @@ -641,6 +649,8 @@ uninit3.ok \ uninit4.awk \ uninit4.ok \ + uninit5.awk \ + uninit5.ok \ uninitialized.awk \ uninitialized.ok \ unterm.awk \ @@ -688,8 +698,9 @@ arysubnm asgext awkpath back89 backgsub childin clobber closebad \ clsflnam compare compare2 concat1 concat2 concat3 concat4 convfmt \ datanonl defref delarpm2 delarprm delfunc dynlj eofsplit exitval1 \ - exitval2 fldchg fldchgnf fnamedat fnarray fnarray2 fnaryscl fnasgnm \ - fnmisc fordel forsimp fsbs fsrs fsspcoln fstabplus funsemnl funsmnam \ + exitval2 fcall_exit fcall_exit2 fldchg fldchgnf fnamedat fnarray \ + fnarray2 fnaryscl fnasgnm \ + fnmisc fordel forref forsimp fsbs fsrs fsspcoln fstabplus funsemnl funsmnam \ funstack getline getline2 getline3 getlnbuf getnr2tb getnr2tm \ gsubasgn gsubtest gsubtst2 gsubtst3 gsubtst4 gsubtst5 gsubtst6 \ hex hsprint inputred intest intprec iobug1 leaddig leadnl litoct \ @@ -704,7 +715,7 @@ rstest3 rstest4 rstest5 rswhite scalar sclforin sclifin sortempty \ splitargv splitarr splitdef splitvar splitwht strcat1 strnum1 \ strtod subamp subi18n subsepnm subslash substr swaplns synerr1 \ - synerr2 tradanch tweakfld uninit2 uninit3 uninit4 uninitialized \ + synerr2 tradanch tweakfld uninit2 uninit3 uninit4 uninit5 uninitialized \ unterm uparrfs wideidx wideidx2 widesub widesub2 widesub3 \ widesub4 wjposer1 zero2 zeroe0 zeroflag @@ -728,7 +739,7 @@ mbprintf1 mbprintf2 rebt8b2 sort1 sprintfc whiny # List of the tests which should be run with --lint option: -NEED_LINT = defref fmtspcl noeffect nofmtch shadow uninit2 uninit3 uninit4 uninitialized +NEED_LINT = defref fmtspcl noeffect nofmtch shadow uninit2 uninit3 uninit4 uninit5 uninitialized # List of the tests which should be run with --lint-old option: NEED_LINT_OLD = lintold diff -urN gawk-3.1.7/test/Makefile.in gawk-3.1.8/test/Makefile.in --- gawk-3.1.7/test/Makefile.in 2009-07-21 22:29:59.000000000 +0300 +++ gawk-3.1.8/test/Makefile.in 2010-05-06 20:55:44.000000000 +0300 @@ -1,4 +1,4 @@ -# Makefile.in generated by automake 1.11 from Makefile.am. +# Makefile.in generated by automake 1.11.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, @@ -18,7 +18,7 @@ # # test/Makefile.am --- automake input file for gawk # -# Copyright (C) 1988-2008 the Free Software Foundation, Inc. +# Copyright (C) 1988-2010 the Free Software Foundation, Inc. # # This file is part of GAWK, the GNU implementation of the # AWK Programming Language. @@ -66,9 +66,7 @@ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/isc-posix.m4 \ $(top_srcdir)/m4/lcmessage.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ - $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/longlong.m4 \ - $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ - $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/m4/libsigsegv.m4 $(top_srcdir)/m4/longlong.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/socket.m4 \ $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/uintmax_t.m4 \ @@ -84,7 +82,6 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ -AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ @@ -103,18 +100,16 @@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ -DSYMUTIL = @DSYMUTIL@ -DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ -FGREP = @FGREP@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ +HAVE_LIBSIGSEGV = @HAVE_LIBSIGSEGV@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ @@ -122,42 +117,33 @@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ -LD = @LD@ LDFLAGS = @LDFLAGS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSIGSEGV = @LIBSIGSEGV@ -LIBTOOL = @LIBTOOL@ -LIPO = @LIPO@ +LIBSIGSEGV_PREFIX = @LIBSIGSEGV_PREFIX@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ +LTLIBSIGSEGV = @LTLIBSIGSEGV@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ POSUB = @POSUB@ -RANLIB = @RANLIB@ -SED = @SED@ -SEGVINCLUDE = @SEGVINCLUDE@ -SEGVSUBDIR = @SEGVSUBDIR@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SOCKET_LIBS = @SOCKET_LIBS@ @@ -175,7 +161,6 @@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ @@ -206,7 +191,6 @@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ @@ -217,7 +201,6 @@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ -subdirs = @subdirs@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ @@ -227,6 +210,7 @@ reg \ lib \ Gentests \ + Gentests.vms \ Maketests \ README \ addcomma.awk \ @@ -361,6 +345,11 @@ exitval2.awk \ exitval2.ok \ exitval2.w32 \ + fcall_exit.awk \ + fcall_exit.ok \ + fcall_exit2.awk \ + fcall_exit2.ok \ + fcall_exit2.in \ fflush.ok \ fflush.sh \ fieldwdth.awk \ @@ -396,6 +385,8 @@ fnparydl.ok \ fordel.awk \ fordel.ok \ + forref.awk \ + forref.ok \ forsimp.awk \ forsimp.ok \ fsbs.awk \ @@ -841,6 +832,8 @@ uninit3.ok \ uninit4.awk \ uninit4.ok \ + uninit5.awk \ + uninit5.ok \ uninitialized.awk \ uninitialized.ok \ unterm.awk \ @@ -888,8 +881,9 @@ arysubnm asgext awkpath back89 backgsub childin clobber closebad \ clsflnam compare compare2 concat1 concat2 concat3 concat4 convfmt \ datanonl defref delarpm2 delarprm delfunc dynlj eofsplit exitval1 \ - exitval2 fldchg fldchgnf fnamedat fnarray fnarray2 fnaryscl fnasgnm \ - fnmisc fordel forsimp fsbs fsrs fsspcoln fstabplus funsemnl funsmnam \ + exitval2 fcall_exit fcall_exit2 fldchg fldchgnf fnamedat fnarray \ + fnarray2 fnaryscl fnasgnm \ + fnmisc fordel forref forsimp fsbs fsrs fsspcoln fstabplus funsemnl funsmnam \ funstack getline getline2 getline3 getlnbuf getnr2tb getnr2tm \ gsubasgn gsubtest gsubtst2 gsubtst3 gsubtst4 gsubtst5 gsubtst6 \ hex hsprint inputred intest intprec iobug1 leaddig leadnl litoct \ @@ -904,7 +898,7 @@ rstest3 rstest4 rstest5 rswhite scalar sclforin sclifin sortempty \ splitargv splitarr splitdef splitvar splitwht strcat1 strnum1 \ strtod subamp subi18n subsepnm subslash substr swaplns synerr1 \ - synerr2 tradanch tweakfld uninit2 uninit3 uninit4 uninitialized \ + synerr2 tradanch tweakfld uninit2 uninit3 uninit4 uninit5 uninitialized \ unterm uparrfs wideidx wideidx2 widesub widesub2 widesub3 \ widesub4 wjposer1 zero2 zeroe0 zeroflag @@ -925,7 +919,7 @@ # List of the tests which should be run with --lint option: -NEED_LINT = defref fmtspcl noeffect nofmtch shadow uninit2 uninit3 uninit4 uninitialized +NEED_LINT = defref fmtspcl noeffect nofmtch shadow uninit2 uninit3 uninit4 uninit5 uninitialized # List of the tests which should be run with --lint-old option: NEED_LINT_OLD = lintold @@ -970,12 +964,6 @@ $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs tags: TAGS TAGS: @@ -1043,7 +1031,7 @@ maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -clean-am: clean-generic clean-libtool mostlyclean-am +clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile @@ -1095,7 +1083,7 @@ mostlyclean: mostlyclean-am -mostlyclean-am: mostlyclean-generic mostlyclean-libtool +mostlyclean-am: mostlyclean-generic pdf: pdf-am @@ -1109,16 +1097,15 @@ .MAKE: install-am install-strip -.PHONY: all all-am check check-am clean clean-generic clean-libtool \ - distclean distclean-generic distclean-libtool distdir dvi \ - dvi-am html html-am info info-am install install-am \ - install-data install-data-am install-dvi install-dvi-am \ - install-exec install-exec-am install-html install-html-am \ - install-info install-info-am install-man install-pdf \ - install-pdf-am install-ps install-ps-am install-strip \ - installcheck installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-generic \ - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am +.PHONY: all all-am check check-am clean clean-generic distclean \ + distclean-generic distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-info install-info-am install-man \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am # Message stuff is to make it a little easier to follow. @@ -1824,6 +1811,16 @@ @AWKPATH=$(srcdir) $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ @-$(CMP) $(srcdir)/$@.ok _$@ && rm -f _$@ +fcall_exit: + @echo fcall_exit + @AWKPATH=$(srcdir) $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ + @-$(CMP) $(srcdir)/$@.ok _$@ && rm -f _$@ + +fcall_exit2: + @echo fcall_exit2 + @AWKPATH=$(srcdir) $(AWK) -f $@.awk < $(srcdir)/$@.in >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ + @-$(CMP) $(srcdir)/$@.ok _$@ && rm -f _$@ + fldchg: @echo fldchg @AWKPATH=$(srcdir) $(AWK) -f $@.awk < $(srcdir)/$@.in >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ @@ -1869,6 +1866,11 @@ @AWKPATH=$(srcdir) $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ @-$(CMP) $(srcdir)/$@.ok _$@ && rm -f _$@ +forref: + @echo forref + @AWKPATH=$(srcdir) $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ + @-$(CMP) $(srcdir)/$@.ok _$@ && rm -f _$@ + forsimp: @echo forsimp @AWKPATH=$(srcdir) $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ @@ -2394,6 +2396,11 @@ @AWKPATH=$(srcdir) $(AWK) -f $@.awk --lint >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ @-$(CMP) $(srcdir)/$@.ok _$@ && rm -f _$@ +uninit5: + @echo uninit5 + @AWKPATH=$(srcdir) $(AWK) -f $@.awk --lint >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ + @-$(CMP) $(srcdir)/$@.ok _$@ && rm -f _$@ + uninitialized: @echo uninitialized @AWKPATH=$(srcdir) $(AWK) -f $@.awk --lint >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ diff -urN gawk-3.1.7/test/Maketests gawk-3.1.8/test/Maketests --- gawk-3.1.7/test/Maketests 2009-07-03 12:31:17.000000000 +0300 +++ gawk-3.1.8/test/Maketests 2010-04-21 22:32:00.000000000 +0300 @@ -200,6 +200,16 @@ @AWKPATH=$(srcdir) $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ @-$(CMP) $(srcdir)/$@.ok _$@ && rm -f _$@ +fcall_exit: + @echo fcall_exit + @AWKPATH=$(srcdir) $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ + @-$(CMP) $(srcdir)/$@.ok _$@ && rm -f _$@ + +fcall_exit2: + @echo fcall_exit2 + @AWKPATH=$(srcdir) $(AWK) -f $@.awk < $(srcdir)/$@.in >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ + @-$(CMP) $(srcdir)/$@.ok _$@ && rm -f _$@ + fldchg: @echo fldchg @AWKPATH=$(srcdir) $(AWK) -f $@.awk < $(srcdir)/$@.in >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ @@ -245,6 +255,11 @@ @AWKPATH=$(srcdir) $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ @-$(CMP) $(srcdir)/$@.ok _$@ && rm -f _$@ +forref: + @echo forref + @AWKPATH=$(srcdir) $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ + @-$(CMP) $(srcdir)/$@.ok _$@ && rm -f _$@ + forsimp: @echo forsimp @AWKPATH=$(srcdir) $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ @@ -770,6 +785,11 @@ @AWKPATH=$(srcdir) $(AWK) -f $@.awk --lint >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ @-$(CMP) $(srcdir)/$@.ok _$@ && rm -f _$@ +uninit5: + @echo uninit5 + @AWKPATH=$(srcdir) $(AWK) -f $@.awk --lint >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ + @-$(CMP) $(srcdir)/$@.ok _$@ && rm -f _$@ + uninitialized: @echo uninitialized @AWKPATH=$(srcdir) $(AWK) -f $@.awk --lint >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ diff -urN gawk-3.1.7/test/fcall_exit.awk gawk-3.1.8/test/fcall_exit.awk --- gawk-3.1.7/test/fcall_exit.awk 1970-01-01 02:00:00.000000000 +0200 +++ gawk-3.1.8/test/fcall_exit.awk 2010-02-17 22:47:51.000000000 +0200 @@ -0,0 +1,24 @@ +#!/bin/awk -f + +function crash () { + exit 1 +} + +function true (a,b,c) { + return 0 +} + +BEGIN { + if (ARGV[1] == 1) { + print "true(1, 1, crash()) => crash properly." + true(1, 1, crash()) + } else if (ARGV[1] == 2) { + print "true(1, crash(), 1) => do not crash properly." + true(1, crash(),1) + } else { + print "true(1, crash()) => do not crash properly." + true(1, crash()) + } +} + +# FdF diff -urN gawk-3.1.7/test/fcall_exit.ok gawk-3.1.8/test/fcall_exit.ok --- gawk-3.1.7/test/fcall_exit.ok 1970-01-01 02:00:00.000000000 +0200 +++ gawk-3.1.8/test/fcall_exit.ok 2010-02-17 23:25:48.000000000 +0200 @@ -0,0 +1,2 @@ +true(1, crash()) => do not crash properly. +EXIT CODE: 1 diff -urN gawk-3.1.7/test/fcall_exit2.awk gawk-3.1.8/test/fcall_exit2.awk --- gawk-3.1.7/test/fcall_exit2.awk 1970-01-01 02:00:00.000000000 +0200 +++ gawk-3.1.8/test/fcall_exit2.awk 2010-02-18 22:42:04.000000000 +0200 @@ -0,0 +1,25 @@ +#!/bin/awk -f + +function crash () { + exit 1 +} + +function true (a,b,c) { + return 1 +} + +BEGIN { + if (ARGV[2] == 1) { + print " true(1, crash()) => crash properly." + true(1, crash()) + # ADR: Added: + delete ARGV[2] + } +} + +{ + print " true(1, crash()) => do not crash properly." + true(1, crash()) +} + +# FdF diff -urN gawk-3.1.7/test/fcall_exit2.in gawk-3.1.8/test/fcall_exit2.in --- gawk-3.1.7/test/fcall_exit2.in 1970-01-01 02:00:00.000000000 +0200 +++ gawk-3.1.8/test/fcall_exit2.in 2010-02-18 22:49:14.000000000 +0200 @@ -0,0 +1 @@ +dummy input line diff -urN gawk-3.1.7/test/fcall_exit2.ok gawk-3.1.8/test/fcall_exit2.ok --- gawk-3.1.7/test/fcall_exit2.ok 1970-01-01 02:00:00.000000000 +0200 +++ gawk-3.1.8/test/fcall_exit2.ok 2010-02-18 22:50:04.000000000 +0200 @@ -0,0 +1,2 @@ + true(1, crash()) => do not crash properly. +EXIT CODE: 1 diff -urN gawk-3.1.7/test/forref.awk gawk-3.1.8/test/forref.awk --- gawk-3.1.7/test/forref.awk 1970-01-01 02:00:00.000000000 +0200 +++ gawk-3.1.8/test/forref.awk 2010-02-05 13:01:24.000000000 +0200 @@ -0,0 +1,11 @@ +BEGIN { + names[1] = "s" + names[2] = "m" + for (i in names) { + x[names[i]] = i + print i, names[i], x[names[i]] + } + print x["s"] +# adump(x) +# adump(names) +} diff -urN gawk-3.1.7/test/forref.ok gawk-3.1.8/test/forref.ok --- gawk-3.1.7/test/forref.ok 1970-01-01 02:00:00.000000000 +0200 +++ gawk-3.1.8/test/forref.ok 2010-02-05 13:01:34.000000000 +0200 @@ -0,0 +1,3 @@ +1 s 1 +2 m 2 +1 diff -urN gawk-3.1.7/test/hsprint.ok gawk-3.1.8/test/hsprint.ok --- gawk-3.1.7/test/hsprint.ok 2007-04-29 22:45:49.000000000 +0300 +++ gawk-3.1.8/test/hsprint.ok 2009-08-04 06:03:43.000000000 +0300 @@ -32,21 +32,21 @@ %-+ #0|+45 |055 |0x2d |+12.68 |+1.27e+01 |+12.68 | %| zap| *| -3| -3.46| -3.46e+00| -3.457| - %0|00zap|0000*|-000003|-003.46|-03.46e+00|-00003.457| + %0| zap| *|-000003|-003.46|-03.46e+00|-00003.457| %#| zap| *| -3.| -3.46| -3.46e+00| -3.457| - %#0|00zap|0000*|-00003.|-003.46|-03.46e+00|-00003.457| + %#0| zap| *|-00003.|-003.46|-03.46e+00|-00003.457| % | zap| *| -3| -3.46| -3.46e+00| -3.457| - % 0|00zap|0000*|-000003|-003.46|-03.46e+00|-00003.457| + % 0| zap| *|-000003|-003.46|-03.46e+00|-00003.457| % #| zap| *| -3.| -3.46| -3.46e+00| -3.457| - % #0|00zap|0000*|-00003.|-003.46|-03.46e+00|-00003.457| + % #0| zap| *|-00003.|-003.46|-03.46e+00|-00003.457| %+| zap| *| -3| -3.46| -3.46e+00| -3.457| - %+0|00zap|0000*|-000003|-003.46|-03.46e+00|-00003.457| + %+0| zap| *|-000003|-003.46|-03.46e+00|-00003.457| %+#| zap| *| -3.| -3.46| -3.46e+00| -3.457| - %+#0|00zap|0000*|-00003.|-003.46|-03.46e+00|-00003.457| + %+#0| zap| *|-00003.|-003.46|-03.46e+00|-00003.457| %+ | zap| *| -3| -3.46| -3.46e+00| -3.457| - %+ 0|00zap|0000*|-000003|-003.46|-03.46e+00|-00003.457| + %+ 0| zap| *|-000003|-003.46|-03.46e+00|-00003.457| %+ #| zap| *| -3.| -3.46| -3.46e+00| -3.457| -%+ #0|00zap|0000*|-00003.|-003.46|-03.46e+00|-00003.457| +%+ #0| zap| *|-00003.|-003.46|-03.46e+00|-00003.457| %-|zap |* |-3 |-3.46 |-3.46e+00 |-3.457 | %-0|zap |* |-3 |-3.46 |-3.46e+00 |-3.457 | %-#|zap |* |-3. |-3.46 |-3.46e+00 |-3.457 | diff -urN gawk-3.1.7/test/lc_num1.awk gawk-3.1.8/test/lc_num1.awk --- gawk-3.1.7/test/lc_num1.awk 2008-12-18 20:57:03.000000000 +0200 +++ gawk-3.1.8/test/lc_num1.awk 2010-04-22 20:12:39.000000000 +0300 @@ -1,4 +1,19 @@ # Bug reported by Ulrich Drepper. +# BEGIN { +# printf("%'d %d\n", 1000000, 1000000) +# } + +# April 2010: +# This needs to be a smarter test so that systems without the %'d flag +# don't generate a needless failure. + BEGIN { - printf("%'d %d\n", 1000000, 1000000) + s = sprintf("%'d", 1234) + if (s == "1,234" || s == "1234") + print "ok, or at least the quote flag isn't supported" + else { + command = "od -c" + print("fail:", s) | command + close(command) + } } diff -urN gawk-3.1.7/test/lc_num1.ok gawk-3.1.8/test/lc_num1.ok --- gawk-3.1.7/test/lc_num1.ok 2008-12-18 20:57:03.000000000 +0200 +++ gawk-3.1.8/test/lc_num1.ok 2010-04-21 22:39:59.000000000 +0300 @@ -1 +1 @@ -1,000,000 1000000 +ok, or at least the quote flag isn't supported diff -urN gawk-3.1.7/test/localenl.ok gawk-3.1.8/test/localenl.ok --- gawk-3.1.7/test/localenl.ok 2007-09-26 14:32:14.000000000 +0200 +++ gawk-3.1.8/test/localenl.ok 2010-04-21 22:32:24.000000000 +0300 @@ -1,5 +1,4 @@ LC_ALL=C passed -LC_ALL=UNKNOWN passed LC_ALL=POSIX passed LC_ALL=en_US.ISO-8859-1 passed LC_ALL=en_US.UTF-8 passed diff -urN gawk-3.1.7/test/localenl.sh gawk-3.1.8/test/localenl.sh --- gawk-3.1.7/test/localenl.sh 2008-12-04 21:54:01.000000000 +0200 +++ gawk-3.1.8/test/localenl.sh 2010-04-21 22:31:56.000000000 +0300 @@ -35,7 +35,8 @@ AWK=${AWK:-../gawk} -for LC_ALL in C UNKNOWN POSIX en_US.ISO-8859-1 en_US.UTF-8 +# April 2010: Remove UNKNOWN, causes spurious failures on some systems +for LC_ALL in C POSIX en_US.ISO-8859-1 en_US.UTF-8 #UNKNOWN do export LC_ALL cat < +#Received: from aahz (localhost [127.0.0.1]) +# by skeeve.com (8.14.1/8.14.1) with ESMTP id n7U5WoJ2003836 +# for ; Sun, 30 Aug 2009 08:36:36 +0300 +#X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on server1.f7.net +#X-Spam-Level: +#X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED +# autolearn=ham version=3.2.4 +#X-Envelope-From: gregfjohnson@yahoo.com +#X-Envelope-To: +#Received: from server1.f7.net [64.34.169.74] +# by aahz with IMAP (fetchmail-6.3.7) +# for (single-drop); Sun, 30 Aug 2009 08:36:36 +0300 (IDT) +#Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) +# by f7.net (8.11.7-20030920/8.11.7) with ESMTP id n7U33m709453 +# for ; Sat, 29 Aug 2009 22:03:48 -0500 +#Received: from mail.gnu.org ([199.232.76.166]:42095 helo=mx10.gnu.org) +# by fencepost.gnu.org with esmtp (Exim 4.67) +# (envelope-from ) +# id 1Mhai6-0004Qt-3R +# for bug-gawk@gnu.org; Sat, 29 Aug 2009 23:04:06 -0400 +#Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) +# (envelope-from ) +# id 1Mhai5-00062I-EM +# for bug-gawk@gnu.org; Sat, 29 Aug 2009 23:04:05 -0400 +#Received: from web33507.mail.mud.yahoo.com ([68.142.206.156]:28597) +# by monty-python.gnu.org with smtp (Exim 4.60) +# (envelope-from ) +# id 1Mhai5-00061w-2n +# for bug-gawk@gnu.org; Sat, 29 Aug 2009 23:04:05 -0400 +#Received: (qmail 68722 invoked by uid 60001); 30 Aug 2009 03:04:03 -0000 +#DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1251601443; bh=9h2ZOOgxUh+s8Ow5/ZMWUxcviy2L4rpiaNamPAXxhEk=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=tWxCQq/aTOT5lhtdPc5hxtXzOjDFmLU6Ao0BSlwbeeBsd9Wl6DU3JCR4gTkoL0aVUOTdjMjgRY7I72yCht+YruDiqZrvtSKvUoAvZAKcPG26RE4jzxUlxQklEHZG9mq9h2gpTIiLYehYDiC0975wukwi/e7ePADfkFwg8eTnT44= +#DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; +# s=s1024; d=yahoo.com; +# h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; +# b=LWfhVgxojFG1eYoRrxtrS3YOfH3MTUVTYZle/4utMQEPZQfsmrn6GBwBfThryGqJyZfg38/7JfK9cz/Q3Yt+mf8+xl9/m+Srckc+Xvi42CE0OmoN439vCyhAD8A74XOJsmfKDjJ/+LtioShStUohj1iYDDmRTN4RnnP9X4xnt3c=; +#Message-ID: <410222.68490.qm@web33507.mail.mud.yahoo.com> +#X-YMail-OSG: mfjax.MVM1lI2q5gcl6bChbn6zHgNgj1fByHWJSzB8ZZUmI2QCH6pNwV_IaHxcqecu.VqjKUR6HQhXbziUnX.v5E2nOE61ass9AzqfdVOtKTEAzTPQJ8Z7QB7fq7BMtjn8yohDR6mwOyVTqv3RZh0m1Us7sLit6UmcgeSvJo2rROAmeceq.FBwk2XnEp2_QsljjPHak_WXyvtAK81klDv5qQORWQWqR9q79x7yxORL6fLWwb_x6mZZMSOUaA0p8.ucT453eqT1L8NGkthF.fXmOM3_EYd03zUgr9Sb.zvMvbDC3MCMnVr0JT1uroLmFtVIdTojrFJYFQEDFSB9zT3Ua80ZpGXrjQGx3rZw-- +#Received: from [71.165.246.171] by web33507.mail.mud.yahoo.com via HTTP; Sat, 29 Aug 2009 20:04:03 PDT +#X-Mailer: YahooMailClassic/6.1.2 YahooMailWebService/0.7.338.2 +#Date: Sat, 29 Aug 2009 20:04:03 -0700 (PDT) +#From: Greg Johnson +#Subject: bugs in passing uninitialized array to a function +#To: bug-gawk@gnu.org +#MIME-Version: 1.0 +#Content-Type: multipart/mixed; boundary="0-1690489838-1251601443=:68490" +#X-detected-operating-system: by monty-python.gnu.org: FreeBSD 6.x (1) +#Status: RO +# +#--0-1690489838-1251601443=:68490 +#Content-Type: text/plain; charset=us-ascii +# +#I am using gawk version 3.1.7. +# +#The attached programs illustrate what look to me like two bugs +#in the handling of uninitialized variables to functions that treat +#them as arrays. +# +#Greg Johnson +# +# +# +#--0-1690489838-1251601443=:68490 +#Content-Type: application/octet-stream; name=b1 +#Content-Transfer-Encoding: base64 +#Content-Disposition: attachment; filename="b1" + +# bug? on uninitialized array, length(a) prints as 3, then the loop +# behaves differently, iterating once. so, length() behaves differently +# on two calls to the same variable, which was not changed. + +function prt1(a, len) +{ + print "length: " length(a) + + for (i = 1; i <= length(a); i++) + printf "<" i "," a[i] "> " + + print "\n" +} + +BEGIN { + prt1(zzz) +} + +#--0-1690489838-1251601443=:68490 +#Content-Type: application/octet-stream; name=b2 +#Content-Transfer-Encoding: base64 +#Content-Disposition: attachment; filename="b2" + +# shouldn't an uninitialized array have length zero? +# length is printed as 1, and the loop iterates once. + +function prt(a, len) +{ + len = length(a) + print "length: " len + + for (i = 1; i <= len; i++) + printf "<" i "," a[i] "> " + + print "\n" +} + +BEGIN { + prt(zzz) +} + +#--0-1690489838-1251601443=:68490-- + diff -urN gawk-3.1.7/test/uninit5.ok gawk-3.1.8/test/uninit5.ok --- gawk-3.1.7/test/uninit5.ok 1970-01-01 02:00:00.000000000 +0200 +++ gawk-3.1.8/test/uninit5.ok 2009-10-06 19:51:20.000000000 +0200 @@ -0,0 +1,10 @@ +gawk: uninit5.awk:75: warning: `length(array)' is a gawk extension +gawk: uninit5.awk:75: warning: length: untyped parameter argument will be forced to scalar +length: 0 +gawk: uninit5.awk:77: warning: length: untyped parameter argument will be forced to scalar + + +gawk: uninit5.awk:97: warning: length: untyped parameter argument will be forced to scalar +length: 0 + + diff -urN gawk-3.1.7/unsupported/atari/ChangeLog gawk-3.1.8/unsupported/atari/ChangeLog --- gawk-3.1.7/unsupported/atari/ChangeLog 2009-07-21 22:30:04.000000000 +0300 +++ gawk-3.1.8/unsupported/atari/ChangeLog 2010-05-06 20:56:29.000000000 +0300 @@ -1,3 +1,7 @@ +Thu May 6 20:55:14 2010 Arnold D. Robbins + + * Release 3.1.8: Release tar file made. + Tue Jul 21 22:28:56 2009 Arnold D. Robbins * Release 3.1.7: Release tar file made. diff -urN gawk-3.1.7/unsupported/tandem/ChangeLog gawk-3.1.8/unsupported/tandem/ChangeLog --- gawk-3.1.7/unsupported/tandem/ChangeLog 2009-07-21 22:30:11.000000000 +0300 +++ gawk-3.1.8/unsupported/tandem/ChangeLog 2010-05-06 20:56:34.000000000 +0300 @@ -1,3 +1,7 @@ +Thu May 6 20:55:14 2010 Arnold D. Robbins + + * Release 3.1.8: Release tar file made. + Tue Jul 21 22:28:56 2009 Arnold D. Robbins * Release 3.1.7: Release tar file made. diff -urN gawk-3.1.7/version.c gawk-3.1.8/version.c --- gawk-3.1.7/version.c 2009-07-21 22:30:29.000000000 +0300 +++ gawk-3.1.8/version.c 2010-05-06 20:56:17.000000000 +0300 @@ -1,6 +1,6 @@ #include "config.h" -const char *version_string = "@(#)GNU Awk 3.1.7"; +const char *version_string = "@(#)GNU Awk 3.1.8"; /* 1.02 fixed /= += *= etc to return the new Left Hand Side instead of the Right Hand Side */ diff -urN gawk-3.1.7/vms/ChangeLog gawk-3.1.8/vms/ChangeLog --- gawk-3.1.7/vms/ChangeLog 2009-07-21 22:30:40.000000000 +0300 +++ gawk-3.1.8/vms/ChangeLog 2010-05-06 20:57:15.000000000 +0300 @@ -1,3 +1,32 @@ +Thu May 6 20:55:14 2010 Arnold D. Robbins + + * Release 3.1.8: Release tar file made. + +Tue Apr 20 14:54:03 2010 Pat Rankin + + * vms-conf.h (HAVE_LIBSIGSEGV): Add placeholder; leave undefined. + * vmstest.com (manyfiles): keep going even if gawk fails. + +Thu Apr 1 14:04:17 2010 Pat Rankin + + * vmstest.com (uninit5): fix typo in test name. + +Mon Mar 29 16:26:39 2010 Pat Rankin + + * vms-conf.h (HAVE_USLEEP): define. + * vmstest.com (fcall_exit, fcall_exit2, forref, uninit5): new tests. + * descrip.mms (builtin.obj): add floatmagic.h dependency. + +Mon Mar 8 15:17:41 2010 Pat Rankin + + * vmstest.com (space): handle alternate error reason. + (fmtspcl): suppress this test. + +Wed Mar 3 16:29:10 2010 Pat Rankin + + * vms-conf.h: sync with configh.in; reformat a couple of comments. + (PACKAGE_URL): add #undef as placeholder. + Tue Jul 21 22:28:56 2009 Arnold D. Robbins * Release 3.1.7: Release tar file made. @@ -10,7 +39,7 @@ (lc_num1, mbfw1, mbprintf1, rsstart3): Skip these failing tests. (double1, double2): Likewise. -Mon Jun 22 00:51:17 2009 Pat Ranin +Mon Jun 22 00:51:17 2009 Pat Rankin * vms_misc.c (vms_open): Explicitly specify "rat=cr" to force carriage-return-carraige-control record attribute along with @@ -238,7 +267,7 @@ Sat Dec 22 19:18:31 2001 Pat Rankin - * redirect.h (tzset): Declare. + * redirect.h (tzset): Declare. Sun Jun 3 13:04:44 2001 Arnold D. Robbins @@ -264,7 +293,7 @@ Thu Apr 5 20:31:22 2001 Pat Rankin * vms-conf.h: synchronize with current configh.in. - [NO_ALLOCA]: define instead of C_ALLOCA. + [NO_ALLOCA]: define instead of C_ALLOCA. * redirect.h (strcoll): substitute strcmp for VAXCRTL config. (struct timeval): define. (gettimeofday): substitute vms_gettimeofday; declare. @@ -276,7 +305,7 @@ Sun Jan 28 15:50:02 2001 Eli Zaretskii - * gawkmisc.vms (os_restore_mode): New function + * gawkmisc.vms (os_restore_mode): New function. Sun Dec 3 16:53:37 2000 Arnold D. Robbins @@ -286,7 +315,7 @@ * gawkmisc.vms (os_is_setuid): new function. -Wed Jul 30 19:53:52 1997 Arnold D. Robbins +Wed Jul 30 19:53:52 1997 Arnold D. Robbins * Close-on-exec changes: gawkmisc.vms: (os_close_on_exec, os_isdir): new functions. diff -urN gawk-3.1.7/vms/descrip.mms gawk-3.1.8/vms/descrip.mms --- gawk-3.1.7/vms/descrip.mms 2009-07-09 22:42:39.000000000 +0300 +++ gawk-3.1.8/vms/descrip.mms 2010-04-20 11:37:51.000000000 +0300 @@ -128,7 +128,7 @@ # Release of gawk REL=3.1 -PATCHLVL=7 +PATCHLVL=8 # generic target all : gawk,pgawk @@ -191,7 +191,7 @@ $(GAWKOBJ) : awk.h config.h $(VMSDIR)redirect.h $(PGAWKOBJ) : awk.h config.h $(VMSDIR)redirect.h random.obj : random.h -builtin.obj : random.h +builtin.obj : floatmagic.h random.h awkgram.obj : awkgram.c awk.h dfa.obj : dfa.c dfa.h regex.obj : regex.c regcomp.c regex_internal.c regexec.c regex.h regex_internal.h diff -urN gawk-3.1.7/vms/redirect.h gawk-3.1.8/vms/redirect.h --- gawk-3.1.7/vms/redirect.h 2009-01-27 21:49:45.000000000 +0200 +++ gawk-3.1.8/vms/redirect.h 2010-04-21 22:24:39.000000000 +0300 @@ -3,7 +3,7 @@ */ /* - * Copyright (C) 1986, 88, 89, 91-93, 1996, 1997, 2007 + * Copyright (C) 1986, 1988, 1989, 1991-1993, 1996, 1997, 2007, 2010 * the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the diff -urN gawk-3.1.7/vms/vms-conf.h gawk-3.1.8/vms/vms-conf.h --- gawk-3.1.7/vms/vms-conf.h 2009-07-09 22:42:53.000000000 +0300 +++ gawk-3.1.8/vms/vms-conf.h 2010-04-21 22:26:02.000000000 +0300 @@ -7,7 +7,7 @@ */ /* - * Copyright (C) 1991-1992, 1995-1996, 1999, 2001, 2002, 2003, 2005, 2009 + * Copyright (C) 1991-1992, 1995-1996, 1999, 2001-2003, 2005, 2009, 2010 * the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the @@ -148,6 +148,9 @@ /* Define to 1 if you have the `m' library (-lm). */ #undef HAVE_LIBM +/* Define if you have the sigsegv library. */ +#undef HAVE_LIBSIGSEGV + /* Define to 1 if you have the header file. */ #define HAVE_LIMITS_H 1 @@ -270,10 +273,10 @@ /* Define to 1 if you have the `strtoul' function. */ #define HAVE_STRTOUL 1 -/* Define to 1 if `st_blksize' is member of `struct stat'. */ +/* Define to 1 if `st_blksize' is a member of `struct stat'. */ #undef HAVE_STRUCT_STAT_ST_BLKSIZE -/* Define to 1 if `tm_zone' is member of `struct tm'. */ +/* Define to 1 if `tm_zone' is a member of `struct tm'. */ #undef HAVE_STRUCT_TM_TM_ZONE /* Define to 1 if your `struct stat' has `st_blksize'. Deprecated, use @@ -344,6 +347,9 @@ /* Define to 1 if the system has the type `unsigned long long int'. */ #undef HAVE_UNSIGNED_LONG_LONG_INT +/* Define to 1 if you have the `usleep' function. */ +#define HAVE_USLEEP 1 + /* Define to 1 if you have the `vprintf' function. */ #define HAVE_VPRINTF 1 @@ -384,13 +390,16 @@ #define PACKAGE_NAME "GNU Awk" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "GNU Awk 3.1.7" +#define PACKAGE_STRING "GNU Awk 3.1.8" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "gawk" +/* Define to the home page for this package. */ +#undef PACKAGE_URL + /* Define to the version of this package. */ -#define PACKAGE_VERSION "3.1.7" +#define PACKAGE_VERSION "3.1.8" /* Define to 1 if *printf supports %F format */ #undef PRINTF_HAS_F_FORMAT @@ -426,7 +435,7 @@ #define USE_INCLUDED_STRFTIME 1 /* Version number of package */ -#define VERSION "3.1.6" +#define VERSION "3.1.8" /* Define to 1 if on AIX 3. System headers sometimes define this. @@ -493,8 +502,9 @@ /* Define to `int' if doesn't define. */ #undef pid_t -/* Define to equivalent of C99 restrict keyword, or to nothing if this is not - supported. Do not define if restrict is supported directly. */ +/* Define to the equivalent of the C99 'restrict' keyword, or to + nothing if this is not supported. Do not define if restrict is + supported directly. */ #define restrict #if defined(__DECC) && (__DECC_VER >= 60400000) #undef restrict diff -urN gawk-3.1.7/vms/vmsbuild.com gawk-3.1.8/vms/vmsbuild.com --- gawk-3.1.7/vms/vmsbuild.com 2009-07-09 22:42:28.000000000 +0300 +++ gawk-3.1.8/vms/vmsbuild.com 2010-04-20 11:37:38.000000000 +0300 @@ -10,7 +10,7 @@ $! gawk 3.1.6 revised, Mar'07 $! $ REL = "3.1" !release version number -$ PATCHLVL = "7" +$ PATCHLVL = "8" $! $! $ CCFLAGS = "/noList" ! "/noOpt/Debug" diff -urN gawk-3.1.7/vms/vmstest.com gawk-3.1.8/vms/vmstest.com --- gawk-3.1.7/vms/vmstest.com 2009-07-10 09:48:31.000000000 +0300 +++ gawk-3.1.8/vms/vmstest.com 2010-04-21 22:26:50.000000000 +0300 @@ -44,9 +44,9 @@ $ gosub list_of_tests $ list = "concat2 concat3 concat4 convfmt datanonl defref" - + " delarprm delarpm2 delfunc dynlj eofsplit exitval1" - - + " exitval2 fldchg fldchgnf fnamedat" - - + " fnarray fnarray2 fnaryscl fnasgnm fnmisc" - - + " fordel forsimp fsbs fsspcoln fsrs fstabplus" - + + " exitval2 fcall_exit fcall_exit2 fldchg fldchgnf" - + + " fnamedat fnarray fnarray2 fnaryscl fnasgnm fnmisc" - + + " fordel forref forsimp fsbs fsspcoln fsrs fstabplus" - + " funsemnl funsmnam funstack getline getline2 getline3" $ gosub list_of_tests $ list = "getlnbuf getnr2tb getnr2tm gsubasgn gsubtest" - @@ -71,9 +71,10 @@ + " strcat1 strtod strnum1 subamp subi18n" $ gosub list_of_tests $ list = "subsepnm subslash substr swaplns synerr1 synerr2" - - + " tradanch tweakfld uninit2 uninit3 uninit4 uninitialized" - - + " unterm uparrfs wideidx wideidx2 widesub widesub2" - - + " widesub3 widesub4 wjposer1 zeroe0 zeroflag zero2" + + " tradanch tweakfld uninit2 uninit3 uninit4 uninit5" - + + " uninitialized unterm uparrfs wideidx wideidx2" - + + " widesub widesub2 widesub3 widesub4 wjposer1 zeroe0" - + + " zeroflag zero2" $ gosub list_of_tests $ return $ @@ -258,6 +259,7 @@ $dynlj: $fnarydel: $fnparydl: +$forref: $forsimp: $funsemnl: $gensub2: @@ -319,7 +321,7 @@ $ return $ $poundbang: -$ echo "poundbang: not supported" +$ echo "poundbang: not supported" $ return $ $messages: echo "messages" @@ -401,7 +403,9 @@ $ if f$parse("[.junk]").eqs."" then create/Dir/Prot=(O:rwed) [.junk] $ gawk -- "BEGIN {for (i = 1; i <= ''f_cnt'; i++) print i, i}" >_manyfiles.dat $ echo "(processing ''f_cnt' files; this may take quite a while)" +$ set noOn ! continue even if gawk fails $ gawk -f manyfiles.awk _manyfiles.dat _manyfiles.dat +$ set On $ define/User sys$error _NL: $ define/User sys$output _manyfiles.tmp $ search/Match=Nor/Output=_NL:/Log [.junk]*.* "" @@ -932,6 +936,7 @@ $ if $status then rm _exitval2.tmp; $ return $ +$fcall_exit2: $fnarray2: $fnmisc: $gsubasgn: @@ -984,6 +989,7 @@ $ if $status then rm _rstest5.tmp; $ return $ +$fcall_exit: $synerr1: $synerr2: $ echo "''test'" @@ -998,6 +1004,7 @@ $uninit2: $uninit3: $uninit4: +$uninit5: $uninitialized: $ echo "''test'" $ gawk --lint -f 'test'.awk 'test'.in >_'test'.tmp 2>&1 @@ -1010,7 +1017,11 @@ $ gawk -f " " space.awk >_space.tmp 2>&1 $ if .not.$status then call exit_code 2 _space.tmp $ set On -$! space.ok expects "No such file...", we see "no such file..." +$! we get a different error from what space.ok expects +$ gawk "{gsub(""file specification syntax error"", ""no such file or directory""); print}" - + _space.tmp >_space.too +$ rm _space.tmp; +$ mv _space.too _space.tmp $ igncascmp space.ok _space.tmp $ if $status then rm _space.tmp; $ return @@ -1299,13 +1310,15 @@ $ if $status then rm _printfbad2.tmp; $ return $ -$fmtspcl: -$! fmtspcl only works if gawk was compiled to use IEEE floating point +$fmtspcl: echo "fmtspcl: not supported" +$ return +$!!fmtspcl: +$! fmtspcl ought to work if gawk was compiled to use IEEE floating point $ if floatmode.lt.0 then gosub calc_floatmode $ if floatmode.lt.2 -$ then echo "fmtspcl: not supported" +$ then echo "fmtspcl: not supported" $ else echo "fmtspcl" -$ gawk -f fmtspcl.awk >_fmtspcl.tmp +$ gawk -f fmtspcl.awk >_fmtspcl.tmp 2>&1 $ cmp fmtspcl.ok _fmtspcl.tmp $ if $status then rm _fmtspcl.tmp; $ endif diff -urN gawk-3.1.7/xalloc.h gawk-3.1.8/xalloc.h --- gawk-3.1.7/xalloc.h 1970-01-01 02:00:00.000000000 +0200 +++ gawk-3.1.8/xalloc.h 2010-03-18 23:30:01.000000000 +0200 @@ -0,0 +1,326 @@ +/* xalloc.h -- malloc with out-of-memory checking + + Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, + 2000, 2003, 2004, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, + Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#ifndef XALLOC_H_ +# define XALLOC_H_ + +# include + + +# ifdef __cplusplus +extern "C" { +# endif + + +# ifndef __attribute__ +# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8) +# define __attribute__(x) +# endif +# endif + +# ifndef ATTRIBUTE_NORETURN +# define ATTRIBUTE_NORETURN __attribute__ ((__noreturn__)) +# endif + +# ifndef ATTRIBUTE_MALLOC +# if __GNUC__ >= 3 +# define ATTRIBUTE_MALLOC __attribute__ ((__malloc__)) +# else +# define ATTRIBUTE_MALLOC +# endif +# endif + +/* This function is always triggered when memory is exhausted. + It must be defined by the application, either explicitly + or by using gnulib's xalloc-die module. This is the + function to call when one wants the program to die because of a + memory allocation failure. */ +extern void xalloc_die (void) ATTRIBUTE_NORETURN; + +void *xmalloc (size_t s) ATTRIBUTE_MALLOC; +void *xzalloc (size_t s) ATTRIBUTE_MALLOC; +void *xcalloc (size_t n, size_t s) ATTRIBUTE_MALLOC; +void *xrealloc (void *p, size_t s); +void *x2realloc (void *p, size_t *pn); +void *xmemdup (void const *p, size_t s) ATTRIBUTE_MALLOC; +char *xstrdup (char const *str) ATTRIBUTE_MALLOC; + +/* Return 1 if an array of N objects, each of size S, cannot exist due + to size arithmetic overflow. S must be positive and N must be + nonnegative. This is a macro, not an inline function, so that it + works correctly even when SIZE_MAX < N. + + By gnulib convention, SIZE_MAX represents overflow in size + calculations, so the conservative dividend to use here is + SIZE_MAX - 1, since SIZE_MAX might represent an overflowed value. + However, malloc (SIZE_MAX) fails on all known hosts where + sizeof (ptrdiff_t) <= sizeof (size_t), so do not bother to test for + exactly-SIZE_MAX allocations on such hosts; this avoids a test and + branch when S is known to be 1. */ +# define xalloc_oversized(n, s) \ + ((size_t) (sizeof (ptrdiff_t) <= sizeof (size_t) ? -1 : -2) / (s) < (n)) + + +/* In the following macros, T must be an elementary or structure/union or + typedef'ed type, or a pointer to such a type. To apply one of the + following macros to a function pointer or array type, you need to typedef + it first and use the typedef name. */ + +/* Allocate an object of type T dynamically, with error checking. */ +/* extern t *XMALLOC (typename t); */ +# define XMALLOC(t) ((t *) xmalloc (sizeof (t))) + +/* Allocate memory for N elements of type T, with error checking. */ +/* extern t *XNMALLOC (size_t n, typename t); */ +# define XNMALLOC(n, t) \ + ((t *) (sizeof (t) == 1 ? xmalloc (n) : xnmalloc (n, sizeof (t)))) + +/* Allocate an object of type T dynamically, with error checking, + and zero it. */ +/* extern t *XZALLOC (typename t); */ +# define XZALLOC(t) ((t *) xzalloc (sizeof (t))) + +/* Allocate memory for N elements of type T, with error checking, + and zero it. */ +/* extern t *XCALLOC (size_t n, typename t); */ +# define XCALLOC(n, t) \ + ((t *) (sizeof (t) == 1 ? xzalloc (n) : xcalloc (n, sizeof (t)))) + +/* + * Gawk uses this file only to keep dfa.c happy. + * We're therefore safe in manually defining HAVE_INLINE to + * make the !@#$%^&*() thing just work. + */ +#ifdef GAWK +#define HAVE_INLINE 1 /* so there. nyah, nyah, nyah. */ +#endif + +# if HAVE_INLINE +# define static_inline static inline +# else +void *xnmalloc (size_t n, size_t s) ATTRIBUTE_MALLOC; +void *xnrealloc (void *p, size_t n, size_t s); +void *x2nrealloc (void *p, size_t *pn, size_t s); +char *xcharalloc (size_t n) ATTRIBUTE_MALLOC; +# endif + +# ifdef static_inline + +/* Allocate an array of N objects, each with S bytes of memory, + dynamically, with error checking. S must be nonzero. */ + +static_inline void *xnmalloc (size_t n, size_t s) ATTRIBUTE_MALLOC; +static_inline void * +xnmalloc (size_t n, size_t s) +{ + if (xalloc_oversized (n, s)) + xalloc_die (); + return xmalloc (n * s); +} + +#ifdef GAWK +#include +/* Allocate an array of N objects, each with S bytes of memory, + dynamically, with error checking. S must be nonzero. + Clear the contents afterwards. */ + +void * +xcalloc(size_t nmemb, size_t size) +{ + void *p = xmalloc (nmemb * size); + memset(p, '\0', nmemb * size); + return p; +} + +/* Reallocate a pointer to a new size, with error checking. */ + +void * +xrealloc(void *p, size_t size) +{ + void *new_p = realloc(p, size); + if (new_p == 0) + xalloc_die (); + + return new_p; +} + +/* xalloc_die --- fatal error message when malloc fails, needed by dfa.c */ + +void +xalloc_die (void) +{ + extern void r_fatal(const char *msg, ...) ATTRIBUTE_NORETURN ; + + r_fatal(_("xalloc: malloc failed: %s"), strerror(errno)); +} +#endif + +/* Change the size of an allocated block of memory P to an array of N + objects each of S bytes, with error checking. S must be nonzero. */ + +static_inline void * +xnrealloc (void *p, size_t n, size_t s) +{ + if (xalloc_oversized (n, s)) + xalloc_die (); + return xrealloc (p, n * s); +} + +/* If P is null, allocate a block of at least *PN such objects; + otherwise, reallocate P so that it contains more than *PN objects + each of S bytes. *PN must be nonzero unless P is null, and S must + be nonzero. Set *PN to the new number of objects, and return the + pointer to the new block. *PN is never set to zero, and the + returned pointer is never null. + + Repeated reallocations are guaranteed to make progress, either by + allocating an initial block with a nonzero size, or by allocating a + larger block. + + In the following implementation, nonzero sizes are increased by a + factor of approximately 1.5 so that repeated reallocations have + O(N) overall cost rather than O(N**2) cost, but the + specification for this function does not guarantee that rate. + + Here is an example of use: + + int *p = NULL; + size_t used = 0; + size_t allocated = 0; + + void + append_int (int value) + { + if (used == allocated) + p = x2nrealloc (p, &allocated, sizeof *p); + p[used++] = value; + } + + This causes x2nrealloc to allocate a block of some nonzero size the + first time it is called. + + To have finer-grained control over the initial size, set *PN to a + nonzero value before calling this function with P == NULL. For + example: + + int *p = NULL; + size_t used = 0; + size_t allocated = 0; + size_t allocated1 = 1000; + + void + append_int (int value) + { + if (used == allocated) + { + p = x2nrealloc (p, &allocated1, sizeof *p); + allocated = allocated1; + } + p[used++] = value; + } + + */ + +static_inline void * +x2nrealloc (void *p, size_t *pn, size_t s) +{ + size_t n = *pn; + + if (! p) + { + if (! n) + { + /* The approximate size to use for initial small allocation + requests, when the invoking code specifies an old size of + zero. 64 bytes is the largest "small" request for the + GNU C library malloc. */ + enum { DEFAULT_MXFAST = 64 }; + + n = DEFAULT_MXFAST / s; + n += !n; + } + } + else + { + /* Set N = ceil (1.5 * N) so that progress is made if N == 1. + Check for overflow, so that N * S stays in size_t range. + The check is slightly conservative, but an exact check isn't + worth the trouble. */ + if ((size_t) -1 / 3 * 2 / s <= n) + xalloc_die (); + n += (n + 1) / 2; + } + + *pn = n; + return xrealloc (p, n * s); +} + +/* Return a pointer to a new buffer of N bytes. This is like xmalloc, + except it returns char *. */ + +static_inline char *xcharalloc (size_t n) ATTRIBUTE_MALLOC; +static_inline char * +xcharalloc (size_t n) +{ + return XNMALLOC (n, char); +} + +# endif + +# ifdef __cplusplus +} + +/* C++ does not allow conversions from void * to other pointer types + without a cast. Use templates to work around the problem when + possible. */ + +template inline T * +xrealloc (T *p, size_t s) +{ + return (T *) xrealloc ((void *) p, s); +} + +template inline T * +xnrealloc (T *p, size_t n, size_t s) +{ + return (T *) xnrealloc ((void *) p, n, s); +} + +template inline T * +x2realloc (T *p, size_t *pn) +{ + return (T *) x2realloc ((void *) p, pn); +} + +template inline T * +x2nrealloc (T *p, size_t *pn, size_t s) +{ + return (T *) x2nrealloc ((void *) p, pn, s); +} + +template inline T * +xmemdup (T const *p, size_t s) +{ + return (T *) xmemdup ((void const *) p, s); +} + +# endif + + +#endif /* !XALLOC_H_ */ EOF # Final cleanup echo Sleeping and touching files to update timestamps. # touch list of zero length files sleep 2 touch aclocal.m4 configh.in test/Makefile.in touch awklib/Makefile.in doc/Makefile.in Makefile.in sleep 2 touch configure version.c echo Remove any .orig or "'~'" files that may remain. echo Use '"configure && make"' to rebuild any dependent files. echo Use "'make distclean'" to clean up. chmod +x ./configure