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

Zmas Puzzle



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