Create a file named input.g_rms. write the group number in this file. In your shell script after command line write &lt;input.g_rms. when the command is executed in shell the file input.g_rms having group number will be read. Hope it works.<div>
Shahid nayeem<br><br><div class="gmail_quote">On Fri, Feb 10, 2012 at 4:19 PM, Kiwoong Kim <span dir="ltr">&lt;<a href="mailto:ilmarejoe@gmail.com">ilmarejoe@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<div><br></div><div>I&#39;m not good at shell programming now.</div><div>For the simplicity, I wrote down all the gromacs commands in one shell script. </div><div><br></div><div>It means that if I execute the .sh file, then every works including graphs used for analysis are done.</div>

<div>However, when there are g_msd -f *.xtc -s *.tpr -o *.xvg -rmcomm, I have to select the groups manually. </div><div>This is quite inconvenient...</div><div><br></div><div>Is there any way to handle this??</div><div><br>

</div><div>Thanks in advance</div>
<br>--<br>
gmx-users mailing list    <a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br>
<a href="http://lists.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br>
Please search the archive at <a href="http://www.gromacs.org/Support/Mailing_Lists/Search" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/Search</a> before posting!<br>
Please don&#39;t post (un)subscribe requests to the list. Use the<br>
www interface or send it to <a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>
Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br></blockquote></div><br></div>