This file is indexed.

/usr/share/gromacs/shell-specific/GMXRC is in gromacs-data 4.6.5-1build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# This is a convenience script to determine which
# type of shell you have, and then run GMXRC.[csh|bash|zsh]
# from the Gromacs binary directory.
#
# If you only use one shell you can copy that GMXRC.* instead.


# only csh/tcsh set the variable $shell (note: lower case!)
test $shell && goto CSH

# if we got here, shell is bsh/bash/zsh/ksh
# bsh cannot remove part of a variable with %%
shtst="A.B"
if [ "`(echo ${shtst%%.*}) 2>/dev/null`" = A ]; then

  # shell is bash/zsh/ksh
  # bash/zsh use $[...] for arithmetic evaluation, ksh doesn't
  if [ "`echo $[0+1]`" = 1 ]; then
    
    # shell is zsh/bash
    # zsh can test if the variable shtst is set with ${+shtst}
    if [ "`(echo ${+shtst}) 2>/dev/null`" = 1 ]; then
      # shell is zsh
      source /usr/bin/GMXRC.zsh
    else  
      # shell is bash
      source /usr/bin/GMXRC.bash      
    fi

  else    
    # shell is ksh - use bash setup, completions won't be read.
     . /usr/bin/GMXRC.bash
  fi
  return
else
  # shell is bsh - use bash setup, completions won't be read.
  . /usr/bin/GMXRC.bash
  exit
fi

# csh/tcsh jump here

CSH:
source /usr/bin/GMXRC.csh