TetaTricks/code/shell/heredoc.sh

10 lines
123 B
Bash
Executable File

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