There's already one hint on this site about the many wonders of the Unix utility jot. However, I was bored and decided to come up with some fun jot applications. So after hours of tweaking and coding, I came up with a script that lets you pick between three different types of output:
Here's the script:
The line that makes it tick is this one:nice jot -r -s "" -c `jot -r 1 1 $line` | sed -e "s/.\{`jot -r 1 4 6`\}/ &/g" | sed -e "s/.\{`jot -r 1 4 6`\}/ &/g" | tr -d "[:cntrl:]" | sed -e "s/.\{`jot -r 1 1 $line`\}//g" | tr "[:upper:]" "[:lower:]"Mac OS X Hints
http://hints.macworld.com/article.php?story=20080611052740969