How to simplify this code?

hi guys need your help...how to simplify this script...

 for i in `cat dmp.txt`
  do

    model=$i
    more $model  | grep : | cut -d ":" -f 2- | grep : | grep -v "=" > temp1
    more $model | grep / | cut -d ":" -f 2- > temp2
    more $model | grep = | cut -d ":" -f 2- > temp3
    more $model | grep ";" | cut -d ":" -f 2- | cut -d ";" -f 1- > temp4
    model_1=`echo $model | cut -d "." -f 1`

Hi,

Could you please provide the Input and expected Output for same.

Thanks,
R. Singh

In addition to what RavinderSingh13 has already said...

Given that this script is incomplete, invokes more four times when it doesn't need to call it at all, sets a variable that isn't needed, seems to waste time creating 4 temporary files that are not used, and seems to waste time setting a variable that isn't used, the following simplified version of your code should produce the same syntax error as your current script:

for i in `cat dmp.txt`
  do

If you would show us your complete script, tell us what shell you're using, what operating system you're using, what is in the files listed in the file named dmp.txt, whether any of the filenames in dmp.txt could contain any spaces or tabs, and what output you want your script to produce; we might be able to help.