[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: strange problem with cvs remove ...

From: Larry Jones
Subject: Re: strange problem with cvs remove ...
Date: Tue, 3 Oct 2000 11:09:13 -0400 (EDT)

bk writes:
> I have a very interesting problem as following. I have a file in my
> repository named "copy of xyz.html". I want to remove this file from
> my repository.
> $bash: rm copy*
> $bash: cvs remove copy*

Wildcards are handled by the shell -- in the first case, ``copy*'' is
expanded (by bash) to "copy of xyz.html".  In the second case, you've
already deleted the file, so ``copy*'' doesn't match any files and is
left alone.  This never works, reguardless of whether there are spaces
in the file name or not.  That's why I always use ``cvs remove -f'' to
do both operations at once instead of using two separate commands.

-Larry Jones

In a minute, you and I are going to settle this out of doors. -- Calvin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]