Hi all,

I have little experience with Tcl, so apologise for this potentially stupid 
question but I failed to find the answer with some browsing.

So would like to delete some file (as a pre-patch step) to get a clean source 
directory before the build. When I put the file names all works fine, but I 
would like to be less verbose, so I am trying something like this:

--- snip ---
[radegast:~/temp/BitArray2D-2.1] petr% tclsh
% glob */*.pyc     
Examples/BitArray2D.pyc Examples/BitVector.pyc TestBitArray2D/BitArray2D.pyc 
TestBitArray2D/BitVector.pyc TestBitArray2D/TestBooleanLogic.pyc 
TestBitArray2D/TestComparisonOps.pyc TestBitArray2D/TestConstructors.pyc
% file delete Examples/BitArray2D.pyc Examples/BitVector.pyc 
% glob */*.pyc
TestBitArray2D/BitArray2D.pyc TestBitArray2D/BitVector.pyc 
TestBitArray2D/TestBooleanLogic.pyc TestBitArray2D/TestComparisonOps.pyc 
TestBitArray2D/TestConstructors.pyc
% file delete [ glob */*.pyc ]
% glob */*.pyc
TestBitArray2D/BitArray2D.pyc TestBitArray2D/BitVector.pyc 
TestBitArray2D/TestBooleanLogic.pyc TestBitArray2D/TestComparisonOps.pyc 
TestBitArray2D/TestConstructors.pyc
--- snap ---

Deleting the files works, globbing seems to work as well, but when I combine 
these it has no effect. Where is the error?

~petr

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to