Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Oct 1995 13:10:31 +0100 (MET)
From:      Christoph Kukulies <kuku@gilberto.physik.rwth-aachen.de>
To:        hedley@cs.bris.ac.uk (David Hedley)
Cc:        freebsd-questions@freefall.freebsd.org
Subject:   Re: Directories and the trailing slash
Message-ID:  <199510111210.NAA24984@gilberto.physik.rwth-aachen.de>
In-Reply-To: <11167.813404093@kiha> from "David Hedley" at Oct 11, 95 10:34:53 am

next in thread | previous 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?

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510111210.NAA24984>