VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Mon Nov 15 1999 - 10:40:20 CST
- Next message: doug irvine: "VMD working on Linux i386 w/ Mesa & Nvidia"
- Previous message: John Stone: "Re: question"
- In reply to: Deepak Singh: "output"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
> This is something I looked for in both the tcl pages and the sample
> scripts. How do I invoke a unix shell command from inside a script?
> e.g. if I want to output the printed rmsd's to a file, or directly graph
> them using xmgrace? Sorry for the myriad questions, but my tcl is limited.
Use something like this:
exec mycommand -flags -blah foobar.txt
This is covered on page 111 or "Tcl and the Tk Toolkit" by Ousterhout,
ISBN: 0-201-63337-X, which is a book that I use a lot when doing Tcl things.
No problem.
Get a copy of the Tcl book above, or another Tcl reference, it will save
you a lot of time and energy. Anyone doing non-trivial work with VMD
should definitely plan on having a Tcl reference handy.
John Stone
vmd_at_ks.uiuc.edu
-- Theoretical Biophysics Group Email: johns_at_ks.uiuc.edu Beckman Institute http://www.ks.uiuc.edu/~johns/ University of Illinois Phone: (217) 244-3349 405 N. Mathews Ave FAX: (217) 244-6078 Urbana, IL 61801, USA Unix Is Good For You!!!
- Next message: doug irvine: "VMD working on Linux i386 w/ Mesa & Nvidia"
- Previous message: John Stone: "Re: question"
- In reply to: Deepak Singh: "output"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]