From: Leonardo Trabuco (ltrabuco_at_ks.uiuc.edu)
Date: Wed Oct 29 2008 - 10:29:36 CDT

On Wed, Oct 29, 2008 at 10:14 AM, Axel Kohlmeyer
<akohlmey_at_cmm.chem.upenn.edu> wrote:
> 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.

Well, glob should return a filename, so as long as it works properly,
the mol command will receive a filename.

Cheers,
Leo

-- 
Leonardo Trabuco, Ph.D. candidate
Theoretical and Computational Biophysics Group
University of Illinois at Urbana-Champaign