db_load

AlloyMUSH-1.1/scripts/db_load · 266 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 X ;;
	2)	./dbconvert $1 X <$2 ;;
	3)	./dbconvert $1 X <$2 >$3 ;;
	*)	echo Usage: $0 'gdbm_file [source_file [dest_file]]'; exit 1 ;;
esac

exit 0

Site Stats

Snippets: 1791
Codebases: 571