"Karl O. Pinc" <[EMAIL PROTECTED]> writes:
...
| > Consistent and standard
| >behavior is better than random better behavior that is all different
| >everywhere.
|
| Ok. I accept this. Can't say it makes me happy. :-P
|
| There should be a note in the documentation tho'.
In the latest test release,
ftp://alpha.gnu.org/gnu/fetish/fileutils-4.0o.tar.gz
there is this:
`--strip-trailing-slashes'
Remove any trailing slashes from each SOURCE argument. This is
useful when a SOURCE argument may have a trailing slash and specify
a symbolic link to a directory. This scenario is in fact rather
common because some shells can automatically append a trailing
slash when performing file name completion on such symbolic links.
Without this option, `mv' (via the system's rename function) must
interpret the trailing slash as a request to dereference the
symbolic link and so must rename the indirectly referenced
_directory_ and not the symbolic link. Although this behavior may
seem surprising, it is required by POSIX.2 and is consistent with
other parts of that standard.