From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7196 invoked from network); 14 Jun 2000 14:10:29 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 14 Jun 2000 14:10:29 -0000 Received: (qmail 6633 invoked by alias); 14 Jun 2000 14:09:55 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3153 Received: (qmail 6609 invoked from network); 14 Jun 2000 14:09:50 -0000 Date: Wed, 14 Jun 2000 16:09:38 +0200 From: Ollivier Robert To: zsh-users@sunsite.auc.dk Subject: Re: Fun zsh trick for today Message-ID: <20000614160938.A22024@caerdonn.eurocontrol.fr> Mail-Followup-To: Ollivier Robert , zsh-users@sunsite.auc.dk References: <20000614154338.A25454@linux-ws.kg-hittfeld.local> <20000614095734.E27844@scowler.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000614095734.E27844@scowler.net>; from schizo@debian.org on Wed, Jun 14, 2000 at 09:57:34AM -0400 X-Operating-System: FreeBSD 5.0-CURRENT According to Clint Adams: > zmodload -i zsh/mapfile > hosts=(${(@)${(@)${(M)${(f)mapfile[$HOME/.ssh/known_hosts]}:#[^0-9]*}%%\ *}%%,*}) I'm beginning to see zsh turning up into perl-sh... :-) -- Ollivier ROBERT -=- Eurocontrol EEC/TEC -=- roberto@eurocontrol.fr The Postman hits! The Postman hits! You have new mail.