# The SPIMS software is covered by a license. The use of the software
# represents acceptance of the terms and conditions in the license.
# ******************************************************************
# Copyright (c) 1989, Swedish Institute of Computer Science
awk 	'BEGIN { flag = 0 }\
	$1 == 0 { flag = 1 } \
	$2 != 0 { if (flag) printf "%d\t%f\n", $1, saved[$1]-$2; \
		  else saved[$1]=$2; } \
	$2 == 0 \
' $*
