VMD-L Mailing List
From: Axel Kohlmeyer (akohlmey_at_gmail.com)
Date: Mon Jul 25 2011 - 10:50:47 CDT
- Next message: Pavan Ghatty: "Question about eval"
- Previous message: Paul VanAllsburg: "Re: Understand a script"
- In reply to: Bjoern Olausson: "Re: Understand a script"
- Next in thread: Axel Kohlmeyer: "Re: Understand a script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
On Mon, Jul 25, 2011 at 11:05 AM, Bjoern Olausson
<namdlist_at_googlemail.com> wrote:
> On Monday 25 July 2011 15:35:51 Sara baretller wrote:
>> Hi all
>>
>> I am trying to understand a script and am wondering if any body knows
>> whatfind Pdbfiles and "*.pdb"
>> means ???
>>
>> foreach f [find Pdbfiles/ -name "*.pdb"] {
>> mol load pdb $f
>
> Find is a common tool found on Linux/UNIX/BSD.... Systems
> "man find":
> http://unixhelp.ed.ac.uk/CGI/man-cgi?find
>
> It searches in the folder "Pdbfiles" for all files ending in ".pdb"
>
> You probably want to make yourself a bit familiar with the UNIX/Linux command
> line tools:
> http://steve-parker.org/sh/sh.shtml
> http://oreilly.com/catalog/9780596154493
in this case the even better recommendation would be to implement
the recursive file find using the tcl file command and thus increase its
portability massively.
cheers,
axel.
> Cheers,
> Bjoern
>
> --
> Bjoern Olausson
> Martin-Luther-Universität Halle-Wittenberg
> Fachbereich Biochemie/Biotechnologie
> Kurt-Mothes-Str. 3
> 06120 Halle/Saale
>
> Phone: +49-345-55-24942
>
-- Dr. Axel Kohlmeyer akohlmey_at_gmail.com http://goo.gl/1wk0 Institute for Computational Molecular Science Temple University, Philadelphia PA, USA.
- Next message: Pavan Ghatty: "Question about eval"
- Previous message: Paul VanAllsburg: "Re: Understand a script"
- In reply to: Bjoern Olausson: "Re: Understand a script"
- Next in thread: Axel Kohlmeyer: "Re: Understand a script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]