Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Fun zsh trick for today
- X-seq: zsh-users 3153
- From: Ollivier Robert <roberto@xxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: Re: Fun zsh trick for today
- Date: Wed, 14 Jun 2000 16:09:38 +0200
- In-reply-to: <20000614095734.E27844@xxxxxxxxxxx>; from schizo@xxxxxxxxxx on Wed, Jun 14, 2000 at 09:57:34AM -0400
- Mail-followup-to: Ollivier Robert <roberto@xxxxxxxxxxxxxxxxxxxxxxx>, zsh-users@xxxxxxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <no.id> <20000614154338.A25454@xxxxxxxxxxxxxxxxxxxxxxxxxx> <20000614095734.E27844@xxxxxxxxxxx>
According to Clint Adams:
> zmodload -i zsh/mapfile
> hosts=(${(@)${(@)${(M)${(f)mapfile[$HOME/.ssh/known_hosts]}:#[^0-9]*}%%\ *}%%,*})
<humour>
I'm beginning to see zsh turning up into perl-sh... :-)
</humour>
--
Ollivier ROBERT -=- Eurocontrol EEC/TEC -=- roberto@xxxxxxxxxxxxxx
The Postman hits! The Postman hits! You have new mail.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author