2 # Select which mode of gmx-ana to use in this script
4 # Create gmx-ana path from our name. Two cases:
5 # 1. $0 contains slash = a full or relative path
6 # 2. $0 without slash = gmx-ana must be in our path
8 */*) gmxana
=${0%/*}/gmx-ana
;;
11 # Check that the file is there
12 if [ ! -x $gmxana ]; then
13 echo Cannot
find executable
$gmxana
16 $gmxana -type $type $
*