On Mon, Dec 03, 2001 at 04:52:24PM -0600, Ben Lutgens wrote: > On Mon, 2001-12-03 at 15:02, Jim Crumley wrote: > #!/bin/tcsh > HOSTS="hosta, hostb" > foreach ${HOSTS} ; uname -a ; echo $1 ; ssh -x $1 ; end Yeah, I know that perl is overkill for this, but I never bothered to learn lists in shell scripts ;). That's nice and compact! -- Jim Crumley |Twin Cities Linux Users Group Mailing List (TCLUG) crumley at fields.space.umn.edu |Minneapolis/St. Paul, Minnesota Ruthless Debian Zealot |http://www.mn-linux.org/ Never laugh at live dragons |Free Dmitry Sklyarov - http://faircopyright.org/