|
From: | Brian Wasserman |
Subject: | cp command bug |
Date: | Mon, 27 May 2002 11:27:28 -0400 |
I accidently typed the following: cp
*inc
I had two files that matched in the
directory. The first match copied on top of
the second match.
I see no idea why anybody would expect this
result. This should be sealed off and return an error message
since this action destroyed a file of mine I had to recover from a
backup.
i.e.
before
--------
a.inc: hello world
b.inc: oh my
action
---------
cp *inc
after
--------
a.inc: hello world
b.inc: hello world
Thanks,
Brian |
[Prev in Thread] | Current Thread | [Next in Thread] |