[21483] in Athena Bugs

home help back first fref pref prev next nref lref last post

solaris's awk man page and binary disagree

daemon@ATHENA.MIT.EDU (seph)
Fri Feb 14 18:18:18 2003

Message-Id: <200302142318.SAA02582@contents-vnder-pressvre.mit.edu>
To: bugs@MIT.EDU
Date: Fri, 14 Feb 2003 18:18:15 -0500
From: seph <seph@MIT.EDU>

the solaris man page for awk says that it should support syntax like:

  { FS = "[^0-9]+" }

however, /usr/bin/awk looks for a literal [^0-9], instead of any
non-digit character. This is contrary to the man page.

There was some speculation on -c help -i awk that the manpage might
really be describing an early version of nawk, and not awk, but I'm
not familiar with enough of the subtleties to know.

seph

home help back first fref pref prev next nref lref last post