This file is indexed.

/usr/share/doc/syslogout/examples/etc/syslogout.d/corefiles.bash is in syslogout 0.3.9.

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
# Finding and maybe deleting core files in the users's $HOME to 
# reclaim lost disk space


delcores()
{
 set -x
 for file in `find $HOME -name core -type f -print`
 do
  if [ `/usr/bin/file $file | /bin/grep -c "core file"` != 0 ]; then 
        /usr/bin/gdb -batch -q -c $file
        /bin/ls -l $file
        #/bin/rm -f $file
  else
        echo "File named \"core\" is not a core file"
  fi
 done
}

if [ -d /var/tmp/syslogout ]; then
        delcores >> /var/tmp/syslogout/$USER 2>&1 &
else
        delcores &> /dev/null &
fi