From owner-freebsd-hackers Sat Nov 1 10:04:51 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA29367 for hackers-outgoing; Sat, 1 Nov 1997 10:04:51 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from heron.doc.ic.ac.uk (nylQ6pAuGuNCW6d9asCOEOAenfnN19XE@heron.doc.ic.ac.uk [146.169.2.31]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id KAA29358 for ; Sat, 1 Nov 1997 10:04:45 -0800 (PST) (envelope-from njs3@doc.ic.ac.uk) Received: from oak67.doc.ic.ac.uk [146.169.33.67] ([V6zVqmTgy6BDOKWWxUaapFsl/ff+63lp]) by heron.doc.ic.ac.uk with smtp (Exim 1.62 #3) id 0xRhux-0000K9-00; Sat, 1 Nov 1997 18:05:03 +0000 Received: from njs3 by oak67.doc.ic.ac.uk with local (Exim 1.62 #3) id 0xRhuZ-0004BT-00; Sat, 1 Nov 1997 18:04:39 +0000 From: njs3@doc.ic.ac.uk (Niall Smart) Date: Sat, 1 Nov 1997 18:04:39 +0000 In-Reply-To: Brandon Gillespie "Re: Suggested addition to /etc/security" (Nov 1, 10:58am) X-Mailer: Mail User's Shell (7.2.5 10/14/92) To: Brandon Gillespie , Niall Smart Subject: Re: Suggested addition to /etc/security Cc: freebsd-hackers@freebsd.org Message-Id: Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Nov 1, 10:58am, Brandon Gillespie wrote: > > > find / -nouser -nogroup > > Shouldn't this be "find / -nouser -o -nogroup -print"? > Yeah, or even better: > > files=`find / -nouser -o -nogroup -print` > ls -ldF $files > > (this looks better than find / -nouser -o -nogroup -exec ls -ldF {} \;) Looks better? They should produce identical output. "find / -nouser -o -nogroup -print | xargs -n 30" is more efficient btw :)) however using -exec with find is othe only one that works with filenames with embedded spaces. Niall ,