OpenBSD CVS

CVS log for src/usr.bin/awk/main.c


[BACK] Up to [local] / src / usr.bin / awk

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.70 / (download) - annotate - [select for diffs], Sat May 4 22:59:21 2024 UTC (2 weeks ago) by millert
Branch: MAIN
CVS Tags: HEAD
Changes since 1.69: +35 -15 lines
Diff to previous 1.69 (colored)

Update awk to the May 4, 2024 version.
Fixes a use-after-free bug with ARGV for "delete ARGV".

Revision 1.69 / (download) - annotate - [select for diffs], Thu Apr 25 18:33:53 2024 UTC (3 weeks, 2 days ago) by millert
Branch: MAIN
Changes since 1.68: +2 -2 lines
Diff to previous 1.68 (colored)

Update awk to the Apr 22, 2024 version.

 * fixed regex engine gototab reallocation issue that was introduced
   during the Nov 24 rewrite.

 * fixed use-after-free bug in fnematch due to adjbuf invalidating
   the pointers to buf.

Revision 1.68 / (download) - annotate - [select for diffs], Thu Jan 25 16:40:51 2024 UTC (3 months, 3 weeks ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5
Changes since 1.67: +5 -6 lines
Diff to previous 1.67 (colored)

Update awk to the Jan 22, 2024 version.

Revision 1.67 / (download) - annotate - [select for diffs], Tue Nov 28 20:54:38 2023 UTC (5 months, 2 weeks ago) by millert
Branch: MAIN
Changes since 1.66: +6 -2 lines
Diff to previous 1.66 (colored)

Update awk to the Nov 27, 2023 version.

Revision 1.66 / (download) - annotate - [select for diffs], Sat Nov 25 16:31:33 2023 UTC (5 months, 3 weeks ago) by millert
Branch: MAIN
Changes since 1.65: +2 -2 lines
Diff to previous 1.65 (colored)

Update awk to the Nov 24, 2023 version.

Revision 1.65 / (download) - annotate - [select for diffs], Wed Nov 22 01:01:21 2023 UTC (5 months, 3 weeks ago) by millert
Branch: MAIN
Changes since 1.64: +2 -2 lines
Diff to previous 1.64 (colored)

Update awk to the Nov 20, 2023 version.

This includes a rewrite of the fnematch() function as well as a
refactoring of the sub and gsub implementation.

Revision 1.64 / (download) - annotate - [select for diffs], Tue Oct 31 01:08:51 2023 UTC (6 months, 2 weeks ago) by millert
Branch: MAIN
Changes since 1.63: +7 -8 lines
Diff to previous 1.63 (colored)

Update awk to Oct 30, 2023 version.

This is really just a version number bump as we already have the
fixes committed.

Revision 1.63 / (download) - annotate - [select for diffs], Fri Oct 6 22:29:24 2023 UTC (7 months, 1 week ago) by millert
Branch: MAIN
Changes since 1.62: +2 -2 lines
Diff to previous 1.62 (colored)

Update awk to Sep 24, 2023 version.

fnematch and getrune have been overhauled to solve issues around
unicode FS and RS. also fixed gsub null match issue with unicode.
big thanks to Arnold Robbins.

Revision 1.62 / (download) - annotate - [select for diffs], Wed Sep 20 16:57:12 2023 UTC (7 months, 4 weeks ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE, OPENBSD_7_4
Changes since 1.61: +6 -3 lines
Diff to previous 1.61 (colored)

Support --version option like upstream awk but don't document it.

Upstream awk has supported --version for a long time but does not
support -V like our awk does.  Both options are supported by gawk.

Revision 1.61 / (download) - annotate - [select for diffs], Mon Sep 18 19:32:19 2023 UTC (8 months ago) by millert
Branch: MAIN
Changes since 1.60: +4 -1 lines
Diff to previous 1.60 (colored)

Disable utf-8 for non-multibyte locales, such as C or POSIX.

This makes it possible to get the old awk behavior (where chars are
bytes) by setting LC_CTYPE to C or POSIX.  OK schwarze@

Revision 1.60 / (download) - annotate - [select for diffs], Mon Sep 18 15:20:48 2023 UTC (8 months ago) by jmc
Branch: MAIN
Changes since 1.59: +4 -3 lines
Diff to previous 1.59 (colored)

add --csv to usage(), and reformat it to match manual; while here,
reformat a lengthy line in awk.1;

ok millert

Revision 1.59 / (download) - annotate - [select for diffs], Sun Sep 17 14:49:44 2023 UTC (8 months ago) by millert
Branch: MAIN
Changes since 1.58: +10 -3 lines
Diff to previous 1.58 (colored)

Update to the One True Awk, 2nd edition (Sep 12, 2023).

This corresponds to the 2nd edition of "The AWK Programming Language"
and adds support for UTF-8 and comma-separated value inputs.

Revision 1.58 / (download) - annotate - [select for diffs], Sun Sep 10 14:59:00 2023 UTC (8 months, 1 week ago) by millert
Branch: MAIN
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored)

Update awk to Sep 6, 2023 version.

Revision 1.57 / (download) - annotate - [select for diffs], Sat Sep 9 18:59:43 2023 UTC (8 months, 1 week ago) by millert
Branch: MAIN
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored)

