#!/bin/bash gnuplot << __EOC__ set term dumb set grid plot [x=0:pi*2] sin(x) __EOC__