From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8072 invoked from network); 14 Jun 2000 15:04:28 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 14 Jun 2000 15:04:28 -0000 Received: (qmail 24793 invoked by alias); 14 Jun 2000 15:03:57 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3158 Received: (qmail 24786 invoked from network); 14 Jun 2000 15:03:56 -0000 X-Authentication-Warning: godzilla.phydeaux.org: fletch set sender to fletch@phydeaux.org using -f Sender: fletch@phydeaux.org To: Ollivier Robert Cc: zsh-users@sunsite.auc.dk Subject: Re: Fun zsh trick for today References: <20000614154338.A25454@linux-ws.kg-hittfeld.local> <20000614095734.E27844@scowler.net> <20000614160938.A22024@caerdonn.eurocontrol.fr> From: Fletch Organization: Very Little Date: 14 Jun 2000 11:02:35 -0400 In-Reply-To: Ollivier Robert's message of "Wed, 14 Jun 2000 16:09:38 +0200" Message-ID: User-Agent: Gnus/5.0806 (Gnus v5.8.6) XEmacs/20.4 (Emerald) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >>>>> "Ollivier" == Ollivier Robert writes: Ollivier> According to Clint Adams: >> zmodload -i zsh/mapfile >> hosts=(${(@)${(@)${(M)${(f)mapfile[$HOME/.ssh/known_hosts]}:#[^0-9]*}%%\ >> *}%%,*}) Ollivier> I'm beginning to see zsh turning up into Ollivier> perl-sh... :-) Well, I've got a patch off of 3.1.6 that embeds a perl interpreter as a loadable module and let's you call perl subroutines as zsh functions . . . :) I really need to update it work with 3.1.9, though. -- Fletch | "If you find my answers frightening, __`'/| fletch@phydeaux.org | Vincent, you should cease askin' \ o.O' 678 443-6239(w) | scary questions." -- Jules =(___)= | U