From owner-freebsd-questions Wed Oct 11 05:13:10 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id FAA06764 for questions-outgoing; Wed, 11 Oct 1995 05:13:10 -0700 Received: from gilberto.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de [137.226.31.2]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id FAA06757 for ; Wed, 11 Oct 1995 05:13:03 -0700 Received: (from kuku@localhost) by gilberto.physik.rwth-aachen.de (8.6.11/8.6.9) id NAA24984; Wed, 11 Oct 1995 13:10:31 +0100 Message-Id: <199510111210.NAA24984@gilberto.physik.rwth-aachen.de> Subject: Re: Directories and the trailing slash To: hedley@cs.bris.ac.uk (David Hedley) Date: Wed, 11 Oct 1995 13:10:31 +0100 (MET) Cc: freebsd-questions@freefall.freebsd.org In-Reply-To: <11167.813404093@kiha> from "David Hedley" at Oct 11, 95 10:34:53 am From: Christoph Kukulies Reply-To: Christoph Kukulies X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1394 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? It has recently been fixed (Oct 7) in -current. You can grab the respective directory (bin/mv) from one of the FreeBSD servers (e.g. ftp://gil.physik.rwth-aachen.de/pub/FreeBSD/FreeBSD-current/bin/mv). > > 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 *** > --Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de