Hi,
I need a command in UNIX KSH below is the description...
MAPPING DESCRIPTION ="Test Mapping for the calid inputs" ISVALID ="YES" NAME ="m_test_xml" OBJECTVERSION ="1" VERSIONNUMBER ="1"
unix ksh command to read the DESCRIPTION and write to a file
Test Mapping for the calid inputs should be write to a file
Thanks
PerlaMohan
Assuming the line is taken from a file
sed s/MAPPING DESCRIPTION ="\(.*\)" ISVALID\(.*\)/\1/' < input_file >output_file
I tried using the command but it is writing the complete file to the outputfile.
My requirment is just to take out the MAPPING DESCRIPTION =" " which is in double quotes and write to an output file..
It works well for me!!! Could you paste your input string with in tags