[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug in mv (5.0)
From: |
hensan |
Subject: |
Bug in mv (5.0) |
Date: |
Wed, 17 Sep 2003 14:12:06 -0000 (UTC) |
I noticed the following behavour in mv by accident today:
$ ls
file1 file2
$ mv file*
$ ls
file2
Here mv behaves as though I had issued 'mv file1 file2' (which was not my
intention, I just accidentally pressed enter before supplying a
destination), but I think a safer and more intuitive way would be that
when wildcards are used, mv would treat the file* expression as single
source argument and tell the user to provide a destination.
Similar unexpected behaviour occurs if there are 3 or more matches and the
last one is a directory.
/Henrik Sankala (address@hidden)
- Bug in mv (5.0),
hensan <=