#!/bin/sh
# This script loads a blackboard area (1st arg) from a disk file (2nd arg),
#	ie load  u_cpt  /u/ife/data/project_1
# An IFe client can run it by asking the Blackboard:
#	new_client	load	load	area filename
# Note that the area name saved with the data is NOT checked (yet!)
{
read line				# skip header
while(true)
do
	read line
	[ X"$line" = X ]  &&  exit		# finished
	echo "u_cpt	""$line"		# send line to area on bb
done
} <"/tmp/"$2
