This file is indexed.

/etc/bash_completion.d/scilab is in scilab-cli 5.5.1-7.

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
45
46
47
48
49
50
51
52
# Scilab completion
# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
# Copyright (C) DIGITEO - 2010 - Sylvestre Ledru
# This file must be used under the terms of the CeCILL.
# This source file is licensed as described in the file COPYING, which
# you should have received as part of this distribution.  The terms
# are also available at    
# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt

_scilab()
{
    local cur prev options
    COMPREPLY=()
    cur=${COMP_WORDS[COMP_CWORD]}
    prev=${COMP_WORDS[COMP_CWORD-1]}

    # List all options. Note that 
    options='-ns -nb -nw -nwni -nogui -debug -debug-kdbg -d -display -profiling -profiling-visu -l -mem -version -e -f -nouserstartup -args -mem -h --help'

    # Loop on the arguments to manage conflicting options
    for (( i=0; i < ${#COMP_WORDS[@]}-1; i++ )); do
	#exclude some mutually exclusive options
	[[ ${COMP_WORDS[i]} == '-nwni' ]] && options=${options/-nw}
        [[ ${COMP_WORDS[i]} == '-nw' ]] && options=${options/-nwni}
        [[ ${COMP_WORDS[i]} == '-e' ]] && options=${options/-f}
    done
    
    case "$1" in
    	 *scilab-cli*)
		# Option -nw is not available
            	options=${options/-nw}
	;;
    esac

    case $prev in
        -f)
		_filedir '@(sci|sce|SCI|SCE|tst|TST)'
		return 0
            ;;
        -e|-l|-d|-display|-mem)
		cur=${cur#[\"\']}
		eqext='='
            ;;
	
        *)
            COMPREPLY=( $( compgen -W "$options" | grep "^$cur" ) )
            ;;
    esac

    return 0
}
complete -F _scilab $filenames scilab scilab-cli scilab-adv-cli