Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Zmas Puzzle
- X-seq: zsh-users 9801
- From: zzapper <david@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Zmas Puzzle
- Date: Fri, 30 Dec 2005 20:46:31 +0000
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Sender: news <news@xxxxxxxxxxxxx>
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/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author