This file is indexed.

/usr/share/ngraph-gtk/addin/load_prm.nsc is in ngraph-gtk-addins 6.07.02-2build3.

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
# Description: load _PRM...,Load PRM file (Ngraph version 5),

new dialog

if [ ${menu::modified} = "true" ]
then
    if dialog::yesno "All modifications will be lost. Continue?"
    then
	true
    else
	del dialog
	exit
    fi
fi

PRM_FILE="${dialog::get_open_file:'prm'}"
if [ ! -r "$PRM_FILE" ]
then
    del dialog
    exit
fi

if dialog::yesno:"Ignore file path?"
then
    IGNORE_PATH="true"
else
    IGNORE_PATH="false"
fi

for i in `derive -instance draw fit`
do
    del ${i}:0-!
done

new prm
prm::file="$PRM_FILE"
prm::ignore_path="$IGNORE_PATH"
if prm::load
then
    DIR=`dirname "$PRM_FILE"`
    NAME=`basename "$PRM_FILE" ".prm"`
    cd "$DIR"
    if exist -q gra:viewer
    then
	gra:viewer:close
	cpy gra:!,viewer draw_obj left_margin top_margin zoom paper_width paper_height
	gra:viewer:open
    fi
    menu::fullpath_ngp="$DIR/$NAME".ngp
    menu::clear_info
else
    dialog::message "some errors are occurred while loading ($PRM_FILE)."
fi

del prm
del dialog

menu::modified=true