Update awk to Dec 15, 2022 version.

Force hex escapes in strings to be no more than two characters, as
they already are in regular expressions. This brings internal
consistency, as well as consistency with gawk.

Revision 1.56 / (download) - annotate - [select for diffs], Wed Sep 21 01:42:58 2022 UTC (19 months, 4 weeks ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2
Changes since 1.55: +2 -2 lines
Diff to previous 1.55 (colored)

Update awk to Sep 12, 2022 version.
Fix undefined behavior and a use-after-free in cat().

Revision 1.55 / (download) - annotate - [select for diffs], Thu Sep 1 15:21:28 2022 UTC (20 months, 2 weeks ago) by millert
Branch: MAIN
Changes since 1.54: +2 -2 lines
Diff to previous 1.54 (colored)

Update awk to Aug 30, 2022 version.
Various leaks and use-after-free issues plugged/fixed.

Revision 1.54 / (download) - annotate - [select for diffs], Fri Jun 3 19:46:09 2022 UTC (23 months, 2 weeks ago) by millert
Branch: MAIN
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored)

Memory leak when assigning a string to some of the built-in variables.
Allocated string erroneously marked DONTFREE.  From Miguel Pineiro Jr.

Revision 1.53 / (download) - annotate - [select for diffs], Fri Jun 3 19:42:27 2022 UTC (23 months, 2 weeks ago) by millert
Branch: MAIN
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored)

The fulfillment of an assignment operand had been truncating its
entry in ARGV (since circa 1989). From Miguel Pineiro Jr.

Revision 1.52 / (download) - annotate - [select for diffs], Fri Jun 3 19:40:56 2022 UTC (23 months, 2 weeks ago) by millert
Branch: MAIN
Changes since 1.51: +2 -2 lines
Diff to previous 1.51 (colored)

Fix a file management memory leak that appears to have been there
since the files array was first initialized with stdin, stdout, and
stderr (circa 1992).  From Miguel Pineiro Jr.

Revision 1.51 / (download) - annotate - [select for diffs], Thu Jan 27 16:58:37 2022 UTC (2 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored)

Update awk to Dec 8, 2021 version.
Fixes error handling in closefile() and closeall(). Long standing
warnings had been made fatal and some fatal errors went undetected.

Revision 1.50 / (download) - annotate - [select for diffs], Fri Nov 12 15:16:58 2021 UTC (2 years, 6 months ago) by millert
Branch: MAIN
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored)

Update awk to Nov 03, 2021 version.
We already had the fix so no actual code changes.

Revision 1.49 / (download) - annotate - [select for diffs], Tue Nov 2 15:29:41 2021 UTC (2 years, 6 months ago) by millert
Branch: MAIN
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored)

Update awk to October 12, 2021 version.
Fixes a decision bug with trailing stuff in lib.c:is_valid_number.
All other fixes were already present.

