Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Dec 2002 19:10:05 +0200
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        David Malone <dwmalone@maths.tcd.ie>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.bin/unifdef unifdef.1
Message-ID:  <20021204171005.GB54997@sunbay.com>
In-Reply-To: <20021204164938.GB90851@rot13.obsecurity.org>
References:  <200212041442.gB4EgnQL042381@repoman.freebsd.org> <20021204150932.GA47420@walton.maths.tcd.ie> <20021204154157.GA49926@sunbay.com> <20021204164938.GB90851@rot13.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--EuxKj2iCbKjpUGkD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Dec 04, 2002 at 08:49:38AM -0800, Kris Kennaway wrote:
> On Wed, Dec 04, 2002 at 05:41:57PM +0200, Ruslan Ermilov wrote:
> > On Wed, Dec 04, 2002 at 03:09:32PM +0000, David Malone wrote:
> > > On Wed, Dec 04, 2002 at 06:42:49AM -0800, Ruslan Ermilov wrote:
> > > > ru          2002/12/04 06:42:49 PST
> > > >=20
> > > >   Modified files:
> > > >     usr.bin/unifdef      unifdef.1=20
> > > >   Log:
> > > >   mdoc(7) police: s/nul character/null character/.
> > >=20
> > > I always though it was the NULL pointer, but the nul character,
> > > as given in the ascii man page?
> > >=20
> > http://www.asciitable.com/
> >=20
> > "NUL character", or "null character", but not "nul character" --
> > the "nul" word doesn't exist, while NUL is the abbr. from "null":
>=20
> 'nul' is the name of ASCII character 0..see /usr/share/misc/ascii.
>=20
Why are you writing "ASCII" and not "ascii" then?  :-)

Abbreviations, which the NUL is, are in upper-case; both ascii(7)
and /usr/share/misc/ascii should be fixed, to avoid the confusion.

I'm scared to mention that, but Linux has more correct ascii(7)
manpage:

:        Oct   Dec   Hex   Char           Oct   Dec   Hex   Char
:        ------------------------------------------------------------
:        000   0     00    NUL '\0'       100   64    40    @
:        001   1     01    SOH            101   65    41    A
:        002   2     02    STX            102   66    42    B
:        003   3     03    ETX            103   67    43    C
:        004   4     04    EOT            104   68    44    D
:        005   5     05    ENQ            105   69    45    E
:        006   6     06    ACK            106   70    46    F
:        007   7     07    BEL '\a'       107   71    47    G

Also, here are a few statistics from our mdoc(7) manpages:

NULL: 897
null: 387
NUL: 139
nul: 14

Those that use "nul" are:

bin/sh/bltin/echo.1
lib/libc/gen/uname.3
lib/libc/locale/iscntrl.3
lib/libstand/libstand.3
share/man/man7/ascii.7
sys/boot/libstand/libstand.3
usr.bin/hexdump/hexdump.1
usr.bin/hexdump/od.1
usr.sbin/kbdcontrol/kbdmap.5

Similar statistics from doc/en_US.ISO8859-1:

NULL - 99, null - 335, NUL - 5, nul - 2


Cheers,
--=20
Ruslan Ermilov		Sysadmin and DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

--EuxKj2iCbKjpUGkD
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE97jbtUkv4P6juNwoRAp1vAJ99NuLKhPF13FIOcD2HFj9j23AMhwCfb7u3
TevHNGQETNolEyUgPcbQg9Y=
=cvyR
-----END PGP SIGNATURE-----

--EuxKj2iCbKjpUGkD--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021204171005.GB54997>