Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Zmas Puzzle



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