[gmx-users] automatic selections with interactive gmx commands

David spoel at xray.bmc.uu.se
Mon May 31 18:04:42 CEST 2004


On Mon, 2004-05-31 at 15:53, Marc Lensink wrote:
> Quoting gianluca santarossa <gianluca.santarossa at unimib.it>:
> 
> > Can someone explain me why the command
> >   g_energy -sum -s mytopology -f mytrajectory < text_file
> > does the right things, while the command
> >   echo -e '38\n39\n40\n41\n42\n43\n0\n' | g_energy -sum -s mytopology -f 
> > mytrajectory
> > asked for my choices?
> 
> Pipes and redirected input are not the same thing. Apparently gromacs tools do
> not accept the former.
Yes it works fine for me. You can even leave out the \n and replace by
spaces. Also the -e argument is not necessary.
> 
> Marc
> 
> _______________________________________________
> gmx-users mailing list
> gmx-users at gromacs.org
> http://www.gromacs.org/mailman/listinfo/gmx-users
> Please don't post (un)subscribe requests to the list. Use the 
> www interface or send it to gmx-users-request at gromacs.org.
-- 
David.
________________________________________________________________________
David van der Spoel, PhD, Assoc. Prof., Molecular Biophysics group,
Dept. of Cell and Molecular Biology, Uppsala University.
Husargatan 3, Box 596,  	75124 Uppsala, Sweden
phone:	46 18 471 4205		fax: 46 18 511 755
spoel at xray.bmc.uu.se	spoel at gromacs.org   http://xray.bmc.uu.se/~spoel
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++




More information about the gromacs.org_gmx-users mailing list