Hello friends ,
I am doing the following command, but it is not wise to all files.
for temp in `find ./CSV/ -name "*.txt"`
do
sed -n -e 'N; /*Main End/p' $temp
done
Its give me the correct output for some files , but not for all files.
I mean some files contains the string *Main End , But it wont return me any value . But In some files it contains the exact *Main End pattern , it returns me the previous line as usual.
Pls help..
I am using Solaris 6.0