Show examine.sh syntax highlighted
#!/bin/bash
cat > /tmp/t1 <<EOF
plot "$1-$2-$2-fft-1" using 1:24 with linespoints, "$1-$2-$2-fft-1" using 1:25 with linespoints
EOF
cat > /tmp/t2 <<EOF
plot "$1-$2-$3-zoom-1" using 1:6 with linespoints, "$1-$2-$3-zoom-1" using 1:13 with linespoints
EOF
gnuplot -persist /tmp/t1
gnuplot -persist /tmp/t2
See more files for this project here