spliting up sentences

hello,

i'm looking to split up text into a list of words but can't figure it out, any help would be great.

thanks
steven

tr " " "\n" < filename #split space into newline

or

awk '{RS=","; print $0}' filename #split to new line wherever comma encountered

or

for f in (`cat filename`);do
echo $f
done

cheers for your help