On Wed, Jan 17, 2001 at 08:55:24AM -0600, Jarkko Hietaniemi wrote: > On Wed, Jan 17, 2001 at 06:52:40AM -0800, Russ Allbery wrote: > > Jarkko Hietaniemi <jhi@iki.fi> writes: > > > > > I guess we could snip away a trailing slash. How about filesystems > > > with-non-slash element separators, any experience/opinions, anyone? > > > > It may also be worthwhile to check POSIX and see what it says mkdir should > > do in this case. I know that POSIX (or maybe it was X/Open) actually has > > a lot of stuff in it about what a trailing slash on a file name means and > > it's supposed to change the behavior of various commands in sometimes > > interesting and unintuitive ways. > > Checking POSIX is a good thing, and it usually pays to stick with > standards, but that shouldn't be our only guideline. There wasn't > any standard for Larry to design Perl. After we've decided what we do, we should at least document this, and if it's different from POSIX, it wouldn't hurt to mention that in the documentation as well. AbigailThread Previous | Thread Next