#!/bin/sh PATH=/bin:/usr/bin: # # Convert from arbitrary format to MUSH V2 GDBM format. # # i.e.: db_load mush.gdbm mush.flatfile mush.db.new # 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