db_check

AlloyMUSH-1.1/scripts/db_check · 312 B

From the archive AlloyMUSH-1.1.tar.gz

Download the archive   « Back to the archive contents

#!/bin/sh
PATH=/bin:/usr/bin:
#
#	Convert from arbitrary format to MUSH V2 GDBM format.
#
case $# in
	1)	./dbconvert $1 Cw >/dev/null 2>&1 ;;
	2)	./dbconvert $1 Cw <$2 >/dev/null 2>&1 ;;
	3)	./dbconvert $1 Cw <$2 >/dev/null 2>$3 ;;
	*)	echo Usage: $0 'gdbm_file [source_file [log_file]]'; exit 1 ;;
esac

exit 0

Site Stats

Snippets: 1791
Codebases: 571