This file is indexed.

/usr/share/grace/examples/dotest is in grace 1:5.1.25-5build1.

This file is owned by root:root, with mode 0o755.

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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
#!/bin/sh
# demos for Grace
#

export GRACE_HOME

# define the location
#
if test -x ../src/xmgrace
then
	GRACE=../src/xmgrace
	GRACE_HOME=`pwd`/..
else
if test -x ../bin/xmgrace
then
        GRACE=../bin/xmgrace
	GRACE_HOME=`pwd`/..
else
	GRACE=xmgrace
fi
fi

# don't ask stupid questions :)
#
GRACE="$GRACE -noask"
#

# explain the row of single character buttons and a few other things
$GRACE explain.agr 
#
# display the various axes available
$GRACE axes.agr 
#
# display the symbols and line styles
$GRACE symslines.agr 
#
# display various fill styles
$GRACE fills.agr 
#
# some graph stuff and ticks
$GRACE -p graphs.par 
#
# some graph stuff and ticks
$GRACE props.agr 
#
# demonstration of many graphs
$GRACE manygraphs.agr
#
# some graph stuff and ticks
$GRACE brw.dat -p regions.par 
#
# test of a graph inset
$GRACE tinset.agr
#
# some time and date formats
$GRACE times.agr 
#
# some more tick label formats
$GRACE -p tforms.par 
#
# Australia map
$GRACE au.agr 
#
# log plots
$GRACE -autoscale none -p logtest.par log.dat -graph 1 log.dat 
#
# more log plots
$GRACE tlog.agr 
#
# a log2 example
$GRACE log2.agr 
#
# a log2/log example with engineering and computing tick labels
$GRACE log2log.agr 
#
# a logit scale sample
$GRACE logit.agr 
#
# a reciprocal scale sample
$GRACE reciprocal.agr 
#
# display fonts and font mappings
$GRACE tfonts.agr 
#
# text transforms
$GRACE txttrans.agr 
#
# advaned typesetting
$GRACE typeset.agr
#
# example of world stack
$GRACE tstack.agr 
#
# a graph with a parameter file
$GRACE -p test1.par -autoscale xy test.dat 
#
# a graph with a parameter file in reverse video
$GRACE -rvideo -p test1.par -autoscale xy test.dat 
#
$GRACE test2.agr 
#
# explanation of arrow shape parameters
$GRACE arrows.agr 
#
# multiple graphs with a parameter file
$GRACE mlo.dat -graph 1 brw.dat -p co2.par 
#
# multiple graphs created with arrange feature
$GRACE co2.agr 
#
# a nice sample
$GRACE spectrum.agr 
#
# a graph with alternate axes
$GRACE -p altaxis.par test.dat -autoscale xy 
#
# a graph with error bars
$GRACE terr.agr
#
# a fixed graph with XY RADIUS format
$GRACE txyr.agr 
#
# string annotations
$GRACE motif.agr 
#
# a graph with an XYZ set
$GRACE xyz.agr 
#
# a graph with HILO data
$GRACE hilo.agr 
#
# a graph with BOXPLOT data
$GRACE boxplot.agr 
#
# polar plots
$GRACE polar.agr
#
# bar charts
#
# a bar graph demonstrating specified ticks and tick labels
$GRACE bar.agr
#
# a stacked bar chart
$GRACE stackedb.agr
#
# a bar chart with error bars
$GRACE chartebar.agr
#
# display all types of XY charts
$GRACE charts.agr
#
# pie charts
$GRACE pie.agr
#
# vector map
$GRACE vmap.agr
#
# a bubble plot
$GRACE xysize.agr
#
# an xycolor map
$GRACE xycolor.agr
#
# non-linear curve fitting
$GRACE logistic.agr
#
# some interesting stuff
$GRACE -b test.com
#
# need a program
# modified from previous versions, a thank you goes to Bruce Barnett
# this modification allows others without write permission
# to run the demos.
#
echo ""
if test ! -f tmc
then
      echo ""
      echo "Compiling a short program to test the -pipe option"
      echo "Executing 'cc tmc.c -o tmc -lm'"
      cc tmc.c -o tmc -lm
      echo "Done compilation"
      echo ""
fi

#
# a graph with the -pipe option
echo "Testing -pipe option, executing './tmc | $GRACE -pipe' "
./tmc | $GRACE -pipe 

rm -f tmc.o tmc