Date: Wed, 13 Sep 2017 20:41:59 +0200 From: Baptiste Daroussin <bapt@freebsd.org> To: John Baldwin <jhb@freebsd.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r314942 - head/usr.bin/awk Message-ID: <20170913184159.fbcihrrdwgttckms@ivaldir.net> In-Reply-To: <5311676.nqsSxOZALl@ralph.baldwin.cx> References: <201703090327.v293RrEY016498@repo.freebsd.org> <5311676.nqsSxOZALl@ralph.baldwin.cx>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Wed, Sep 13, 2017 at 06:15:39PM +0000, John Baldwin wrote: > On Thursday, March 09, 2017 03:27:53 AM Baptiste Daroussin wrote: > > Author: bapt > > Date: Thu Mar 9 03:27:53 2017 > > New Revision: 314942 > > URL: https://svnweb.freebsd.org/changeset/base/314942 > > > > Log: > > Import the awk(1) manpage from OpenBSD > > > > As discussed during AsiaBSDcon devsummit, import the manpage from OpenBSD which > > is has been rewritten in mdoc(7) format making it readable by default with > > mandoc, it also has been extended by OpenBSD to cover all awk(1) options > > > > Obtained from: OpenBSD > > MFH: 1 week > > One problem noted today by imp@ is that this doesn't quite document the awk we > ship: > > % echo 42 | awk '{ print lshift($1, 1) }' > awk: calling undefined function lshift > input record number 1, file > source line number 1 > > None of the bit operations described in this manpage are implemented in > one-true-awk. Hmm, it seems that OpenBSD added those as a local patch > relative to one-true-awk in 1.10 of lex.c. So Someone(tm) needs to probably > compare OpenBSD's awk to one-true-awk to see what local changes they have > and either update the manpage here or pull the local diffs across. (I'd > probably we just grab the implementation for the bitwise ops myself.) > Good catch, I will have a look after eurobsdcon Best regards, Bapt [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAlm5e/QACgkQY4mL3PG3 PlrsvhAAufiG2X3t65pAeQQqSXVUeAZ6RslYVZsXC1SrwxPtUhXtbE8tdUFALOjj FM8lesV0XQ2vXNUgz1eJ97BdKS2MDsONotQSQoytt2wSEMsHswaLL6MtpDOwKB+M zbx+1E5EUlWRzyRb9Gtbe+bP+AlxUbYNec5Hy8zYbQATxJuULHVCi0bfSpVt3PUy lpmB2ONKbSnKdCnHPZ6V1yNYxjhFPGGa5HW9re/128STzHbvYmlh17wfwJlEArl5 a900L8LkqMIiFGi5vSpuMLNhSnhnnVwmzBZ9mI97AKsEP0k0cCckJh+5haY75ocx r/PfU15g4pB1gbS4U6C0fszDPYyB0JCAAcmMcxYOHMMCHZ18vhufAnA5t83pdikb gqJnM1EhOASDOC/Sw07ux71Ema2TF+ZUxI1Qu9g3eNK+P90oWf8ueHjLcQcslyXr GKDRGKoPoBtMhHrOcBpSjFZ5hJCSoHDvF4p3EVVa0EiNgu1nDAAPVfDVo2bWvJ+/ GU/rRXveH7dVhz6nw6eoGg8CRWEKDTLSqacgZO/SUnVPSM0nTjei6gbovM3/NkCN Um59oN9+2aADWGdDSpL05wZjcAdoYPsRYaW4pKyMOnopzrL3u8br61aXQBgVwf+A 6t95H/LMZLMX9IsHhs45F0Fpfa0cPU94gWGAhYINLYWy55lcPf8= =VOdB -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170913184159.fbcihrrdwgttckms>
