#!/bin/sh

make rt_uv

awk '(NR==2)' pl.in    >  rt_uv.in
awk '(NR==7)' param.in >> rt_uv.in 
cat rt_uv.in uv_rt.out | ./rt_uv > rt_uv.out

awk '(NR==2){ print "GM = "$1; }' pl.in > GM.plt
./rt_uv.plt


