From owner-freebsd-stable Sat Mar 23 21:35:57 2002 Delivered-To: freebsd-stable@freebsd.org Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id BD22F37B404 for ; Sat, 23 Mar 2002 21:35:52 -0800 (PST) Received: from mac.com ([12.231.115.57]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020324053552.MOUY2951.rwcrmhc53.attbi.com@mac.com> for ; Sun, 24 Mar 2002 05:35:52 +0000 Message-ID: <3C9D65AC.30209@mac.com> Date: Sat, 23 Mar 2002 21:35:40 -0800 From: paul beard User-Agent: Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv:0.9.8) Gecko/20020209 X-Accept-Language: en-us MIME-Version: 1.0 To: freebsd-stable Subject: Re: problems rebuilding locate database References: <3C9CEDC8.4070001@mac.com> <041f01c1d2b2$bce32920$0900a8c0@max> <3C9D0E29.70801@mac.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG well, my earlier shell commands to find the length of all the files' paths were useless, but now that my young'uns are asleep, I came up with this. find / -type d | awk '{ a=length; print $0, a}' | sort -T . -k 2.1 -rnt ' ' -o sorted It works fine except for dumping the files with embedded spaces to the bottom of the list. I still find no paths longer than 200 characters, nowhere near the 1035 locate was griping about. -- Paul Beard 8040 27th Ave NE Seattle WA 98115 206 529 8400 A baby is an alimentary canal with a loud voice at one end and no responsibility at the other. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message