X-Git-Url: https://git.distorted.org.uk/~mdw/rocl/blobdiff_plain/1304202ad2001c85d3eae3a37c51e001794c24c8..45c362bf0c07504c771a5f1cdb24a234b099f161:/elite-find diff --git a/elite-find b/elite-find index c8dcabe..f760f5e 100755 --- a/elite-find +++ b/elite-find @@ -1,6 +1,8 @@ #! /usr/bin/tclsh +# +# $Id: elite-find,v 1.4 2003/03/10 23:38:06 mdw Exp $ -package require "elite" "1.0.0" +package require "elite" "1.0.1" proc ok {s vv expr} { global argv0 @@ -63,7 +65,7 @@ if {$i == [llength $argv] - 1} { puts stderr "usage: $argv0 \[-g GALAXY\] \[EXPR\]" exit 1 } -set ww [worldinfo $g] +set ww [elite-galaxylist $g] foreach {s x y} $ww { if {[string equal $expr ""] || [ok $s {} $expr]} { puts [world-summary $s]