Date: Thu, 24 Oct 1996 08:40:05 -0700 (PDT) From: Peter Wemm <peter@spinner.DIALix.COM> To: freebsd-bugs Subject: Re: misc/1335 Message-ID: <199610241540.IAA29274@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/1335; it has been noted by GNATS.
From: Peter Wemm <peter@spinner.DIALix.COM>
To: "Mark O'Lear" <Mark.Olear@Colorado.EDU>
Cc: "Marc G. Fournier" <scrappy@freefall.freebsd.org>, angio@aros.net,
freebsd-gnats-submit@freefall.freebsd.org
Subject: Re: misc/1335
Date: Thu, 24 Oct 1996 23:38:10 +0800
"Mark O'Lear" wrote:
> Marc G. Fournier wrote:
> >
> > Synopsis: /etc/security generates an error with files with spaces.
> >
> > State-Changed-From-To: open-feedback
> > State-Changed-By: scrappy
> > State-Changed-When: Tue Oct 22 21:12:07 PDT 1996
> > State-Changed-Why:
> >
> > I've noticed this problem as well, with some files on my system. Its
> > annoying, but is it fixable?
>
> It's because of the -X option of find (which tells find to
> complain if the file has a space, ", or ' in it, because
> it is passing the results back to xargs). It would be nice
> if find had another flag that would return a file name
> with ' marks around the file name or a \ before the "bad"
> character instead of just complaining about it.
IMHO, the 'find -X ... | xargs -n 20 ls -lgTd' is a waste of time. On my
system, the difference between 'find -X ... | xargs -n 20 ..' (as in
/etc/security) and the equivalent 'find ... -exec ls -lgTd {} \;' is a
whopping 3.32 seconds in total elapsed time. Beating our brains out on
xargs and find -X to save just over 3 lousy seconds hardly seems worth it.
Also, there's "find ... -ls" (as used on OpenBSD).. The problem with
"-ls" is that it doesn't appear to give a complete time output.. ie: it
leaves out seconds (ie: "Oct 12 13:34") in the current year, and totally
leaves out the time-of-day if it's 6-months older or more (ie: "Dec 2
1995").
Cheers,
-Peter
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610241540.IAA29274>
