From owner-freebsd-questions Wed Oct 11 03:24:28 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id DAA04023 for questions-outgoing; Wed, 11 Oct 1995 03:24:28 -0700 Received: from dira.bris.ac.uk (dira.bris.ac.uk [137.222.10.41]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id DAA04008 for ; Wed, 11 Oct 1995 03:24:09 -0700 Received: from kukini.cs.bris.ac.uk by dira.bris.ac.uk with SMTP (PP); Wed, 11 Oct 1995 10:35:13 +0100 Received: from kiha by kukini.compsci.bristol.ac.uk id aa24417; 11 Oct 95 9:38 GMT To: freebsd-questions@freefall.freebsd.org Subject: Directories and the trailing slash Date: Wed, 11 Oct 95 10:34:53 +0100 Message-ID: <11167.813404093@kiha> From: David Hedley Sender: owner-questions@FreeBSD.org Precedence: bulk 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 ***