head	1.2;
access;
symbols
	perseant-exfatfs-base-20250801:1.2;
locks; strict;
comment	@# @;


1.2
date	2024.09.20.07.49.31;	author rin;	state dead;
branches;
next	1.1;
commitid	TqR9zJdfHpDc9wqF;

1.1
date	2024.08.17.22.22.29;	author christos;	state Exp;
branches;
next	;
commitid	jXFE1hZ62YzW5emF;


desc
@@


1.2
log
@nawk: Go back from bin/awk to bin

Switching b/w -HEAD and netbsd-10 ends up with empty bin/awk
directory for git mirror. NFC otherwise.
@
text
@$NetBSD: TODO,v 1.1 2024/08/17 22:22:29 christos 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() (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

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
* nawk doesn't permit empty RE, like
// { do_something; }
@


1.1
log
@Marge conflicts between 2020-02-18 and 2024-08-17
@
text
@d1 1
a1 1
$NetBSD: TODO,v 1.1 2010/08/26 14:57:16 christos Exp $
@

