bug-coreutils
[Top][All Lists]
Advanced

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

Re: cp should look for destination file operand BEFORE wildcard expansio


From: Anshul Nigham
Subject: Re: cp should look for destination file operand BEFORE wildcard expansion
Date: Thu, 22 Feb 2007 01:32:23 +0800

Thanks everyone for the clarifications.

Anshul

On 2/20/07, Andreas Schwab <address@hidden> wrote:
address@hidden (Eric Blake) writes:

> However, you can use other shell features, such as aliases
> or shell functions, to enable other features of cp by default
> when invoking cp in an interactive manner.  For example,
> this is a pretty common idiom:
>
> $ alias cp='cp -i'

Don't do that, use a different name.  Otherwise you will fall into the
trap of relying on the presence of the alias and get no feedback when it
is not defined for whatever reason.

Andreas.

--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



--
Regards,
Anshul

"Education is an admirable thing, but it is well to remember from time to
time that nothing that is worth knowing can be taught."
   -- Oscar Wilde, "The Critic as Artist"




reply via email to

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