From owner-freebsd-current Sun Nov 24 22:15:33 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA07168 for current-outgoing; Sun, 24 Nov 1996 22:15:33 -0800 (PST) Received: from scanner.worldgate.com (scanner.worldgate.com [198.161.84.3]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id WAA07162 for ; Sun, 24 Nov 1996 22:15:31 -0800 (PST) Received: from znep.com (uucp@localhost) by scanner.worldgate.com (8.7.5/8.7.3) with UUCP id XAA04612; Sun, 24 Nov 1996 23:15:25 -0700 (MST) Received: from localhost (marcs@localhost) by alive.ampr.ab.ca (8.7.5/8.7.3) with SMTP id XAA15676; Sun, 24 Nov 1996 23:15:07 -0700 (MST) Date: Sun, 24 Nov 1996 23:15:07 -0700 (MST) From: Marc Slemko X-Sender: marcs@alive.ampr.ab.ca To: Warner Losh cc: current@FreeBSD.org Subject: Re: find and xargs in /etc/security In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Yuck. There is the little matter of sort which messes things up. There are ways around it by adding another command to the pipe, but that starts to get ugly. Hmm. Unless we just do a find -ls, but that means we don't get the full timestamps. There is more wrong with /etc/security than that, so perhaps it is worth looking at it a bit more deeply. OpenBSD and NetBSD have a far more comprehensive /etc/security. On Sun, 24 Nov 1996, Warner Losh wrote: > In message Marc Slemko writes: > : Now that xargs has a -0 option to allow it to use the output from find > : -print0, perhaps /etc/security should be updated to use these options so > : we get rid of the garbage output caused by things such as files with > : spaces in their name? > > What an excellent idea? Wanna implement this on your system, and send > the patches to a committer? I'll be happy to commit this change so > long as others don't object and the patches are good! > > Warner >