Am Wed, 27 Aug 2003 01:10:59 +0000 schrieb Matthew O. Persico:

> On Sun, 24 Aug 2003 00:29:33 +0200, jipe wrote:
>>>
>>>
>>one easy way ...
>>
>>GLOBIGNORE="no_not_this_one"
>>
>>then any glob like * will ignore this file
>>
>>bye
>>jipe
>>
>>
>>
> YIKES! Why use estoeric, shell specific stuff when the proper
> application of STANDARD (cross-shell) command will do:
> 
> cd TheDirectory
> cp `ls -c1 | grep -v TheFileToExclude

because

1) I asked for a shell specific solution (=> we're talking about bash,
aren't we?)

2) modifying file globbing is much less overhead than having to invoke two
extra commands

3) modifiying file globbing has the advantage that this works for all
other commands that use the globbing features - which is IMHO very
useful.

happy hacking.

udo

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to