Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Unix (http://www.go4expert.com/forums/unix-forum/)
-   -   find a word in input file (http://www.go4expert.com/forums/word-input-file-t23427/)

Poonamol 27Sep2010 15:53

find a word in input file
 
Hi,
I had a input file containing,

Code:
abcdefghij;20100903040607;1234567891;GLOBAL;abc123 ;20100903040607;12345;09;thestdf;def456;2010090304 0607;67891;04;bnkim;
I need to search word GLOBAL in my file.
If it is found then
do something
else
do other thing

How can i write if loop for this criteria in .ksh file?


All times are GMT +5.5. The time now is 01:22.