On Wed, 10 Mar 2004 22:49, Jon Miller wrote: > Does anyone know how to write a loop statement that can write out the > alphabet. It needs to increment starting with letter A and > incrementing by 1 until it gets to the letter Z. #!/bin/bash i=A while [ "$i" != "." ]; do echo $i i=$(echo $i | tr [A-Z] [B-Z.]) done Cheers; Leon