makeworld

./CDC-1.1/makeworld · 324 B

From the archive CDC-1.1.tar.gz

Download the archive   « Back to the archive contents

#!/bin/sh
#

DUMP="textdump"
NAMES="names.index"

echo -n "Where should textdump be located? [\"../world\"] "
read LOC

if [ X$LOC = X ]; then
	LOC=../world
fi

DUMP=${LOC}/${DUMP}

echo Dumping in \"${DUMP}\"

cat ${NAMES} > ${DUMP}

for f in `cut -d' ' -f2 ${NAMES}`; do
  echo \$$f
  cat ${f}.coldc >> ${DUMP}
done

exit

Site Stats

Snippets: 1791
Codebases: 571