Hi All,
I have got one file which contains variables defined and the PATHS assigned to the respective variables.For e.g
file abc
PROS=x86; export PROS
CONT=/usr/local/ver/1.00; export CONT
PRO=PRS; export PRO
I want to extract the path till /us/local/ver in CONT variable.IS it possible to do with cut utility or is there any other way by which i can do it.Any help on this will be greatly appreciated.
Regards,
RK.
I have got one file which contains variables defined and the PATHS assigned to the respective variables.For e.g
file abc
PROS=x86; export PROS
CONT=/usr/local/ver/1.00; export CONT
PRO=PRS; export PRO
I want to extract the path till /us/local/ver in CONT variable.IS it possible to do with cut utility or is there any other way by which i can do it.Any help on this will be greatly appreciated.
Regards,
RK.