To read and separate number and words in file and store to two new file using shell

hi,
I am a begginer in unix and i want to know how to open a file and read it and separate the numbers & words and storing it in separate files, Using shell scripting.
Please help me out for this.

Regards
S.Kamakshi

Is this a homework question? If it isn't what is the "real world problem" of your question and what have you done to attempt to solve this problem yourself?
Post your sample script, and we'll see how we can assist.

Regards

Hello,

Please correct me if i am wrong,

#! /bin/bash

FILE1="$1"
FILE2="$2"
FILE3="$3"

sed 's/[0-9]//g' $FILE1 > $FILE2
sed 's/[a-zA-Z]//g' $FILE1 > $FILE3

This is the script where filenames are fetched from command prompt.
:o

Regards
S.Kamakshi