NetBSD-Docs archive

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

Re: awk FS magic



On Sat, 16 Feb 2013 12:11:37 +0100
Martin Husemann <martin%duskware.de@localhost> wrote:

> >     $ echo foo | awk -F t '{print FS}' | hexdump -C
> >     00000000  09 0a
> > |..| 00000002
> 
> I can not reproduce this on either -current or -6.

Oy.  Sorry for the noise.  There seems to have been a big change in awk
a few years ago, and I didn't check the latest sources.  

Now:

$ ident $(which awk) 
/usr/bin/awk:
     $NetBSD: crt0-common.c,v 1.5 2011/03/07 05:09:09 joerg Exp $
     $NetBSD: crt0.S,v 1.1 2010/08/07 18:01:34 joerg Exp $
     $NetBSD: crti.S,v 1.1 2010/08/07 18:01:35 joerg Exp $
     $NetBSD: crtbegin.S,v 1.2 2010/11/30 18:37:59 joerg Exp $
     $NetBSD: crtend.S,v 1.1 2010/08/07 18:01:34 joerg Exp $
     $NetBSD: crtn.S,v 1.1 2010/08/07 18:01:35 joerg Exp $

Then (my 5.0.2 system):

$ ident $(which awk)
/usr/bin/awk:
     $NetBSD: crt0.c,v 1.5 2007/09/27 10:51:18 dogcow Exp $
     $NetBSD: skeleton.c,v 1.29 2008/07/18 14:25:37 drochner Exp $

Thanks for the correction.  

--jkl


Home | Main Index | Thread Index | Old Index