Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Sep 1997 23:03:37 -0700
From:      "Robert A. Bruce" <rab@cdrom.com>
To:        freebsd-bugs@freebsd.org
Cc:        rab@wc.cdrom.com
Subject:   bug in "find"
Message-ID:  <199709220603.XAA00591@wc.cdrom.com>

next in thread | raw e-mail | index | archive | help

"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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709220603.XAA00591>