#!/bin/ksh -p # Draws a nice maze-like thingummabob... typeset -i i j j=0 while (( j < 30 )) ; do i=0 while (( i < 75 )) ; do k=$(($RANDOM % 2)) if (( k == 1 )) ; then print -n "/" else print -n "\\" fi i=$((i+1)) done print "" j=$((j+1)) done