Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Aug 2000 13:04:25 +0100
From:      Mark Ovens <marko@freebsd.org>
To:        doc@freebsd.org
Subject:   locate(1) manpage
Message-ID:  <20000820130425.B254@parish>

next in thread | raw e-mail | index | archive | help
The manpage for locate(1) looks like it could do with some editing.
I'll do it, but can someone explain what the following are supposed to
mean?

The 2nd paragraph of DESCRIPTION says:

     Shell globbing and quoting characters (``*'', ``?'', ``\'', ``[''
     and ``]'') may be used in pattern, although they will have to be
     escaped from the shell.  Preceding any character with a backslash
     (``\'') eliminates any special meaning which it may have.  The
     matching differs in that no characters must be matched explicitly,
     including slashes (``/'').

The last sentence just doesn't make sense, no matter how many times I
read it (looking at the source code doesn't make it any clearer
either).

The last paragraph of BUGS says:

     The locate database is not byte order independent.  It is not
     possible to share the databases between machines with different
     byte order.  The current locate implementation understand
     databases in host byte order or network byte order if both
     architectures use the same integer size.  So you can read on a
     FreeBSD/i386 machine (little endian) a locate database which was
     built on SunOS/sparc machine (big endian, net).

The first 2 sentences contradict each other, and the last sentence
appears wrong unless it means that a SunOS database can be read
because it is created in network byte order even though the machine is
big endian.

Can someone clarify this for me?

Thanks.

-- 
		4.4 - The number of the Beastie
________________________________________________________________
51.44°N  FreeBSD - The Power To Serve http://www.freebsd.org
2.057°W  My Webpage http://ukug.uk.freebsd.org/~mark
mailto:marko@freebsd.org                http://www.radan.com



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




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