Skip to content

Instantly share code, notes, and snippets.

@dm4
Created November 14, 2012 06:56
Show Gist options
  • Save dm4/4070732 to your computer and use it in GitHub Desktop.
Save dm4/4070732 to your computer and use it in GitHub Desktop.
to henry3716
for i in `seq 102 104`
do
join sum.list $i.list | awk '{print $6=(0.65*($4-$2)^2+($5-$3)^2)^(0.5)}' > $i.out
done
cat *.out > all.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment