#!/bin/sh

### Not complete yet!!

# scan all things which match smalltalk
# get the one highest version, prefer patch releases
# record current version info, so next time the update can get only
# what it needs

ftpcmd=${FTP:-ftp}
anon=${ANONYMOUS_USER:-anonymous}

${ftpcmd} -n <<-EOF
	open prep.ai.mit.edu
	user ${anon} smalltalk
	cd pub/gnu
	dir smalltalk* st$$
	quit
EOF

