#!/bin/csh
#
# Convert INN active file to Diablo active file, usage:
# innactive < innactivefile > /news/dactive.kp

echo '$V00.00 00000000 00000000 00000000'
while (1) 
    eval set line = "( $< )"
    if ( "$line" == "" ) then
	break
    endif
    if ( $#line == 4 ) then
	echo "+00000000.0000:$line[1] NE=$line[2] NB=$line[3] S=$line[4]"
    endif
end
