Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Zmas Puzzle
- X-seq: zsh-users 9802
- From: Nikolai Weibull <mailing-lists.zsh-users@xxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Zmas Puzzle
- Date: Fri, 30 Dec 2005 22:19:03 +0100
- In-reply-to: <e37br1lit9t10tiod6q39b1gd6vflkc7sr@xxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <e37br1lit9t10tiod6q39b1gd6vflkc7sr@xxxxxxx>
zzapper wrote:
> === begin hippo.sh ===
> #!/bin/bash
>
> for prop in mean enormous ugly moody heavy strong hungry fat dangerous; do
> for modf in A "That other" Every; do
> echo "${modf} hippo is ${prop}${oprop}"
> done
> echo "All hippos are ${prop}${oprop}."
> oprop=" and ${prop}${oprop}"
> done
>
> ==== end hippo.sh ====
>
> How would this be rewriiten in zsh?
Not at all?
nikolai
--
Nikolai Weibull: now available free of charge at http://bitwi.se/!
Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
Messages sorted by:
Reverse Date,
Date,
Thread,
Author