Hi folks,
Thanks for the replies...
I tried the mentioned methods..but its partially working....but again some interesting results. I am using vi to edit the code...and i entered "ii" 4 times by adding tab space in between such that the last "ii" will be place after 79..like given below...
(well the space between "ii"'s is bit large say 8 tab space, the unix forum text editor is not allowing me to demonstrate that.....)
ii ii ii ii
If i use the following script
egrep -n '.{80}' VerCsm.cpp
it does not print the exceeded line....ii
but the interesting fact is that..if i type
iiiiiii...........
continuous till 80 or more....with no tab space in between the above script will work......dont know why ???? any idea ?????..
....for time being i assume that the cases i face will be the second one....and will continue to use the mentioned scripts.......thnks..