Well if you guys been wondering where i been the past month.. been hitting the books.. between creating HTTP Servers in Java and Shell programming im going nuts!!!

Anyway this is the 90% completed version of my Shell Program. I would like some help so i can get a 1st instead of a 2:1 which Im really wanting cause we had to teach ourselves shell programming so i think this is a real good effort for my first time.
The two things i need help with are:
1. Suppose I have a text file - could someone help me please with the code to find Proper Nouns (eg words that start with capital letters but not the start of setences for example New York, Tom, France etc) I been trying to figure it out and to no avail so please if someone could help me i would greatly appreciate it.
2. We need to do something special and the tutor suggests we encrypt text and decrypt it. How would you go about this? Suppose i have a text file and i press 11 to encrpyt and 12 to decrypt, again I have tried to find reading material on this and i cant find nothing. Anyone got any information to help me please?
I know some of you are thinking "Cheeky sod he wants us to do his homework" but look at what i did on my own in 1 month of learning shell - plus those of you who know me that im not like that anyway.
Anyway thanks in advance for the help if you can and here is what i did so far:
Code:
echo
echo
echo
echo "**********The GeekEasy Text Editor*******"
echo
echo "Please enter the file name you wish to edit: "
read FileName
echo
option=1
while [ $option -ne 10 ]
do
echo
echo
echo "1) Count Letters,Words and Lines"
echo "2) Count Specfic Letters"
echo "3) Count Specfic Words"
echo "4) Sentence Count"
echo "5) List Proper Nouns"
echo "6) Change Text File"
echo "7) Insert Lines into Text"
echo "8) Amend Text"
echo "9) List the Text"
echo "10) Exit the System"
echo
echo "Please enter your choice: "
read option
echo
case $option
in
1)echo
echo "Word count is: "
cat $FileName |wc -w
echo
echo "Line Count is: "
cat $FileName |wc -l
echo
echo "Character count is: "
cat $FileName |wc -m;;
2)echo "Enter the letter to find:"
read str
echo
tr -d $str < $FileName | wc -m > temp1
wc -m < $FileName > temp2
read num1 < temp1
read num2 < temp2
sum=$((num2-num1))
echo "There are" ${sum} $str "'s";;
3)echo "Enter a word to count"
read str
echo
echo "The number times that word appears is:"
sed "s/$str/$str\n/g" $FileName | grep $str | wc -l;;
4)uc=.,!?""
i=`tr -d [$uc] < $FileName | wc -c`
j=`cat $FileName | wc -c`
k=`expr $j - $i`
echo
echo There are "$k" sentences in the file
echo;;
5)echo "Under Construction";;
6)echo "Please Enter the File path you wish to change to:"
echo /gg226/CW4/
read FileName;;
7)echo "Enter the line number you wish to edit:"
read numline
echo "Enter new text you wish to appear:"
read newtext
sed "$numline i\ $newtext " $FileName>temp3
mv temp3 $FileName;;
8)echo "Enter the old word"
read old
echo "Enter the new word"
read new
cat $FileName | sed s/$old/$new/g > temp1
mv temp1 $FileName;;
9)echo
cat $FileName;;
10)echo "Program Exited";;
*)echo "Error!";;
esac
done