hi
In the foll example the whole text in a single line....
i want to extract text from IPTel to RTCPBase.h.
want to use this acrooss the whole file
Updated: IPTel\platform\core\include\RTCPBase.h \main\MWS2051_Sablime_Int\1 \main\MWS2051_Sablime_Int\IPT2_8_SP1_Integration\1
Thanks
Manish
Echo 'Updated: IPTel\platform\core\include\RTCPBase.h \main\MWS2051_Sablime_Int\1 \main\MWS2051_Sablime_Int\IPT2_8_SP1_Integration\1' | awk '{print $2}'
Gives what you expect: IPTel\platform\core\include\RTCPBase.h
Regards
it is showing only IPTel\platform
Do you have a space after "IPTel\platform" ?
Regards
no there is no space....
can u try something else
i need the solution urgently.....
Thanks in advance
ohagar
6
cat <your file> | cut -d ' ' -f 1
pt14
7
Echo 'Updated: IPTel\platform\core\include\RTCPBase.h \main\MWS2051_Sablime_Int\1 \main\MWS2051_Sablime_Int\IPT2_8_SP1_Integration\1' | awk -F" " '{print $2}'
thanks this is working....
can u explain me the cmd.....
is there another way to do it...may be thru sed
Thanks