From owner-freebsd-doc Sun Aug 20 12:28:14 2000 Delivered-To: freebsd-doc@freebsd.org Received: from mta05-svc.ntlworld.com (mta05-svc.ntlworld.com [62.253.162.45]) by hub.freebsd.org (Postfix) with ESMTP id E4ED037B440 for ; Sun, 20 Aug 2000 12:28:08 -0700 (PDT) Received: from parish.my.domain ([62.253.90.158]) by mta07-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20000820120428.HKYJ295.mta07-svc.ntlworld.com@parish.my.domain> for ; Sun, 20 Aug 2000 13:04:28 +0100 Received: (from mark@localhost) by parish.my.domain (8.9.3/8.9.3) id NAA01217 for doc@freebsd.org; Sun, 20 Aug 2000 13:04:25 +0100 (BST) (envelope-from mark) Date: Sun, 20 Aug 2000 13:04:25 +0100 From: Mark Ovens To: doc@freebsd.org Subject: locate(1) manpage Message-ID: <20000820130425.B254@parish> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i Organization: Total lack of Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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