* Zmas Puzzle
@ 2005-12-30 20:46 zzapper
2005-12-30 21:19 ` Nikolai Weibull
0 siblings, 1 reply; 2+ messages in thread
From: zzapper @ 2005-12-30 20:46 UTC (permalink / raw)
To: zsh-users
Hi,
How would this be rewriiten in zsh?
=== 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 ====
--
zzapper
Success for Techies and Vim,Zsh tips
http://SuccessTheory.com/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Zmas Puzzle
2005-12-30 20:46 Zmas Puzzle zzapper
@ 2005-12-30 21:19 ` Nikolai Weibull
0 siblings, 0 replies; 2+ messages in thread
From: Nikolai Weibull @ 2005-12-30 21:19 UTC (permalink / raw)
To: zsh-users
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);}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-12-30 21:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-30 20:46 Zmas Puzzle zzapper
2005-12-30 21:19 ` Nikolai Weibull
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).