This file is indexed.

/etc/bash_completion.d/ngraph is in ngraph-gtk 6.06.13-5.

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
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# ngraph completion 
# put this file in /etc/bash_completion.d/ 

have ngraph &&
_ngraph()
{
    local cur

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

    case "$prev" in
        -png|-pdf|-ps|-eps|-svg|-gra|-p|-L)
            _filedir 'ngp'
	    return 0
            ;;
	-ex|-ey)
            COMPREPLY=( $( compgen -W 'linear log inverse MJD' -- $cur ) ) 
	    return 0
            ;;
	-d)
	    COMPREPLY=( $( compgen -W 'mark line polygon curve diagonal \
		arrow rectangle rectangle_fill rectangle_solid_fill \
		errorbar_x errorbar_y staircase_x staircase_y bar_x bar_y \
		bar_fill_x bar_fill_y bar_solid_fill_x bar_solid_fill_y fit' \
		-- $cur ) )
	    return 0
	    ;;
	-m)
	    COMPREPLY=( $( compgen -W "`seq 0 89`" -- $cur ) )
	    return 0
	    ;;
	-x|-y|-o|-l|-w|-cr|-cg|-cb|-CR|-CG|-CB|-s|-r|-f|-vx|-vy|-mx|-my|-minx|-maxx|-incx|-miny|-maxy|-incy)
	    return 0
	    ;;
    esac

    case "$cur" in
        -*)
            COMPREPLY=( $( compgen -W '-h --help --version --VERSION \
		-L -x -y -X -Y -d -m -o -l -w -cr -cg -cb -CR -CG -CB -s -r -f \
		-vx -vy -mx -my -ex -ey -minx -maxx -incx -miny -maxy -incy -g \
		-png -pdf -ps -eps -svg -gra -n -p -dialog' -- $cur ) ) 
            ;;
	*)
	    _filedir
	    ;;
    esac
}
[ "${have:-}" ] && complete -F _ngraph $filenames ngraph


have ngp2 &&
_ngp2()
{
    local cur

    COMPREPLY=()
    cur=${COMP_WORDS[COMP_CWORD]}
    case "$cur" in
        -*)
            COMPREPLY=( $( compgen -W '-h --help -I -a -A -c \
		-ps -ps3 -ps2 -eps -eps3 -eps2 \
		-wmf -pdf -svg -svg1.1 -svg1.2 -png' -- $cur ) ) 
            ;;
	*)
	    _filedir 'ngp'
	    ;;
    esac
}
[ "${have:-}" ] && complete -F _ngp2 $filenames ngp2


# have gra2ps &&
# _gra2ps()
# {
#     local cur

#     COMPREPLY=()
#     cur=${COMP_WORDS[COMP_CWORD]}
#     prev=${COMP_WORDS[COMP_CWORD-1]}

#     case "$prev" in
#         -o)
#             _filedir '@(ps|eps)'
# 	    return 0
#             ;;
# 	-i)
#             _filedir 'ps'
# 	    return 0
#             ;;
# 	-p)
# 	    COMPREPLY=( $( compgen -W 'a3 a4 b4 a5 b5 letter legal' -- $cur ) )
# 	    return 0
# 	    ;;
# 	-s)
# 	    return 0
# 	    ;;
#     esac

#     case "$cur" in
#         -*)
#             COMPREPLY=( $( compgen -W '-o -i -c -e -p -l -r' -- $cur ) ) 
#             ;;
# 	*)
# 	    _filedir 'gra'
# 	    ;;
#     esac
# }
# [ "${have:-}" ] && complete -F _gra2ps $filenames gra2ps

# have gra2wmf &&
# _gra2wmf()
# {
#     local cur

#     COMPREPLY=()
#     cur=${COMP_WORDS[COMP_CWORD]}
#     prev=${COMP_WORDS[COMP_CWORD-1]}

#     case "$prev" in
#         -o)
#             _filedir 'wmf'
# 	    return 0
#             ;;
# 	-d)
# 	    return 0
# 	    ;;
#     esac

#     case "$cur" in
#         -*)
#             COMPREPLY=( $( compgen -W '-o -d' -- $cur ) ) 
#             ;;
# 	*)
# 	    _filedir 'gra'
# 	    ;;
#     esac
# }
# [ "${have:-}" ] && complete -F _gra2wmf $filenames gra2wmf