From: Jérôme Hénin (jhenin_at_ifr88.cnrs-mrs.fr)
Date: Tue Nov 22 2011 - 06:32:43 CST

Hi Jorgen,

On 22 November 2011 10:55, Jorgen Simonsen <jorgen589_at_gmail.com> wrote:
> Hi all,
>
> I have written a tcl script to analysis some properties from MD run
> when I execute it in the following order like this
>
> vmd -dispdev text
>
> and then
>
> source script.tcl
>
> it works fine stops after 500 frames - if I put the commands into a
> bash script and like this
>
> #!/bin/bash
> vmd -dispdev text < script.tcl >p.log
>
> it quits after 5 frames and not after 500 as supposed.
>
> How to resolve this?

Try this:

vmd -dispdev text -e script.tcl > p.log

Best,
Jerome