From: Axel Kohlmeyer (
Date: Wed Oct 29 2008 - 10:14:50 CDT

On Wed, 29 Oct 2008, no tengo nombre wrote:

???> hi
???> thanks for your code Benjamin, i modify it and now run good:
???> foreach f [ lsort [ glob deposit0*.xyz ] ] {
???> mol new $f type xyz
???> }

???> i think that deposit.*.xyz don't run becouse i work in windows, but

no. you cannot blame windows for that.

it doesn't work because it is not _supposed_ to work.

the manual entry on the mol command says clearly that
it expects a filename and not a pattern.


???> your code was perfect for me, becouse i test the 'glob' line with
???> some ideas and obtain the final code. now i search some TCL manual.
???> thanks.

Axel Kohlmeyer
   Center for Molecular Modeling   --   University of Pennsylvania
Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323
tel: 1-215-898-1582,  fax: 1-215-573-6233,  office-tel: 1-215-898-5425
If you make something idiot-proof, the universe creates a better idiot.