From owner-svn-src-all@freebsd.org Wed Sep 13 18:42:00 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 72A19E09E7E; Wed, 13 Sep 2017 18:42:00 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 53DBE71D42; Wed, 13 Sep 2017 18:42:00 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1235) id 9C32E10A5C; Wed, 13 Sep 2017 18:41:59 +0000 (UTC) Date: Wed, 13 Sep 2017 20:41:59 +0200 From: Baptiste Daroussin To: John Baldwin 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> References: <201703090327.v293RrEY016498@repo.freebsd.org> <5311676.nqsSxOZALl@ralph.baldwin.cx> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="f422deqlvtzqdkhx" Content-Disposition: inline In-Reply-To: <5311676.nqsSxOZALl@ralph.baldwin.cx> User-Agent: NeoMutt/20170907 (1.9.0) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Sep 2017 18:42:00 -0000 --f422deqlvtzqdkhx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 > >=20 > > Log: > > Import the awk(1) manpage from OpenBSD > > =20 > > As discussed during AsiaBSDcon devsummit, import the manpage from Ope= nBSD 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) opti= ons > > =20 > > Obtained from: OpenBSD > > MFH: 1 week >=20 > One problem noted today by imp@ is that this doesn't quite document the a= wk we > ship: >=20 > % echo 42 | awk '{ print lshift($1, 1) }' > awk: calling undefined function lshift > input record number 1, file=20 > source line number 1 >=20 > 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 proba= bly > 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.) >=20 Good catch, I will have a look after eurobsdcon Best regards, Bapt --f422deqlvtzqdkhx Content-Type: application/pgp-signature; name="signature.asc" -----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----- --f422deqlvtzqdkhx--