#!/usr/local/bin/gawk -f 
# $Id: dshbak.src,v 1.5 2004/10/04 18:29:13 garbled Exp $
# dshbak  *must have nawk or compatible*
BEGIN { FS=":" }
{
	if ($1 != LASTNODE) {
		LASTNODE = $1
		LINESEP = $1
		gsub(/./,"-",LINESEP)
		printf("-----%s\nNode %s\n-----%s\n", LINESEP, $1, LINESEP)
	}
	$1 = ""
	print substr($0, 3)
}
	
