/usr/share/gretl/scripts/ps9-5.inp is in gretl-common 1.9.14-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3
# PS9.5, for Example 9.6 open data4-7 ar1 chd 0 cig edfat spirits beer