Re: Linux's interpretation of trailing '/'

Jamie Lokier (lkd@tantalophile.demon.co.uk)
Tue, 15 Dec 1998 10:59:17 +0000


On Mon, Dec 14, 1998 at 04:42:16PM -0800, Jeremy Fitzhardinge wrote:
> Now I would say that Linux makes complete sense, and the Solaris behaviour
> looks like sloppy handling to mee. My friend who raised the issue points out
> that its consistent if you regard '/' as a delimiter in the same way as
> whitespace is delimiter in /bin/sh, and consequently you should just ignore
> trailing '/' as you would trailing whitespace on a command like.
>
> I haven't checked to see what any of the standards say about this issue.

Well, I find the Linux behaviour rather useful.
`find /usr/src/linux/' lists the latest kernel source files,
while find /usr/src/linux' lists the name of a symbolic link.
Etc. etc.

-- Jamie

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/