Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/awk strftime(), systime() added, gensub() partly done



details:   https://anonhg.NetBSD.org/src/rev/7a8cd33f1d48
branches:  trunk
changeset: 503568:7a8cd33f1d48
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Thu Feb 08 20:45:09 2001 +0000

description:
strftime(), systime() added, gensub() partly done
actually, awk DOES support RSTART and RLENGTH, remove from list of variables
noticed the number of open files is limited to FOPEN_MAX (20), this should
be made dynamic

diffstat:

 usr.bin/awk/TODO |  13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diffs (29 lines):

diff -r 10d58f461b5f -r 7a8cd33f1d48 usr.bin/awk/TODO
--- a/usr.bin/awk/TODO  Thu Feb 08 20:42:39 2001 +0000
+++ b/usr.bin/awk/TODO  Thu Feb 08 20:45:09 2001 +0000
@@ -1,17 +1,20 @@
-$NetBSD: TODO,v 1.1 2001/02/02 21:08:42 jdolecek Exp $
+$NetBSD: TODO,v 1.2 2001/02/08 20:45:09 jdolecek Exp $
 
 Besides general regression testing to ensure everything still works
 with nawk instead of gawk, following GNU awk extensions should be implemented
 or handled somehow (the list is probably incomplete, please add entries 
 if anything is missing):
 
-* String functions: gensub()
-* Time functions: strftime(), systime()
+* String functions: gensub() (partly done, finish backref. support)
+* (done) Time functions: strftime(), systime()
 * --posix flag, which would switch off nawk extensions over POSIX awk (?)
 * special file names: /dev/pid, /dev/ppid, /dev/pgrpid, /dev/user,
        /dev/stdin, /dev/stdout, /dev/stderr, /dev/fd/X
-* special variables: ARGIND, ERRNO, FIELDWIDTHS, IGNORECASE, RT, RSTART,
-       RLENGTH
+* special variables: ARGIND, ERRNO, FIELDWIDTHS, IGNORECASE, RT
 
 Also, the manpage should be improved to be generally more helpful
 and document extensions over what POSIX says about awk.
+
+Other misc:
+* run.c: don't limit files[] to FOPEN_MAX (which is ridiculously low),
+  make the limit the current process open file limit



Home | Main Index | Thread Index | Old Index