From owner-freebsd-bugs Sun Sep 21 23:04:48 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA16544 for bugs-outgoing; Sun, 21 Sep 1997 23:04:48 -0700 (PDT) Received: from wc.cdrom.com (wc.cdrom.com [204.216.28.155]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id XAA16538 for ; Sun, 21 Sep 1997 23:04:46 -0700 (PDT) Received: from localhost.cdrom.com (localhost.cdrom.com [127.0.0.1]) by wc.cdrom.com (8.6.12/8.6.12) with SMTP id XAA00591 ; Sun, 21 Sep 1997 23:03:38 -0700 Message-Id: <199709220603.XAA00591@wc.cdrom.com> X-Authentication-Warning: wc.cdrom.com: Host localhost.cdrom.com didn't use HELO protocol To: freebsd-bugs@freebsd.org cc: rab@wc.cdrom.com Subject: bug in "find" Date: Sun, 21 Sep 1997 23:03:37 -0700 From: "Robert A. Bruce" Sender: owner-freebsd-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk "find" does not properly handle directory names ending in /. If I type find /tmp/ -print I get /tmp//foo /tmp//bar /tmp//baz instead of /tmp/foo /tmp/bar /tmp/baz The find command is not properly handling the trailing slash. It should strip it off or ignore it, but it does not. Linux, SunOS and Solaris all do it right. FreeBSD does it wrong. -bob