[illumos-Developer] awk, nawk, oawk, ...
Yuri Pankov
yuri.pankov at gmail.com
Tue Apr 5 11:21:33 PDT 2011
On Tue, Apr 05, 2011 at 02:13:46PM -0400, Gordon Ross wrote:
> I also saw mention that MacOSX passed POSIX tests. Anyone know?
> If so, is this GNU awk example anything one should care about?
I guess no:
http://pubs.opengroup.org/onlinepubs/009695399/utilities/awk.html
[...]
RS
The first character of the string value of RS shall be the input
record separator; a <newline> by default. If RS contains more than one
character, the results are unspecified.
[...]
>
> On Tue, Apr 5, 2011 at 1:59 PM, Paul Armstrong <illumos at otoh.org> wrote:
> > At 2011-04-05T19:56+0200, Guido Berhoerster wrote:
> >> * Gordon Ross <gordon.w.ross at gmail.com> [2011-04-05 19:35]:
> >> > Anyone in a position to try this on a recent MacOS?
> >> > (They reportedly have a more recent version of what we call nawk)
> >>
> >> That seems to be an older version of one-true-awk from 2007
> >> (imported from FreeBSD?), FreeBSD STABLE has a more current
> >> version from 2009 (although that's not the most current either).
> >
> > Indeed
> >
> > MacBook-Pro:~ psa$ awk --version
> > awk version 20070501
Yuri
More information about the Developer
mailing list