Strange loops

$ eval $(printf "echo Is this a strange loop\?"; for X in $(seq 13); do printf " | cowsay -%s -n" $(echo bdgpstwy | cut -b$(expr $(dd if=/dev/urandom bs=1k count=1 2>/dev/null | cksum | cut -d' ' -f1) % 7 + 1)); done; echo)

Thanks to Silver and zx64.

Comments (2)

foo

Very good :-)

June 25, 2008, 8:23 p.m. #

Since you're using a bashism already, you can replace <code>$(dd...)</code> with <code>$RANDOM</code>. It's certainly strange, anyway.

June 25, 2008, 10:18 p.m. #
There is no bashism.