:
if test $# -ne 2
then
echo Usage: $0 input_cell_file, output_sites_list >& 2
exit 1
fi
if test ! -d $LOCATION/site_lists
then
mkdir $LOCATION/site_lists
fi
input="$1"
output="$2"
r.stats -1gz "$input" | awk '{printf "%f|%f|#%d\n" , $1,$2,$3}' > $LOCATION/site_lists/"$output"