Hi all,
I have a file resp_cde.ats which has values as:-
APPDIR=C:\Program Files\Cogny\cert
PUBSDIR=C:\Program Files\Cognoy\cert\documentation
TOURDIR=C:\Program Files\Cognoy\cert\tour
DATADIR=C:\Program Files\Cognoy\cert\data
Now I use the grep command in a shell script:-
x=`grep DATADIR /f/g/resp_cde.ats`
The value of x is printed as APPDIR=C:\Program Files\Cogny
But I want the entire path i.e. APPDIR=C:\Program Files\Cogny\cert
I have tried a lot of options but none is working.
Can anyone please help me out?
Vikas