Revision 1.48 / (download) - annotate - [select for diffs], Tue Jul 27 18:28:19 2021 UTC (2 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0
Changes since 1.47: +2 -6 lines
Diff to previous 1.47 (colored)

POSIX mandates that -F str be treated the same as -v FS=str.
For a null string, this was not the case.  Since awk(1) documents
that a null string for FS has a specific behavior, make -F '' behave
consistently with -v FS="".  https://github.com/onetrueawk/awk/pull/128

Revision 1.47 / (download) - annotate - [select for diffs], Fri Dec 18 21:36:24 2020 UTC (3 years, 5 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored)

Update awk to December 18, 2020 version.
Includes the official fix for +-inf and +-nan handling.

Revision 1.46 / (download) - annotate - [select for diffs], Wed Dec 9 20:00:11 2020 UTC (3 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.45: +3 -3 lines
Diff to previous 1.45 (colored)

Update awk to December 8, 2020 version.
Prevents strings beginning with "inf" or "nan" from being interpreted
as infinity or not-a-number respectively which still parsing "inf"
and "nan" (with or without a leading sign) correctly.

Revision 1.45 / (download) - annotate - [select for diffs], Tue Aug 11 16:57:05 2020 UTC (3 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored)

Update awk to August 7, 2020 version.

Revision 1.44 / (download) - annotate - [select for diffs], Thu Jul 30 17:45:44 2020 UTC (3 years, 9 months ago) by millert
Branch: MAIN
Changes since 1.43: +3 -4 lines
Diff to previous 1.43 (colored)

Update awk to July 30, 2020 version.

Revision 1.43 / (download) - annotate - [select for diffs], Thu Jul 2 19:06:22 2020 UTC (3 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored)

Update awk to July 2, 2020 version.

Revision 1.42 / (download) - annotate - [select for diffs], Fri Jun 26 15:57:39 2020 UTC (3 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.41: +5 -5 lines
Diff to previous 1.41 (colored)

Update awk to June 25, 2020 version.

Revision 1.41 / (download) - annotate - [select for diffs], Fri Jun 26 15:50:06 2020 UTC (3 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

Update awk to June 12, 2020 version.

Revision 1.40 / (download) - annotate - [select for diffs], Sat Jun 13 01:19:55 2020 UTC (3 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.39: +5 -2 lines
Diff to previous 1.39 (colored)

POSIX doesn't permit an unescaped '/' in an extended regular expression.
Unlike upstream awk, ours has historically allowed unescaped '/'
inside a bracket expression for compatibility with other awk
implementations but the check was too simple-minded.  This improves
the matching to allow things like /[]/]/, /[^]// and '/[abc[:digit:]/@#]/'
To enable strict POSIX compliance, set POSIXLY_CORRECT.

Revision 1.39 / (download) - annotate - [select for diffs], Thu Jun 11 13:51:18 2020 UTC (3 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

Use setlocale(LC_CTYPE, "") instead of setlocale(LC_ALL, "")
This matches upstream awk and OpenBSD only implements LC_CTYPE anyway.

Revision 1.38 / (download) - annotate - [select for diffs], Wed Jun 10 21:06:09 2020 UTC (3 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

Update awk to June 5, 2020 version.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Jun 10 21:05:50 2020 UTC (3 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.36: +112 -48 lines
Diff to previous 1.36 (colored)

Update awk to Feb 28, 2020 version.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Jun 10 21:05:02 2020 UTC (3 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

Update awk to Jan 31, 2020 version.

Revision 1.35 / (download) - annotate - [select for diffs], Wed Jun 10 21:04:40 2020 UTC (3 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

Update awk to Jan 5, 2020 version.

Revision 1.34 / (download) - annotate - [select for diffs], Wed Jun 10 21:03:56 2020 UTC (3 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.33: +7 -8 lines
Diff to previous 1.33 (colored)

Update awk to Nov 10, 2019 version.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Jun 10 21:03:36 2020 UTC (3 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

Update awk to Oct 24, 2019 version.

Revision 1.32 / (download) - annotate - [select for diffs], Wed Jun 10 21:03:12 2020 UTC (3 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

Update awk to Oct 17, 2019 version.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Jun 10 21:02:53 2020 UTC (3 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

Update awk to Oct 6, 2019 version.

Revision 1.30 / (download) - annotate - [select for diffs], Wed Jun 10 21:02:33 2020 UTC (3 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (colored)

Update awk to Sep 10, 2019 version.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Jun 10 21:02:19 2020 UTC (3 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

Update awk to Jun 17, 2019 version.

Revision 1.28 / (download) - annotate - [select for diffs], Wed Jun 10 21:01:50 2020 UTC (3 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

Update awk to March 5, 2019 version.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Jun 10 21:01:32 2020 UTC (3 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

Update awk to Jan 25, 2019 version.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Jun 10 21:01:13 2020 UTC (3 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

Update awk to Oct 25, 2018 version.
Add test in maketab.c to prevent generating a proctab entry for
YYSTYPE_IS_DEFINED.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Jun 10 21:00:31 2020 UTC (3 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

Update awk to Aug 27, 2018 version.
Disallow '$' in printf formats
Added some casts to silence warnings on debugging printfs.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Jun 10 21:00:01 2020 UTC (3 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

Update awk to Aug 23, 2018 version.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Jun 10 20:59:06 2020 UTC (3 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

Update awk to Jan 5, 2013 version, no real code changes.

Revision 1.22 / (download) - annotate - [select for diffs], Thu Feb 27 21:43:46 2020 UTC (4 years, 2 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

Merge a missing fix from awk-12202012 and update the version and FIXES.
This was the last awk release before the move to github.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Oct 9 14:51:31 2017 UTC (6 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored)

rename dprintf macro to DPRINTF to avoid collision with libc posix dprintf.
(amazing to me that the posix name was chosen though it specifically
collides with code Kernighan maintained since the V7).
ok millert

Revision 1.20 / (download) - annotate - [select for diffs], Sun Oct 8 12:40:37 2017 UTC (6 years, 7 months ago) by tb
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

Move the assignment to cmdname up before its first use.
From Ori Bernstein.

ok deraadt

Revision 1.19 / (download) - annotate - [select for diffs], Thu Oct 22 04:08:17 2015 UTC (8 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.18: +4 -3 lines
Diff to previous 1.18 (colored)

Until we understand the sitaution better, we should pledge() after
setlocale(), not before.  Not just here, but probably everywhere?

Revision 1.18 / (download) - annotate - [select for diffs], Sat Oct 10 20:04:28 2015 UTC (8 years, 7 months ago) by doug
Branch: MAIN
Changes since 1.17: +17 -1 lines
Diff to previous 1.17 (colored)

Add pledge support in awk and make awk -safe actually safe.

awk -safe was introduced back in 1997 to stop awk from doing file output,
execute commands or access the environment.  The lexer rejected programs
when it saw awk commands that would write, exec or env.  Beyond that,
it wasn't safe from write/exec/env during program execution.

With pledge "stdio rpath", the kernel is now enforcing the awk -safe
mode restrictions at runtime (other than env).

Based on a diff by deraadt@

ok deraadt@ beck@

Revision 1.17 / (download) - annotate - [select for diffs], Wed Sep 28 19:27:18 2011 UTC (12 years, 7 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.16: +30 -15 lines
Diff to previous 1.16 (colored)

Update awk to Aug 10, 2011 version; naddy@ reports no ports problems
from the update.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Jun 13 17:58:19 2010 UTC (13 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.15: +4 -2 lines
Diff to previous 1.15 (colored)

Update awk to May 23, 2010 version.  OK miod@

Revision 1.15 / (download) - annotate - [select for diffs], Mon Oct 6 20:38:33 2008 UTC (15 years, 7 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.14: +6 -8 lines
Diff to previous 1.14 (colored)

Update awk to version 20071023; OK deraadt@

Revision 1.14 / (download) - annotate - [select for diffs], Mon Jan 29 19:40:06 2007 UTC (17 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

sync usage(); spotted by Igor Sobrado

Revision 1.13 / (download) - annotate - [select for diffs], Thu Dec 30 01:52:48 2004 UTC (19 years, 4 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.12: +4 -3 lines
Diff to previous 1.12 (colored)

Update to version 20041222; OK deraadt@

Revision 1.12 / (download) - annotate - [select for diffs], Thu Dec 19 21:24:28 2002 UTC (21 years, 5 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4, OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.11: +5 -17 lines
Diff to previous 1.11 (colored)

Update to the One True Awk version 20021213

Revision 1.11 / (download) - annotate - [select for diffs], Sat Sep 8 00:12:40 2001 UTC (22 years, 8 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Update to latest version of the One True Awk.  See the FIXES file
for details.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Nov 21 14:08:22 2000 UTC (23 years, 6 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.9: +4 -2 lines
Diff to previous 1.9 (colored)

Sync usage() output with man page; mpech@prosoft.org.lv

Revision 1.9 / (download) - annotate - [select for diffs], Wed Dec 8 23:09:45 1999 UTC (24 years, 5 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.8: +9 -9 lines
Diff to previous 1.8 (colored)

June 6, 1999 version of the "one true awk"
Most of the changes are to avoid using a static buffer for error messages.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Dec 4 00:12:25 1999 UTC (24 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.7: +6 -2 lines
Diff to previous 1.7 (colored)

Fix 2 core dumps:
1) give an error if the user specifies > 20 -f options instead of oflowing
2) use snprintf in the ERROR macro to avoid an oflow

Revision 1.7 / (download) - annotate - [select for diffs], Tue Apr 20 17:31:30 1999 UTC (25 years, 1 month ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.6: +11 -2 lines
Diff to previous 1.6 (colored)

April 16, 1999 version of the "one true awk"--64-bit fixes and more.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Apr 18 17:06:30 1999 UTC (25 years, 1 month ago) by millert
Branch: MAIN
Changes since 1.5: +8 -6 lines
Diff to previous 1.5 (colored)

March 5, 1999 version of the "one true awk"

Revision 1.5 / (download) - annotate - [select for diffs], Tue Mar 3 01:56:01 1998 UTC (26 years, 2 months ago) by angelos
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Document -safe option and update usage message.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Aug 25 16:17:12 1997 UTC (26 years, 9 months ago) by kstailey
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.3: +36 -28 lines
Diff to previous 1.3 (colored)

August 1997 version of "the one true awk"

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jan 20 19:43:22 1997 UTC (27 years, 4 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Latest research awk from June 29, 1996

Revision 1.2 / (download) - annotate - [select for diffs], Thu Jul 4 20:56:07 1996 UTC (27 years, 10 months ago) by tholo
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.1: +3 -0 lines
Diff to previous 1.1 (colored)

Set locale per IEEE 1003.2(1992)

Revision 1.1 / (download) - annotate - [select for diffs], Thu Jul 4 20:34:43 1996 UTC (27 years, 10 months ago) by tholo
Branch: MAIN

AT&T awk, by B. W. Kernighan, with fixes from 4.4BSD and by me

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.