Dear Users,<br><br>Am running a shell script for the command g_mindist=<br><br>#!/bin/bash<br><br>groups=`grep &quot;^\[ &quot; -o index.ndx | wc -l`<br><br>for ((i=0; i&lt;$groups; i++))<br>do<br>  echo $((i++)) 3393 | g_mindist -f md.xtc -s md.tpr -od $i.xvg -o atm-pair$i.out -d 0.8  -e 5000 -n index.ndx <br>
<br>done<br><br><br>here the index file has 3393 groups, the script reads each group against the final group ie 3393 (1-3393,2-3393,3-3393etc), the .xvg file has been created successfully but the .out file is empty. Please tell me why its so.<br>
<br>Thanks,<br>Aiswarya<br>