Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/usr.bin/find



David Laight <david%l8s.co.uk@localhost> writes:

> On Thu, Oct 20, 2005 at 11:15:07PM -0500, James Chacon wrote:
>> On Thu, Oct 20, 2005 at 09:34:45PM -0400, Jed Davis wrote:
>> > http://www.opengroup.org/onlinepubs/009695399/utilities/find.html
>> > doesn't seem to say anything about slashes or canonicalization.
>> 
>> Probably wouldn't be in that section anyways. It's (find) referring to 
>> dealing
>> with pathnames and printing of said pathnames. The more general sections
>> on pathnames in general will have anything about trailing slashes and uses.
>
> IIRC there is mention of double slashes having an implementation dependant
> behaviour, but probably only initial ones.

But it's not specified, as far as I can see, whether find must or must
not retain extra slashes, or otherwise normalize or not, the paths
given as arguments when files underneath them are printed.

-- 
(let ((C call-with-current-continuation)) (apply (lambda (x y) (x y)) (map
((lambda (r) ((C C) (lambda (s) (r (lambda l (apply (s s) l))))))  (lambda
(f) (lambda (l) (if (null? l) C (lambda (k) (display (car l)) ((f (cdr l))
(C k)))))))    '((#\J #\d #\D #\v #\s) (#\e #\space #\a #\i #\newline)))))




Home | Main Index | Thread Index | Old Index