Date: Wed, 11 Oct 95 10:34:53 +0100 From: David Hedley <hedley@cs.bris.ac.uk> To: freebsd-questions@freefall.freebsd.org Subject: Directories and the trailing slash Message-ID: <11167.813404093@kiha>
next in thread | raw e-mail | index | archive | help
This isn't really a bug report, just something I've noticed which annoys me. The problem is that most (all?) commands when presented with a directory followed by a '/' as an argument, all bomb out saying '.... is a directory'. e.g. assume 'test' is a directory % mv test/ xyz Error: test/ is a directory (not the exact message it prints, but close enough - this is from memory) whereas % mv test xyz works quite happily. This isn't just a FreeBSD problem - I remember the same thing happening with 386BSD 0.1 many years ago, but it doesn't happen on any other system I use (including Linux, SunOS....). It's only annoying as `zsh', when doing filename completion, automatically adds a trailing '/' to directory names when TAB is pressed. Is this correct behaviour? Can it be fixed? David -- David Hedley (David.Hedley@bris.ac.uk) http://www.cs.bris.ac.uk/~hedley/ finger hedley@cs.bris.ac.uk for PGP key Computer Graphics Group | University of Bristol | UK *** All opinions expressed are mine and mine alone ***
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?11167.813404093>