This file is indexed.

/usr/share/hyphy/ChartAddIns/Populate Cells is in hyphy-common 2.2.6+dfsg-3build3.

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
if (NON_EMPTY_SELECTION)
{
	fprintf (stdout, "Formula to populate with (row_index and col_index will be replaced with actual cell row and column - both 0 based):");
	fscanf  (stdin,  "String", cell_populator);

	count = Columns (SELECTED_CHART_DATA);

	cell_populator = "new_cell_value:=" + cell_populator;

	ExecuteCommands (cell_populator);

	for (counter=0; counter < count; counter = counter+1)
	{
		row_index 					 = SELECTED_CHART_ROWS[counter];
		col_index 					 = SELECTED_CHART_COLS[counter];
		SELECTED_CHART_DATA[counter] = new_cell_value;
	}

	UPDATE_CELL_DATA = 1;
}
else
{
	NON_EMPTY_SELECTION = -1;
}