breaking a word into chars

to break a word into characters..

Eg UNIX to U N I X

Here is one way to do it.

sed -e "s/[[:alnum:]]/& /g"

But if given a name UNIX

i shud display it as

U U N N
U U N N N
U U N NN
U U N N etc..... hw to do this

Is this homework ?

i gave one result. but i need to be optimised..

echo `sed -e "s/[[:alnum:]]/& \t/g" banner | tr ' ' '\n' ` 1> banner

for i in `cat banner`
do
banner $i | sed 's/#/'$i'/g'
done

help me with it..

I cant make any pattern out of it.
Tell us exactly the output you expect for the input UNIX.

completely agrees with vino...there is no pattern of displaying the every character.......
even u can use FOLD option .....to extract character by character....