I have files containing below format, generated by another system

```
 12;453453;TBS;OPPS;
 12;453454;TGS;OPPS;
 12;453455;TGS;OPPS;
 12;453456;TGS;OPPS;
 20;787899;THS;CLST;
 33;786789;

```

i have to check the last line contains 33 , then have to continue to copy the file/files to other location. else discard the file.

currently I am doing as below

```
tail -1 abc.txt >> c.txt
awk '{print substr($0,0,2)}' c.txt

```

then if the o/p is saved to another variable and copying. 
**Can anyone suggest any other simple way.**

Thank you!

R/