| |||||||||||
| |||||||||||
PERL Script to extract the data from word pad. Posted by amarnathreddy (amarnathreddy), 4 December 2007 (we have a file containing these type of data. we want to extract the data using perl script.the Raw data should be kept in form of tables ){name {[0]{name "EMS",value "LSN/EMS_XDM_5"},[1]{name "ManagedElement",value "4430"},[2]{name "PTP",value "4:0"},[3]{name "CTP",value "/sts3c_au4-j=1/vt2_tu12-k=1-l=1-m=3"}},userLabel "I1-VC4-1 : TU12-1-1-3 ",nativeEMSName "I1-VC4-1 : TU12-1-1-3 ",owner "",ingressTrafficDescriptorName {},egressTrafficDescriptorName {},type "TPT_CTP",connectionState "TPCS_BI_CONNECTED",tpMappingMode "TM_NEITHER_TERMINATED_NOR_AVAILABLE_FOR_MAPPING",direction "D_BIDIRECTIONAL",transmissionParams {[0]{layer 11,transmissionParams {[0]{name "AlarmReporting",value "off"},[1]{name "ServiceState",value "SERV_NA"},[2]{name "protectionSchemeState",value "PSS_AUTOMATIC"}}}},tpProtectionAssociation "TPPA_NA",edgePoint True,additionalInfo {}} Posted by admin (Graham Ellis), 4 December 2007 If you can show me how you're looking to report the data you extract, and the program that you're having trouble with in order to do it, then I can have a look at the program and can help you.Posted by amarnathreddy (amarnathreddy), 4 December 2007 Raw data should be extracted in a way that ,the data should be in a tabular formie name XXX We require the program to solve this.PLZ help us Posted by admin (Graham Ellis), 4 December 2007 OK .... I'm not sure that I understand, nor do I see the program that you're trying to sort out. We're very much a technical support service here, and not a "please write my program for me" house.Posted by KevinAD (KevinAD), 4 December 2007 on 12/04/07 at 05:43:59, amarnathreddy wrote:
I guess you assume everyone knows what the raw data is in the sample data you posted. Your assumption is wrong. This page is a thread posted to the opentalk forum
at www.opentalk.org.uk and
archived here for reference. To jump to the archive index please
follow this link.
|
| ||||||||||
PH: 01144 1225 708225 • FAX: 01144 1225 793803 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho |