gawk-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gawk-diffs] [SCM] gawk branch, gawk-4.0-stable, updated. c6454cc02a0c79


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, gawk-4.0-stable, updated. c6454cc02a0c79c3da5316aa580e545c8e7085f0
Date: Sun, 05 Aug 2012 13:20:06 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".

The branch, gawk-4.0-stable has been updated
       via  c6454cc02a0c79c3da5316aa580e545c8e7085f0 (commit)
       via  9bf467bbe0bf6868919b2a672f70b945f320c7a8 (commit)
      from  7bfc288d27bacb715ff63dbf71be53304917685a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=c6454cc02a0c79c3da5316aa580e545c8e7085f0

commit c6454cc02a0c79c3da5316aa580e545c8e7085f0
Author: Arnold D. Robbins <address@hidden>
Date:   Sun Aug 5 16:19:34 2012 +0300

    Document Eli Zaretskii's site.

diff --git a/doc/ChangeLog b/doc/ChangeLog
index 75b3915..5d28ede 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,8 @@
+2012-08-05         Arnold D. Robbins     <address@hidden>
+
+       * gawk.texi (PC Binary Installation): Document Eli Zaretskii's
+       site.
+
 2012-07-20         Arnold D. Robbins     <address@hidden>
 
        * gawk.texi (Ranges and Locales): Clarified ranges and
diff --git a/doc/gawk.info b/doc/gawk.info
index c485e4c..d8e27f4 100644
--- a/doc/gawk.info
+++ b/doc/gawk.info
@@ -20845,6 +20845,10 @@ not overwrite it!_ Instead enter the following 
commands at your prompt
    The binary distribution may contain a separate file containing
 additional or more detailed installation instructions.
 
+   As of April, 2012, up to date `gawk' binaries for MS Windows are
+available from Eli Zaretskii's ports project
+(http://sourceforge.net/projects/ezwinports/files/).
+
 
 File: gawk.info,  Node: PC Compiling,  Next: PC Testing,  Prev: PC Binary 
Installation,  Up: PC Installation
 
@@ -27841,47 +27845,47 @@ Node: Configuration Philosophy827828
 Node: Non-Unix Installation830170
 Node: PC Installation830628
 Node: PC Binary Installation831927
-Node: PC Compiling833775
-Node: PC Testing836719
-Node: PC Using837895
-Node: Cygwin842080
-Node: MSYS843080
-Node: VMS Installation843594
-Node: VMS Compilation844197
-Ref: VMS Compilation-Footnote-1845204
-Node: VMS Installation Details845262
-Node: VMS Running846897
-Node: VMS Old Gawk848504
-Node: Bugs848978
-Node: Other Versions852830
-Node: Notes858111
-Node: Compatibility Mode858803
-Node: Additions859586
-Node: Accessing The Source860398
-Node: Adding Code861823
-Node: New Ports867790
-Node: Dynamic Extensions871903
-Node: Internals873279
-Node: Plugin License882382
-Node: Sample Library883016
-Node: Internal File Description883702
-Node: Internal File Ops887417
-Ref: Internal File Ops-Footnote-1892198
-Node: Using Internal File Ops892338
-Node: Future Extensions894715
-Node: Basic Concepts897219
-Node: Basic High Level897976
-Ref: Basic High Level-Footnote-1902011
-Node: Basic Data Typing902196
-Node: Floating Point Issues906721
-Node: String Conversion Precision907804
-Ref: String Conversion Precision-Footnote-1909504
-Node: Unexpected Results909613
-Node: POSIX Floating Point Problems911439
-Ref: POSIX Floating Point Problems-Footnote-1915144
-Node: Glossary915182
-Node: Copying940158
-Node: GNU Free Documentation License977715
-Node: Index1002852
+Node: PC Compiling833942
+Node: PC Testing836886
+Node: PC Using838062
+Node: Cygwin842247
+Node: MSYS843247
+Node: VMS Installation843761
+Node: VMS Compilation844364
+Ref: VMS Compilation-Footnote-1845371
+Node: VMS Installation Details845429
+Node: VMS Running847064
+Node: VMS Old Gawk848671
+Node: Bugs849145
+Node: Other Versions852997
+Node: Notes858278
+Node: Compatibility Mode858970
+Node: Additions859753
+Node: Accessing The Source860565
+Node: Adding Code861990
+Node: New Ports867957
+Node: Dynamic Extensions872070
+Node: Internals873446
+Node: Plugin License882549
+Node: Sample Library883183
+Node: Internal File Description883869
+Node: Internal File Ops887584
+Ref: Internal File Ops-Footnote-1892365
+Node: Using Internal File Ops892505
+Node: Future Extensions894882
+Node: Basic Concepts897386
+Node: Basic High Level898143
+Ref: Basic High Level-Footnote-1902178
+Node: Basic Data Typing902363
+Node: Floating Point Issues906888
+Node: String Conversion Precision907971
+Ref: String Conversion Precision-Footnote-1909671
+Node: Unexpected Results909780
+Node: POSIX Floating Point Problems911606
+Ref: POSIX Floating Point Problems-Footnote-1915311
+Node: Glossary915349
+Node: Copying940325
+Node: GNU Free Documentation License977882
+Node: Index1003019
 
 End Tag Table
diff --git a/doc/gawk.texi b/doc/gawk.texi
index bf30d01..91ef044 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -27913,6 +27913,10 @@ install-info --info-dir=x:/usr/info 
x:/usr/info/gawkinet.info
 The binary distribution may contain a separate file containing additional
 or more detailed installation instructions.
 
+As of April, 2012, up to date @command{gawk} binaries for MS Windows
+are available from @uref{http://sourceforge.net/projects/ezwinports/files/,
+Eli Zaretskii's ports project}.
+
 @node PC Compiling
 @appendixsubsubsec Compiling @command{gawk} for PC Operating Systems
 

http://git.sv.gnu.org/cgit/gawk.git/commit/?id=9bf467bbe0bf6868919b2a672f70b945f320c7a8

commit 9bf467bbe0bf6868919b2a672f70b945f320c7a8
Author: Arnold D. Robbins <address@hidden>
Date:   Sun Aug 5 12:58:33 2012 +0300

    New test for OFS from Nelson Beebe.

diff --git a/test/ChangeLog b/test/ChangeLog
index bb26c18..219396c 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,10 @@
+2012-08-05         Arnold D. Robbins     <address@hidden>
+
+       New test from Nelson Beebe.
+
+       * Makefile.am (ofs1): New test.
+       * ofs1.awk, ofs1.in, ofs1.ok: New files.
+
 2012-07-13         Arnold D. Robbins     <address@hidden>
 
        * Makefile.am (getline5): New test.
diff --git a/test/Makefile.am b/test/Makefile.am
index 967a20c..9c96c38 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -522,6 +522,9 @@ EXTRA_DIST = \
        ofmts.awk \
        ofmts.in \
        ofmts.ok \
+       ofs1.awk \
+       ofs1.in \
+       ofs1.ok \
        onlynl.awk \
        onlynl.in \
        onlynl.ok \
@@ -816,7 +819,7 @@ BASIC_TESTS = \
        nasty nasty2 negexp negrange nested nfldstr nfneg nfset nlfldsep \
        nlinstr nlstrina noeffect nofile nofmtch noloop1 noloop2 nonl \
        noparms nors nulrsend numindex numsubstr \
-       octsub ofmt ofmta ofmtbig ofmtfidl ofmts onlynl opasnidx opasnslf \
+       octsub ofmt ofmta ofmtbig ofmtfidl ofmts ofs1 onlynl opasnidx opasnslf \
        paramdup paramres paramtyp parse1 parsefld parseme pcntplus \
        posix2008sub prdupval prec printf0 printf1 prmarscl prmreuse \
        prt1eval prtoeval \
diff --git a/test/Makefile.in b/test/Makefile.in
index be56770..56c0730 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -727,6 +727,9 @@ EXTRA_DIST = \
        ofmts.awk \
        ofmts.in \
        ofmts.ok \
+       ofs1.awk \
+       ofs1.in \
+       ofs1.ok \
        onlynl.awk \
        onlynl.in \
        onlynl.ok \
@@ -1021,7 +1024,7 @@ BASIC_TESTS = \
        nasty nasty2 negexp negrange nested nfldstr nfneg nfset nlfldsep \
        nlinstr nlstrina noeffect nofile nofmtch noloop1 noloop2 nonl \
        noparms nors nulrsend numindex numsubstr \
-       octsub ofmt ofmta ofmtbig ofmtfidl ofmts onlynl opasnidx opasnslf \
+       octsub ofmt ofmta ofmtbig ofmtfidl ofmts ofs1 onlynl opasnidx opasnslf \
        paramdup paramres paramtyp parse1 parsefld parseme pcntplus \
        posix2008sub prdupval prec printf0 printf1 prmarscl prmreuse \
        prt1eval prtoeval \
@@ -2410,6 +2413,11 @@ ofmts:
        @AWKPATH=$(srcdir) $(AWK) -f address@hidden  < $(srcdir)/address@hidden 
>_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
        @-$(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@
 
+ofs1:
+       @echo ofs1
+       @AWKPATH=$(srcdir) $(AWK) -f address@hidden  < $(srcdir)/address@hidden 
>_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
+       @-$(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@
+
 onlynl:
        @echo onlynl
        @AWKPATH=$(srcdir) $(AWK) -f address@hidden  < $(srcdir)/address@hidden 
>_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
diff --git a/test/Maketests b/test/Maketests
index 1b58d5b..12d7e35 100644
--- a/test/Maketests
+++ b/test/Maketests
@@ -560,6 +560,11 @@ ofmts:
        @AWKPATH=$(srcdir) $(AWK) -f address@hidden  < $(srcdir)/address@hidden 
>_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
        @-$(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@
 
+ofs1:
+       @echo ofs1
+       @AWKPATH=$(srcdir) $(AWK) -f address@hidden  < $(srcdir)/address@hidden 
>_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
+       @-$(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@
+
 onlynl:
        @echo onlynl
        @AWKPATH=$(srcdir) $(AWK) -f address@hidden  < $(srcdir)/address@hidden 
>_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
diff --git a/test/ofs1.awk b/test/ofs1.awk
new file mode 100755
index 0000000..83b3c2a
--- /dev/null
+++ b/test/ofs1.awk
@@ -0,0 +1,23 @@
+# Translate this shell script into gawk:
+#
+#! /bin/sh -
+# 
+# awktest()
+# {
+#   echo a:b:c | $AWK -F":" '{$2="x"; OFS=FS; print}'
+#   echo a:b:c | $AWK -F":" '{$2="x"; print; OFS=FS; print}'
+#   echo a:b:c | $AWK -F":" '{$2="x"; print $1; OFS=FS; print}'
+#   echo a:b:c | $AWK -F":" '{$2="x"; print; $2=$2; OFS=FS; print}'
+# }
+# 
+# AWK=./gawk
+# awktest > foo.gawk
+
+BEGIN { FS = ":" }
+
+# Have to reset OFS at end since not running separate invocations
+
+FNR == 1 { $2 = "x"; OFS = FS; print ; OFS = " "}
+FNR == 2 { $2 = "x"; print; OFS = FS; print ; OFS = " "}
+FNR == 3 { $2 = "x"; print $1; OFS = FS; print ; OFS = " "}
+FNR == 4 { $2 = "x"; print; $2 = $2; OFS = FS; print }
diff --git a/test/ofs1.in b/test/ofs1.in
new file mode 100644
index 0000000..0582b9b
--- /dev/null
+++ b/test/ofs1.in
@@ -0,0 +1,4 @@
+a:b:c
+a:b:c
+a:b:c
+a:b:c
diff --git a/test/ofs1.ok b/test/ofs1.ok
new file mode 100644
index 0000000..a3a8ca7
--- /dev/null
+++ b/test/ofs1.ok
@@ -0,0 +1,7 @@
+a:x:c
+a x c
+a x c
+a
+a:x:c
+a x c
+a:x:c

-----------------------------------------------------------------------

Summary of changes:
 doc/ChangeLog    |    5 +++
 doc/gawk.info    |   88 ++++++++++++++++++++++++++++-------------------------
 doc/gawk.texi    |    4 ++
 test/ChangeLog   |    7 ++++
 test/Makefile.am |    5 ++-
 test/Makefile.in |   10 +++++-
 test/Maketests   |    5 +++
 test/ofs1.awk    |   23 ++++++++++++++
 test/ofs1.in     |    4 ++
 test/ofs1.ok     |    7 ++++
 10 files changed, 114 insertions(+), 44 deletions(-)
 create mode 100755 test/ofs1.awk
 create mode 100644 test/ofs1.in
 create mode 100644 test/ofs1.ok


hooks/post-receive
-- 
gawk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]