![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Extract particular text | Shell_Learner | Shell Programming and Scripting | 4 | 04-24-2009 05:51 AM |
| c program to extract text between two delimiters from some text file | kukretiabhi13 | High Level Programming | 7 | 12-03-2008 06:29 PM |
| Using awk to extract text | Davizzle | Shell Programming and Scripting | 5 | 08-15-2008 01:09 AM |
| Sorting rules on a text section | Indalecio | Shell Programming and Scripting | 4 | 12-05-2006 05:25 AM |
| grep multiple text files in folder into 1 text file? | coppertone | UNIX for Dummies Questions & Answers | 7 | 08-23-2002 02:50 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
hi there- more input
hi mate,
below i paste the exact section that i need for my bash script. so i need to isolate it in order to display it or extract some text from it. note that some of the input is unique for this module (nm="db") but not for the entire configuration file- once i will isolate this module it will be much easier to extract the relevant text. the section that i need to isolate from the file content: <Module nm="db" service="DB" element="Physical connection" desc="Configurations for Database connection - server, s chema, connections " exp="Production"> <ParamSubList nm="db" service="DB" element="Physical connection" desc="Configurations for Database connection - s erver, schema, connections " exp="Internal" sectionType="" keyDesc="" valDesc="" paramsTp="None"> <Param key="username" v="clients_46_sp6" machine="" site="" tp="string" desc="DB Username" exp="CustomerSupport " hot="false" cat="Basic" layer="Installation" mandatory="false" id="8954" service="General" element="Database" /> <Param key="password" v="clients_46_sp6" machine="" site="" tp="string" desc="DB Password" exp="CustomerSupport " hot="false" cat="Basic" layer="Installation" mandatory="false" id="8955" service="General" element="Database" /> <Param key="host" v="qa158" machine="" site="" tp="string" desc="Service name of the local database, as configu red in the TNS names .ora file" exp="CustomerSupport" hot="false" cat="Basic" layer="Installation" mandatory="false" id="8956" service="General" element="Database" /> <Param key="connections_amount" v="3" machine="" site="" tp="string" desc="" exp="CustomerSupport" hot="false" cat="None" layer="Installation" mandatory="false" id="0" service="DB" element="Physical connection" /> <Param key="override_language" v="10" machine="" site="" tp="string" desc="System preferred language" exp="Cust omerSupport" hot="false" cat="Basic" layer="Installation" mandatory="false" id="8953" service="General" element="Loca lization" /> <Param key="system_language_string" v="SYSTEM PREFERRED LANGUAGE" machine="" site="" tp="string" desc="Language description for system preferred language" exp="CustomerSupport" hot="false" cat="Basic" layer="Installation" mandat ory="false" id="0" service="DB" element="Physical connection" /> <Param key="repository_debug_mode" v="no" machine="" site="" tp="string" desc="This parameter is used to show a message if a missing Repository entry is found" exp="CustomerSupport" hot="false" cat="Basic" layer="Installation" m andatory="false" id="18791" service="General" element="Database" /> <Param key="empty_string" v="MISSING REPOSITORY" machine="" site="" tp="string" desc="" exp="Internal" hot="fal se" cat="None" layer="Installation" mandatory="false" id="0" service="DB" element="Physical connection" /> <Param key="use_oci_corba" v="no" machine="" site="" tp="string" desc="" exp="CustomerSupport" hot="false" cat= "None" layer="None" mandatory="false" id="18903" service="General" element="Database" /> <Param key="connection_expiration" v="900" machine="" site="" tp="string" desc="refresh time for DB connection" exp="Internal" hot="false" cat="None" layer="None" mandatory="false" id="0" service="DB" element="Physical connectio n" /> <Param key="take_db_connection_timeout_sec" v="4" machine="" site="" tp="string" desc="Enables timeout in secon ds when waiting for free db connections. Default is 0. 0-wait forever, 1 and more - seconds to wait for a free db con nection" exp="Internal" hot="false" cat="None" layer="Installation" mandatory="false" id="0" service="General" elemen t="Physical connection" /> <Param key="extended_log_level" v="0" machine="" site="" tp="string" desc="Enables extended debug logging. Defa ult is 0. 0-Disabled, 1-Basic, 2-Verbose, 3-Full" exp="Internal" hot="false" cat="None" layer="Installation" mandator y="false" id="0" service="General" element="Physical connection" /> <Param key="latency_warning_threshold" v="22000" machine="" site="" tp="string" desc="Sets the max latency in D B calls (milliseconds), after which a warning is logged" exp="Internal" hot="false" cat="None" layer="None" mandatory ="false" id="0" service="DB" element="Physical connection" /> </ParamSubList> </Module> thanks dude... |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|