I need an awk script to do the following things, please help me.
Here is a scenario.
I have a text file which I usually be editing in NEDIT,
I have to select the text (basically pair of points- like a 2 column data points) then through customised shell menu I should plot this selected text.
basically the awk script should do writing the selected text in NEDIT in to temporary file, then instruct "gnuplot" to plot this text file which contains data poitns.
Use attached files to see how gnuplot works.
Note:
On a shell window, execute the following command:
gnuplot plot_spline.sh
this should post a plot on your screen.