summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/awk/FUTURES
blob: 6250584fdfd5ece84a77365224e068d4090d621e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
This file lists future projects and enhancements for gawk.  Items are listed
in roughly the order they will be done for a given release.  This file is
mainly for use by the developer(s) to help keep themselves on track, please
don't bug us too much about schedules or what all this really means.

(An `x' indicates that some progress has been made, but that the feature is
not complete yet.)

For 2.16
========
x	Move to autoconf-based configure system.

x	Research awk `fflush' function.

x	Generalize IGNORECASE
		any value makes it work, not just numeric non-zero
		make it apply to *all* string comparisons

x	Fix FILENAME to have an initial value of "", not "-"

In 2.17
=======
x	Allow RS to be a regexp.

	RT variable to hold text of record terminator

	RECLEN variable for fixed length records

	Feedback alloca.s changes to FSF

x	Split() with null string as third arg to split up strings

x	Analogously, setting FS="" would split the input record into individual
	characters.

x	Clean up code by isolating system-specific functions in separate files.

	Undertake significant directory reorganization.

x	Extensive manual cleanup:
		Use of texinfo 2.0 features
		Lots more examples
		Document all of the above.

x	Go to POSIX regexps

	Make regex + dfa less dependant on gawk header file includes

	Additional manual features:
		Document posix regexps
		Document use of dbm arrays
		? Add an error messages section to the manual
		? A section on where gawk is bounded
			regex
			i/o
			sun fp conversions

For 2.18
========
	DBM storage of awk arrays. Try to allow multiple dbm packages

	General sub functions:
		edit(line, pat, sub) and gedit(line, pat, sub)
	that return the substituted strings and allow \1 etc. in the sub
	string.

	? Have strftime() pay attention to the value of ENVIRON["TZ"]

For 2.19
========
	Add chdir and stat built-in functions.

	Add function pointers as valid variable types.

	Add an `ftw' built-in function that takes a function pointer.

	Do an optimization pass over parse tree?

For 2.20 or later:
==================
Add variables similar to C's __FILE__ and __LINE__ for better diagnostics
from within awk programs.

Add an explicit concatenation operator and assignment version.

? Add a switch statement

Add the ability to seek on an open file and retrieve the current file position.

Add lint checking everywhere, including check for use of builtin vars.
only in new awk.

"restart" keyword

Add |&

Make 	awk '/foo/' files...	run at egrep speeds

Do a reference card

Allow OFMT and CONVFMT to be other than a floating point format.

Allow redefining of builtin functions?

Make it faster and smaller.

For 3.x:
========

Create a gawk compiler?

Create a gawk-to-C translator? (or C++??)

Provide awk profiling and debugging.



OpenPOWER on IntegriCloud